Board index FlightGear Support Compiling

git: FG fails to patch cmakelists.txt  Topic is solved

Building FlightGear from source, and in the need for help?

git: FG fails to patch cmakelists.txt

Postby chris_blues » Fri May 02, 2014 2:27 pm

Hi all!

I've just ran into the following problem, trying to update my FG with brisas script on ArchLinux:
Code: Select all
$> ./download_and_compile -a n -p n -j 3 FGFS
****************************************
**************** FGFS ******************
****************************************
flightgear exists already.
remote: Counting objects: 69, done.
remote: Compressing objects: 100% (45/45), done.
remote: Total 46 (delta 34), reused 0 (delta 0)
Unpacking objects: 100% (46/46), done.
Von git://gitorious.org/fg/flightgear
   14c918a..6d6e452  next       -> origin/next
 * [neues Tag]       remove-ATCDCL -> remove-ATCDCL
Bereits auf 'next'
Ihr Branch ist zu 'origin/next' um 7 Commits hinterher, und kann vorgespult werden.
  (benutzen Sie "git pull" um Ihren lokalen Branch zu aktualisieren)
Aktualisiere 14c918a..6d6e452
Fast-forward
 3rdparty/flite_hts_engine/CMakeLists.txt |    4 +
 CMakeLists.txt                           |   24 +--
 src/ATCDCL/ATC.cxx                       |  413 ---------------------------------------------------
 src/ATCDCL/ATC.hxx                       |  226 ----------------------------
 src/ATCDCL/ATCProjection.cxx             |   79 ----------
 src/ATCDCL/ATCProjection.hxx             |   50 -------
 src/ATCDCL/ATCVoice.cxx                  |  297 -------------------------------------
 src/ATCDCL/ATCVoice.hxx                  |   71 ---------
 src/ATCDCL/ATCutils.cxx                  |  271 ----------------------------------
 src/ATCDCL/ATCutils.hxx                  |  100 -------------
 src/ATCDCL/ATISmgr.cxx                   |  147 -------------------
 src/ATCDCL/ATISmgr.hxx                   |   66 ---------
 src/ATCDCL/CMakeLists.txt                |   11 --
 src/ATCDCL/atis.cxx                      | 1030 --------------------------------------------------------------------------------------------------------------------------------
 src/ATCDCL/atis.hxx                      |  153 -------------------
 src/ATCDCL/atis_lexicon.hxx              |  123 ----------------
 src/ATCDCL/atis_remap.hxx                |   20 ---
 src/CMakeLists.txt                       |    1 -
 src/FDM/JSBSim/JSBSim.cxx                |    8 +-
 src/Instrumentation/HUD/HUD_runway.cxx   |    2 +-
 src/Instrumentation/KLN89/kln89.cxx      |    4 +-
 src/Instrumentation/commradio.cxx        |    4 +
 src/Instrumentation/dclgps.cxx           |   51 +++++++
 src/Instrumentation/dclgps.hxx           |   24 +++
 utils/CMakeLists.txt                     |   12 +-
 utils/fgadmin/CMakeLists.txt             |   48 +++++-
 utils/fgadmin/ChangeLog                  |    1 -
 utils/fgadmin/NEWS                       |    1 -
 utils/fgadmin/autogen.sh                 |   52 -------
 utils/fgadmin/configure.ac               |  188 ------------------------
 utils/fgadmin/src/CMakeLists.txt         |   11 +-
 utils/fgadmin/src/config.h               |   80 ----------
 utils/fgadmin/src/config_cmake.h.in      |    2 +
 utils/fgadmin/src/main.cxx               |   12 +-
 utils/fgadmin/src/untarka.c              |   10 +-
 35 files changed, 157 insertions(+), 3439 deletions(-)
 delete mode 100644 src/ATCDCL/ATC.cxx
 delete mode 100644 src/ATCDCL/ATC.hxx
 delete mode 100644 src/ATCDCL/ATCProjection.cxx
 delete mode 100644 src/ATCDCL/ATCProjection.hxx
 delete mode 100644 src/ATCDCL/ATCVoice.cxx
 delete mode 100644 src/ATCDCL/ATCVoice.hxx
 delete mode 100644 src/ATCDCL/ATCutils.cxx
 delete mode 100644 src/ATCDCL/ATCutils.hxx
 delete mode 100644 src/ATCDCL/ATISmgr.cxx
 delete mode 100644 src/ATCDCL/ATISmgr.hxx
 delete mode 100644 src/ATCDCL/CMakeLists.txt
 delete mode 100644 src/ATCDCL/atis.cxx
 delete mode 100644 src/ATCDCL/atis.hxx
 delete mode 100644 src/ATCDCL/atis_lexicon.hxx
 delete mode 100644 src/ATCDCL/atis_remap.hxx
 delete mode 100644 utils/fgadmin/ChangeLog
 delete mode 100644 utils/fgadmin/NEWS
 delete mode 100755 utils/fgadmin/autogen.sh
 delete mode 100644 utils/fgadmin/configure.ac
 delete mode 100644 utils/fgadmin/src/config.h
 create mode 100644 utils/fgadmin/src/config_cmake.h.in
patching file CMakeLists.txt
Hunk #1 FAILED at 203.
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej

Here it stops and throws me back to the prompt.

Maybe someone knows, what to do about it?

Thanks and Cheers!
chris
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1531
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: git: FG fails to patch cmakelists.txt

Postby Johannes » Mon May 05, 2014 2:00 pm

Hi Chris,

I have the same problem with the script and Arch Linux. However, I don't know how to resolve this...
Johannes
 
Posts: 36
Joined: Wed Sep 18, 2013 6:41 am
OS: Arch Linux

Re: git: FG fails to patch cmakelists.txt

Postby chris_blues » Mon May 05, 2014 2:04 pm

I hoped this would be something in the source code, which would get fixed after a while. But I couldn't even make out, if this has sth to do with git itself (on my machine), or with gitorious.org (online) or with the code itself...
Hopefully someone may recognize this and also have some answer. Deleting all the sources and cloning the repo didn't help anyway...
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1531
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: git: FG fails to patch cmakelists.txt

Postby TheTom » Mon May 05, 2014 10:03 pm

something like
Code: Select all
$ cd fgfs/flightgear
$ git reset --hard

should work. Warning! This discards all changes you have done to the FlightGear code.
TheTom
 
Posts: 321
Joined: Sun Oct 09, 2011 10:20 am

Re: git: FG fails to patch cmakelists.txt

Postby chris_blues » Mon May 05, 2014 10:53 pm

thanks a lot! I'll try that first chance i get.

I'll be back :)
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1531
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: git: FG fails to patch cmakelists.txt  

Postby TheTom » Mon May 05, 2014 11:34 pm

Sorry, I have read your output too fast. git completes successfully, but then the following patch fails, because what it fixes has been applied to flightgear. I've pushed a fix to download_and_compile.sh: https://gitorious.org/fg/fgmeta/source/ ... compile.sh
TheTom
 
Posts: 321
Joined: Sun Oct 09, 2011 10:20 am

Re: git: FG fails to patch cmakelists.txt

Postby chris_blues » Tue May 06, 2014 12:08 am

Code: Select all
chris@chris-desktop:/media/FG/git$ ./download_and_compile.sh -a n -p n -j 3 FGFS
+ [[ '' == '' ]]
+ log_version=0
++ find . -maxdepth 1 -name 'download_and_compile.log:*' -print -quit
+ test -n ./download_and_compile.log:02
+ for f in 'download_and_compile.log:*'
+ log_version_found=1
+ [[ 1 -gt 0 ]]
+ log_version=1
+ for f in 'download_and_compile.log:*'
+ log_version_found=2
+ [[ 2 -gt 1 ]]
+ log_version=2
+ for f in 'download_and_compile.log:*'
+ log_version_found=3
+ [[ 3 -gt 2 ]]
+ log_version=3
+ [[ -e download_and_compile.log ]]
+ let log_version=4
+ [[ 4 -lt 10 ]]
+ log_version=04
+ mv download_and_compile.log download_and_compile.log:04
+ export DOWNLOAD_AND_COMPILE_LOG=download_and_compile.log
+ DOWNLOAD_AND_COMPILE_LOG=download_and_compile.log
+ bash ./download_and_compile.sh -a n -p n -j 3 FGFS
+ tee download_and_compile.log
+ [[ download_and_compile.log == '' ]]
+ rebuild_command='./download_and_compile.sh -a n -p n -j 3 FGFS'
+ echo ./download_and_compile.sh -a n -p n -j 3 FGFS
./download_and_compile.sh -a n -p n -j 3 FGFS
++ pwd
+ echo '      started building in /media/FG/git'
      started building in /media/FG/git
++ date
+ echo '              at Di 6. Mai 02:10:24 CEST 2014'
              at Di 6. Mai 02:10:24 CEST 2014
+ LOGSEP='***********************************'
+ UPDATE=
+ STABLE=
+ STOP_AFTER_ONE_MODULE=false
+ APT_GET_UPDATE=y
+ DOWNLOAD_PACKAGES=y
+ COMPILE=y
+ RECONFIGURE=y
+ DOWNLOAD=y
++ nproc
+ JOPTION='-j 3'
+ OOPTION=
+ DEBUG=
+ WITH_EVENT_INPUT=
+ WITH_OPENRTI=
+ FGSG_BRANCH=next
+ FGSG_REVISION=HEAD
+ osg_version=3.2.0
+ SET_WINDOW_TITLE 'Script and Option Initialization'
+ echo -ne '\033]0;Build Flightgear:  -   - Script and Option Initialization\007'
+ getopts zsuhgeixvwc:p:a:d:r:j:O:B:R:G: OPTION
+ echo a
a
+ case $OPTION in
+ APT_GET_UPDATE=n
+ getopts zsuhgeixvwc:p:a:d:r:j:O:B:R:G: OPTION
+ echo p
p
+ case $OPTION in
+ DOWNLOAD_PACKAGES=n
+ getopts zsuhgeixvwc:p:a:d:r:j:O:B:R:G: OPTION
+ echo j
j
+ case $OPTION in
+ JOPTION=' -j3 '
+ getopts zsuhgeixvwc:p:a:d:r:j:O:B:R:G: OPTION
+ opts=hxB
+ PLIB_STABLE_REVISION=2172
+ OSG_SVN=http://svn.openscenegraph.org/osg/OpenSceneGraph/tags/OpenSceneGraph-3.2.0/
+ declare -A OPENRTI_MAP
+ declare -A FGSG_MAP
+ declare -A FGRUN_MAP
+ declare -A fgdata_map
+ FGSG_MAP=([next]="next HEAD" [master]="master HEAD " [3.0.0]="release/3.0.0 HEAD" [2.12.1]="release/2.12.0 HEAD" [2.12.0]="release/2.12.0 HEAD" [2.10.0]="release/2.10.0 HEAD " [2.8.0]="release/2.8.0 version/2.8.0-final")
+ FGRUN_MAP=([next]="next HEAD" [master]="master HEAD " [3.0.0]="release/3.0.0 HEAD " [2.12.1]="release/2.12 HEAD" [2.12.0]="release/2.12 HEAD" [2.10.0]="release/2.12 HEAD " [2.8.0]="release/2.12 HEAD")
+ fgdata_map=([next]="master HEAD 3.0.0" [master]="master HEAD 3.0.0" [3.0.0]="release/3.0.0 HEAD 3.0.0" [2.12.1]="release/2.12.0 HEAD 2.12.1 " [2.12.0]="release/2.12.0 HEAD 2.12.1" [2.10.0]="release/2.10.0 HEAD 2.10.0" [2.8.0]="release/2.8.0 HEAD 2.8.0")
+ OPENRTI_MAP=([next]="master HEAD" [master]="master HEAD" [2.12.1]="master HEAD" [2.12.0]="master HEAD" [2.10.0]="master HEAD" [2.8.0]="release-0.3 OpenRTI-0.3.0")
+ FG_SG_VERSION=next
+ MAP_ITEM=(${FGSG_MAP[${FG_SG_VERSION}]})
+ FGSG_BRANCH=next
+ FGSG_REVISION=HEAD
+ MAP_ITEM=(${FGRUN_MAP[${FG_SG_VERSION}]})
+ FGRUN_BRANCH=next
+ FGRUN_REVISION=HEAD
+ MAP_ITEM=(${fgdata_map[${FG_SG_VERSION}]})
+ fgdata_branch=master
+ fgdata_revision=HEAD
+ fgdata_version=3.0.0
+ MAP_ITEM=(${OPENRTI_MAP[${FG_SG_VERSION}]})
+ OPENRTI_BRANCH=master
+ OPENRTI_REVISION=HEAD
+ FGCOMGUI_STABLE_REVISION=46
+ OR_STABLE_RELEASE=http://wagnerw.de/OpenRadar.zip
+ fgdata_git=git://gitorious.org/fg/fgdata.git
++ pwd
+ echo /media/FG/git
/media/FG/git
+ set +x
**************************************
*                                    *
* Warning, the compilation process   *
* is going to use 12 or more Gbytes  *
* of space and at least a couple of  *
* hours to download and build FG.    *
*                                    *
* Please, be patient ......          *
*                                    *
**************************************
./download_and_compile.sh -a n -p n -j 3 FGFS
APT_GET_UPDATE=n
DOWNLOAD_PACKAGES=n
COMPILE=y
RECONFIGURE=y
DOWNLOAD=y
JOPTION= -j3
OOPTION=
DEBUG=
FGSG_VERSION=
FGSG_REVISION=HEAD
fgdata_branch=master
fgdata_revision=HEAD
fgdata_version=3.0.0
***********************************
+ '[' -e /etc/lsb-release ']'
+ DISTRO_PACKAGES='libopenal-dev libalut-dev libalut0 cvs subversion cmake make build-essential automake zlib1g-dev zlib1g libwxgtk2.8-0 libwxgtk2.8-dev fluid gawk gettext libxi-dev libxi6 libxmu-dev libxmu6 libboost-dev libasound2-dev libasound2 libpng12-dev libpng12-0 libjasper1 libjasper-dev libopenexr-dev libboost-serialization-dev git-core libqt4-dev scons python-tk python-imaging-tk libsvn-dev libglew1.5-dev  libxft2 libxft-dev libxinerama1 libxinerama-dev'
+ UBUNTU_PACKAGES='freeglut3-dev libjpeg62-dev libjpeg62 libapr1-dev libfltk1.3-dev libfltk1.3'
+ [[ '' = \U\b\u\n\t\u ]]
+ [[ '' = \L\i\n\u\x\M\i\n\t ]]
+ DEBIAN_PACKAGES_STABLE='freeglut3-dev libjpeg8-dev libjpeg8 libfltk1.1-dev libfltk1.1'
+ DEBIAN_PACKAGES_TESTING='freeglut3-dev libjpeg8-dev libjpeg8 libfltk1.3-dev libfltk1.3'
+ DEBIAN_PACKAGES_UNSTABLE='freeglut3-dev libjpeg8-dev libjpeg8 libfltk1.3-dev libfltk1.3'
+ '[' '' = Ubuntu -o '' = LinuxMint ']'
+ echo 'DEBIAN I SUPPOUSE'
DEBIAN I SUPPOUSE
+ DEBIAN_PACKAGES='freeglut3-dev libjpeg8-dev libjpeg8 libfltk1.1-dev libfltk1.1'
++ apt-cache search libfltk1.3
./download_and_compile.sh: Zeile 676: apt-cache: Kommando nicht gefunden.
+ '[' '!' '' = '' ']'
+ DISTRO_PACKAGES='libopenal-dev libalut-dev libalut0 cvs subversion cmake make build-essential automake zlib1g-dev zlib1g libwxgtk2.8-0 libwxgtk2.8-dev fluid gawk gettext libxi-dev libxi6 libxmu-dev libxmu6 libboost-dev libasound2-dev libasound2 libpng12-dev libpng12-0 libjasper1 libjasper-dev libopenexr-dev libboost-serialization-dev git-core libqt4-dev scons python-tk python-imaging-tk libsvn-dev libglew1.5-dev  libxft2 libxft-dev libxinerama1 libxinerama-dev freeglut3-dev libjpeg8-dev libjpeg8 libfltk1.1-dev libfltk1.1'
+ echo '***********************************'
***********************************
+ SET_WINDOW_TITLE 'Install Prerequisite Development Packages'
+ echo -ne '\033]0;Build Flightgear:  -   - Install Prerequisite Development Packages\007'
+ '[' n = y ']'
+ SET_WINDOW_TITLE 'Create Required Build and install Directories'
+ echo -ne '\033]0;Build Flightgear:  -   - Create Required Build and install Directories\007'
+ COMPILE_BASE_DIR=.
+ cd .
++ pwd
+ current_build_dir=/media/FG/git
++ pwd
+ current_build_dir=/media/FG/git
+ plib_src_container=/media/FG/git
+ osg_src_container=/media/FG/git
+ install_dir_osg=
+ [[ -e ../othersrc ]]
+ [[ '' = '' ]]
+ mkdir -p build/plib
+ mkdir -p install/plib
+ mkdir -p build/osg
+ mkdir -p install/osg
++ cd build/plib
++ pwd
+ install_dir_osg=/media/FG/git/build/plib
++ cd install/plib
++ pwd
+ install_dir_plib=/media/FG/git/install/plib
++ cd build/osg
++ pwd
+ build_dir_osg=/media/FG/git/build/osg
++ cd install/osg
++ pwd
+ build_dir_plib=/media/FG/git/install/osg
+ mkdir -p /media/FG/git
+ mkdir -p /media/FG/git
+ mkdir -p /media/FG/git/build/plib
+ mkdir -p /media/FG/git/install/plib
+ mkdir -p /media/FG/git/build/osg
+ mkdir -p /media/FG/git/install/osg
+ plib_src=/media/FG/git/plib
+ osg_src=/media/FG/git/OpenSceneGraph
+ shift 6
+ WHATTOBUILD=
+ [[ ! -e /media/FG/git/install/plib/lib/libplibsg.a ]]
+ [[ ! -e /media/FG/git/build/plib/lib/libosgWidget.so.3.2.0 ]]
+ build_osg=OSG
+ WHATTOBUILDALL=($build_plib $build_osg OPENRTI SIMGEAR FGFS DATA FGRUN)
+ '[' '!' 1 = 0 ']'
+ for arg in '$*'
+ '[' FGFS == UPDATE ']'
+ WHATTOBUILD=("${WHATTOBUILD[@]}" "${arg^^}")
++ declare -p WHATTOBUILD
+ [[ declare -a WHATTOBUILD='([0]="" [1]="FGFS")' =~ \[([0-9]+)]="ALL" ]]
+ printf '%s\n' '' FGFS

FGFS
+ echo 'DIRECTORY= /media/FG/git'
DIRECTORY= /media/FG/git
+ echo '***********************************'
***********************************
+ mkdir -p install
+ SUB_INSTALL_DIR=install
+ INSTALL_DIR=/media/FG/git/install
+ cd /media/FG/git
+ mkdir -p build
+ set -e
+ export INSTALL_DIR_PLIB=/media/FG/git/install/plib
+ INSTALL_DIR_PLIB=/media/FG/git/install/plib
++ declare -p WHATTOBUILD
+ [[ declare -a WHATTOBUILD='([0]="" [1]="FGFS")' =~ \[([0-9]+)]="PLIB" ]]
+ SET_WINDOW_TITLE 'Building OpenSceneGraph'
+ echo -ne '\033]0;Build Flightgear:  -  /media/FG/git - Building OpenSceneGraph\007'
+ export INSTALL_DIR_OSG=/media/FG/git/build/plib
+ INSTALL_DIR_OSG=/media/FG/git/build/plib
++ declare -p WHATTOBUILD
+ [[ declare -a WHATTOBUILD='([0]="" [1]="FGFS")' =~ \[([0-9]+)]="OSG" ]]
+ SET_WINDOW_TITLE 'Building OPENRTI'
+ echo -ne '\033]0;Build Flightgear:  -  /media/FG/git - Building OPENRTI\007'
+ OPENRTI_INSTALL_DIR=openrti
+ INSTALL_DIR_OPENRTI=/media/FG/git/install/openrti
+ cd /media/FG/git
+ '[' '!' -d openrti ']'
++ declare -p WHATTOBUILD
+ [[ declare -a WHATTOBUILD='([0]="" [1]="FGFS")' =~ \[([0-9]+)]="OPENRTI" ]]
+ SET_WINDOW_TITLE 'Building Simgear'
+ echo -ne '\033]0;Build Flightgear:  -  /media/FG/git - Building Simgear\007'
+ SIMGEAR_INSTALL_DIR=simgear
+ INSTALL_DIR_SIMGEAR=/media/FG/git/install/simgear
+ cd /media/FG/git
+ '[' '!' -d simgear ']'
++ declare -p WHATTOBUILD
+ [[ declare -a WHATTOBUILD='([0]="" [1]="FGFS")' =~ \[([0-9]+)]="SIMGEAR" ]]
+ SET_WINDOW_TITLE 'Building Flightgear'
+ echo -ne '\033]0;Build Flightgear:  -  /media/FG/git - Building Flightgear\007'
+ FGFS_INSTALL_DIR=fgfs
+ INSTALL_DIR_FGFS=/media/FG/git/install/fgfs
+ cd /media/FG/git
+ '[' '!' -d fgfs ']'
++ declare -p WHATTOBUILD
+ [[ declare -a WHATTOBUILD='([0]="" [1]="FGFS")' =~ \[([0-9]+)]="FGFS" ]]
+ echo '****************************************'
****************************************
+ echo '**************** FGFS ******************'
**************** FGFS ******************
+ echo '****************************************'
****************************************
+ cd fgfs
++ declare -p WHATTOBUILD
+ [[ declare -a WHATTOBUILD='([0]="" [1]="FGFS")' =~ \[([0-9]+)]="FGFS" ]]
+ '[' y = y ']'
+ echo -n 'GIT FROM git://gitorious.org/fg/flightgear.git ... '
GIT FROM git://gitorious.org/fg/flightgear.git ... + '[' -d flightgear ']'
+ echo 'flightgear exists already.'
flightgear exists already.
+ cd flightgear
+ git fetch origin
+ '[' '' = STABLE ']'
+ git branch -f next origin/next
+ true
+ git checkout -f next
Bereits auf 'next'
Ihr Branch ist auf dem selben Stand wie 'origin/next'.
+ git pull
Already up-to-date.
+ cd ..
+ echo ' OK'
 OK
+ cd flightgear
+ [[ '' = \S\T\A\B\L\E ]]
+ '[' '!' '' = UPDATE ']'
+ '[' y = y ']'
+ cd /media/FG/git
+ mkdir -p build/fgfs
+ cd /media/FG/git/build/fgfs
+ echo -n 'RECONFIGURE FGFS ... '
RECONFIGURE FGFS ... + rm -f ../../fgfs/flightgear/CMakeCache.txt
+ rm -f CMakeCache.txt
+ cmake -D CMAKE_BUILD_TYPE=Release -D WITH_FGPANEL=OFF -D 'CMAKE_CXX_FLAGS=-O3 -D__STDC_CONSTANT_MACROS' -D CMAKE_C_FLAGS=-O3 -D CMAKE_INSTALL_PREFIX:PATH=/media/FG/git/install/fgfs -D 'CMAKE_PREFIX_PATH=/media/FG/git/build/plib;/media/FG/git/install/plib;/media/FG/git/install/simgear;/media/FG/git/install/openrti' ../../fgfs/flightgear
-- System is: Linux
-- Linux distro is:
-- Web browser launcher command is: xdg-open
-- Using default data directory for base package:  /media/FG/git/install/fgfs/lib/FlightGear
-- libudev stable: 1
-- Found UDev: /usr/lib64/libudev.so
--    include: /usr/include
-- Found Speex: /usr/lib64/libspeex.so
-- Found Speex extended library: /usr/lib64/libspeexdsp.so
-- Found GSM: /usr/lib64/libgsm.so
-- Found Git: /usr/bin/git 
-- Git revision is 59db0534fffba8c70a3b1d7ab8627456fcf058e2
-- event-based input enabled. Using /usr/lib64/libudev.so
-- Boost version: 1.55.0
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so 
-- Found OpenAL: /usr/lib64/libopenal.so 
-- Could NOT find osgText (missing:  OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR)
-- Could NOT find osgSim (missing:  OSGSIM_LIBRARY OSGSIM_INCLUDE_DIR)
-- Could NOT find osgDB (missing:  OSGDB_LIBRARY OSGDB_INCLUDE_DIR)
-- Could NOT find osgParticle (missing:  OSGPARTICLE_LIBRARY OSGPARTICLE_INCLUDE_DIR)
-- Could NOT find osgFX (missing:  OSGFX_LIBRARY OSGFX_INCLUDE_DIR)
-- Could NOT find osgUtil (missing:  OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR)
-- Could NOT find osgViewer (missing:  OSGVIEWER_LIBRARY OSGVIEWER_INCLUDE_DIR)
-- Could NOT find osgGA (missing:  OSGGA_LIBRARY OSGGA_INCLUDE_DIR)
-- Could NOT find osg (missing:  OSG_LIBRARY OSG_INCLUDE_DIR)
-- Could NOT find OpenThreads (missing:  OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR)
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
  OPENSCENEGRAPH_INCLUDE_DIR OSGTEXT_FOUND OSGSIM_FOUND OSGDB_FOUND
  OSGPARTICLE_FOUND OSGFX_FOUND OSGUTIL_FOUND OSGVIEWER_FOUND OSGGA_FOUND
  OSG_FOUND OPENTHREADS_FOUND) (Required is at least version "3.2.0")
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindOpenSceneGraph.cmake:187 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:221 (find_package)


-- Configuring incomplete, errors occurred!
See also "/media/FG/git/build/fgfs/CMakeFiles/CMakeOutput.log".
See also "/media/FG/git/build/fgfs/CMakeFiles/CMakeError.log".
+ exit
chris@chris-desktop:/media/FG/git$
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1531
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: git: FG fails to patch cmakelists.txt

Postby Johannes » Tue May 06, 2014 9:10 am

Hi Chris,

Download the download/compile script again, I saw that something is changed. Now it worked again for me, so I think by you also...
Johannes
 
Posts: 36
Joined: Wed Sep 18, 2013 6:41 am
OS: Arch Linux

Re: git: FG fails to patch cmakelists.txt

Postby chris_blues » Tue May 06, 2014 11:39 am

Same thing. But at least the patch-error has gone, or at least, so it seems! :) Now OSG couldn't be found.

What exactly did you do? And do I understand this correctly? The patch, which couldn't be apllied, was not done in git, but afterwards? How is this possible?
Confused... :)

But thanks anyway, for getting me over the patch-error! Hopefully I'll never see it again... :)
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1531
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: git: FG fails to patch cmakelists.txt

Postby chris_blues » Thu May 08, 2014 4:12 pm

After reading in the script, I understand, that the patch is done inside the script, after git pull. So, that I understand! :)

I also resolved the OSG-problem. Seems my old problem popped out again. The script stops compiling OSG at 90%, which is very frustrating, since it doesn't run through, it always begins from the very top, which means about half an hour of compilation-time, till it aborts at 90%... :evil:
I got it solved by installing OSG through Arch's repos: "pacman -S openscenegraph"

So, everything seems fine for now! :)

Thanks all for the help!
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1531
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64

Re: git: FG fails to patch cmakelists.txt

Postby chris_blues » Thu May 08, 2014 4:28 pm

One last question: How do I switch off this mega-verbosity in the script???
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian testing 64bit - Athlon II 2x2.6GHz - 8GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1531
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian 8 64


Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest