Custom Query (16363 matches)
Results (2173 - 2175 of 16363)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #9296 | fixed | configure resets PKG_CONFIG_PATH | ||
| Description |
For the first time, I compiled a Qt in another directory, /usr/local/qt, while leaving its pkg-config files in place, not moving them to /usr/lib64/pkgconfig. But when I ran configure, it returned: Checking for Qt4: ** QtCore not found! Check /home/fredlwm/tmp/objdir/configure.log for details ***** Checking Qt4 ***** Package QtCore was not found in the pkg-config search path. Perhaps you should add the directory containing `QtCore.pc' to the PKG_CONFIG_PATH environment variable No package 'QtCore' found ** QtCore not found! $ echo $PKG_CONFIG_PATH returns /usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/local/qt/lib/pkgconfig Looking in the configure script, I noticed three lines PKG_CONFIG_PATH=/usr/lib/qt4/lib/pkgconfig \ Changing them to PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/qt4/lib/pkgconfig \ made VirtualBox configure correctly: Checking for Qt4: found version 4.7.3, OK.
Checking for Qt4 devtools: Checking for static stc++ library: found, OK.
***** Checking Qt4 *****
compiling the following source file:
#include <cstdio>
#include <QtGlobal>
extern "C" int main(void)
{
printf("found version %s", QT_VERSION_STR);
#if QT_VERSION >= 0x040400
printf(", OK.\n");
return 0;
#else
printf(", expected version 4.4.0 or higher\n");
return 1;
#endif
}
using the following command line:
g++ -g -O -Wall -o /home/fredlwm/tmp/objdir/.tmp_out /home/fredlwm/tmp/objdir/.tmp_src.cc "-L/usr/local/qt/lib -lQtCore -lpthread -I/usr/local/qt/include -I/usr/local/qt/include/QtCore -DQT_SHARED -I/usr/local/qt/include -I/usr/local/qt/include/QtCore "
executing the binary (LD_LIBRARY_PATH=/usr/local/qt/lib)
found version 4.7.3, OK.
I don't know if my modification is the right fix, but it solved my problem. |
|||
| #16354 | fixed | configure fails with Qt 5.7 due to lack of compiler flag | ||
| Description |
configure cannot detect Qt 5.7.x successfully due to lack of the compiler flag "-std=c++11". gcc version: 4.8.x. |
|||
| #1674 | fixed | configure fails on Solaris | ||
| Description |
configure, line 175: test -n "$retval" -a -e "$retval" However -e is not valid parameter for test for /bin/sh. I would recommend using -x instead of -e. -x is supported across sh, bash, ksh and csh (and probably others). Also 'which' is supposed to find binary, so testing for executable bit should not be a problem. Thank you --
|
|||

