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
[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

Reply via email to