Re: [Flightgear-devel] Re: error compiling fresh fgrun cvs

2005-02-25 Thread Jorge Van Hemelryck
On Fri, 25 Feb 2005 08:43:29 +0100
Melchior FRANZ wrote:

 I had the same problem. fgrun does since very recently use threads, but fltk
 hadn't been compiled with threads on SuSE 9.2. (I dropped them a line and hope
 that they'll change that in the next release.) Seems that FC2 suffers from the
 same problem. You need to compile fltk with --enable-shared 
 --enable-threads.

It happened to me too on Mandrake 10.1. I grabbed the source rpm,
installed it, modified the spec file fltk.spec in /usr/src/RPM (yours
would probably be in /usr/src/redhat) so that the line with ./configure
in the %build section would end with --enable-shared --enable-threads.
Then I typed rpm -ba /usr/src/RPM/fltk.spec, and ended up with fresh new
packages (libfltk1.1 and libfltk1.1-devel) in /usr/src/RPM/RPMS/i586
(yours might be in /usr/src/redhat/RPMS/i386).

You might need to --force the rpm install afterwards, because rpm might
complain that it is already installed.

You can find the source there, for instance:

ftp://rpmfind.net/linux/fedora/extras/3/SRPMS/fltk-1.1.4-8.src.rpm

-- 
Jorge Van Hemelryck

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: error compiling fresh fgrun cvs

2005-02-24 Thread Melchior FRANZ
* Dave Perry -- Friday 25 February 2005 03:52:
 main.o(.text+0x18e): In function `main':
 /usr/local/source/fgrun/src/main.cxx:87: undefined reference to `Fl::lock()'
 
 So I removed all the files and do a clean co from cvs.  I still get the 
 same error.
 
 Any ideas?  I am running FC2 (with all the uptodate updates).

I had the same problem. fgrun does since very recently use threads, but fltk
hadn't been compiled with threads on SuSE 9.2. (I dropped them a line and hope
that they'll change that in the next release.) Seems that FC2 suffers from the
same problem. You need to compile fltk with --enable-shared --enable-threads.

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d