gm2
[Top][All Lists]
Advanced

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

[Gm2] Build failure on NetBSD 6, tarball 04-Sep-2014


From: Christoph Schlegel
Subject: [Gm2] Build failure on NetBSD 6, tarball 04-Sep-2014
Date: Sun, 14 Sep 2014 07:41:06 +0200

Hello Gaius,

here is my attempt to build gm2 on NetBSD 6.1.4 i386.

The instructions for building under BSD's are incorrect here:
http://www.nongnu.org/gm2/freebsd.html It should be gmake install - and the 
build process of GCC also requires gmp, mpfr and mpc which are not part of a 
base install, at least this is true for NetBSD.

I installed these packages via pkgsrc, note that mpc is called mpcomplex in the 
NetBSD collection because of a name conflict.

configure stopped complaining it couldn't find gmp.h so I provided it with the 
location of the libraries:

CXXFLAGS=-g BOOT_CFLAGS=-g CFLAGS=-g ../gcc-4.7.3/configure   
--prefix=$HOME/opt   --libexecdir=$HOME/opt/lib   --enable-shared   
--enable-threads=posix  --enable-clocale=gnu --enable-languages=c,c++,gm2   
--disable-multilib --disable-bootstrap --enable-checking --enable-libgm2 
--with-gmp=/usr/pkg --with-mpfr=/usr/pkg --with-mpc=/usr/pkg

So configure worked and I tried to build gm2 using gmake (GNU Make) and ended 
up here:

bash ../../gcc-4.7.3/gcc/gm2/tools-src/makeSystem -fpim \
             ../../gcc-4.7.3/gcc/gm2/gm2-libs/SYSTEM.def \
             ../../gcc-4.7.3/gcc/gm2/gm2-libs/SYSTEM.mod \
             -I../../gcc-4.7.3/gcc/gm2/gm2-libs \
             "/home/christoph/gm2build/./gcc/xgm2 
-B/home/christoph/gm2build/./gcc/" 
/home/christoph/gm2build/gcc/gm2/gm2-libs/SYSTEM.def
Shared object "libmpc.so.3" not found
Shared object "libmpc.so.3" not found
../../gcc-4.7.3/gcc/gm2/Make-lang.in:1285: recipe for target 
'/home/christoph/gm2build/gcc/gm2/gm2-libs/SYSTEM.def' failed
gmake[2]: *** [/home/christoph/gm2build/gcc/gm2/gm2-libs/SYSTEM.def] Error 1
gmake[2]: Leaving directory '/home/christoph/gm2build/gcc'
Makefile:3881: recipe for target 'all-gcc' failed
gmake[1]: *** [all-gcc] Error 2
gmake[1]: Leaving directory '/home/christoph/gm2build'
Makefile:879: recipe for target 'all' failed
gmake: *** [all] Error 2

Regards,
Christoph



reply via email to

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