You are not logged in.
Pages: 1
I want to install the computer algebra package macaulay2 which depends on gfan package. I got the following eror in the installing process of gfan:
/usr/bin/ld: cannot find -lcddgmp
collect2: error: ld returned 1 exit status
Makefile:320: recipe for target 'gfan' failed
make: *** [gfan] Error 1
What can I do?
Offline
Did you install cddlib first? I see that cddlib is marked out-of-date and has been disowned. It likely needs to be fixed first.
Could you please revise your title to indicate the actual issue (with building gfan and/or cddlib).
EDIT: I see cddlib builds properly, but does not include a .pc file. More importantly it doesn't actually include any libs. It's just a few header files. If that is intended, then you should be able to remove the -lcddlib from gfan without consequence. EDIT2: no it seems cddlib needs to be built with the staticlibs option. (edit: deletion based on update below)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Please update cddlib to 094g (which I just updated) and try again. I can build gfan correctly.
Offline
Thanks for the quick fix. ccdlib just built successfully for me (with shared libs now) and gfan built fine too. Hopefully that'll be all the OP needed for this.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
BTW both cddlib and gfan are in my Sage repo in case you want to save some compiling: http://arojas.hol.es/repos/sage/
Offline
Than you; the gfan works. It is one step forward. But the next problem is teh package singular-factory, it is a dependence for macaulay2. It says error:gmp.h not found. Use option --with-gmp to specify path. In the pkg-build there is this entry:
--with-gmp=/usr/lib
I installed the gpm package, it is on the right place.
Offline
You should report this in the AUR package page, you'll have more chances to find help there.
Offline
I did it. But i seems, it is not too popular package: flagged out-of-date (2011-03-19).
Offline
Same problem here.
czsan reported the problem in the AUR a few months ago but it seems that has not been solved.
Any help?
Offline
The singular package in [community] includes factory. Have you tried building against it?
Offline
Yes, currently I have singular installed. singular-factory isn't a dependency, it seems to be a package apart.
Offline
Pages: 1