[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing Symbols
From: |
Ben Abbott |
Subject: |
Re: Missing Symbols |
Date: |
Wed, 27 May 2009 10:08:32 -0400 |
On May 27, 2009, at 9:57 AM, Joel LeBlanc wrote:
First off, I'm a noob so be nice to me. I walked the forums a bit,
but can't figure out how to get the release candidates or the latest
HG code to compile. Here's what I did...
----------------------------------------------------------------
#! /usr/bin/env bash
./autogen.sh
# Apple's vecLib:
a='--with-lapack=-Wl,-framework,Accelerate,-dylib_file,/System/
Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libLAPACK.dylib --with-blas=-Wl,-
framework,Accelerate,-dylib_file,/System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/
A/libBLAS.dylib:/System/Library/Frameworks/Accelerate.framework/
Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib'
# Similar to Fink's configure
./configure --infodir='/sw/share/info' --mandir='/sw/share/man' --
libexecdir='/sw/lib' FLIBS=/sw/lib/gcc4.4/lib/libgfortran.dylib F77=/
sw/bin/gfortran --host=i386-apple-darwin --build=i386-apple-darwin --
enable-shared --enable-dl --disable-static --without-mpi --with-hdf5
--with-fftw build_alias=i386-apple-darwin host_alias=i386-apple-
darwin CFLAGS=-O3 LDFLAGS="-L/sw/lib/fltk-aqua/lib -L/sw/lib -
lfltk_gl -framework AGL -framework OpenGL -lfltk -lpthread -
framework Carbon -framework ApplicationServices" CPPFLAGS="-I/sw/
include -FOpenGL" CXXFLAGS=-O3 FFLAGS='-O3 -ff2c' $a
make
------------------------------------------------------------------
I'm a Fink user as well! ... in fact, it appears you're using a script
I posted. I've modified my configure options. Try the version below.
I had not noticed that the Fink maintainers had added a package for
GraphicsMagick. I'll add the package and try a fresh build.
-----------------------------------
#! /bin/sh -ev
./autogen.sh
# Apple's vecLib:
export blas='--with-lapack=-Wl,-framework,Accelerate,-dylib_file,/
System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/
libLAPACK.dylib --with-blas=-Wl,-framework,Accelerate,-dylib_file,/
System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/
vecLib.framework/Versions/A/libBLAS.dylib:/System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/
libBLAS.dylib'
# Similar to Fink's configure
./configure --prefix=/sw FLIBS=/sw/lib/gcc4.4/lib/libgfortran.dylib
F77=/sw/bin/gfortran --infodir='${prefix}/share/info' --mandir='$
{prefix}/share/man' --libexecdir='${prefix}/lib' -enable-shared -
enable-dl --disable-static --without-mpi --with-hdf5 --with-fftw
CPPFLAGS="-g -I/sw/include -I/sw/include/freetype2" FFLAGS="-g -ff2c"
LDFLAGS="-L/sw/lib/fltk-aqua/lib -L/sw/lib -lfltk_gl -lfltk -lpthread"
$blas
make
make check
-----------------------------------
Ben
- Missing Symbols, Joel LeBlanc, 2009/05/27
- Re: Missing Symbols,
Ben Abbott <=