Installation error

10 views
Skip to first unread message

Oli

unread,
Dec 22, 2010, 3:42:43 PM12/22/10
to gnumap-users
Hi

I keep getting this when attempting to install gnumap (at the 'make'
stage):

Olis-Macbook:gnumap oliver$ make;
if [ ! -d lib/gsl-1.14/ ]; then \
tar -xzf lib/gsl-1.14.tar.gz -C lib/; \
fi
cd lib/gsl-1.14/ && \
if [ ! -e Makefile ]; then \
echo "Couldn't find lib/gsl-1.14/Makefile"; \
./configure --prefix=/Users/oliver/Egyptology/PhD/Barley/Illumina
Data/gnumap/lib/; \
fi && \
make && make install \

Couldn't find lib/gsl-1.14/Makefile
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: Data/gnumap/lib/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for a sed that does not truncate output... /usr/bin/sed
checking whether make sets $(MAKE)... (cached) yes
checking build system type... Invalid configuration `Data/gnumap/
lib/': machine `Data/gnumap/lib/' not recognized
configure: error: /bin/sh ./config.sub Data/gnumap/lib/ failed
make: *** [lib/lib/libgsl.a] Error 1

...and the program doesn't install. Any thoughts would be greatly
appreciated!

Ta

Nathan Clement

unread,
Dec 23, 2010, 12:27:18 AM12/23/10
to gnumap...@googlegroups.com
It's a problem with my script that works in most cases but not in yours. There's an easy solution. In the Makefile, I try and compile a required library, and I'm assuming the current path doesn't have spaces in it. Yours does, but this can be solved by surrounding the path with quotation marks. I'll include the updated Makefile for you to use and include this with the next update.

Replace the Makefile in your current version with this Makefile, then type "make" and it should work.


Nathan

Makefile
Reply all
Reply to author
Forward
0 new messages