Thread: [Php-qt-users] Packaging PHP-Qt for Fedora
Status: Beta
Brought to you by:
tm243
From: Debarshi 'R. R. <deb...@gm...> - 2008-01-02 20:47:32
|
I am trying to package PHP-Qt for Fedora, but a 'cmake .. && make -j3' seems to lead to a build failure: [rishi@ginger build]$ cmake .. -- Check for working C compiler: /usr/lib64/ccache/gcc -- Check for working C compiler: /usr/lib64/ccache/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/lib64/ccache/c++ -- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.3.2 -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.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 -- 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 -- /usr/include/php/main -- Found PHP5-Version 5.2.4 -- Found Qwt: /usr/lib64/libqwt.so -- QScintilla not found, support disabled -- Including Qwt5 support into smokeqt -- Build Smoke... yes - Qt only -- Configuring done -- Generating done -- Build files have been written to: /devel/redhat/SOURCES/phpqt/build [...] Scanning dependencies of target smokeqt [ 36%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/smokedata.o [ 39%] [ 41%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_1.o Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_2.o [ 43%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_3.o [ 45%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_4.o [ 47%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_5.o [ 50%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_6.o [ 52%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_7.o [ 54%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_8.o [ 56%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_9.o [ 58%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_10.o [ 60%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_11.o [ 63%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_12.o [ 65%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_13.o [ 67%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_14.o [ 69%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_15.o [ 71%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_16.o [ 73%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_17.o [ 76%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_18.o [ 78%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_19.o [ 80%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_20.o /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In member function 'void x_QwtPlotLayout::x_31(Smoke::StackItem*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:212: error: expected primary-expression before 'int' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:212: error: expected `)' before 'int' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In member function 'void x_QwtPlotLayout::x_32(Smoke::StackItem*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:217: error: expected primary-expression before 'scaleRect' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:217: error: expected `)' before 'scaleRect' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: At global scope: /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3661: error: expected ',' or '...' before 'x2' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3668: error: expected ',' or '...' before 'x3' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In static member function 'static void x_QwtScaleDiv::x_6(Smoke::StackItem*)': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3658: error: expected primary-expression before '[' token /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3658: error: expected primary-expression before ')' token /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In constructor 'x_QwtScaleDiv::x_QwtScaleDiv(const QwtDoubleInterval&, QwtValueList*)': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3661: error: 'x2' was not declared in this scope /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In static member function 'static void x_QwtScaleDiv::x_7(Smoke::StackItem*)': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3665: error: expected primary-expression before '[' token /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3665: error: expected primary-expression before ')' token /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In constructor 'x_QwtScaleDiv::x_QwtScaleDiv(double, double, QwtValueList*)': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3668: error: 'x3' was not declared in this scope /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6070: error: expected ',' or '...' before 'x3' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6278: error: expected ',' or '...' before 'x3' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp: In member function 'void x_QwtPlot::x_83(Smoke::StackItem*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:5924: error: expected primary-expression before 'const' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:5924: error: expected `)' before 'const' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp: In member function 'void x_QwtPlot::x_90(Smoke::StackItem*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:5959: error: expected primary-expression before 'const' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:5959: error: expected `)' before 'const' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp: In member function 'virtual void x_QwtPlot::drawItems(QPainter*, const QRect&, const QwtScaleMap*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6074: error: 'x3' was not declared in this scope /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6075: error: 'x4' was not declared in this scope /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp: In member function 'virtual void x_QwtPlot::printCanvas(QPainter*, const QRect&, const QwtScaleMap*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6282: error: 'x3' was not declared in this scope /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6283: error: 'x4' was not declared in this scope make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/x_20.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/x_19.o] Error 1 make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2 make: *** [all] Error 2 I have got: cmake-2.4.7-3.fc8 php-devel-5.2.4-3 qt4-devel-4.3.2-4.fc8 qwt-devel-5.0.2-5.fc8 I omitted QScintilla since Fedora does not have QScintilla v2. Any idea what this apparent failure means? I am new to Qt and don't know much of PHP. I do know C++, but since it is very late in the night and I would be travelling from tomorrow, I am unable to pursue this problem any further. Any help will be much appreciated. Happy hacking, Debarshi |
From: Debarshi 'R. R. <deb...@gm...> - 2008-01-07 16:17:12
|
Resending, since it did not reach the list last time. ---------- Forwarded message ---------- From: Debarshi 'Rishi' Ray <deb...@gm...> Date: 3 Jan 2008 02:17 Subject: Packaging PHP-Qt for Fedora To: php...@li... I am trying to package PHP-Qt for Fedora, but a 'cmake .. && make -j3' seems to lead to a build failure: [rishi@ginger build]$ cmake .. -- Check for working C compiler: /usr/lib64/ccache/gcc -- Check for working C compiler: /usr/lib64/ccache/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/lib64/ccache/c++ -- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.3.2 -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.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 -- 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 -- /usr/include/php/main -- Found PHP5-Version 5.2.4 -- Found Qwt: /usr/lib64/libqwt.so -- QScintilla not found, support disabled -- Including Qwt5 support into smokeqt -- Build Smoke... yes - Qt only -- Configuring done -- Generating done -- Build files have been written to: /devel/redhat/SOURCES/phpqt/build [...] Scanning dependencies of target smokeqt [ 36%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/smokedata.o [ 39%] [ 41%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_1.o Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_2.o [ 43%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_3.o [ 45%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_4.o [ 47%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_5.o [ 50%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_6.o [ 52%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_7.o [ 54%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_8.o [ 56%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_9.o [ 58%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_10.o [ 60%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_11.o [ 63%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_12.o [ 65%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_13.o [ 67%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_14.o [ 69%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_15.o [ 71%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_16.o [ 73%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_17.o [ 76%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_18.o [ 78%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_19.o [ 80%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_20.o /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In member function 'void x_QwtPlotLayout::x_31(Smoke::StackItem*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:212: error: expected primary-expression before 'int' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:212: error: expected `)' before 'int' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In member function 'void x_QwtPlotLayout::x_32(Smoke::StackItem*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:217: error: expected primary-expression before 'scaleRect' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:217: error: expected `)' before 'scaleRect' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: At global scope: /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3661: error: expected ',' or '...' before 'x2' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3668: error: expected ',' or '...' before 'x3' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In static member function 'static void x_QwtScaleDiv::x_6(Smoke::StackItem*)': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3658: error: expected primary-expression before '[' token /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3658: error: expected primary-expression before ')' token /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In constructor 'x_QwtScaleDiv::x_QwtScaleDiv(const QwtDoubleInterval&, QwtValueList*)': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3661: error: 'x2' was not declared in this scope /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In static member function 'static void x_QwtScaleDiv::x_7(Smoke::StackItem*)': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3665: error: expected primary-expression before '[' token /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3665: error: expected primary-expression before ')' token /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp: In constructor 'x_QwtScaleDiv::x_QwtScaleDiv(double, double, QwtValueList*)': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_20.cpp:3668: error: 'x3' was not declared in this scope /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6070: error: expected ',' or '...' before 'x3' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6278: error: expected ',' or '...' before 'x3' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp: In member function 'void x_QwtPlot::x_83(Smoke::StackItem*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:5924: error: expected primary-expression before 'const' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:5924: error: expected `)' before 'const' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp: In member function 'void x_QwtPlot::x_90(Smoke::StackItem*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:5959: error: expected primary-expression before 'const' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:5959: error: expected `)' before 'const' /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp: In member function 'virtual void x_QwtPlot::drawItems(QPainter*, const QRect&, const QwtScaleMap*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6074: error: 'x3' was not declared in this scope /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6075: error: 'x4' was not declared in this scope /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp: In member function 'virtual void x_QwtPlot::printCanvas(QPainter*, const QRect&, const QwtScaleMap*) const': /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6282: error: 'x3' was not declared in this scope /devel/redhat/SOURCES/phpqt/build/smoke/qt/x_19.cpp:6283: error: 'x4' was not declared in this scope make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/x_20.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/x_19.o] Error 1 make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2 make: *** [all] Error 2 I have got: cmake-2.4.7-3.fc8 php-devel-5.2.4-3 qt4-devel-4.3.2-4.fc8 qwt-devel-5.0.2-5.fc8 I omitted QScintilla since Fedora does not have QScintilla v2. Any idea what this apparent failure means? I am new to Qt and don't know much of PHP. I do know C++, but since it is very late in the night and I would be travelling from tomorrow, I am unable to pursue this problem any further. Any help will be much appreciated. Happy hacking, Debarshi -- Free software for the Indian community: * ftp://fedora.glug-nith.org/ (Fedora) * http://fedora.glug-nith.org/ (Fedora) * http://gnu.glug-nith.org/ (GNU) * http://mirror.wbut.ac.in/ (CRAN, Fedora, Mozilla, TLDP) |