-----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
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksApFIACgkQB8UpO3rKjQ8OTACggh1PGRsd0KdyNiw2Hnztt/QB
MnsAoJUouhidadU6L2XonaBpFz7Ec04B
=XCKc
-----END PGP SIGNATURE-----

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