[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #21, bug #17496 (project freeciv): Just as another data point: the configure check for Qt has been working fine for me on Ubuntu Lucid x86_64 since the first time I tried it. IIRC, I had to install the libqt4-dev package. I didn't have to mess with any unusual configure options, just added qt to my --enable-gui list. Locations of files on this system: /usr/include/qt4/QtGui/QApplication /usr/lib/libQtGui.so (there's also a symlink to the latter from /usr/share/qt4/lib/libQtGui.so) ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Update of bug #17496 (project freeciv): Status: Confirmed = Fixed Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #20, bug #17496 (project freeciv): - Updated against current svn (file #12007) ___ Additional Item Attachment: File name: QtConfImprovements_17496-3.diff Size:4 KB ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #18, bug #17496 (project freeciv): infyquest: in config.log you attached to comment #10 it seems that header QApplication was not found. Where is it in your system? (try 'locate QApplication') ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #19, bug #17496 (project freeciv): - Handle GUI_qt_CPPFLAGS correctly (file #11967) ___ Additional Item Attachment: File name: QtConfImprovements_17496-2.diff Size:4 KB ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #11, bug #17496 (project freeciv): After latest patches my qt client compiles flawless ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #12, bug #17496 (project freeciv): It is working out of the box with the patch! ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #14, bug #17496 (project freeciv): Thanks for all the comments. This makes it easier to make additional fixes on top of my patch. I don't think I'll use Matthias's patch. From the commet #13 alone (not reading the patch itself) it seems to make things wrong way: - fix variable name (GUI_qt_CPPFLAGS = GUI_qt_CXXFLAGS) It should be CPPFLAGS, not CXXFLAGS. I assume proper fix is needed elsewhere. - add LIBSADD= -lQtGui if nothing is set (needed?) That was already the case. You seem to be adding -IQtGui to CPPFLAGS though when testing if all needed include dirs are set already. Doesn't seem like correct behavior for me. ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #15, bug #17496 (project freeciv): - fix variable name (GUI_qt_CPPFLAGS = GUI_qt_CXXFLAGS) It should be CPPFLAGS, not CXXFLAGS. I assume proper fix is needed elsewhere. At the moment one (GUI_qt_CPPFLAGS) is used in qt-client.m4 while the other (GUI_qt_CXXFLAGS) is used in the makefile and configure.ac - so I selected the wrong point to change it ... - add LIBSADD= -lQtGui if nothing is set (needed?) That was already the case. You seem to be adding -IQtGui to CPPFLAGS though when testing if all needed include dirs are set already. Doesn't seem like correct behavior for me. Sorry, I did not test this on separately but it seems to be a good idea to add this header search path in the 'default' case ... ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #16, bug #17496 (project freeciv): At the moment one ... This is trunk with file #11910 ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #17, bug #17496 (project freeciv): GUI_qt_CXXFLAGS) is used in the makefile and configure.ac - so I selected the wrong point to change it ... There is actually long (probably from the very beginning of Freeciv project 15 years ago) standing bug in how CPPFLAGS, CFLAGS (and now CXXFLAGS) are used. I'm going to fix it eventually, but in the meanwhile I just don't want to add more similarly wrong usage. ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
URL: http://gna.org/bugs/?17496 Summary: configure failing for trunk Project: Freeciv Submitted by: infyquest Submitted on: Sat 15 Jan 2011 01:00:17 PM GMT Category: None Severity: 5 - Blocker Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: 2.4.0 Discussion Lock: Any Operating System: None Planned Release: ___ Details: configure failing for trunk with this error checking for compilable FUNCPROTO definition... yes, determined: 15 checking for workable NARROWPROTO definition... yes, determined: 1 checking whether Xfuncproto was determined... yes: FUNCPROTO=15 NARROWPROTO=1 configure: error: specified client 'qt' not configurable ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Update of bug #17496 (project freeciv): Status:None = Confirmed ___ Follow-up Comment #1: I get the same error message. At the moment you can compile freeciv using '--enable-client=selected client(s)'. It was working at a time but perhaps I'm missing some headers? cpp and libqt4-devel are installed ... ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #2, bug #17496 (project freeciv): What value you are using for --enable-client? Or none at all? If you are requesting qt-client, and configure fails because of missing header or library, configure works as expected. ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #3, bug #17496 (project freeciv): cpp and libqt4-devel are installed ... cpp? You mean g++? Current configure Qt-client configure checks are not very good. I'll improve as I get more input. What distribution is this? Where are header QApplication and library libQtGui located? Or can you send config.log for failing configure? ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Update of bug #17496 (project freeciv): Category:None = bootstrap Assigned to:None = cazfi Planned Release: = 2.4.0 ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #4, bug #17496 (project freeciv): I get the error if I force compilation of qt (--enable-client=qt). It is expected if not all requirements are fullfield but I have a c++ compiler as well as the needed headers (libqt-devel). OK, I did further investigations (even ./configure needs lot of time ...). The search path for the QApplication is not the expected one. I have to set it: --enable-debug=checks --enable-client=qt --enable-aimodules=no --with-qt-dir=/usr/include (opensuse has qt4 in /usr/includes) In the qt-client.m4 file 'qt-dir' and 'qt-includes' are mixed: AC_ARG_WITH([qt-dir], [ --with-qt-includes path to Qt includes], [QTINC=$withval], [QTINC=/usr/include]) With the above listed options I got it working. Thanks for your comments. They set me on the right way and sorry for not checking all this myself in the beginning. ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #5, bug #17496 (project freeciv): I have the same error (specified client 'qt' not configurable) , I'm sure that my qt installation is ok. I attached config.log Running make in qt-qui dir compiles everything ok. When I try to make freeciv-qt it lower dir it dies when linking. (file #11908) ___ Additional Item Attachment: File name: config.log Size:171 KB ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #6, bug #17496 (project freeciv): Mirex: Are you sure that this config.log is produced by failed configure run? It seems like one that has gone all way through, and it says that it was invocated without any --enable-client options. ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #7, bug #17496 (project freeciv): This patch refactors configure checks so that additional directories to check are easier to add. Option --with-qt-dir renamed as --with-qt-includes and new option --with-qt-libs added. With these two options it should be possible to manually add any directory not checked automatically. But I still want to hear what are the typical places Qt headers and libraries get installed, so we can add those to automatically detected ones. So please comment here telling your distribution and where Qt headers and libraries are. Does this version work for Matthias without manually adding --with-qt-includes option? (file #11910) ___ Additional Item Attachment: File name: QtConfImprovements_17496.diff Size:3 KB ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #8, bug #17496 (project freeciv): Right, it was wrong, now is ok. Gentoo Qt dirs: /usr/include/qt4/ /usr/lib/qt4/ (file #11912) ___ Additional Item Attachment: File name: config.log Size:57 KB ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #9, bug #17496 (project freeciv): In config.log I noticed that linker cannot find -lQtGui ( configure:24478: g++ -o conftest -g -O2 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -DLOCALEDIR=${datarootdir}/locale conftest.cpp -lpthread -lQtGui 5 /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lQtGui collect2: ld returned 1 exit status ) but I just compiled example from qt library using -lQtGui ( g++ -Wl,-O1 -Wl,-rpath,/usr/lib/qt4 -o animatedtiles main.o qrc_animatedtiles.o-L/usr/lib/qt4 -lQtGui -L/usr/lib/qt4 -L/usr/X11R6/lib -lQtCore -lgthread-2.0 -lrt -lglib-2.0 -lpthread ) and there was no errors ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17496] configure failing for trunk
Follow-up Comment #10, bug #17496 (project freeciv): attaching my config log sorry was sleeping :) (file #11913) ___ Additional Item Attachment: File name: config.log Size:66 KB ___ Reply to this item at: http://gna.org/bugs/?17496 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev