Hello Matthias,
I am experiencing some difficultly building Klayout in RHE6.0 64 bit version. The reason is the Qt libraries are in different places than previous versions of RHE.
some gcc files are located: usr/lib/gcc/x86_64-redhat-linux/4.4.5/
and additional files are placed:
/usr/libexec/gcc/x86_64-redhat-linux/4.4.5/
Please note:
-qtbin /usr/lib64/qt4/bin/ (this is same as RHE 5.3)
The Qt include files are not located under /usr/lib64/qt4/include/
However, I did find several Qt include files under /usr/include/:
Qt, Qt3Support, QtAssistant, Qtcore, QtDBuss, QtDesigner, QtGui, QtHelp, QtMultimedia, QtNetwork, GtOpenGL, QtScript, QtScriptTools, QtSql, QtSvg, QtTest, QtUiTools, AtXml, QtXmlPattens
The Qt lib files are not located under /usr/lib64/qt4/lib64/ . However, there exist lib files under /usr/lib64/qt03.3/lib/ or are missing. I did install every QT package available. I noticed RH5.3 32 bit has qt3 library files under the Qt4 installation directory.
Can you suggest the best way to build Klayout for me?
thank you
Rosario
Comments
Thanks for your earlier suggestions. I found the Qtlib files directly under /usr/lib64, in fact several versions, for example libQtcore.so:
libQtCore.so
libQtCore.so.4
libQtCore.so.4.6
libQtCore.so.4.6.2
If this is a problem I could move those libQt files to a separate directory under /usr/lib64 and point to them.
I am still having problems with the build:
[root@thor klayout-0.21.13]# ls -l
total 84
-rw-r--r--. 1 1000 1000 2772 Sep 19 11:50 BUILD
-rwxr-xr-x. 1 1000 1000 8269 Sep 19 11:50 build.sh
drwxr-xr-x. 2 1000 1000 4096 Sep 19 11:50 config
-rw-r--r--. 1 1000 1000 491 Sep 19 11:50 CONTRIB
-rw-r--r--. 1 1000 1000 15146 Sep 19 11:50 LICENSE
drwxr-xr-x. 3 1000 1000 36864 Sep 19 11:50 src
drwxr-xr-x. 3 root root 4096 Nov 22 14:22 Technical
drwxr-xr-x. 8 1000 1000 4096 Sep 19 11:50 testdata
[root@thor klayout-0.21.13]# ^[[C
bash: : command not found
[root@thor klayout-0.21.13]#
[root@thor klayout-0.21.13]# ./build.sh -qtbin /usr/lib64/qt4/bin -qtinc /usr/include -qtlib /usr/lib64
Qt installation directory is /usr/lib64 (lib), /usr/lib64/qt4/bin (tools) and /usr/include (includes)
Ruby installation directory is (lib), (includes) and not-used (config for 1.9.x)
Platform is linux-64-gcc-release
./build.sh: line 266: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile: No such file or directory
./build.sh: line 267: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile: No such file or directory
./build.sh: line 268: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile: No such file or directory
./build.sh: line 269: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile: No such file or directory
./build.sh: line 270: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile: No such file or directory
cp: target `Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile.conf' is not a directory
./build.sh: line 274: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/main/Makefile: No such file or directory
./build.sh: line 275: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/main/Makefile: No such file or directory
./build.sh: line 276: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/main/Makefile: No such file or directory
./build.sh: line 277: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/main/Makefile: No such file or directory
./build.sh: line 278: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/main/Makefile: No such file or directory
./build.sh: line 279: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/main/Makefile: No such file or directory
./build.sh: line 297: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile.env: No such file or directory
./build.sh: line 298: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile.env: No such file or directory
./build.sh: line 299: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile.env: No such file or directory
./build.sh: line 300: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile.env: No such file or directory
./build.sh: line 301: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile.env: No such file or directory
./build.sh: line 302: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile.env: No such file or directory
./build.sh: line 303: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile.env: No such file or directory
./build.sh: line 304: /root/Desktop/Thor Technical/klayout-0.21.13/build.linux-64-gcc-release/Makefile.env: No such file or directory
Building plugins:
Running build ..
gmake
gmake: *** No rule to make target `all'. Stop.
Do you think the problem could be an incomplete gcc compiler? There are three versions in the /usr/include/c++ directory: 3.4.6, 4.4.4, 4.4.5 and have added all available options.
you don't need to move any libraries - it should work without that.
I guess the problem you encountered are related to the blank in the path /root/Desktop/Thor Technical/...
Can you try building in a folder that does not have a blank in the path?
Best regards,
Matthias
Yes, that was the problem. Linux in general I find dislikes two word names with spaces. I copied the build commands right out of the build instructions you provided and the script ran perfectly.
thank you