build fails on centos6 with gcc 4.4.7

edited April 2018 in KLayout Support
Hi,

when running build.sh I get an error that suggests that libtl_tests.a is missing.
But it just seems like the script is looking into the wrong directory.

I appended part of the log:


Running build (gmake all) ..
cd tl/ && gmake -f Makefile
gmake[1]: Entering directory `/projects/cvsys/klayout/klayout-0.25.2/build-release/tl'
cd tl/ && gmake -f Makefile
gmake[2]: Entering directory `/projects/cvsys/klayout/klayout-0.25.2/build-release/tl/tl'
gmake[2]: Nothing to be done for `first'.
gmake[2]: Leaving directory `/projects/cvsys/klayout/klayout-0.25.2/build-release/tl/tl'
cd unit_tests/ && gmake -f Makefile
gmake[2]: Entering directory `/projects/cvsys/klayout/klayout-0.25.2/build-release/tl/unit_tests'
rm -f libtl_tests.a
ar cqs libtl_tests.a tlAlgorithm.o tlClassRegistry.o tlCommandLineParser.o tlDataMapping.o tlDeferredExecution.o tlDeflate.o tlEvents.o tlExpression.o tlFileSystemWatcher.o tlFileUtils.o tlGlobPattern.o tlHttpStream.o tlIntervalMap.o tlIntervalSet.o tlKDTree.o tlMath.o tlObject.o tlReuseVector.o tlStableVector.o tlString.o tlThreadedWorkers.o tlUtils.o tlVariant.o tlWebDAV.o tlXMLParser.o tlInt128Support.o
cp -f ../../tl/libtl_tests.a /projects/cvsys/klayout/klayout-0.25.2/build-release/tl/unit_tests/../../tl_tests.ut
cp: cannot stat `../../tl/libtl_tests.a': No such file or directory
gmake[2]: *** [../../tl/libtl_tests.a] Error 1
gmake[2]: Leaving directory `/projects/cvsys/klayout/klayout-0.25.2/build-release/tl/unit_tests'
gmake[1]: *** [sub-unit_tests-make_default] Error 2
gmake[1]: Leaving directory `/projects/cvsys/klayout/klayout-0.25.2/build-release/tl'
gmake: *** [sub-tl-make_default] Error 2

Comments

  • edited November -1

    Hi,

    looks like your qmake tries to build static libraries. Maybe your qmake has somehow added "staticlib" to CONFIG?

    Try "qmake -query" to see whether CONFIG shows something like "staticlib".

    Matthias

Sign In or Register to comment.