On Feb 20, 2004, at 6:23 PM, Christian Schaffner wrote:
g++ -bundle -bundle_loader /sw/bin/octave-2.1.53 -o tsearch.oct tsearch.o -lqhull -L/sw/lib/octave-2.1.53 -loctave -lcruft -loctinterp -framework vecLib
ld: warning -prebind has no effect with -bundle
ld: can't locate file for: -lqhull
I was able to reproduce this bug. It seems that octave found qhull and is expecting something like /sw/lib/libqhull.dylib (a dynamic library) which the qhull package doesn't provide. As a quick fix just remove qhull temporarily before you build octave-forge.
There are 3 solutions to fix this permanently:
1.
Make the qhull package provide a dynamic library and let octave-forge depend on it.
2. Patch octave-forge in such a way that it stops looking for qhull.
3. Add a 'Conflicts: qhull' entry into the octave-forge package.
Had the same trouble, fixed it privately since I didn't expect others to hit the snag.
Note that the g++ command has no -L/sw/lib flag.
Thus it suffices to add the line
SetLIBRARY_PATH: %p/lib
to octave-forge.info (and the Depends on qhull)
Best,
Jean-Francois
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel