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
Update of bug #17496 (project freeciv):
Status: Confirmed = Fixed
Open/Closed:Open = Closed
___
Reply to this item at:
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
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:
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
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!
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
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
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
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
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
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
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
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.
___
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
Update of bug #17496 (project freeciv):
Category:None = bootstrap
Assigned to:None = cazfi
Planned Release: = 2.4.0
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
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.
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.
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
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
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
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
23 matches
Mail list logo