Package: openscad
Version: 2011.12-2
Severity: serious
Justification: fails to build from source on some architectures
Tags: upstream pending

openscad fails to build on kfreebsd-i386 and kfreebsd-amd64.

the error message:

g++ -c -pipe -fno-strict-aliasing -frounding-math -DEIGEN_DONT_ALIGN -O2 
-D_REENTRANT -Wall -W -DOPENSCAD_VERSION=2012.05.19 -DOPENSCAD_YEAR=2012.0 
-DOPENSCAD_MONTH=05.0 -DOPENSCAD_DAY=19.0 -DDEBUG -DUSE_PROGRESSWIDGET 
-DENABLE_CGAL -DENABLE_OPENCSG -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/glibc-g++ -I. 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL 
-I/usr/include/qt4 -Isrc -I/usr/X11R6/include -Iobjects -Iobjects -o 
objects/linalg.o src/linalg.cc
In file included from src/linalg.cc:1:0: src/linalg.h:4:22: fatal error: 
Eigen/Core: No such file or directory compilation terminated.

on linux architectures, -I/usr/include/eigen2 gets included in the build
flags, on the kfreebsd build servers it doesn't.

the problem seems to stem from eigen2.pri, which declares
EIGEN2_INCLUDEPATH only on linux*, macx and freebsd-g++.

the problem is being reported upstream, and it can probably be fixed in
a debian version by explicitly stating an EIGEN2_INCLUDEPATH, or will be
with the next openscad release.

Attachment: signature.asc
Description: Digital signature

Reply via email to