LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-23-2010, 12:40 PM   #1
ahmadj
Member
 
Registered: Jun 2010
Distribution: Slackware64_13.37 \ Slackware_13.1 \ ARMedslack_13.37
Posts: 80

Rep: Reputation: 16
Trying to compile FreeCAD SVN on 64-13.1


Hello,

Following on from my adventures with OpenCASCADE, I am trying now to compile FreeCAD on my Slack64 13.1 multilib system. The following info was posted originally in this thread, but I am starting a new one on the suggestion of ozanbaba:


So, today, finally got around to trying FreeCAD from SVN. Had to fiddle with the configure file generated by autogen.sh to make it recognize boost and also point it to the correct qt dirs (but you [ponce] know that already ). Only for it to fail to make with the same linking error you [ponce] talked about..

So I've just temporarily moved /usr/lib to /usr/lib32 and then 'ln -s /usr/lib64 /usr/lib'. ... Just have to make sure I don't forget to move the folders back!

Shortly afterwards...

Oops, spoke too soon

Any idea what the following means?

Code:
mv -f .deps/libMeshGui_la-DlgSmoothing.Tpo .deps/libMeshGui_la-DlgSmoothing.Plo
/bin/sh ../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../..  -DMeshExport= -DMeshGuiExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../../../src -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/lib64/qt/include -I/usr/lib64/qt/include/Qt3Support -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtOpenGL -I/usr/lib64/qt/include/QtNetwork -I/usr/lib64/qt/include/QtSvg -I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include/QtUiTools  -I/usr/lib64/qt/include/QtWebKit  -I/usr/include -I/usr/include -g -O2 -Wno-deprecated -frtti -MT libMeshGui_la-SoFCIndexedFaceSet.lo -MD -MP -MF .deps/libMeshGui_la-SoFCIndexedFaceSet.Tpo -c -o libMeshGui_la-SoFCIndexedFaceSet.lo `test -f 'SoFCIndexedFaceSet.cpp' || echo './'`SoFCIndexedFaceSet.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -DMeshExport= -DMeshGuiExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../../../src -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/lib64/qt/include -I/usr/lib64/qt/include/Qt3Support -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtOpenGL -I/usr/lib64/qt/include/QtNetwork -I/usr/lib64/qt/include/QtSvg -I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include/QtUiTools -I/usr/lib64/qt/include/QtWebKit -I/usr/include -I/usr/include -g -O2 -Wno-deprecated -frtti -MT libMeshGui_la-SoFCIndexedFaceSet.lo -MD -MP -MF .deps/libMeshGui_la-SoFCIndexedFaceSet.Tpo -c SoFCIndexedFaceSet.cpp  -fPIC -DPIC -o .libs/libMeshGui_la-SoFCIndexedFaceSet.o
mv -f .deps/libMeshGui_la-PropertyEditorMesh.Tpo .deps/libMeshGui_la-PropertyEditorMesh.Plo
/bin/sh ../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../..  -DMeshExport= -DMeshGuiExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../../../src -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/lib64/qt/include -I/usr/lib64/qt/include/Qt3Support -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtOpenGL -I/usr/lib64/qt/include/QtNetwork -I/usr/lib64/qt/include/QtSvg -I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include/QtUiTools  -I/usr/lib64/qt/include/QtWebKit  -I/usr/include -I/usr/include -g -O2 -Wno-deprecated -frtti -MT libMeshGui_la-SoFCMeshObject.lo -MD -MP -MF .deps/libMeshGui_la-SoFCMeshObject.Tpo -c -o libMeshGui_la-SoFCMeshObject.lo `test -f 'SoFCMeshObject.cpp' || echo './'`SoFCMeshObject.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -DMeshExport= -DMeshGuiExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../../../src -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/lib64/qt/include -I/usr/lib64/qt/include/Qt3Support -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtOpenGL -I/usr/lib64/qt/include/QtNetwork -I/usr/lib64/qt/include/QtSvg -I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include/QtUiTools -I/usr/lib64/qt/include/QtWebKit -I/usr/include -I/usr/include -g -O2 -Wno-deprecated -frtti -MT libMeshGui_la-SoFCMeshObject.lo -MD -MP -MF .deps/libMeshGui_la-SoFCMeshObject.Tpo -c SoFCMeshObject.cpp  -fPIC -DPIC -o .libs/libMeshGui_la-SoFCMeshObject.o
SoFCIndexedFaceSet.cpp: In member function 'void MeshGui::SoFCIndexedFaceSet::startVisibility(SoAction*)':
SoFCIndexedFaceSet.cpp:334: warning: unused variable 'doaction'
MeshEditor.cpp: In member function 'void MeshGui::MeshFaceAddition::showMarker(SoPickedPoint*)':
MeshEditor.cpp:275: warning: comparison between signed and unsigned integer expressions
mv -f .deps/libMeshGui_la-SoFCIndexedFaceSet.Tpo .deps/libMeshGui_la-SoFCIndexedFaceSet.Plo
/bin/sh ../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../..  -DMeshExport= -DMeshGuiExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../../../src -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/lib64/qt/include -I/usr/lib64/qt/include/Qt3Support -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtOpenGL -I/usr/lib64/qt/include/QtNetwork -I/usr/lib64/qt/include/QtSvg -I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include/QtUiTools  -I/usr/lib64/qt/include/QtWebKit  -I/usr/include -I/usr/include -g -O2 -Wno-deprecated -frtti -MT libMeshGui_la-ViewProvider.lo -MD -MP -MF .deps/libMeshGui_la-ViewProvider.Tpo -c -o libMeshGui_la-ViewProvider.lo `test -f 'ViewProvider.cpp' || echo './'`ViewProvider.cpp
In file included from DlgEvaluateMeshImp.cpp:1146:
moc_DlgEvaluateMeshImp.cpp:44: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp:53: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp:53: error: non-member function 'const QMetaObject* metaObject()' cannot have cv-qualifier
/usr/lib64/qt/include/QtCore/qobject.h: In function 'const QMetaObject* metaObject()':
/usr/lib64/qt/include/QtCore/qobject.h:296: error: 'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > QObject::d_ptr' is protected
moc_DlgEvaluateMeshImp.cpp:55: error: within this context
/usr/lib64/qt/include/QtCore/qobject.h:296: error: invalid use of non-static data member 'QObject::d_ptr'
moc_DlgEvaluateMeshImp.cpp:55: error: from this location
/usr/lib64/qt/include/QtCore/qobject.h:296: error: 'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > QObject::d_ptr' is protected
moc_DlgEvaluateMeshImp.cpp:55: error: within this context
/usr/lib64/qt/include/QtCore/qobject.h:296: error: invalid use of non-static data member 'QObject::d_ptr'
moc_DlgEvaluateMeshImp.cpp:55: error: from this location
moc_DlgEvaluateMeshImp.cpp: At global scope:
moc_DlgEvaluateMeshImp.cpp:58: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp: In function 'void* qt_metacast(const char*)':
moc_DlgEvaluateMeshImp.cpp:62: error: invalid use of 'this' in non-member function
moc_DlgEvaluateMeshImp.cpp:63: error: cannot call member function 'virtual void* QObject::qt_metacast(const char*)' without object
moc_DlgEvaluateMeshImp.cpp: At global scope:
moc_DlgEvaluateMeshImp.cpp:66: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp: In function 'int qt_metacall(QMetaObject::Call, int, void**)':
moc_DlgEvaluateMeshImp.cpp:68: error: cannot call member function 'virtual int QObject::qt_metacall(QMetaObject::Call, int, void**)' without object
moc_DlgEvaluateMeshImp.cpp:73: error: 'cleanup' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp: At global scope:
moc_DlgEvaluateMeshImp.cpp:158: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp:158: error: redefinition of 'const QMetaObject staticMetaObject'
moc_DlgEvaluateMeshImp.cpp:44: error: 'const QMetaObject staticMetaObject' previously defined here
moc_DlgEvaluateMeshImp.cpp:167: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp:167: error: non-member function 'const QMetaObject* metaObject()' cannot have cv-qualifier
moc_DlgEvaluateMeshImp.cpp: In function 'const QMetaObject* metaObject()':
moc_DlgEvaluateMeshImp.cpp:167: error: redefinition of 'const QMetaObject* metaObject()'
moc_DlgEvaluateMeshImp.cpp:53: error: 'const QMetaObject* metaObject()' previously defined here
/usr/lib64/qt/include/QtCore/qobject.h:296: error: 'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > QObject::d_ptr' is protected
moc_DlgEvaluateMeshImp.cpp:169: error: within this context
/usr/lib64/qt/include/QtCore/qobject.h:296: error: invalid use of non-static data member 'QObject::d_ptr'
moc_DlgEvaluateMeshImp.cpp:169: error: from this location
/usr/lib64/qt/include/QtCore/qobject.h:296: error: 'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > QObject::d_ptr' is protected
moc_DlgEvaluateMeshImp.cpp:169: error: within this context
/usr/lib64/qt/include/QtCore/qobject.h:296: error: invalid use of non-static data member 'QObject::d_ptr'
moc_DlgEvaluateMeshImp.cpp:169: error: from this location
moc_DlgEvaluateMeshImp.cpp: At global scope:
moc_DlgEvaluateMeshImp.cpp:172: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp: In function 'void* qt_metacast(const char*)':
moc_DlgEvaluateMeshImp.cpp:172: error: redefinition of 'void* qt_metacast(const char*)'
moc_DlgEvaluateMeshImp.cpp:58: error: 'void* qt_metacast(const char*)' previously defined here
moc_DlgEvaluateMeshImp.cpp:176: error: invalid use of 'this' in non-member function
moc_DlgEvaluateMeshImp.cpp:178: error: invalid use of 'this' in non-member function
moc_DlgEvaluateMeshImp.cpp:180: error: invalid use of 'this' in non-member function
moc_DlgEvaluateMeshImp.cpp:181: error: cannot call member function 'virtual void* QDialog::qt_metacast(const char*)' without object
moc_DlgEvaluateMeshImp.cpp: At global scope:
moc_DlgEvaluateMeshImp.cpp:184: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp: In function 'int qt_metacall(QMetaObject::Call, int, void**)':
moc_DlgEvaluateMeshImp.cpp:184: error: redefinition of 'int qt_metacall(QMetaObject::Call, int, void**)'
moc_DlgEvaluateMeshImp.cpp:66: error: 'int qt_metacall(QMetaObject::Call, int, void**)' previously defined here
moc_DlgEvaluateMeshImp.cpp:186: error: cannot call member function 'virtual int QDialog::qt_metacall(QMetaObject::Call, int, void**)' without object
moc_DlgEvaluateMeshImp.cpp:191: error: 'on_checkOrientationButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:192: error: 'on_analyzeOrientationButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:193: error: 'on_repairOrientationButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:194: error: 'on_checkDuplicatedFacesButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:195: error: 'on_analyzeDuplicatedFacesButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:196: error: 'on_repairDuplicatedFacesButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:197: error: 'on_checkDuplicatedPointsButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:198: error: 'on_analyzeDuplicatedPointsButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:199: error: 'on_repairDuplicatedPointsButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:200: error: 'on_checkNonmanifoldsButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:201: error: 'on_analyzeNonmanifoldsButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:202: error: 'on_repairNonmanifoldsButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:203: error: 'on_checkDegenerationButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:204: error: 'on_analyzeDegeneratedButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:205: error: 'on_repairDegeneratedButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:206: error: 'on_checkIndicesButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:207: error: 'on_analyzeIndicesButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:208: error: 'on_repairIndicesButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:209: error: 'on_checkSelfIntersectionButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:210: error: 'on_analyzeSelfIntersectionButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:211: error: 'on_repairSelfIntersectionButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:212: error: 'on_checkFoldsButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:213: error: 'on_analyzeFoldsButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:214: error: 'on_repairFoldsButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:215: error: 'on_analyzeAllTogether_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:216: error: 'on_repairAllTogether_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:217: error: 'on_refreshButton_clicked' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp:218: error: 'on_meshNameButton_activated' was not declared in this scope
moc_DlgEvaluateMeshImp.cpp: At global scope:
moc_DlgEvaluateMeshImp.cpp:245: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp:245: error: redefinition of 'const QMetaObject staticMetaObject'
moc_DlgEvaluateMeshImp.cpp:44: error: 'const QMetaObject staticMetaObject' previously defined here
moc_DlgEvaluateMeshImp.cpp:254: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp:254: error: non-member function 'const QMetaObject* metaObject()' cannot have cv-qualifier
moc_DlgEvaluateMeshImp.cpp: In function 'const QMetaObject* metaObject()':
moc_DlgEvaluateMeshImp.cpp:254: error: redefinition of 'const QMetaObject* metaObject()'
moc_DlgEvaluateMeshImp.cpp:53: error: 'const QMetaObject* metaObject()' previously defined here
/usr/lib64/qt/include/QtCore/qobject.h:296: error: 'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > QObject::d_ptr' is protected
moc_DlgEvaluateMeshImp.cpp:256: error: within this context
/usr/lib64/qt/include/QtCore/qobject.h:296: error: invalid use of non-static data member 'QObject::d_ptr'
moc_DlgEvaluateMeshImp.cpp:256: error: from this location
/usr/lib64/qt/include/QtCore/qobject.h:296: error: 'QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > QObject::d_ptr' is protected
moc_DlgEvaluateMeshImp.cpp:256: error: within this context
/usr/lib64/qt/include/QtCore/qobject.h:296: error: invalid use of non-static data member 'QObject::d_ptr'
moc_DlgEvaluateMeshImp.cpp:256: error: from this location
moc_DlgEvaluateMeshImp.cpp: At global scope:
moc_DlgEvaluateMeshImp.cpp:259: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp: In function 'void* qt_metacast(const char*)':
moc_DlgEvaluateMeshImp.cpp:259: error: redefinition of 'void* qt_metacast(const char*)'
moc_DlgEvaluateMeshImp.cpp:58: error: 'void* qt_metacast(const char*)' previously defined here
moc_DlgEvaluateMeshImp.cpp:263: error: invalid use of 'this' in non-member function
moc_DlgEvaluateMeshImp.cpp:264: error: cannot call member function 'virtual void* MeshGui::DlgEvaluateMeshImp::qt_metacast(const char*)' without object
moc_DlgEvaluateMeshImp.cpp: At global scope:
moc_DlgEvaluateMeshImp.cpp:267: error: 'MeshGui::MeshGui' has not been declared
moc_DlgEvaluateMeshImp.cpp: In function 'int qt_metacall(QMetaObject::Call, int, void**)':
moc_DlgEvaluateMeshImp.cpp:267: error: redefinition of 'int qt_metacall(QMetaObject::Call, int, void**)'
moc_DlgEvaluateMeshImp.cpp:66: error: 'int qt_metacall(QMetaObject::Call, int, void**)' previously defined here
moc_DlgEvaluateMeshImp.cpp:269: error: cannot call member function 'virtual int MeshGui::DlgEvaluateMeshImp::qt_metacall(QMetaObject::Call, int, void**)' without object
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -DMeshExport= -DMeshGuiExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../../../src -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/lib64/qt/include -I/usr/lib64/qt/include/Qt3Support -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtOpenGL -I/usr/lib64/qt/include/QtNetwork -I/usr/lib64/qt/include/QtSvg -I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include/QtUiTools -I/usr/lib64/qt/include/QtWebKit -I/usr/include -I/usr/include -g -O2 -Wno-deprecated -frtti -MT libMeshGui_la-ViewProvider.lo -MD -MP -MF .deps/libMeshGui_la-ViewProvider.Tpo -c ViewProvider.cpp  -fPIC -DPIC -o .libs/libMeshGui_la-ViewProvider.o
make[6]: *** [libMeshGui_la-DlgEvaluateMeshImp.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
mv -f .deps/libMeshGui_la-DlgSettingsMeshView.Tpo .deps/libMeshGui_la-DlgSettingsMeshView.Plo
mv -f .deps/libMeshGui_la-MeshEditor.Tpo .deps/libMeshGui_la-MeshEditor.Plo
mv -f .deps/libMeshGui_la-DlgRegularSolidImp.Tpo .deps/libMeshGui_la-DlgRegularSolidImp.Plo
RemoveComponents.cpp: In static member function 'static void MeshGui::RemoveComponents::selectGLCallback(void*, SoEventCallback*)':
RemoveComponents.cpp:347: warning: unused variable 'ev'
mv -f .deps/libMeshGui_la-SoFCMeshObject.Tpo .deps/libMeshGui_la-SoFCMeshObject.Plo
mv -f .deps/libMeshGui_la-RemoveComponents.Tpo .deps/libMeshGui_la-RemoveComponents.Plo
mv -f .deps/libMeshGui_la-Command.Tpo .deps/libMeshGui_la-Command.Plo
mv -f .deps/libMeshGui_la-ViewProvider.Tpo .deps/libMeshGui_la-ViewProvider.Plo
make[6]: Leaving directory `/home/ahmad/setup/software/cad/freecad/src/Mod/Mesh/Gui'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/ahmad/setup/software/cad/freecad/src/Mod/Mesh/Gui'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/ahmad/setup/software/cad/freecad/src/Mod/Mesh'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ahmad/setup/software/cad/freecad/src/Mod'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ahmad/setup/software/cad/freecad/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ahmad/setup/software/cad/freecad'
make: *** [all] Error 2
This is my configure command, is there something wrong with it?
Quote:
./configure --prefix=/opt/FreeCAD --with-qt4-bin=/usr/bin/ --with-qt4-include=/usr/lib64/qt/include --with-qt4-lib=/usr/lib64/qt/lib --with-occ-include=/usr/include/OpenCASCADE
 
Old 12-24-2010, 07:28 AM   #2
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Rep: Reputation: 40
Building anything from SVN (or git, hg, etc.) there is a chance that the version you have has errors. try "svn up" then build again.
 
Old 12-24-2010, 02:36 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,211

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
Slackware 13.1 - 64

cd freecad/trunk/ && ./autogen.sh && ./configure --<your-options>
&& make : No errors at all using todays svn version.

( It's a clean install of Slackware 13.1 - 64, no multilib.)

..
 
Old 12-24-2010, 02:52 PM   #4
ahmadj
Member
 
Registered: Jun 2010
Distribution: Slackware64_13.37 \ Slackware_13.1 \ ARMedslack_13.37
Posts: 80

Original Poster
Rep: Reputation: 16
Thanks.

Hmm, that is weird. Just updated from svn and tried autogen (without fiddling with the OpenCASCADE stuff in the resulting 'configure' this time), then configure with the same options as before. 'Make' failed at the same point.

Did you use the same configure options as me? I think this brings it down to either missing dependencies, or a multilib issue. Is it worth completely uninstalling the multilib stuff and seeing if that makes a difference?
 
Old 12-24-2010, 03:15 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,211

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
Yes, the same configure options.
( Except --prefix, which I left out. (Will then default to $HOME/FreeCad/).
( I have another version installed already on that OS.)

It may be a good idea to have an extra Slack 13.1 -64 on a spare computer,
a spare partition or harddisk, meant for building software.
I can see from the questions here at LQ, that mutilib sometimes causes issues,
that not always are easy to solve. Or at least will cost some extra work.
( Some applications will include the 32bits libs at configure time, if they are present.)

I prefer the installs with one architecture only. ( Have about 40 Linux installs.)
..
 
1 members found this post helpful.
Old 12-25-2010, 05:19 PM   #6
ahmadj
Member
 
Registered: Jun 2010
Distribution: Slackware64_13.37 \ Slackware_13.1 \ ARMedslack_13.37
Posts: 80

Original Poster
Rep: Reputation: 16
Now this is a conundrum.

Installed a pure 64-bit virtual machine. Installed OS patches from Slackware mirror. Installed listed FreeCAD dependiencies from SBo*. Checked-out FreeCAD source from trunk.

Then autogen.sh, fix boost mt errors in configure and then ./configure. And then make fails with exactly the same error as on my multilib system.

What one earth could I be doing wrong? There must be something really elementary I am missing!

*(xerces-c,Coin,SoQt,OpenCASCADE)

Last edited by ahmadj; 12-25-2010 at 05:27 PM.
 
Old 12-26-2010, 12:25 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,211

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
The ""fix boost mt errors in configure"" is not required.
EDIT : Boost version 1.38 was used.

This is what I have ( from the "September, install FreeCad" ) :

3455175 2010-09-17 14:28 Coin-3.1.3-x86_64-2_SBo.tgz
(928200 2010-09-17 15:17 FreeCAD-0.9.2646-x86_64-1_SBo.tgz)
341847 2010-09-17 14:37 SoQt-1.5.0-x86_64-2_SBo.tgz
1907275 2010-09-17 14:10 xerces-c-2.8.0-x86-64-3_SBo.tgz
99758544 2010-09-15 21:50 OpenCASCADE-6.3.0-x86_64-1_SBo.tgz
..

Last edited by knudfl; 12-26-2010 at 05:46 AM.
 
Old 12-26-2010, 04:26 AM   #8
ahmadj
Member
 
Registered: Jun 2010
Distribution: Slackware64_13.37 \ Slackware_13.1 \ ARMedslack_13.37
Posts: 80

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by knudfl View Post
The ""fix boost mt errors in configure"" is not required.
Really? Without these manual fixes, configure fails, saying it can't find boost. Config.log shows it can't find -lboost_program_options-mt, so I have to search through configure and remove '-mt' from all referenced Boost libs. This is because the version of Boost in 13.1 does not ship separate multithreaded libraries.

The only other ways I can think around it are creating symlinks manually or downgrading Boost...

I am really trying hard to find the lowest common denominator here. I think either something is different in our setups or sources. In terms of setup, my system is stock Slackware64 13.1 with UTF-8 console being the only abnormal configuration, patched using latest patches from ftp.slakcware.org.uk.

In terms of sources, I checked out https://free-cad.svn.sourceforge.net...free-cad/trunk freecad as per the wiki.
 
Old 12-26-2010, 05:41 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,211

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
There we have the reason, why it compiles here :
I have boost version 1.38.
EDIT : Compiles OK with boost-1.42 too !

Installed : 370959 2010-12-01 12:48 boost-1.38.0-x86_64-2
ftp://ftp.slackware.org.uk/slackware...0-x86_64-2.txz
( The Slackware 13 boost.)

ls -l /var/log/removed_packages/
396729 2010-07-29 14:31 boost-1.42.0-x86_64-1


And I can't see why I changed it.
But anyway, it's no problem to have two or more boost versions.
The latest installed will be the one with the libraries used at compile time. ( *.so ).

Not a solution, if you want to use boost-1.42, sorry. But that's all I can say for now.
..

Last edited by knudfl; 12-26-2010 at 08:17 AM.
 
Old 12-26-2010, 07:10 AM   #10
ahmadj
Member
 
Registered: Jun 2010
Distribution: Slackware64_13.37 \ Slackware_13.1 \ ARMedslack_13.37
Posts: 80

Original Poster
Rep: Reputation: 16
Thanks for the help.

Well, I finally got to the bottom of it. The problem? Bad installation media, which I used both for my multilib system and the pure-64 VM. Re-downloaded automoc and qt from my local slackware mirror, reinstalled those 2 packages and make completed without a hitch!

That disc is going in the bin
 
Old 12-26-2010, 08:20 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,211

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
*


Well, I tried with boost 1.42 too : Freecad compiled OK ( Five minutes ago.)
 
Old 12-26-2010, 09:58 AM   #12
ahmadj
Member
 
Registered: Jun 2010
Distribution: Slackware64_13.37 \ Slackware_13.1 \ ARMedslack_13.37
Posts: 80

Original Poster
Rep: Reputation: 16
Yup. This is an impressive app. In need of lots of polish, but impressive nonetheless. Second image is an import (via IGES) from Rhino in case you're wondering..
Attached Thumbnails
Click image for larger version

Name:	snapshot1.png
Views:	15
Size:	143.1 KB
ID:	5648   Click image for larger version

Name:	2010-12-26-153249_1280x1024_scrot.png
Views:	15
Size:	188.8 KB
ID:	5649  
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ok I'm trying to compile gcc from the svn trunk and I get this error grizzlysmit Ubuntu 2 09-24-2010 08:34 AM
LXer: How To Compile rTorrent From SVN In Ubuntu 9.10/Debian 5 LXer Syndicated Linux News 0 12-07-2009 07:11 AM
LXer: How To Compile Amarok 2 From SVN On K/X/Ubuntu LXer Syndicated Linux News 0 03-30-2009 01:50 PM
FLTK 2.0 SVN r6191 Compile Error nickbird Programming 2 09-07-2008 04:25 AM
SVN compile issues - centos 5 64bit neocontrol Linux - Server 1 11-06-2007 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration