1 |
>>>>> "Andrey" == Andrey G Grozin <A.G.Grozin@×××××××.su> writes: |
2 |
|
3 |
Andrey> I've just committed to the science overlay: |
4 |
|
5 |
Andrey> mathgl-1.6.2 (Math Graphics Library) |
6 |
Andrey> udav-0.3.2 (Universal Data Array Visualization) |
7 |
|
8 |
Attempts to compile mathgl with fltk fail. |
9 |
|
10 |
The patch doesn't add the -L option to the test program used to look for |
11 |
main() in -lfltk: |
12 |
|
13 |
checking fltk-1.1/FL/Fl_Export.H usability... yes |
14 |
checking fltk-1.1/FL/Fl_Export.H presence... yes |
15 |
checking for fltk-1.1/FL/Fl_Export.H... yes |
16 |
checking for main in -lfltk... no |
17 |
Please install fltk library |
18 |
make: *** No targets specified and no makefile found. Stop. |
19 |
|
20 |
This part: |
21 |
|
22 |
-AC_CHECK_LIB([fltk], [main], [(test x$all = xtrue || test x$fltk = xtrue) && FLTK_LIBS="-lfltk -lfltk_images" AC_SUBST(FLTK_LIBS)], |
23 |
+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)], |
24 |
|
25 |
only changes the results if the test works, it doesn't fix the test to |
26 |
work. |
27 |
|
28 |
I don't know which ebuild to best point you to for the proper fix. |
29 |
|
30 |
xpp exports LDFLAGS and CPPFLAGS. pose creates a temp dir, symlinks the |
31 |
installed include and lib directories under it and passes that as the |
32 |
arg to --with-fltk. |
33 |
|
34 |
Maybe freefem++ does it best: |
35 |
|
36 |
use fltk && append-cppflags $(fltk-config --cflags) |
37 |
|
38 |
Otherwise, mathgl looks to install OK. |
39 |
|
40 |
I still have to test out udav (OOo is downloading right now. And will |
41 |
be for several more hours..... ;) |
42 |
|
43 |
-JimC |
44 |
-- |
45 |
James Cloos <cloos@×××××××.com> OpenPGP: 1024D/ED7DAEA6 |
46 |
-- |
47 |
gentoo-science@l.g.o mailing list |