Skip to Content.
Sympa Menu

mathemagix-devel - Re: [Mathemagix] Problem with compilation Synaps packages

Subject: Mathemagix

List archive

Re: [Mathemagix] Problem with compilation Synaps packages


Chronological Thread 
  • From: Joris van der Hoeven <address@concealed>
  • To: address@concealed
  • Subject: Re: [Mathemagix] Problem with compilation Synaps packages
  • Date: Mon, 25 Feb 2008 12:34:18 +0100

On Mon, Feb 25, 2008 at 12:17:58PM +0100, Bernard Mourrain wrote:
> It should be working now for subdivix (the other packages realroot,
> shape, ... are not included yet by default):
> cd subdivix; ./configure; make; ...

This is not how things should work. One should for instance be able to do

./configure --enable-devel --enable-subdivix --disable-optimize
make

I obtain:

/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../include/subdivix -I../glue
-I/home/vdhoeven/mathemagix/inria/mmx/include
-I/home/vdhoeven/mathemagix/inria/mmx/subdivix/include
-I/home/vdhoeven/mathemagix/inria/mmx/subdivix/../basix/include
-I/home/vdhoeven/mathemagix/inria/mmx/subdivix/../numerix/include
-I../include -I../glue -ftemplate-depth-35 -msse2 -MT
libmmxsubdivix_la-solvers_glue.lo -MD -MP -MF
.deps/libmmxsubdivix_la-solvers_glue.Tpo -c -o
libmmxsubdivix_la-solvers_glue.lo `test -f '../glue/solvers_glue.cpp' || echo
'./'`../glue/solvers_glue.cpp
g++ -DHAVE_CONFIG_H -I. -I../include/subdivix -I../glue
-I/home/vdhoeven/mathemagix/inria/mmx/include
-I/home/vdhoeven/mathemagix/inria/mmx/subdivix/include
-I/home/vdhoeven/mathemagix/inria/mmx/subdivix/../basix/include
-I/home/vdhoeven/mathemagix/inria/mmx/subdivix/../numerix/include
-I../include -I../glue -ftemplate-depth-35 -msse2 -MT
libmmxsubdivix_la-solvers_glue.lo -MD -MP -MF
.deps/libmmxsubdivix_la-solvers_glue.Tpo -c ../glue/solvers_glue.cpp -fPIC
-DPIC -o .libs/libmmxsubdivix_la-solvers_glue.o
Dans le fichier inclus ? partir de ../glue/solvers_glue.cpp:1:
/home/vdhoeven/mathemagix/inria/mmx/subdivix/../numerix/include/numerix/kernel.hpp:8:33:
erreur: algebrix/Interval.hpp : No such file or directory
Dans le fichier inclus ? partir de
/home/vdhoeven/mathemagix/inria/mmx/include/subdivix/upoldse_bound.hpp:14,
? partir de
/home/vdhoeven/mathemagix/inria/mmx/include/subdivix/solver_uvp_sleeve.hpp:11,
? partir de
/home/vdhoeven/mathemagix/inria/mmx/include/subdivix/solver_glue.hpp:12,
? partir de ../glue/solvers_glue.cpp:18:
/home/vdhoeven/mathemagix/inria/mmx/include/subdivix/texp_rationalof.hpp:3:19:
erreur: gmpxx.h : No such file or directory
/home/vdhoeven/mathemagix/inria/mmx/subdivix/../numerix/include/numerix/kernel.hpp:49:
erreur: variable or field 'assign' declared void
/home/vdhoeven/mathemagix/inria/mmx/subdivix/../numerix/include/numerix/kernel.hpp:49:
erreur: 'mmx::let::assign' declared as an 'inline' variable
/home/vdhoeven/mathemagix/inria/mmx/subdivix/../numerix/include/numerix/kernel.hpp:49:
erreur: 'Interval' was not declared in this scope
/home/vdhoeven/mathemagix/inria/mmx/subdivix/../numerix/include/numerix/kernel.hpp:49:
erreur: expected primary-expression before 'double'
/home/vdhoeven/mathemagix/inria/mmx/subdivix/../numerix/include/numerix/kernel.hpp:49:
erreur: expected primary-expression before 'const'
/home/vdhoeven/mathemagix/inria/mmx/subdivix/../numerix/include/numerix/kernel.hpp:49:
erreur: initializer liste d'expressions trait?e comme une expression compos?e
/home/vdhoeven/mathemagix/inria/mmx/subdivix/../numerix/include/numerix/kernel.hpp:50:
erreur: expected `;' before '{' token
/home/vdhoeven/mathemagix/inria/mmx/include/subdivix/texp_rationalof.hpp:12:
erreur: 'mpq_class' does not name a type
make[2]: *** [libmmxsubdivix_la-solvers_glue.lo] Erreur 1
make[2]: Leaving directory
`/home/vdhoeven/mathemagix/inria/mmx/subdivix/build'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/vdhoeven/mathemagix/inria/mmx/subdivix'
make: *** [subdivix-all] Erreur 2

In fact, there also seems to be a problem with the dependencies.
You don't depend on numerix or algebrix:

[vdhoeven@localhost mmx]$ ./configure --enable-devel --disable-optimize
--enable-subdivix
checking whether ln -s works... yes
./configure: line 1738: AM_PROG_MKDIR_P: command not found
checking for a BSD-compatible install... /usr/bin/install -c
disable optimizations
disable debugging
enable C++ exception handling
disable low-level verifications
enable glue compilation for interpreter
disable compilation of additional test programs
disable compilation of additional benchmarks
enable custom simd level sse2
disable multi-threading
enable building without installing
checking for texmacs... texmacs
checking for doxygen... doxygen
disable documentation
[*] basix
[ ] mmxlight
[ ] numerix
[ ] algebramix
[ ] analyziz
[ ] multimix
[ ] columbus
[ ] jorix
[ ] nla
[*] subdivix
[ ] realroot
[ ] shape
[ ] symbolix
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile



Archive powered by MHonArc 2.6.18.

Top of Page