Ticket #234 (new defect)

Opened 11 years ago

Last modified 11 years ago

web2pici doesn't compile

Reported by: Fanfare Assigned to: somebody
Priority: blocker Milestone:
Component: pici-server Version: 1.0
Keywords: Cc:

Description

Hi @ all, wanting to setup a pici-server i found web2pici not compiling under ubuntu 8.10 (Intrepid)

./configure rm: cannot remove `Doxyfile': No such file or directory rm: cannot remove `web2pici': No such file or directory -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/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 -- Found X11: /usr/lib/libX11.so -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_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 Threads: TRUE -- Found KDE3 include dir: /usr/include/kde -- Found KDE3 library dir: /usr/lib -- Found KDE3 dcopidl preprocessor: /usr/bin/dcopidl -- Found KDE3 dcopidl2cpp preprocessor: /usr/bin/dcopidl2cpp -- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Configuring done -- Generating done -- Build files have been written to: /home/ralph/src/web2pici -- Found KDE3 include dir: /usr/include/kde -- Found KDE3 library dir: /usr/lib -- Found KDE3 dcopidl preprocessor: /usr/bin/dcopidl -- Found KDE3 dcopidl2cpp preprocessor: /usr/bin/dcopidl2cpp -- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Configuring done -- Generating done -- Build files have been written to: /home/ralph/src/web2pici

make [ 50%] Generating web2pici.moc Scanning dependencies of target web2pici [100%] Building CXX object CMakeFiles/web2pici.dir/web2pici.o In file included from /usr/share/qt3/include/qwindowdefs.h:47,

from /usr/share/qt3/include/qpaintdevice.h:45, from /usr/share/qt3/include/qpixmap.h:45, from /home/ralph/src/web2pici/web2pici.cpp:30:

/usr/share/qt3/include/qstring.h: In member function ‘char QChar::latin1() const’: /usr/share/qt3/include/qstring.h:197: warning: conversion to ‘char’ from ‘int’ may alter its value /usr/share/qt3/include/qstring.h: In member function ‘void QChar::setCell(uchar)’: /usr/share/qt3/include/qstring.h:222: warning: conversion to ‘ushort’ from ‘int’ may alter its value /usr/share/qt3/include/qstring.h: In member function ‘void QChar::setRow(uchar)’: /usr/share/qt3/include/qstring.h:223: warning: conversion to ‘ushort’ from ‘int’ may alter its value /usr/share/qt3/include/qstring.h: In constructor ‘QChar::QChar(uchar, uchar)’: /usr/share/qt3/include/qstring.h:267: warning: conversion to ‘ushort’ from ‘int’ may alter its value /usr/share/qt3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’: /usr/share/qt3/include/qstring.h:365: warning: conversion to ‘unsigned int:30’ from ‘uint’ may alter its value /usr/share/qt3/include/qstring.h:365: warning: conversion to ‘unsigned int:30’ from ‘uint’ may alter its value In file included from /home/ralph/src/web2pici/web2pici.cpp:31: /usr/share/qt3/include/qimage.h: In member function ‘bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’: /usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around && within In file included from /usr/share/qt3/include/qobject.h:48,

from /usr/share/qt3/include/qobjectlist.h:45, from /home/ralph/src/web2pici/web2pici.cpp:33:

/usr/share/qt3/include/qevent.h: In member function ‘void QDropEvent::setAction(QDropEvent::Action)’: /usr/share/qt3/include/qevent.h:523: warning: conversion to ‘unsigned char’ from ‘uint’ may alter its value In file included from /usr/share/qt3/include/qwidget.h:52,

from /usr/share/qt3/include/qdialog.h:45, from /usr/include/kde/kdialog.h:26, from /usr/include/kde/kdialogbase.h:26, from /usr/include/kde/kfinddialog.h:24, from /usr/include/kde/khtml_part.h:35, from /home/ralph/src/web2pici/web2pici.cpp:39:

/usr/share/qt3/include/qsizepolicy.h: In member function ‘void QSizePolicy::transpose()’: /usr/share/qt3/include/qsizepolicy.h:125: warning: conversion to ‘uchar’ from ‘uint’ may alter its value /usr/share/qt3/include/qsizepolicy.h:125: warning: conversion to ‘uchar’ from ‘uint’ may alter its value /home/ralph/src/web2pici/web2pici.cpp: In member function ‘void web2pici::completed()’: /home/ralph/src/web2pici/web2pici.cpp:304: warning: comparison between signed and unsigned integer expressions /home/ralph/src/web2pici/web2pici.cpp:311: warning: comparison between signed and unsigned integer expressions /home/ralph/src/web2pici/web2pici.cpp:318: warning: comparison between signed and unsigned integer expressions /home/ralph/src/web2pici/web2pici.cpp:325: warning: comparison between signed and unsigned integer expressions /home/ralph/src/web2pici/web2pici.cpp: In member function ‘void web2pici::formLoop(DOM::NodeList?, QTextStream&)’: /home/ralph/src/web2pici/web2pici.cpp:478: warning: comparison between signed and unsigned integer expressions /home/ralph/src/web2pici/web2pici.cpp:492: warning: suggest parentheses around && within /home/ralph/src/web2pici/web2pici.cpp:499: warning: suggest parentheses around comparison in operand of | /home/ralph/src/web2pici/web2pici.cpp: In member function ‘void web2pici::doRendering()’: /home/ralph/src/web2pici/web2pici.cpp:687: warning: comparison between signed and unsigned integer expressions /home/ralph/src/web2pici/web2pici.cpp:736: warning: comparison between signed and unsigned integer expressions /home/ralph/src/web2pici/web2pici.cpp: In function ‘int main(int, char**)’: /home/ralph/src/web2pici/web2pici.cpp:961: error: ‘exit’ was not declared in this scope make[2]: *** [CMakeFiles/web2pici.dir/web2pici.o] Error 1 make[1]: *** [CMakeFiles/web2pici.dir/all] Error 2 make: *** [all] Error 2

Hope this helps, Fanfare

Attachments

Change History

02/22/09 23:13:12 changed by anonymous

I have the same error - cant compile on Debian Lenny Final (followed step by step the install instructions and everything worked fine until make (configure has some errors too (cant delete directories) but finished - but make not

here are my error from Lenny (compiled under a VMWare Container)

root@.....:/var/www/webimage/foo/web2pici# ./configure rm: Entfernen von „CMakeFiles“ nicht möglich: Datei oder Verzeichnis nicht gefunden rm: Entfernen von „CMakeCache.txt“ nicht möglich: Datei oder Verzeichnis nicht gefunden rm: Entfernen von „cmake_install.cmake“ nicht möglich: Datei oder Verzeichnis nicht gefunden rm: Entfernen von „Doxyfile“ nicht möglich: Datei oder Verzeichnis nicht gefunden rm: Entfernen von „*.moc“ nicht möglich: Datei oder Verzeichnis nicht gefunden rm: Entfernen von „web2pici“ nicht möglich: Datei oder Verzeichnis nicht gefunden -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/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 -- Found X11: /usr/lib/libX11.so -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_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 KDE3 include dir: /usr/include/kde -- Found KDE3 library dir: /usr/lib -- Found KDE3 dcopidl preprocessor: /usr/bin/dcopidl -- Found KDE3 dcopidl2cpp preprocessor: /usr/bin/dcopidl2cpp -- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Configuring done -- Generating done -- Build files have been written to: /var/www/webimage/foo/web2pici -- Found KDE3 include dir: /usr/include/kde -- Found KDE3 library dir: /usr/lib -- Found KDE3 dcopidl preprocessor: /usr/bin/dcopidl -- Found KDE3 dcopidl2cpp preprocessor: /usr/bin/dcopidl2cpp -- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Configuring done -- Generating done -- Build files have been written to: /var/www/webimage/foo/web2pici root@......:/var/www/webimage/foo/web2pici# make [ 50%] Generating web2pici.moc Scanning dependencies of target web2pici [100%] Building CXX object CMakeFiles/web2pici.dir/web2pici.o In file included from /usr/share/qt3/include/qwindowdefs.h:47,

from /usr/share/qt3/include/qpaintdevice.h:45, from /usr/share/qt3/include/qpixmap.h:45, from /var/www/webimage/foo/web2pici/web2pici.cpp:30:

/usr/share/qt3/include/qstring.h: In member function ‘char QChar::latin1() const’: /usr/share/qt3/include/qstring.h:197: warning: conversion to ‘char’ from ‘int’ may alter its value /usr/share/qt3/include/qstring.h: In member function ‘void QChar::setCell(uchar)’: /usr/share/qt3/include/qstring.h:222: warning: conversion to ‘ushort’ from ‘int’ may alter its value /usr/share/qt3/include/qstring.h: In member function ‘void QChar::setRow(uchar)’: /usr/share/qt3/include/qstring.h:223: warning: conversion to ‘ushort’ from ‘int’ may alter its value /usr/share/qt3/include/qstring.h: In constructor ‘QChar::QChar(uchar, uchar)’: /usr/share/qt3/include/qstring.h:267: warning: conversion to ‘ushort’ from ‘int’ may alter its value /usr/share/qt3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’: /usr/share/qt3/include/qstring.h:365: warning: conversion to ‘unsigned int:30’ from ‘uint’ may alter its value /usr/share/qt3/include/qstring.h:365: warning: conversion to ‘unsigned int:30’ from ‘uint’ may alter its value In file included from /var/www/webimage/foo/web2pici/web2pici.cpp:31: /usr/share/qt3/include/qimage.h: In member function ‘bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’: /usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around && within In file included from /usr/share/qt3/include/qobject.h:48,

from /usr/share/qt3/include/qobjectlist.h:45, from /var/www/webimage/foo/web2pici/web2pici.cpp:33:

/usr/share/qt3/include/qevent.h: In member function ‘void QDropEvent::setAction(QDropEvent::Action)’: /usr/share/qt3/include/qevent.h:523: warning: conversion to ‘unsigned char’ from ‘uint’ may alter its value In file included from /usr/share/qt3/include/qwidget.h:52,

from /usr/share/qt3/include/qdialog.h:45, from /usr/include/kde/kdialog.h:26, from /usr/include/kde/kdialogbase.h:26, from /usr/include/kde/kfinddialog.h:24, from /usr/include/kde/khtml_part.h:35, from /var/www/webimage/foo/web2pici/web2pici.cpp:39:

/usr/share/qt3/include/qsizepolicy.h: In member function ‘void QSizePolicy::transpose()’: /usr/share/qt3/include/qsizepolicy.h:125: warning: conversion to ‘uchar’ from ‘uint’ may alter its value /usr/share/qt3/include/qsizepolicy.h:125: warning: conversion to ‘uchar’ from ‘uint’ may alter its value /var/www/webimage/foo/web2pici/web2pici.cpp: In member function ‘void web2pici::completed()’: /var/www/webimage/foo/web2pici/web2pici.cpp:304: warning: comparison between signed and unsigned integer expressions /var/www/webimage/foo/web2pici/web2pici.cpp:311: warning: comparison between signed and unsigned integer expressions /var/www/webimage/foo/web2pici/web2pici.cpp:318: warning: comparison between signed and unsigned integer expressions /var/www/webimage/foo/web2pici/web2pici.cpp:325: warning: comparison between signed and unsigned integer expressions /var/www/webimage/foo/web2pici/web2pici.cpp: In member function ‘void web2pici::formLoop(DOM::NodeList?, QTextStream&)’: /var/www/webimage/foo/web2pici/web2pici.cpp:478: warning: comparison between signed and unsigned integer expressions /var/www/webimage/foo/web2pici/web2pici.cpp:492: warning: suggest parentheses around && within /var/www/webimage/foo/web2pici/web2pici.cpp:499: warning: suggest parentheses around comparison in operand of | /var/www/webimage/foo/web2pici/web2pici.cpp: In member function ‘void web2pici::doRendering()’: /var/www/webimage/foo/web2pici/web2pici.cpp:687: warning: comparison between signed and unsigned integer expressions /var/www/webimage/foo/web2pici/web2pici.cpp:736: warning: comparison between signed and unsigned integer expressions /var/www/webimage/foo/web2pici/web2pici.cpp: In function ‘int main(int, char**)’: /var/www/webimage/foo/web2pici/web2pici.cpp:961: error: ‘exit’ was not declared in this scope make[2]: *** [CMakeFiles/web2pici.dir/web2pici.o] Fehler 1 make[1]: *** [CMakeFiles/web2pici.dir/all] Fehler 2 make: *** [all] Fehler 2


Add/Change #234 (web2pici doesn't compile)




Change Properties
Action