bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] Make install fails on Mac OS X


From: Florian Tang
Subject: [Bug-glpk] Make install fails on Mac OS X
Date: Thu, 10 May 2012 18:17:58 +0200

Hi Folks,

This seems like a simple but nevertheless harmful bug:

%> make install
Making install in src
test -z "/usr/local/lib" || .././install-sh -c -d "/usr/local/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libglpk.la
'/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libglpk.0.dylib
/usr/local/lib/libglpk.0.dylib
libtool: install: (cd /usr/local/lib && { ln -s -f libglpk.0.dylib
libglpk.dylib || { rm -f libglpk.dylib && ln -s libglpk.0.dylib
libglpk.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libglpk.lai
/usr/local/lib/libglpk.la
libtool: install: /usr/bin/install -c .libs/libglpk.a /usr/local/lib/libglpk.a
libtool: install: chmod 644 /usr/local/lib/libglpk.a
libtool: install: ranlib /usr/local/lib/libglpk.a
ranlib: file: /usr/local/lib/libglpk.a(amd_dump.o) has no symbols
/bin/sh: /Volumes/Macintosh: No such file or directory
make[2]: *** [install-libLTLIBRARIES] Error 127
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1


It's pretty clear that the (very common) whitespace in the Harddisk's
name (it is called "Macintosh HD") is unprotected. It's easily fixable
by giving the correct prefix (e.g. make prefix=/usr/local/lib
install), but it'd be nicer if that wasn't necessary.

For completeness: I ran into the necessity to make glpk from source
because the glpk package that is maintained by the Macports group does
not support x86_64. I know that this is not the right place to
complain, but it's worth a note.

Keep the good work up,

Florian.

-- 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Dipl.-Ing. Florian Tang

Department and Chair of Physical Metallurgy and Metal Physics, RWTH Aachen
Kopernikusstr. 14, D-52074 Aachen, GERMANY

Tel. +49 241 8020253
address@hidden
www.imm.rwth-aachen.de



reply via email to

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