Board index FlightGear Support Tools FGRun

configure error on FGRun 1.6.1

FGRun is a graphical frontend to run FlightGear.

configure error on FGRun 1.6.1

Postby efa » Sun Mar 04, 2012 9:54 pm

Ubuntu 11.10
Running autogen.sh I got this error:
automake: no `Makefile.am' found for any configure output

Running ./configure I got this error:
config.status: error: cannot find input file: `Makefile.in'

any help to compile FGRun
efa
 
Posts: 2
Joined: Sun Mar 04, 2012 8:42 pm

Re: configure error on FGRun 1.6.1

Postby Bjoern » Tue Mar 06, 2012 6:16 pm

Isn't FGrun configured with CMake nowadays?
Do a barrel roll!
User avatar
Bjoern
 
Posts: 384
Joined: Fri Jan 06, 2012 10:00 pm
Location: Nearest: THF
Version: Next
OS: ArchLinux, Win 7

Re: configure error on FGRun 1.6.1

Postby efa » Wed Mar 07, 2012 1:28 am

so a simple:
$ cmake src
generated the Makefile

Then I got error on make:
$ make
[ 5%] Building CXX object CMakeFiles/fgrun.dir/wizard_funcs.o
..../fgrun-1.6.1/src/wizard_funcs.cxx:38:19: fatal error: FL/Fl.H: File or directory not found
compilation terminated.
make[2]: *** [CMakeFiles/fgrun.dir/wizard_funcs.o] Error 1
make[1]: *** [CMakeFiles/fgrun.dir/all] Error 2
make: *** [all] Error 2

where should I found Fl.H ?
efa
 
Posts: 2
Joined: Sun Mar 04, 2012 8:42 pm

Re: configure error on FGRun 1.6.1

Postby Bjoern » Wed Mar 07, 2012 4:53 pm

Point cmake to "fgrun-1.6.1" instead of "fgrun-1.6.1/src".

I suggest creating a "build" directory (not within the "fg-1.6.1" directory) and run cmake from it.

So basically:
Code: Select all
mkdir fgrun_build

cd fgrun_build

cmake [PATH TO "fg-1.6.1" FOLDER]


That should do it.

Should "make" complain about something and abort, you might need to pass the following flag to CMake:
Code: Select all
-DCMAKE_EXE_LINKER_FLAGS="${CMAKE_EXE_LINKER_FLAGS} -lpthread -ldl"
Do a barrel roll!
User avatar
Bjoern
 
Posts: 384
Joined: Fri Jan 06, 2012 10:00 pm
Location: Nearest: THF
Version: Next
OS: ArchLinux, Win 7


Return to FGRun

Who is online

Users browsing this forum: No registered users and 2 guests