Alexander K. Hansen <[EMAIL PROTECTED]> said:On May 23, 2004, at 12:59 PM, Robert T Wyatt wrote:
tree 10.2-gcc3.3 unstable
==== (i can provide more output if needed) ====
config.status: creating swig.spec
config.status: executing depfiles commands
make runtime
../preinst-swig -perl5 -runtime -o libpl.c swigrun.i
if /bin/sh ../libtool --mode=compile 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 -o libswigpl_la-libpl.lo `test -f 'libpl.c' || echo './'`libpl.c; \
then mv -f ".deps/libswigpl_la-libpl.Tpo" ".deps/libswigpl_la-libpl.Plo"; \
else rm -f ".deps/libswigpl_la-libpl.Tpo"; exit 1; \
fi
mkdir .libs
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
I think this may be like what went on in:
http://sourceforge.net/mailarchive/forum.php?forum_id=4714&style=flat&viewday=10&viewmonth=200402
i.e. something in the dependencies that's mixing two incompatible versions of some package.
The Depends for swig does suggest some potential crossed-version problems. 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.
If that does not help, please post these lines from the configure output: checking for perl... checking for Perl5 header files... checking for Perl5 library... checking for Perl5 compiler options...
And also what shell you are using (bash/tcsh/etc.).
dan
-- Daniel Macks
Thanks Dan! This seems to have done the trick:
bash-2.05b$ date; fink remove perl580; fink update swig; date Sun May 23 23:36:49 CDT 2004
... yielded
Preparing to replace swig 1.3.16-12 (using .../swig_1.3.20-1_darwin-powerpc.deb) ...
Unpacking replacement swig ...
dpkg: warning - unable to delete old file `/sw/share/doc/swig/Examples/GIFPlot/Php/simple': Directory not empty
dpkg: warning - unable to delete old file `/sw/share/doc/swig/Examples/GIFPlot/Php/shadow': Directory not empty
dpkg: warning - unable to delete old file `/sw/share/doc/swig/Examples/GIFPlot/Php/full': Directory not empty
dpkg: warning - unable to delete old file `/sw/share/doc/swig/Examples/GIFPlot/Php': Directory not empty
Selecting previously deselected package swig-shlibs.
Unpacking swig-shlibs (from .../swig-shlibs_1.3.20-1_darwin-powerpc.deb) ...
Setting up swig-shlibs (1.3.20-1) ...
Setting up swig (1.3.20-1) ...
Sun May 23 23:47:08 CDT 2004 bash-2.05b$ swig -version
SWIG Version 1.3.20 Copyright (c) 1995-1998 University of Utah and the Regents of the University of California Copyright (c) 1998-2003 University of Chicago Compiled with g++ [powerpc-apple-darwin6.8]
===
With this compile my configure output is
checking for perl... perl
checking for Perl5 header files... /sw/lib/perl5/5.6.0/darwin/CORE
checking for Perl5 library... perl.dylib
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 perl... perl
checking for Perl5 header files... /sw/lib/perl5/5.8.0/darwin/CORE
checking for Perl5 library... perl.dylib
checking for Perl5 compiler options... -isystem /sw/include -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing
===
Let me know if you need any other output,
Robert
-------------------------------------------------------
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
