Bug#623560: Problem in finding OCC

Anton Gladky gladky.anton at gmail.com
Wed Jun 15 19:22:47 UTC 2011


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





More information about the debian-science-maintainers mailing list