Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - Singular 3-0-2beta under OpenBSD3.9
Author Message
  Post subject:  Re: Singular on OpenBSD  Reply with quote
Anonymous wrote:
You may try the following trick:
- copy gmp.h to OpenBSD/include/gmp.h
- edit the copy and remove all lines containing __GMP_DECLSPEC_XX
- change IntegerProgramming/si_gmp.h factory/cf_gmp.h kernel/si_gmp.h
to the single line:
#include <gmp.h>
and recompile.
Hope that helps,
Hans Schoenemann, Singular team


It worked! Nice "trick".
Thanks Hans.

ESingular works fine but Singular confuses me with this log

bash-3.1$ ./Singular
SINGULAR / Development
A Computer Algebra System for Polynomial Computations / version 3-0-2
0<
by: G.-M. Greuel, G. Pfister, H. Schoenemann July 2006
FB Mathematik der Universitaet, D-67653 Kaiserslautern
// ** executing /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/LIB/.singularrc
> 3+4;
Singular in free(): error: modified (chunk-) pointer
Singular : signal 6 (v: 3002/2006092109):
Segment fault/Bus error occurred (r:1158906107)
please inform the authors
trying to restart...
fatal flex scanner internal error--end of buffer missed
bash-3.1$

/Ulf D
Post Posted: Fri Sep 22, 2006 8:39 am
  Post subject:  Re: Singular on OpenBSD  Reply with quote
You may try the following trick:
- copy gmp.h to OpenBSD/include/gmp.h
- edit the copy and remove all lines containing __GMP_DECLSPEC_XX
- change IntegerProgramming/si_gmp.h factory/cf_gmp.h kernel/si_gmp.h
to the single line:
#include <gmp.h>
and recompile.
Hope that helps,
Hans Schoenemann, Singular team
Post Posted: Mon Sep 18, 2006 4:24 pm
  Post subject:  Singular 3-0-2beta under OpenBSD3.9  Reply with quote
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
Post Posted: Fri Aug 04, 2006 11:27 am


It is currently Fri May 13, 2022 10:59 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group