Robert T Wyatt <[EMAIL PROTECTED]> said: > At 3:43 AM +0000 5/24/04, Daniel E. Macks wrote: >>Alexander K. Hansen <[EMAIL PROTECTED]> said: >>> On May 23, 2004, at 12:59 PM, Robert T Wyatt wrote: >>> >>>> ==== (i can provide more output if needed) ==== >>>> gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -I/sw/include >>>> -I/sw/lib/perl5/5.8.0/darwin/CORE -Dbool=char -Dexplicit=-isystem >>>> /sw/include -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -g >>>> -O2 -Wall -MT libswigpl_la-libpl.lo -MD -MP -MF >>>> .deps/libswigpl_la-libpl.Tpo -c libpl.c -fno-common -DPIC -o >>>> .libs/libswigpl_la-libpl.o >>>> gcc: cannot specify -o with -c or -S and multiple compilations >>>> make[1]: *** [libswigpl_la-libpl.lo] Error 1 >>>> make: *** [runtime] Error 2 >>>> ### execution of make failed, exit code 2 >>>> Failed: compiling swig-1.3.20-1 failed >> >>But I suspect the trigger for the problem here may be that Robert >>appears to have a /sw/bin/perl present that is not compatible with >>the compile routines of swig. Try removing fink's perl580 package >>(okay to leave perl580-core) and see if that allows swig to compile. > > Thanks Dan! This seems to have done the trick:
Great! [...] > With this compile my configure output is > checking for Perl5 compiler options... -g -pipe -pipe -fno-common > -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE > -fno-strict-aliasing > Whereas when the compile was failing (before removing perl580) the > configure output was: > checking for Perl5 compiler options... -isystem /sw/include -pipe > -fno-common -no-cpp-precomp -fno-strict-aliasing It looks like there's a bug with how swig's configure script handles the "Perl5 compiler options" value (a value which is specific to each particular perl interpretter). One result is that certain values causes the swig compiling error you saw. I filed a bug report with swig, if you want the gory details: https://sourceforge.net/tracker/?func=detail&aid=959234&group_id=1645&atid=101645 dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
