LSMGenGeo build process fails of out-of-tree builds

Bug #430616 reported by SteffenAbe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ESyS-Particle
Fix Released
Low
Unassigned
Gengeo-1.0
Fix Released
Undecided
Unassigned

Bug Description

When attempting to perform an out-of-tree build of LSMGenGeo the make process fails because of not found include files (see make output below). This appears to be an issue of relative vs. absolute -I paths.

----------

Making all in .
make[1]: Entering directory `/home/steffen/build/gengeo'
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/home/steffen/src/LSM_SVN_NEW/lsm/contrib/LSMGenGeo/build -I./config -I../util/ -I../src/ -I../geometry/ -I../sphere_fitting/ -I../sphere_fitting/utils/ -I/usr/include/python2.5 -fPIC -O2 -Wall -pedantic -g -O2 -MT CircleVol.lo -MD -MP -MF .deps/CircleVol.Tpo -c -o CircleVol.lo `test -f '../src/CircleVol.cc' || echo '/home/steffen/src/LSM_SVN_NEW/lsm/contrib/LSMGenGeo/build/'`../src/CircleVol.cc
 g++ -DHAVE_CONFIG_H -I. -I/home/steffen/src/LSM_SVN_NEW/lsm/contrib/LSMGenGeo/build -I./config -I../util/ -I../src/ -I../geometry/ -I../sphere_fitting/ -I../sphere_fitting/utils/ -I/usr/include/python2.5 -fPIC -O2 -Wall -pedantic -g -O2 -MT CircleVol.lo -MD -MP -MF .deps/CircleVol.Tpo -c /home/steffen/src/LSM_SVN_NEW/lsm/contrib/LSMGenGeo/build/../src/CircleVol.cc -fPIC -DPIC -o .libs/CircleVol.o
In file included from /home/steffen/src/LSM_SVN_NEW/lsm/contrib/LSMGenGeo/build/../src/AVolume2D.h:17,
                 from /home/steffen/src/LSM_SVN_NEW/lsm/contrib/LSMGenGeo/build/../src/CircleVol.h:17,
                 from /home/steffen/src/LSM_SVN_NEW/lsm/contrib/LSMGenGeo/build/../src/CircleVol.cc:13:
/home/steffen/src/LSM_SVN_NEW/lsm/contrib/LSMGenGeo/build/../src/AVolume.h:17:18: error: vec3.h: Datei oder Verzeichnis nicht gefunden
/home/steffen/src/LSM_SVN_NEW/lsm/contrib/LSMGenGeo/build/../src/AVolume.h:18:20: error: Sphere.h: Datei oder Verzeichnis nicht gefunden
.......

SteffenAbe (s-abe)
Changed in esys-particle:
importance: Undecided → Low
Changed in esys-particle:
status: New → Won't Fix
Vince Boros (v-boros)
Changed in esys-particle:
status: Won't Fix → Fix Committed
Revision history for this message
Vince Boros (v-boros) wrote :

The failure of without-source-tree builds, compared to the success of within-source-tree builds, was caused by the omission of the path to header files in #include lines of .h and .cc files. See Bazaar revision 118 for the fix.

Vince Boros (v-boros)
Changed in esys-particle:
milestone: none → gengeo-1.0-release
Vince Boros (v-boros)
Changed in esys-particle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.