Hi all,

I've tried to compile the latest source from the repository on Linux
CentOS 5 (32 bits) but it fails at 93% complaining about Qt errors.
I think I meet the requirements stated in the INSTALL.txt: gcc 3.4,
Boost 1.33.1, Qt 4.2.1.
I've seen the cmake version Warning (2.4.5 instead of 2.4.6) but
compilation continues. Is there a problem with older cmake ?

Any idea about what I did wrong ?

Here is some output from the compilation using the build_make script :


[r...@new-host-6 build]# ./build_make.sh --build=debug
 started build at Fri Mar 27 16:50:40 CET 2009.

-- Check for working C compiler: /usr/bin/gcc34
-- Check for working C compiler: /usr/bin/gcc34 -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/g++34
-- Check for working CXX compiler: /usr/bin/g++34 -- works
-- Found Mercurial (hg): /usr/bin/hg
-- OS: Linux-2.6.18-92.1.22.el5
-- Processor: i686
-- Compiler: /usr/bin/gcc34
-- Build type: Debug
-- Build tool: /usr/bin/gmake
-- Build directory: /home/mat/qutecom-2.2-test/build/debug
-- svn revision: 17ee53ce3666
-- Time: 20090327165041
WARNING: This project requires version 2.4.6 of CMake.  You are
running version 2.4.5.

_AVCODEC_INCLUDEDIR =
_AVCODEC_LIBDIR =
_AVCODEC_LIBS =
_AVCODEC_LIBS_L =
_AVCODEC_LIBS_PATH =
AVCODEC_INCLUDE_DIR = /usr/include/ffmpeg
-- Found FFMPEG:
/usr/lib/libavcodec.so;/usr/lib/libavutil.so;/usr/lib/libavformat.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Boost version 103301: /usr/include,
/usr/lib/libboost_date_time.so;/usr/lib/libboost_filesystem.so;/usr/lib/libboost_iostreams.so;/usr/lib/libboost_prg_exec_monitor.so;/usr/lib/libboost_program_options.so;/usr/lib/libboost_python.so;/usr/lib/libboost_regex.so;/usr/lib/libboost_serialization.so;/usr/lib/libboost_signals.so;/usr/lib/libboost_test_exec_monitor.so;/usr/lib/libboost_thread.so;/usr/lib/libboost_unit_test_framework.so;/usr/lib/libboost_wserialization.so
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Found Qt-Version 4.2.1
running /usr/bin/cmake -E copy_if_different
"/usr/lib/qt4/translations/qt_es.qm"
"/home/mat/qutecom-2.2-test/build/debug/lang/."  2>&1
running /usr/bin/cmake -E copy_if_different
"/usr/lib/qt4/translations/qt_iw.qm"
"/home/mat/qutecom-2.2-test/build/debug/lang/."  2>&1
running /usr/bin/cmake -E copy_if_different
"/usr/lib/qt4/translations/qt_fr.qm"
"/home/mat/qutecom-2.2-test/build/debug/lang/."  2>&1
running /usr/bin/cmake -E copy_if_different
"/usr/lib/qt4/translations/qt_de.qm"
"/home/mat/qutecom-2.2-test/build/debug/lang/."  2>&1
running /usr/bin/cmake -E copy_if_different
"/usr/lib/qt4/translations/qt_ru.qm"
"/home/mat/qutecom-2.2-test/build/debug/lang/."  2>&1
running /usr/bin/cmake -E copy_if_different
"/usr/lib/qt4/translations/qt_zh_CN.qm"
"/home/mat/qutecom-2.2-test/build/debug/lang/."  2>&1
running /usr/bin/cmake -E copy_if_different
"/usr/lib/qt4/translations/qt_ar.qm"
"/home/mat/qutecom-2.2-test/build/debug/lang/."  2>&1
running /usr/bin/cmake -E copy_if_different
"/usr/lib/qt4/translations/qt_sk.qm"
"/home/mat/qutecom-2.2-test/build/debug/lang/."  2>&1
-- Found GLib2:
/lib/libglib-2.0.so;/lib/libgmodule-2.0.so;/lib/libgthread-2.0.so;/lib/libgobject-2.0.so
-- Found OpenSSL: /usr/lib/libcrypto.so;/usr/lib/libssl.so
-- Found ALSA: /usr/lib/libasound.so
-- Found libxml2: /usr/lib/libxml2.so
-- Found GnuTLS: /usr/lib/libgnutls.so
-- Found UUID (Universally Unique Identifier): /usr/lib/libuuid.so
-- Looking for XOpenDisplay in
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
- found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found libsamplerate: /usr/lib/libsamplerate.so
-- Found libsndfile: /usr/lib/libsndfile.so
-- Warning: libxss not found, idle detection won't be accurate
-- Check if the system is big endian
-- Check if the system is big endian - little endian
-- Looking for include files HAVE_STDINT_H
-- Looking for include files HAVE_STDINT_H - found
-- Looking for include files HAVE_MACHINE_TYPES_H
-- Looking for include files HAVE_MACHINE_TYPES_H - not found.
-- Looking for include files HAVE_SYS_INT_TYPES_H
-- Looking for include files HAVE_SYS_INT_TYPES_H - not found.
-- Looking for include files HAVE_SYS_UIO_H
-- Looking for include files HAVE_SYS_UIO_H - found
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for include files HAVE_STDLIB_H
-- Looking for include files HAVE_STDLIB_H - found
-- Looking for inet_aton
-- Looking for inet_aton - found
-- Looking for include files HAVE_SYSLOG_H
-- Looking for include files HAVE_SYSLOG_H - found
-- Found Speex: /usr/lib/libspeex.so
running /usr/bin/cmake -E copy_if_different
"/home/mat/qutecom-2.2-test/wengophone/COPYING"
"/home/mat/qutecom-2.2-test/build/debug"  2>&1
running /usr/bin/cmake -E copy_if_different
"/home/mat/qutecom-2.2-test/wengophone/AUTHORS"
"/home/mat/qutecom-2.2-test/build/debug/."  2>&1
-- Call forward deactivated
-- Sms deactivated
-- Voice mail deactivated
-- Filetransfer deactivated
-- Found lrelease: /usr/lib/qt4/bin/lrelease
[...]
[ 93%] Building CXX object
wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/moc_QtWebDirectory.o
[ 93%] Building CXX object
wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/__/__/__/__/__/wengophone/src/presentation/main.o
[ 93%] Building CXX object
wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/QtWengoPhone.o
/home/mat/qutecom-2.2-test/wengophone/src/presentation/qt/QtWengoPhone.cpp:888:2:
warning: no newline at end of file
[ 93%] Building CXX object
wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/QtDialpad.o
In file included from
/home/mat/qutecom-2.2-test/wengophone/src/presentation/qt/QtDialpad.cpp:22:
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:
In member function `void Ui_DialpadWidget::setupUi(QWidget*)':
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:70:
error: 'class QVBoxLayout' has no member named 'setLeftMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:71:
error: 'class QVBoxLayout' has no member named 'setTopMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:72:
error: 'class QVBoxLayout' has no member named 'setRightMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:73:
error: 'class QVBoxLayout' has no member named 'setBottomMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:79:
error: 'class QHBoxLayout' has no member named 'setLeftMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:80:
error: 'class QHBoxLayout' has no member named 'setTopMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:81:
error: 'class QHBoxLayout' has no member named 'setRightMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:82:
error: 'class QHBoxLayout' has no member named 'setBottomMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:86:
error: 'class QHBoxLayout' has no member named 'setLeftMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:87:
error: 'class QHBoxLayout' has no member named 'setTopMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:88:
error: 'class QHBoxLayout' has no member named 'setRightMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:89:
error: 'class QHBoxLayout' has no member named 'setBottomMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:118:
error: 'class QVBoxLayout' has no member named 'setLeftMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:119:
error: 'class QVBoxLayout' has no member named 'setTopMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:120:
error: 'class QVBoxLayout' has no member named 'setRightMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:121:
error: 'class QVBoxLayout' has no member named 'setBottomMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:125:
error: 'class QHBoxLayout' has no member named 'setLeftMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:126:
error: 'class QHBoxLayout' has no member named 'setTopMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:127:
error: 'class QHBoxLayout' has no member named 'setRightMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:128:
error: 'class QHBoxLayout' has no member named 'setBottomMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:135:
error: 'class QGridLayout' has no member named 'setLeftMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:136:
error: 'class QGridLayout' has no member named 'setTopMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:137:
error: 'class QGridLayout' has no member named 'setRightMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:138:
error: 'class QGridLayout' has no member named 'setBottomMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:139:
error: 'class QGridLayout' has no member named 'setHorizontalSpacing'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:140:
error: 'class QGridLayout' has no member named 'setVerticalSpacing'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:262:
error: 'class QVBoxLayout' has no member named 'setLeftMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:263:
error: 'class QVBoxLayout' has no member named 'setTopMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:264:
error: 'class QVBoxLayout' has no member named 'setRightMargin'
/home/mat/qutecom-2.2-test/build/wengophone/src/presentation/qt/ui_DialpadWidget.h:265:
error: 'class QVBoxLayout' has no member named 'setBottomMargin'
make[2]: *** [wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/QtDialpad.o]
Error 1
make[1]: *** [wengophone/src/presentation/qt/CMakeFiles/qutecom.dir/all] Error 2
make: *** [all] Error 2

Thank you.

Mathieu
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to