Hi, I have a problem compiling polybori in sage-4.2. I get the following: g++ -o groebner/src/randomset.o -c -O3 -Wno-long-long -Wreturn-type -g -fPIC - ftemplate-depth-100 -g -fPIC -O3 -Wno-long-long -Wreturn-type -g -fPIC - DNDEBUG -DHAVE_GD -DHAVE_TR1_UNORDERED_MAP -DPACKED -DHAVE_M4RI -DHAVE_GD - DHAVE_IEEE_754 -DBSD -I/media/anthill/portage/sci- mathematics/sage-4.2/work/sage-4.2/spkg/build/polybori-0.6.3-20090827/src/boost_1_34_1.cropped -I/media/anthill/portage/sci-mathematics/sage-4.2/work/sage-4.2/local/include -I/media/anthill/portage/sci- mathematics/sage-4.2/work/sage-4.2/local/include/python2.6 -Ipolybori/include -ICudd/obj -ICudd/util -ICudd/cudd -ICudd/mtr -ICudd/st -ICudd/epd groebner/src/randomset.cc In file included from groebner/src/randomset.cc:12: groebner/src/nf.h:23: error: variable or field 'drawmatrix' declared void groebner/src/nf.h:23: error: 'mzd_t' was not declared in this scope groebner/src/nf.h:23: error: 'mat' was not declared in this scope groebner/src/nf.h:23: error: expected primary-expression before 'const' scons: *** [groebner/src/randomset.o] Error 1 scons: building terminated because of errors. Error building PolyBoRi.
Not sure why it happens. I am on gentoo on x86, I tried with gcc-4.4.2 and gcc-3.4.3 with the same result, Other info: Host system uname -a: Linux vrooom 2.6.30-gentoo-r5 #1 Mon Aug 31 21:06:06 NZST 2009 i686 AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /media/anthill/portage/sys- devel/gcc-4.4.2/work/gcc-4.4.2/configure --prefix=/usr --bindir=/usr/i686-pc- linux-gnu/gcc-bin/4.4.2 --includedir=/usr/lib/gcc/i686-pc-linux- gnu/4.4.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.2 -- mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.2/man -- infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.2/info --with-gxx-include- dir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/include/g++-v4 --host=i686-pc-linux- gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --with- ppl --with-cloog --enable-nls --without-included-gettext --with-system-zlib -- disable-checking --disable-werror --enable-secureplt --disable-multilib -- enable-libmudflap --disable-libssp --disable-libgomp --enable-cld --with- python-dir=/share/gcc-data/i686-pc-linux-gnu/4.4.2/python --disable-libgcj -- with-arch=i686 --enable-languages=c,c++,fortran --enable-shared --enable- threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with- bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.2 p1.0' Thread model: posix gcc version 4.4.2 (Gentoo 4.4.2 p1.0) **************************************************** --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---