You are not logged in.

#1 2013-05-15 15:00:46

woodchip
Member
Registered: 2013-01-04
Posts: 2

Opencascade build errors

Hello,

I am trying to install opencascade from the AUR using yaourt but its giving all kinds of errors, also when I'm not using yaourt by the way but just manual with makepkg, what am I missing or doing wrong?

yaourt states: "Starting build" then all kind of warning/errors??:

config.status: executing depfiles commands
config.status: executing libtool commands
make  all-recursive
make[1]: Entering directory `/tmp/yaourt-tmp-root/aur-opencascade/src/ros'
Making all in adm/lin/amk
make[2]: Entering directory `/tmp/yaourt-tmp-root/aur-opencascade/src/ros/adm/lin/amk'
Making all in TKernel
make[3]: Entering directory `/tmp/yaourt-tmp-root/aur-opencascade/src/ros/adm/lin/amk/TKernel'
/bin/sh ../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../..           -I../../../../inc -I../../../../drv/FSD -I../../../../src/FSD -I../../../../drv/MMgt -I../../../../src/MMgt -I../../../../drv/OSD -I../../../../src/OSD -I../../../../drv/Plugin -I../../../../src/Plugin -I../../../../drv/Quantity -I../../../../src/Quantity -I../../../../drv/Resource -I../../../../src/Resource -I../../../../drv/SortTools -I../../../../src/SortTools -I../../../../drv/Standard -I../../../../src/Standard -I../../../../drv/StdFail -I../../../../src/StdFail -I../../../../drv/Storage -I../../../../src/Storage -I../../../../drv/TColStd -I../../../../src/TColStd -I../../../../drv/TCollection -I../../../../src/TCollection -I../../../../drv/TShort -I../../../../src/TShort -I../../../../drv/Units -I../../../../src/Units -I../../../../drv/UnitsAPI -I../../../../src/UnitsAPI -I../../../../drv/IncludeLibrary -I../../../../src/IncludeLibrary -I../../../../drv/Dico -I../../../../src/Dico -I../../../../drv/NCollection -I../../../../src/NCollection -I../../../../drv/Message -I../../../../src/Message  -D_FORTIFY_SOURCE=2 -D_OCC64 -I/usr/lib/jvm/java-7-openjdk/include -I/usr/lib/jvm/java-7-openjdk/include/linux -DNDEBUG  -DNo_Exception  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -O2 -MT Dico_DictionaryOfInteger_0.lo -MD -MP -MF .deps/Dico_DictionaryOfInteger_0.Tpo -c -o Dico_DictionaryOfInteger_0.lo `test -f '../../../../drv/Dico/Dico_DictionaryOfInteger_0.cxx' || echo './'`../../../../drv/Dico/Dico_DictionaryOfInteger_0.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../inc -I../../../../drv/FSD -I../../../../src/FSD -I../../../../drv/MMgt -I../../../../src/MMgt -I../../../../drv/OSD -I../../../../src/OSD -I../../../../drv/Plugin -I../../../../src/Plugin -I../../../../drv/Quantity -I../../../../src/Quantity -I../../../../drv/Resource -I../../../../src/Resource -I../../../../drv/SortTools -I../../../../src/SortTools -I../../../../drv/Standard -I../../../../src/Standard -I../../../../drv/StdFail -I../../../../src/StdFail -I../../../../drv/Storage -I../../../../src/Storage -I../../../../drv/TColStd -I../../../../src/TColStd -I../../../../drv/TCollection -I../../../../src/TCollection -I../../../../drv/TShort -I../../../../src/TShort -I../../../../drv/Units -I../../../../src/Units -I../../../../drv/UnitsAPI -I../../../../src/UnitsAPI -I../../../../drv/IncludeLibrary -I../../../../src/IncludeLibrary -I../../../../drv/Dico -I../../../../src/Dico -I../../../../drv/NCollection -I../../../../src/NCollection -I../../../../drv/Message -I../../../../src/Message -D_FORTIFY_SOURCE=2 -D_OCC64 -I/usr/lib/jvm/java-7-openjdk/include -I/usr/lib/jvm/java-7-openjdk/include/linux -DNDEBUG -DNo_Exception -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -O2 -MT Dico_DictionaryOfInteger_0.lo -MD -MP -MF .deps/Dico_DictionaryOfInteger_0.Tpo -c ../../../../drv/Dico/Dico_DictionaryOfInteger_0.cxx  -fPIC -DPIC -o .libs/Dico_DictionaryOfInteger_0.o
^Cmake[3]: *** [Dico_DictionaryOfInteger_0.lo] Error 1

And that just continues for ever. Is this a g++ compiler error or something. I have reinstalled base-devel etc. and it still occurs.

Any ideas etc.?

Thanks

Last edited by woodchip (2013-05-17 18:09:42)

Offline

#2 2013-05-15 15:04:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,432

Re: Opencascade build errors

Please use [ code ] tags when pasting code https://bbs.archlinux.org/help.php#bbcode

Are you using https://aur.archlinux.org/packages/opencascade/ ? If so, you can ask for help in the comments too e.g. post a link to this thread.

Offline

#3 2013-05-15 15:19:00

woodchip
Member
Registered: 2013-01-04
Posts: 2

Re: Opencascade build errors

Thanks Karol, I have update this post and also asked at the AUR package location referring to this post.

A little longer code about the errors, seem to be g++ related.

CC       = gcc
CXX      = g++
CFLAGS   = -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -fexceptions -O2
CXXFLAGS = -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -O2
CPPFLAGS = -D_FORTIFY_SOURCE=2 -D_OCC64 -I/usr/lib/jvm/java-7-openjdk/include -I/usr/lib/jvm/java-7-openjdk/include/linux -DNDEBUG  -DNo_Exception
LDFLAGS  = -Wl,-O1,--sort-common,--as-needed,-z,relro -lstdc++ -lrt

3rdparty mandatory products       
---------------------------------
freetype      : yes 
tcltk         : yes 

3rdparty optional products       
---------------------------------
gl2ps         : no (--with-gl2ps=DIR option was not defined)
freeimage     : no (--with-freeimage=DIR option was not defined)
tbb includes  : no (--with-tbb-include=DIR option was not defined)
tbb libraries : no (--with-tbb-library=DIR option was not defined)
qt            : no (--with-qt=DIR option was not defined)

Component                   Build
--------------------------  -----
FoundationClasses           yes 
ModelingData                yes 
ModelingAlgorithms          yes 
Visualization               yes 
ApplicationFramework        yes 
DataExchange                yes 
Draw                        yes 

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating adm/lin/amk/Makefile
config.status: creating custom_amk.sh
config.status: creating adm/lin/amk/TKernel/Makefile
config.status: creating adm/lin/amk/TKMath/Makefile
config.status: creating adm/lin/amk/TKAdvTools/Makefile
config.status: creating adm/lin/amk/TKG2d/Makefile
config.status: creating adm/lin/amk/TKG3d/Makefile
config.status: creating adm/lin/amk/TKGeomBase/Makefile
config.status: creating adm/lin/amk/TKBRep/Makefile
config.status: creating adm/lin/amk/TKGeomAlgo/Makefile
config.status: creating adm/lin/amk/TKTopAlgo/Makefile
config.status: creating adm/lin/amk/TKPrim/Makefile
config.status: creating adm/lin/amk/TKBO/Makefile
config.status: creating adm/lin/amk/TKBool/Makefile
config.status: creating adm/lin/amk/TKHLR/Makefile
config.status: creating adm/lin/amk/TKFillet/Makefile
config.status: creating adm/lin/amk/TKOffset/Makefile
config.status: creating adm/lin/amk/TKFeat/Makefile
config.status: creating adm/lin/amk/TKMesh/Makefile
config.status: creating adm/lin/amk/TKXMesh/Makefile
config.status: creating adm/lin/amk/TKShHealing/Makefile
config.status: creating adm/lin/amk/TKService/Makefile
config.status: creating adm/lin/amk/TKV3d/Makefile
config.status: creating adm/lin/amk/TKOpenGl/Makefile
config.status: creating adm/lin/amk/TKMeshVS/Makefile
config.status: creating adm/lin/amk/TKNIS/Makefile
config.status: creating adm/lin/amk/TKVoxel/Makefile
config.status: creating adm/lin/amk/PTKernel/Makefile
config.status: creating adm/lin/amk/TKPShape/Makefile
config.status: creating adm/lin/amk/TKCDF/Makefile
config.status: creating adm/lin/amk/TKLCAF/Makefile
config.status: creating adm/lin/amk/TKCAF/Makefile
config.status: creating adm/lin/amk/TKBinL/Makefile
config.status: creating adm/lin/amk/TKXmlL/Makefile
config.status: creating adm/lin/amk/TKShapeSchema/Makefile
config.status: creating adm/lin/amk/TKPLCAF/Makefile
config.status: creating adm/lin/amk/TKBin/Makefile
config.status: creating adm/lin/amk/TKXml/Makefile
config.status: creating adm/lin/amk/TKPCAF/Makefile
config.status: creating adm/lin/amk/FWOSPlugin/Makefile
config.status: creating adm/lin/amk/TKStdLSchema/Makefile
config.status: creating adm/lin/amk/TKStdSchema/Makefile
config.status: creating adm/lin/amk/TKTObj/Makefile
config.status: creating adm/lin/amk/TKBinTObj/Makefile
config.status: creating adm/lin/amk/TKXmlTObj/Makefile
config.status: creating adm/lin/amk/TKXSBase/Makefile
config.status: creating adm/lin/amk/TKSTEPBase/Makefile
config.status: creating adm/lin/amk/TKSTEPAttr/Makefile
config.status: creating adm/lin/amk/TKSTEP209/Makefile
config.status: creating adm/lin/amk/TKSTEP/Makefile
config.status: creating adm/lin/amk/TKIGES/Makefile
config.status: creating adm/lin/amk/TKXCAF/Makefile
config.status: creating adm/lin/amk/TKXCAFSchema/Makefile
config.status: creating adm/lin/amk/TKXDEIGES/Makefile
config.status: creating adm/lin/amk/TKXDESTEP/Makefile
config.status: creating adm/lin/amk/TKSTL/Makefile
config.status: creating adm/lin/amk/TKVRML/Makefile
config.status: creating adm/lin/amk/TKXmlXCAF/Makefile
config.status: creating adm/lin/amk/TKBinXCAF/Makefile
config.status: creating adm/lin/amk/TKDraw/Makefile
config.status: creating adm/lin/amk/TKTopTest/Makefile
config.status: creating adm/lin/amk/TKViewerTest/Makefile
config.status: creating adm/lin/amk/TKXSDRAW/Makefile
config.status: creating adm/lin/amk/TKDCAF/Makefile
config.status: creating adm/lin/amk/TKXDEDRAW/Makefile
config.status: creating adm/lin/amk/TKTObjDRAW/Makefile
config.status: creating adm/lin/amk/TKQADraw/Makefile
config.status: creating adm/lin/amk/DRAWEXE/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-recursive
make[1]: Entering directory `/home/arp/AUR/opencascade/opencascade/src/ros'
Making all in adm/lin/amk
make[2]: Entering directory `/home/arp/AUR/opencascade/opencascade/src/ros/adm/lin/amk'
Making all in TKernel
make[3]: Entering directory `/home/arp/AUR/opencascade/opencascade/src/ros/adm/lin/amk/TKernel'
/bin/sh ../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../..           -I../../../../inc -I../../../../drv/FSD -I../../../../src/FSD -I../../../../drv/MMgt -I../../../../src/MMgt -I../../../../drv/OSD -I../../../../src/OSD -I../../../../drv/Plugin -I../../../../src/Plugin -I../../../../drv/Quantity -I../../../../src/Quantity -I../../../../drv/Resource -I../../../../src/Resource -I../../../../drv/SortTools -I../../../../src/SortTools -I../../../../drv/Standard -I../../../../src/Standard -I../../../../drv/StdFail -I../../../../src/StdFail -I../../../../drv/Storage -I../../../../src/Storage -I../../../../drv/TColStd -I../../../../src/TColStd -I../../../../drv/TCollection -I../../../../src/TCollection -I../../../../drv/TShort -I../../../../src/TShort -I../../../../drv/Units -I../../../../src/Units -I../../../../drv/UnitsAPI -I../../../../src/UnitsAPI -I../../../../drv/IncludeLibrary -I../../../../src/IncludeLibrary -I../../../../drv/Dico -I../../../../src/Dico -I../../../../drv/NCollection -I../../../../src/NCollection -I../../../../drv/Message -I../../../../src/Message  -D_FORTIFY_SOURCE=2 -D_OCC64 -I/usr/lib/jvm/java-7-openjdk/include -I/usr/lib/jvm/java-7-openjdk/include/linux -DNDEBUG  -DNo_Exception  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -O2 -MT Dico_DictionaryOfInteger_0.lo -MD -MP -MF .deps/Dico_DictionaryOfInteger_0.Tpo -c -o Dico_DictionaryOfInteger_0.lo `test -f '../../../../drv/Dico/Dico_DictionaryOfInteger_0.cxx' || echo './'`../../../../drv/Dico/Dico_DictionaryOfInteger_0.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../inc -I../../../../drv/FSD -I../../../../src/FSD -I../../../../drv/MMgt -I../../../../src/MMgt -I../../../../drv/OSD -I../../../../src/OSD -I../../../../drv/Plugin -I../../../../src/Plugin -I../../../../drv/Quantity -I../../../../src/Quantity -I../../../../drv/Resource -I../../../../src/Resource -I../../../../drv/SortTools -I../../../../src/SortTools -I../../../../drv/Standard -I../../../../src/Standard -I../../../../drv/StdFail -I../../../../src/StdFail -I../../../../drv/Storage -I../../../../src/Storage -I../../../../drv/TColStd -I../../../../src/TColStd -I../../../../drv/TCollection -I../../../../src/TCollection -I../../../../drv/TShort -I../../../../src/TShort -I../../../../drv/Units -I../../../../src/Units -I../../../../drv/UnitsAPI -I../../../../src/UnitsAPI -I../../../../drv/IncludeLibrary -I../../../../src/IncludeLibrary -I../../../../drv/Dico -I../../../../src/Dico -I../../../../drv/NCollection -I../../../../src/NCollection -I../../../../drv/Message -I../../../../src/Message -D_FORTIFY_SOURCE=2 -D_OCC64 -I/usr/lib/jvm/java-7-openjdk/include -I/usr/lib/jvm/java-7-openjdk/include/linux -DNDEBUG -DNo_Exception -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -O2 -MT Dico_DictionaryOfInteger_0.lo -MD -MP -MF .deps/Dico_DictionaryOfInteger_0.Tpo -c ../../../../drv/Dico/Dico_DictionaryOfInteger_0.cxx  -fPIC -DPIC -o .libs/Dico_DictionaryOfInteger_0.o
mv -f .deps/Dico_DictionaryOfInteger_0.Tpo .deps/Dico_DictionaryOfInteger_0.Plo
/bin/sh ../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../..           -I../../../../inc -I../../../../drv/FSD -I../../../../src/FSD -I../../../../drv/MMgt -I../../../../src/MMgt -I../../../../drv/OSD -I../../../../src/OSD -I../../../../drv/Plugin -I../../../../src/Plugin -I../../../../drv/Quantity -I../../../../src/Quantity -I../../../../drv/Resource -I../../../../src/Resource -I../../../../drv/SortTools -I../../../../src/SortTools -I../../../../drv/Standard -I../../../../src/Standard -I../../../../drv/StdFail -I../../../../src/StdFail -I../../../../drv/Storage -I../../../../src/Storage -I../../../../drv/TColStd -I../../../../src/TColStd -I../../../../drv/TCollection -I../../../../src/TCollection -I../../../../drv/TShort -I../../../../src/TShort -I../../../../drv/Units -I../../../../src/Units -I../../../../drv/UnitsAPI -I../../../../src/UnitsAPI -I../../../../drv/IncludeLibrary -I../../../../src/IncludeLibrary -I../../../../drv/Dico -I../../../../src/Dico -I../../../../drv/NCollection -I../../../../src/NCollection -I../../../../drv/Message -I../../../../src/Message  -D_FORTIFY_SOURCE=2 -D_OCC64 -I/usr/lib/jvm/java-7-openjdk/include -I/usr/lib/jvm/java-7-openjdk/include/linux -DNDEBUG  -DNo_Exception  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -O2 -MT Dico_DictionaryOfTransient_0.lo -MD -MP -MF .deps/Dico_DictionaryOfTransient_0.Tpo -c -o Dico_DictionaryOfTransient_0.lo `test -f '../../../../drv/Dico/Dico_DictionaryOfTransient_0.cxx' || echo './'`../../../../drv/Dico/Dico_DictionaryOfTransient_0.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../inc -I../../../../drv/FSD -I../../../../src/FSD -I../../../../drv/MMgt -I../../../../src/MMgt -I../../../../drv/OSD -I../../../../src/OSD -I../../../../drv/Plugin -I../../../../src/Plugin -I../../../../drv/Quantity -I../../../../src/Quantity -I../../../../drv/Resource -I../../../../src/Resource -I../../../../drv/SortTools -I../../../../src/SortTools -I../../../../drv/Standard -I../../../../src/Standard -I../../../../drv/StdFail -I../../../../src/StdFail -I../../../../drv/Storage -I../../../../src/Storage -I../../../../drv/TColStd -I../../../../src/TColStd -I../../../../drv/TCollection -I../../../../src/TCollection -I../../../../drv/TShort -I../../../../src/TShort -I../../../../drv/Units -I../../../../src/Units -I../../../../drv/UnitsAPI -I../../../../src/UnitsAPI -I../../../../drv/IncludeLibrary -I../../../../src/IncludeLibrary -I../../../../drv/Dico -I../../../../src/Dico -I../../../../drv/NCollection -I../../../../src/NCollection -I../../../../drv/Message -I../../../../src/Message -D_FORTIFY_SOURCE=2 -D_OCC64 -I/usr/lib/jvm/java-7-openjdk/include -I/usr/lib/jvm/java-7-openjdk/include/linux -DNDEBUG -DNo_Exception -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -O2 -MT Dico_DictionaryOfTransient_0.lo -MD -MP -MF .deps/Dico_DictionaryOfTransient_0.Tpo -c ../../../../drv/Dico/Dico_DictionaryOfTransient_0.cxx  -fPIC -DPIC -o .libs/Dico_DictionaryOfTransient_0.o
mv -f .deps/Dico_DictionaryOfTransient_0.Tpo .deps/Dico_DictionaryOfTransient_0.Plo

Last edited by woodchip (2013-05-17 18:15:02)

Offline

Board footer

Powered by FluxBB