bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] [PATCH] Re: installing gsl


From: Peter Johansson
Subject: [Bug-gsl] [PATCH] Re: installing gsl
Date: Fri, 22 Mar 2013 09:54:53 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108 Thunderbird/10.0.12

On 03/22/2013 12:40 AM, Ian Warren wrote:
Hello,

I am trying to install gsl-1.15 on mac OS 10.8.3

I followed the custom configure and install. This included:

$./configure --disable-shared --disable-dependency-tracking

followed by:

$sudo make install

I got the following error message which produced the following, ending in an 
error message. :

Making install in gsl
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in utils
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     
-g -O2 -c -o placeholder.lo placeholder.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c placeholder.c -o 
placeholder.o
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2   -o libutils.la  
placeholder.lo  -lm
libtool: link: ar cru .libs/libutils.a  placeholder.o
libtool: link: ranlib .libs/libutils.a
libtool: link: ( cd ".libs"&&  rm -f "libutils.la"&&  ln -s "../libutils.la" 
"libutils.la" )
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in sys
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I..  
  -g -O2 -c -o minmax.lo minmax.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -c minmax.c -o 
minmax.o
minmax.c:26:28: error: gsl/gsl_minmax.h: No such file or directory
make[1]: *** [minmax.lo] Error 1
make: *** [install-recursive] Error 1

I also ran "make check 2>&1" and got a similar message.

I am not sure how best to proceed with this. I have previously managed to 
successfully install in Mac OS10.5.

Should I maybe use an earlier version? I cannot remember which version of gsl I 
managed to install last time.

Thank you in advance for any help that you can provide,


Hi,

The problem is that 'gsl/Makefile.am' defines some targets ('all' and 'clean') that normally is created by Automake and thereby mess up the dependencies crafted by Automake, so there is no dependency that clean and install should depend on all.

The solution is to use *-local targets as documented by Automake. Please find a patch attached.

Cheers,
Peter

Attachment: Makefile.am.patch
Description: Text document


reply via email to

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