On Nov 15, 2009, at 8:01 PM, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Ben Abbott wrote:
>> I'm attempting to build Octave using the developers sources. When I do so, I 
>> encounter the error below.
>> 
>> [...]
>> /bin/sh ../libtool --tag=CXX   --mode=link g++-4 -O3 -I/sw/include/freetype2 
>> -I/sw/include   -DHAVE_CONFIG_H -mieee-fp -I/usr/X11/include   -Wall -W 
>> -Wshadow -Wold-style-cast -Wformat -O3 -I/sw/include/freetype2 -I/sw/include 
>> -D_THREAD_SAFE  -O3 -I/sw/include/freetype2 -I/sw/include -release 3.3.50+  
>> -L/sw/lib/fltk-aqua/lib -L/sw/lib/flex/lib -L/sw/lib/gcc4.4/lib/ -L/sw/lib 
>> -lgfortran -lGraphicsMagick -lfltk_gl -lfltk -lpthread -o liboctinterp.la 
>> -rpath /sw/lib/octave-3.3.50+ liboctinterp_la-Cell.lo […] 
>> ../libcruft/libcruft.la   -lfftw3 -lfftw3f  -lhdf5  -lz -L/usr/X11/lib 
>> -lfontconfig -Wl,-framework -Wl,OpenGL -L/usr/X11/lib -lX11  -lreadline 
>> -lncurses   -framework Accelerate -lm  -L/sw/lib -lfreetype -lz 
>> -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices 
>> -Wl,-framework -Wl,OpenGL /sw/lib/gcc4.4/lib/libgfortran.dylib -lm  
>> -L/sw/lib -lfreetype -lz -Wl,-framework,CoreServices 
>> -Wl,-framework,ApplicationServices -Wl,-framework -Wl,OpenGL
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be 
>> moved
>> grep: /usr/lib/libiconv.la: No such file or directory
>> /sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory
>> libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
>> make[3]: *** [liboctinterp.la] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> 
>> Before attempting my buid, I set the following ...
>> 
>> export CFLAGS="-I /sw/include"
>> export LDFLAGS=-L/sw/lib
>> export CXXFLAGS=$CFLAGS
>> export CPPFLAGS=$CXXFLAGS
>> export ACLOCAL_FLAGS="-I /sw/share/aclocal"
>> export PKG_CONFIG_PATH="/sw/lib/pkgconfig"
>> export PATH=/sw/var/lib/fink/path-prefix-10.6/:$PATH
>> export MACOSX_DEPLOYMENT_TARGET=10.5
>> 
>> I'm on Snow Leopard and have chosen to use the 32bit Fink.
>> 
>> Any help in resolving this would be appreciated.
>> 
>> TiA
>> 
>> Ben
>> 
> 
> (maybe at some point I'll have enough time to update Fink's octave)
> 
> I'm assuming you updated from 10.5?
> 
> We've been telling people to use
> 
>       find /sw/lib -name *.la -delete
> 
> to remove references to .la files that existed on Leopard but no longer
> do on Snow Leopard.
> 
> If you didn't update from 10.5, then some other .la files have those
> references hardcoded.
> - --
> Alexander Hansen

Thanks Alex. 

Yes, I've updated from 10.5 and deleted all my old .la files. As I've 
encountered missing files I've rebuilt them ... which I now realize I should 
do. I've started a rebuild of libiconv.

        fink rebuild libiconv libiconv-bin libiconv-dev

I'll report back tomorrow.

Ben


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to