This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Build errors on IRIX 6.5 using MIPSpro C compiler



> 
> I've hit couple of problems building GSL v0.7+ (CVS updated May 10) on IRIX 6.5
> using the SGI MIPSpro C compiler. Following is the process and some of the
> results:
> 
> Related environment variables:
> CC=cc
> SGI_CC=-xansi
> CPP=cpp
> 
> Problem 1:
> ----------
> Building with shared libraries dies apparently because a command line has
> exceeded the maximum length.
> 
> % ./configure
> % make CCFLAGS="-woff 728"
> ..
> ..
> ..
> (cd .libs/libgsl.lax/libgslvector.al && /bin/ar x /sg1/csb/ldjohn/tmp/gsl-0.7+/

This might be a libtool problem.  Apparently the version of libtool
in gsl-0.7 is quite old.

VERSION=1.3.4
TIMESTAMP=" (1.385.2.196 1999/12/07 21:47:57)"

According to the libtool changelogs there have been a few IRIX related
fixes since then (and many general fixes too).  Try installing a recent
version of libtool.

Then replace the gsl-0.7 `ltconfig' with this short script

#! /bin/sh
rm -f libtool;  ln -s /usr/local/bin/libtool libtool

That's assuming that you've installed the new libtool in /usr/local/bin.

It's worth a try.

- Jason




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]