I am trying to get the most recent source for "xcircuit" (3.2.23) to run, so that hopefully the Fink package can be updated to a more recent version. (xcircuit is a schematic entry / drawing program.)

In brief, I *seem* to be running into a problem with libtool. During the final link stage I get the following:
...
rm -f lib/xcircuit.dylib
gcc -g -O2 -fPIC -o lib/tcl/xcircuit.dylib -dynamiclib -bind_at_load xcwrap.o \
elements.o events.o filelist.o files.o fontfile.o formats.o functions.o help.o keybindings.o libraries.o menucalls.o netlist.o ngspice.o parameter.o python.o rcfile.o render.o schema.o selection.o text.o undo.o tclxcircuit.o tkSimple.o tkPixmap.o xcircuit.o -L/usr/X11R6/lib \
-lc -lXt -lSM -lICE -lm -lX11 -lXpm
/usr/bin/libtool: unknown option character `b' in: -bind_at_load
Usage: /usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: /usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
make[2]: *** [lib/tcl/xcircuit.dylib] Error 1
make[1]: *** [tcl] Error 2
make: *** [all-recursive] Error 2


There is discussion that the Mac OS X "libtool" is not THE libtool, and indeed glibtool (the "real" libtool) is installed on my system (Panther, 10.3.5). I have installed many Fink packages, including the Fink package of xcircuit (prior to my attempt to install from the more recent source).

The "-bind_at_load" is a valid ld argument, from what I gather, and is generated in the configure.in file specifically for a Darwin system.

The current Fink package for xcircuit (3.1.32), which works fine, generates the following final link command:
gcc -g -O2 -L/sw/lib -L/usr/X11R6/lib -o xcircuit elements.o events.o filelist.o files.o fontfile.o formats.o functions.o help.o keybindings.o libraries.o menucalls.o netlist.o parameter.o python.o rcfile.o render.o schema.o selection.o text.o tclxcircuit.o tkSimple.o tkPixmap.o xcircuit.o Xw/libxcXw.a -lXt -lSM -lICE -lm -lX11 -lXpm


Any thoughts where to go from here? The author of xcircuits apparently doesn't have a Darwin system (and suggested removing -bind_at_load, which didn't work), and I have not had a reply from the package maintainer (yet). I've seen some discussion of enabling glibtool in place of libtool, or telling libtool (which one?) to just pass along certain arguments.

Thanks.

Dale


------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to