>>>>> "Andrey" == Andrey G Grozin <[EMAIL PROTECTED]> writes:
Andrey> I've just committed to the science overlay:
Andrey> mathgl-1.6.2 (Math Graphics Library)
Andrey> udav-0.3.2 (Universal Data Array Visualization)
Attempts to compile mathgl with fltk fail.
The patch doesn't add the -L option to the test program used to look for
main() in -lfltk:
checking fltk-1.1/FL/Fl_Export.H usability... yes
checking fltk-1.1/FL/Fl_Export.H presence... yes
checking for fltk-1.1/FL/Fl_Export.H... yes
checking for main in -lfltk... no
Please install fltk library
make: *** No targets specified and no makefile found. Stop.
This part:
-AC_CHECK_LIB([fltk], [main], [(test x$all = xtrue || test x$fltk = xtrue) &&
FLTK_LIBS="-lfltk -lfltk_images" AC_SUBST(FLTK_LIBS)],
+AC_CHECK_LIB([fltk], [main], [(test x$all = xtrue || test x$fltk = xtrue) &&
FLTK_LIBS="-L/usr/lib/fltk-1.1 -lfltk -lfltk_images -lXft" AC_SUBST(FLTK_LIBS)],
only changes the results if the test works, it doesn't fix the test to
work.
I don't know which ebuild to best point you to for the proper fix.
xpp exports LDFLAGS and CPPFLAGS. pose creates a temp dir, symlinks the
installed include and lib directories under it and passes that as the
arg to --with-fltk.
Maybe freefem++ does it best:
use fltk && append-cppflags $(fltk-config --cflags)
Otherwise, mathgl looks to install OK.
I still have to test out udav (OOo is downloading right now. And will
be for several more hours..... ;)
-JimC
--
James Cloos <[EMAIL PROTECTED]> OpenPGP: 1024D/ED7DAEA6
--
[email protected] mailing list