OCC is not found during configuration process:

checking whether OCC libs are available... no
configure: WARNING:
        **** Cannot find OpenCASCADE devel files.
        Modules that depend on this library cannot be built. ****

And then compilation fails, because empty "-I" parameter is added to
g++ command:

g++ -DHAVE_CONFIG_H -I. -I../../..  -I -I././inc/ -D_OCC64 -g -D_DEBUG
-D_REENTRANT -Wall -Wno-sign-compare -Wno-switch -Wno-reorder
-Wno-unused -Wno-parentheses -Wno-comment -Wall -g -O2 -Wno-deprecated
-frtti -c -o Driver_Document.lo `test -f
'././src/Driver/Driver_Document.cpp' || echo
'./'`././src/Driver/Driver_Document.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I -I././inc/
-D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -Wno-sign-compare -Wno-switch
-Wno-reorder -Wno-unused -Wno-parentheses -Wno-comment -Wall -g -O2
-Wno-deprecated -frtti -c ././src/Driver/Driver_Document.cpp  -fPIC
-DPIC -o .libs/Driver_Document.o
././src/Driver/Driver_Document.cpp:22:29: fatal error:
Driver_Document.h: No such file or directory


Now we have:
-I. -I../../..  -I -I././inc/ -D_OCC64 -g -D_DEBUG

But it should be:
-I. -I../../..  -I/usr/include/opencascade -I././inc/ -D_OCC64 -g -D_DEBUG

Has anybody an idea, how to fix it? Patch "./configure" file?

Thanks

[1] 
https://buildd.debian.org/status/fetch.php?pkg=freecad&arch=kfreebsd-amd64&ver=0.11.4446-dfsg-1&stamp=1307997225

Anton



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to