help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Solaris 10 - GSL - Error 1 / Error 2


From: Agile Aspect
Subject: Re: [Help-gsl] Solaris 10 - GSL - Error 1 / Error 2
Date: Mon, 28 Jan 2008 15:56:37 -0800
User-agent: Thunderbird 2.0.0.9 (X11/20071031)

Hi Verkerk - yes, I've compiled gsl-1.10 on Solaris 10 with out
any problem using gcc-3.2.3.

I'm presuming you ran the configure script.

Note, instead of changing the Makefile, check to see if /usr/ccs/bin
has been installed.

If it has then try appending /usr/ccs/bin/  to the front of your PATH
environment variable.

Both ar and ranlib are in /usr/ccs/bin (but ranlib isn't needed for
Solaris.)

For instance, in this particular case, the libtool script is using

    false cru <blah>

instead of

   ar cru <blah>

since it couldn't find 'ar'.

Editing the libtool script and defining AR may fix your problem .

-- Ken


M. Verkerk wrote:
Hi everyone!

Has anyone been able to compile GSL for Solaris 10?

I have made some adjustments to the generated Makefile:
- replaced all 'make' to 'gmake'
- AR = gar
- RANLIB = granlib

Now, when the gmake starts, the following output / error messages appear:

bash-3.00# gmake
gmake  all-recursive
gmake[1]: Entering directory `/Documents/src/gsl-1.10'
Making all in gsl
gmake[2]: Entering directory `/Documents/src/gsl-1.10/gsl'
rm -f gsl*.h
HEADERLIST="../gsl*.h ../*/gsl*.h"; \
for h in $HEADERLIST; do \
 BASENAME=`basename $h`; \
 test -r $BASENAME || ln -s $h $BASENAME; \
done
gmake[2]: Leaving directory `/Documents/src/gsl-1.10/gsl'
Making all in utils
gmake[2]: Entering directory `/Documents/src/gsl-1.10/utils'
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o libutils.la placeholder.lo -lm
false cru .libs/libutils.a  placeholder.o
gmake[2]: *** [libutils.la] Error 1
gmake[2]: Leaving directory `/Documents/src/gsl-1.10/utils'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/Documents/src/gsl-1.10'
gmake: *** [all] Error 2
bash-3.00#

Thanks in advance!

Marijn Verkerk
_______________________________________________
Help-gsl mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gsl


--

        "We are drowning in information and starving for knowledge."

                                             - Rutherford D. Roger






reply via email to

[Prev in Thread] Current Thread [Next in Thread]