cmake und qt4-moc bauen nicht

DerMoench

Well-Known Member
Hi,
wollt gerade mal cmake und qt4-moc bauen, beide bauen aber nicht durch.
Hier qt4-moc:
Code:
babylon:/usr/ports/devel/qt4-moc# make install
===>   qt4-moc-4.5.3 depends on package: qt4-qmake>=4.5.3 - found
===>  Configuring for qt4-moc-4.5.3
/bin/cp /usr/ports/devel/qt4-moc/../../devel/qt4/files/configure /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/src/tools/moc/../../../
/usr/bin/sed -i.bak -e 's|target.path.*|target.path=/usr/local/bin|g'  -e 's|^TARGET.*|TARGET=moc-qt4|g'  /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/src/tools/moc/moc.pro
/bin/mkdir -p /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/src/tools/moc/../../../mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4 /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/src/tools/moc/../../../bin/qmake

This is the Qt/X11 Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.

You have already accepted the terms of the  license.

/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/floatmath/floatmath.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/mmx/mmx.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/3dnow/3dnow.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/sse/sse.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/sse2/sse2.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/db2/db2.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/ibase/ibase.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/mysql_r/mysql_r.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/mysql/mysql.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/oci/oci.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/odbc/odbc.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/psql/psql.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/sqlite2/sqlite2.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/tds/tds.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/nis/nis.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/cups/cups.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/iconv/iconv.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/gnu-libiconv/gnu-libiconv.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/dbus/dbus.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/glib/glib.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/opengl/opengl.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/opengles2/opengles2.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/opengles1/opengles1.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/opengles1cl/opengles1cl.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/xcursor/xcursor.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/xfixes/xfixes.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/xrandr/xrandr.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/xrender/xrender.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/mitshm/mitshm.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/fontconfig/fontconfig.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/sm/sm.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/xshape/xshape.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/xsync/xsync.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/xinerama/xinerama.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/xinput/xinput.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/x11/xkb/xkb.pro
/usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf:50: Parse Error ('include(../common/g++45')
Failure to read QMAKESPEC conf file /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf.
Error processing project file: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/config.tests/unix/freetype/freetype.pro

The target system byte order could not be detected!
Turn on verbose messaging (-v) to see the final report.
You can use the -little-endian or -big-endian switch to
./configure to continue.
===>  Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/src/tools/moc/../../..//config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/qt4-moc.

Hab hier schon einen Beitrag gesehn, da wurde empfohlen cmake und qmake4 neu zubauen, qmake laeuft einwandfrei durch, nur bei cmake streikt er dann auch
Code:
babylon:/usr/ports/devel/cmake# make 
===>  Vulnerability check disabled, database not found
===>  Extracting for cmake-2.8.0_1
=> MD5 Checksum OK for cmake-2.8.0.tar.gz.
=> SHA256 Checksum OK for cmake-2.8.0.tar.gz.
===>  Patching for cmake-2.8.0_1
===>  Applying FreeBSD patches for cmake-2.8.0_1
===>  Configuring for cmake-2.8.0_1
---------------------------------------------
CMake 2.8.0, Copyright 2000-2009 Kitware, Inc.
C compiler on this system is: gcc45 -O2 -pipe -fno-strict-aliasing -march=athlon64
---------------------------------------------
Error when bootstrapping CMake:
Cannot find appropriate C++ compiler on this system.
Please specify one using environment variable CXX.
See cmake_bootstrap.log for compilers attempted.
---------------------------------------------
Log of errors: /usr/ports/devel/cmake/work/cmake-2.8.0/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
===>  Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/cmake/work/cmake-2.8.0/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/cmake.

Da weiss ich auch nicht wirklich was ich machen soll, da siehe make.conf (im Anhang) alles gesetzt ist.
Portstree ist von vor 2h.
Wenn einer eine Idee hat, wäre sehr verbunden
Danke
Schoenes Restwochenende

Jens
 

Anhänge

  • make.conf.txt
    1,4 KB · Aufrufe: 302
kay, danke bin noch auf die idee gekommen die gcc-45 libs aus die alten zu linken ueber die libmap.conf:
Code:
libgcc_s.so.1   gcc44/libgcc_s.so.1
libgomp.so.1    gcc45/libgomp.so.1
libobjc.so.3    gcc45/libobjc.so.2
libssp.so.0     gcc45/libssp.so.0
libstdc++.so.6  gcc45/libstdc++.so.6
aber da endet dann die cmake install in einem seg fault, mit dem Basis-compiler baut cmake durch.
Nur kommt bei qt4-moc immer noch der selbe fehler, ach so hab auch kein distcc oder ccache laufen.

Danke

Jens
 
okay hab qt4-moc auch zum bauen bewegen können:
mit
Code:
cp /usr/local/share/qt4/mkspecs/freebsd-g++40/qmake.conf /usr/local/share/qt4/mkspecs/freebsd-g++/
Irgendwie war die falsche qmake.conf vorhanden
 
kay, danke bin noch auf die idee gekommen die gcc-45 libs aus die alten zu linken ueber die libmap.conf:
Code:
libgcc_s.so.1   gcc44/libgcc_s.so.1
libgomp.so.1    gcc45/libgomp.so.1
libobjc.so.3    gcc45/libobjc.so.2
libssp.so.0     gcc45/libssp.so.0
libstdc++.so.6  gcc45/libstdc++.so.6
aber da endet dann die cmake install in einem seg fault, mit dem Basis-compiler baut cmake durch.
Nur kommt bei qt4-moc immer noch der selbe fehler, ach so hab auch kein distcc oder ccache laufen.

Bei mir klappt das nur mit dem gcc des Systems. Wenn ich Ogion richtig verstehe, meint er doch wohl eher, den gcc45 für diesen Build komplett zu deaktivieren und statt dessen den originalen gcc 4.2.1 20070719 zu verwenden. Also nicht gcc45 über libmap.conf usw ...

Außerdem: ist es korrekt, wenn die erste Zeile der libmap.conf auf gcc44/libgcc_s.so.1 verweist? Sollte hier nicht auch gcc45 stehen?
 
jo, ich hatte das von Ogion auch erst nach dem ich das versucht hatte gelesen, in der libmap.conf steht acuh ueberall gcc45, das nur ein Kopierfehler, aber wie gesagt laeuft es jetzt auch.
Trotzdem danke

Jens
 
Zurück
Oben