On Thu, 6 Oct 2011 11:54:06 -0400, Scott Hannahs  wrote:
> On Oct 6, 2011, at 11:13, Alexander Hansen wrote:
> > On 10/6/11 9:50 AM, Scott Hannahs wrote:
> >> I am having a problem with the package opensp4. 
> >> >> I get a failure in the compile phase Failed: phase compiling:
> >> opensp4-shlibs-1.5.1-1015 failed
> >> >> I believe that the relevant error is "ld: library not found for
> >> -lgcc_ext.10.5"
> >>
> >> Mac OS X 10.6.8 / XCode 2.3.2
> > > 3.2.3 ?
>
> Doh!  Sorry.  dyslexia kicks in, my spouse doesn't believe any number 
> I put down as a phone message!
>
> > /sw/bin/gcc-4.0 is from ccache-default, and points to ccache, which
> > uses Xcode's compilers. 
> > > The package is _supposed_ to use Xcode's gcc-4.0; the build works for
> > me, in any case. 
>
> Hmmm..   But I don't have ccache-default installed nor is it a 
> requirement in my rudimentary reading of the package.  I have gcc4.0 
> as a virtual package.  So it should be using the correct gcc version. 
>
> ccache                                   3.1.6-1                      
>   C/C++ compiler cache
> ccache-default                           3.1.6-1                      
>   C/C++ compiler cache - As default compiler
> gcc2                                     2.95.2-0                     
>   [virtual package representing the gcc 2.95.2 compiler]
> gcc2.95                                  2.95.2-0                     
>   [virtual package representing the gcc 2.95.2 compiler]
> gcc3.1                                   3.1-0                        
>   [virtual package representing the gcc 3.1 compiler]
> gcc3.3                                   3.3-0                        
>   [virtual package representing the gcc 3.3 compiler]
> i   gcc4.0                                   4.0.1-5494               
>       [virtual package representing the gcc 4.0.1 compiler]
> i   gcc4.2                                   4.2.1-5664               
>       [virtual package representing the gcc 4.2.1 compiler]
> gcc44                                    4.4.6-1001                   
>   GNU Compiler Collection Version 4.4
> gcc44-compiler                           4.4.6-1001                   
>   Compiler Binaries for gcc44. 
> gcc44-shlibs                             4.4.6-1001                   
>   Shared libraries for gcc4
> gcc45                                    4.5.3-1001                   
>   GNU Compiler Collection Version 4.5
> i   gcc45-compiler                           4.5.3-1001               
>       Compiler Binaries for gcc45. 
> i   gcc45-shlibs                             4.5.3-1001               
>       Shared libraries for gcc4
> i   gcc46                                    4.6.1-1000               
>       GNU Compiler Collection Version 4.6
> i   gcc46-compiler                           4.6.1-1000               
>       Compiler Binaries for gcc46. 
> i   gcc46-shlibs                             4.6.1-1000               
>       Shared libraries for gcc4

Try editing the opensp4-shlibs.info package description file (probably 
in /sw/fink/dists/stable/main/finkinfo/text). There's a line:

: ${CXX='g++-4.0'}

that has been there probably since when gcc4 was the *new* one. Change 
that line to:

  : ${CXX='g++'}

  so it would use the standard compiler instead. 

> It turns out that I didn't have anything depending on that package so 
> I can remove it from my suite.  It may have been a build depends?

opensp4 (itself, and the opensp4-shlibs binary) used to be an important 
library for a bunch of other packages. It's now been completely 
abandoned and everything that used it now uses the opensp5 suite 
instead. Assuming you have a fairly current selfupdate, you can likely 
remove whatever opensp4 packages you have currently installed and fink 
will never bother trying to install or build them again. 

dan

  --
Daniel Macks
dma...@netspace.org



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to