Singular 3-0-2beta under OpenBSD3.9
udag · Fri Aug 04, 2006 11:27 am
Hi,
I'm trying to build Singular 3-0-2beta under OpenBSD3.9.
I download the gmp sources and make a gmp directory under the /Singular-3-0-2 directory
and make and install gmp and found out that gmp uses this "pentium3-pc-openbsd3.9" when running
gmp configure.
To make configure work better I do like this
./configure --host=pentium3-pc-openbsd3.9 --build=pentium3-pc-openbsd3.9 --target=pentium3-pc-openbsd3.9 --with-malloc=system
Configure runs with no errors.
gmake works after after some manual configuration in NTL Configuration File../ntl/config.h
but ends up in this error:
---log ---
gmake[2]: Leaving directory `/home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/ntl'
gmake install in factory
gmake[2]: Entering directory `/home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory'
c++ -c canonicalform.cc -w -fno-implicit-templates -I/home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/ix86-openbsd/include -I. -I. -DHAVE_CONFIG_H -O2 -fomit-frame-pointer -fno-rtti -fno-exceptions -o canonicalform.o
In file included from /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/ix86-openbsd/include/gmp.h:54,
from cf_gmp.h:11,
from cf_factory.h:9,
from canonicalform.cc:13:
/usr/include/stddef.h:54: error: syntax error before `wchar_t'
gmake[2]: *** [canonicalform.o] Error 1
gmake[2]: Leaving directory `/home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory'
gmake install in libfac
/bin/sh: cd: /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory/libfac - No such file or directory
gmake install in kernel
/bin/sh: cd: /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory/kernel - No such file or directory
gmake install in Singular
/bin/sh: cd: /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory/Singular - No such file or directory
gmake install in IntegerProgramming
/bin/sh: cd: /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory/IntegerProgramming - No such file or directory
echo "* do not forget to install Singular-3-0-2-share.tar.gz"
* do not forget to install Singular-3-0-2-share.tar.gz
gmake[1]: Leaving directory `/home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2'
Compilation finished at Fri Aug 4 11:12:17
----------------------------------
How to work around this little problem ?
/Best regards
Ulf D
I'm trying to build Singular 3-0-2beta under OpenBSD3.9.
I download the gmp sources and make a gmp directory under the /Singular-3-0-2 directory
and make and install gmp and found out that gmp uses this "pentium3-pc-openbsd3.9" when running
gmp configure.
To make configure work better I do like this
./configure --host=pentium3-pc-openbsd3.9 --build=pentium3-pc-openbsd3.9 --target=pentium3-pc-openbsd3.9 --with-malloc=system
Configure runs with no errors.
gmake works after after some manual configuration in NTL Configuration File../ntl/config.h
but ends up in this error:
---log ---
gmake[2]: Leaving directory `/home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/ntl'
gmake install in factory
gmake[2]: Entering directory `/home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory'
c++ -c canonicalform.cc -w -fno-implicit-templates -I/home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/ix86-openbsd/include -I. -I. -DHAVE_CONFIG_H -O2 -fomit-frame-pointer -fno-rtti -fno-exceptions -o canonicalform.o
In file included from /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/ix86-openbsd/include/gmp.h:54,
from cf_gmp.h:11,
from cf_factory.h:9,
from canonicalform.cc:13:
/usr/include/stddef.h:54: error: syntax error before `wchar_t'
gmake[2]: *** [canonicalform.o] Error 1
gmake[2]: Leaving directory `/home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory'
gmake install in libfac
/bin/sh: cd: /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory/libfac - No such file or directory
gmake install in kernel
/bin/sh: cd: /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory/kernel - No such file or directory
gmake install in Singular
/bin/sh: cd: /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory/Singular - No such file or directory
gmake install in IntegerProgramming
/bin/sh: cd: /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/factory/IntegerProgramming - No such file or directory
echo "* do not forget to install Singular-3-0-2-share.tar.gz"
* do not forget to install Singular-3-0-2-share.tar.gz
gmake[1]: Leaving directory `/home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2'
Compilation finished at Fri Aug 4 11:12:17
----------------------------------
How to work around this little problem ?
/Best regards
Ulf D