This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
build problems on IBM AIX machine
- To: GSL Discussion List <gsl-discuss at sources dot redhat dot com>
- Subject: build problems on IBM AIX machine
- From: Charlie Zender <zender at uci dot edu>
- Date: Sat, 4 Aug 2001 14:40:02 -0700
- CC: Charlie Zender <zender at uci dot edu>
- Reply-To: Charlie Zender <zender at uci dot edu>
Hi,
I tried to build gsl-0.9 on the IBM AIX with the native xlc compiler.
The first problem appeared to be related to libtool or parallel make.
The build was always waiting for libtool locks to be released so
I changed the configure to be
./configure --prefix=/usr/local --disable-libtool-lock
and then I explicitly specified 1 job to the ancient GNU make (3.74)
used:
make --jobs=1
With these options, the compiling seemed to go well until I began
to see error messages related to the naming of libraries and object
modules. Libraries had suffixes like .al or .la (rather than .a)
and object files had suffixes like .lo (rather than .o), e.g.,
xlc: 1501-218 file .libs/libgsl.lax/libgslblock.al/init.lo contains an incorrect file suffix
These errors eventually accumulated and cause the build to fail.
I made the results of the ./configure and make steps available
for your inspection at
ftp://ftp.cgd.ucar.edu/pub/zender/gsl/gsl.foo
To summarize, my build procedure is:
unalias make
cd ~
gunzip xvf gsl-0.9.tar.gz
tar xvf gsl-0.9.tar
cd gsl-0.9
setenv CC 'xlc'
setenv CFLAGS '-O -qmaxmem=8192'
make distclean
./configure --prefix=/usr/local --disable-libtool-lock >&! gsl.foo
make --jobs=1 >>& gsl.foo
make --jobs=1 test >>& gsl.foo
make --jobs=1 install >>& gsl.foo
make --jobs=1 clean >>& gsl.foo
If I am doing something wrong in the build process, or if you need
more information, please contact me. If anyone has had success
building on this platform, please send me the build procedure you
used.
Thanks,
Charlie
--
Charlie Zender zender@uci.edu (949) 824-2987/FAX-3256, Department of
Earth System Science, University of California, Irvine CA 92697-3100
Visiting NCAR CGD Jul 1-Aug 31: Room ML-304A (303) 497-1738/FAX-1324
Work Address: NCAR CGD, 1850 Table Mesa Dr., Boulder, CO, 80303-5602