./download_and_compile.sh FGRUN
With the 4.16 version of Ubuntu compile the program properly, instead with the 10.16 version gives me this error:
- Code: Select all
./download_and_compile.sh FGRUN
VERSION=2.33
APT_GET_UPDATE=y
DOWNLOAD_PACKAGES=y
COMPILE=y
RECONFIGURE=y
DOWNLOAD=y
JOPTION=
OOPTION=
DEBUG=
***********************************
DIRECTORY= /home/abassign/fgfs
***********************************
****************************************
**************** FGRUN *****************
****************************************
-- version is 2016 dot 4
-- ignoring: \\.svn;Makefile.am;~$;
-- Boost version: 1.61.0
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/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/lib/x86_64-linux-gnu/libX11.so
-- Found FLTK: fltk_images;fltk_forms;fltk_gl;/usr/lib/x86_64-linux-gnu/libGL.so;fltk
-- Found osgText: /usr/lib/x86_64-linux-gnu/libosgText.so
-- Found osgDB: /usr/lib/x86_64-linux-gnu/libosgDB.so
-- Found osgParticle: /usr/lib/x86_64-linux-gnu/libosgParticle.so
-- Found osgUtil: /usr/lib/x86_64-linux-gnu/libosgUtil.so
-- Found osgViewer: /usr/lib/x86_64-linux-gnu/libosgViewer.so
-- Found osgGA: /usr/lib/x86_64-linux-gnu/libosgGA.so
-- Found osg: /usr/lib/x86_64-linux-gnu/libosg.so
-- Found OpenThreads: /usr/lib/x86_64-linux-gnu/libOpenThreads.so
-- Found OpenSceneGraph: /usr/lib/x86_64-linux-gnu/libosgText.so;/usr/lib/x86_64-linux-gnu/libosgDB.so;/usr/lib/x86_64-linux-gnu/libosgParticle.so;/usr/lib/x86_64-linux-gnu/libosgUtil.so;/usr/lib/x86_64-linux-gnu/libosgViewer.so;/usr/lib/x86_64-linux-gnu/libosgGA.so;/usr/lib/x86_64-linux-gnu/libosg.so;/usr/lib/x86_64-linux-gnu/libOpenThreads.so (found suitable version "3.2.3", minimum required is "2.8.1")
-- SimGear include directory: /home/abassign/fgfs/install/simgear/include
-- found SimGear version: 2016.4.0 (needed 2016.4.0)
-- Looking for pthread.h
-- Looking for 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 static SimGear libraries
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- found SimGear libraries
-- Performing Test SIMGEAR_COMPILE_TEST
-- Performing Test SIMGEAR_COMPILE_TEST - Success
-- Found SimGear: optimized;/home/abassign/fgfs/install/simgear/lib/libSimGearScene.a;debug;/home/abassign/fgfs/install/simgear/lib/libSimGearScene.a;optimized;/home/abassign/fgfs/install/simgear/lib/libSimGearCore.a;debug;/home/abassign/fgfs/install/simgear/lib/libSimGearCore.a;optimized;/home/abassign/fgfs/install/simgear/lib/libSimGearCore.a;debug;/home/abassign/fgfs/install/simgear/lib/libSimGearCore.a (Required is at least version "2016.4.0")
-- Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE)
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for sys/wait.h
-- Looking for sys/wait.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for pty.h
-- Looking for pty.h - found
-- Looking for utmp.h
-- Looking for utmp.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for openpty
-- Looking for openpty - not found
-- Looking for openpty
-- Looking for openpty - found
-- Looking for login_tty
-- Looking for login_tty - found
-- Looking for _getpty
-- Looking for _getpty - not found
-- Found X11_Xinerama...
-- Found X11_Xft...
-- Using FLTK_LIBRARIES for fgrun: fltk_images;fltk_forms;fltk_gl;/usr/lib/x86_64-linux-gnu/libGL.so;fltk;/usr/lib/x86_64-linux-gnu/libSM.so;/usr/lib/x86_64-linux-gnu/libICE.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libXinerama.so;/usr/lib/x86_64-linux-gnu/libXft.so;dl
-- Performing Test HAVE_FLTK_1_3
-- Performing Test HAVE_FLTK_1_3 - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/abassign/fgfs/build/fgrun
MAKE fgrun
[ 11%] Built target Wizard
[ 22%] Built target Advanced
[ 75%] Built target fgrun
[ 77%] Generating de.gmo
/bin/sh: 1: GETTEXT_MSGMERGE_EXECUTABLE-NOTFOUND: not found
po/CMakeFiles/translations_1.dir/build.make:69: recipe for target 'po/de.gmo' failed
make[2]: *** [po/de.gmo] Error 127
CMakeFiles/Makefile2:262: recipe for target 'po/CMakeFiles/translations_1.dir/all' failed
make[1]: *** [po/CMakeFiles/translations_1.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
INSTALL fgrun
[ 11%] Built target Wizard
[ 22%] Built target Advanced
[ 75%] Built target fgrun
[ 77%] Generating de.gmo
/bin/sh: 1: GETTEXT_MSGMERGE_EXECUTABLE-NOTFOUND: not found
po/CMakeFiles/translations_1.dir/build.make:69: recipe for target 'po/de.gmo' failed
make[2]: *** [po/de.gmo] Error 127
CMakeFiles/Makefile2:262: recipe for target 'po/CMakeFiles/translations_1.dir/all' failed
make[1]: *** [po/CMakeFiles/translations_1.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
***********************************
The compiler not find the module:
-- Looking for openpty - not found
but I do not know what is this an what do in the program...
I hope someone can give me an idea to solve the problem.