I have been unsuccessful at compiling the Palm Emulator source from
Palm under 7.2. I wondered if anybody has been successful in doing it
and could give me hints on where I go wrong.
I am currently trying to compile the source version 3.3, but I had
similar problems when I tried to compile the version 3.1 source. In
both cases configure complains that it cannot find FLTK.
I have checked that 7.2 comes with FLTK v. 1.0.9 which are later than
the 1.0.5 and 1.0.7 named in the Docs/_Building.txt accompanying the
emulator source. The library is installed with libfltk.{a,so} in
/usr/lib. In an attempt to solve problems, I have alsodownloaded and
build FLTK 1.0.11 with and without shared libraries; in both cases
with files installed in /usr/local/lib. I have
/usr/X11R6/lib
/usr/i486-linux-libc5/lib
/usr/local/lib
in my /etc/ld.so.conf and have run ldconfig after installing the
libraries.
Following the instructions in the source bundle, I run ./configure of
BuildUnix with
./configure --with-fltk=/usr/local/lib
When I do so it fails with the last two lines being
checking for 'int fl_height (void)' in -lfltk... no
configure: error: *** FLTK *must* be installed before running configure. ***
I have looked into the configure script and noticed that the test used
is
#line 3465 "configure"
#include "confdefs.h"
#include <Fl/Fl.H>
#include <Fl/fl_draw.H>
int main() {
fl_height()
; return 0;
}
I can successfully compile that file with the following command line
gcc -L /usr/local/lib test2.c++ -lfltk -L/usr/X11R6/lib -lX11 -o test2
provided that only libfltk.a and *not* libfltk.so is installed in
/usr/local/lib (I presume that the compiler otherwise picks up the
share library over the statically linked library). I am stuck at this
point, because I cannot figure what options configure use to compile
the test file; it is thus not clear how to approach the problem any
further.
I hope that somebody have successfully installed the software and can
tell me what to do next.
Thanks in advance
Best
Peter
--
http://www.linearity.org/turtle/contact.html
Her er dit vern mot vold her er dit sverd:
Troen p� livet v�rt, menneskets verd. -- Nordahl Grieg
(This is your shield, this is your sword: the belief in life, the value of man)
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com