Thread view

Hi,
just tried to update to v5 and it barfed at the QT stage.
Making timestamp.h
/tmp/x11-libs/qt-core-4.8.2/work/qt-everywhere-opensource-src-4.8.2/bin/uic
-o ui_QtGnuplotSettings.h qtterminal/QtGnuplotSettings.ui
make[4]:
/tmp/x11-libs/qt-core-4.8.2/work/qt-everywhere-opensource-src-4.8.2/bin/uic:
Command not found
make[4]: *** [ui_QtGnuplotSettings.h] Error 127
It seems to be looking for something in a temporary build directory that
gets cleaned out once it's installed.
Where is configure digging this up from? It should presumably be looking
for something in the installed location not in the build structure.
this is probably not new because IIRC, I do not usually build it with qt
anyway.
./configure --without-qt ; went fine and installed.
===
Also noted this, that did not look too reassuring:
In function 'snprintf',
inlined from 'get_data' at plot2d.c:712:12:
/usr/include/bits/stdio2.h:65:3: warning: call to
__builtin___snprintf_chk will always overflow destination buffer
/Peter

On Sunday, 11 May 2014 12:54:29 PM plotter@... wrote:
> Hi,
>
> just tried to update to v5 and it barfed at the QT stage.
>
>
>
> Making timestamp.h
> /tmp/x11-libs/qt-core-4.8.2/work/qt-everywhere-opensource-src-4.8.2/bin/uic
> -o ui_QtGnuplotSettings.h qtterminal/QtGnuplotSettings.ui
> make[4]:
> /tmp/x11-libs/qt-core-4.8.2/work/qt-everywhere-opensource-src-4.8.2/bin/uic:
> Command not found
> make[4]: *** [ui_QtGnuplotSettings.h] Error 127
Those messages are obviously from qt4.8, not qt5.
Gnuplot's configure script will first try to find a qt5 installation.
If it can't, then it tries to find a qt4 installation.
> Where is configure digging this up from? It should presumably be looking
> for something in the installed location not in the build structure.
The check for qt5 is done by looking for installation of the following
modules:
Qt5Core Qt5Gui Qt5Network Qt5Svg Qt5PrintSupport
You should be able to find what failed by looking in the configuration
log file config.log. I am guessing that even though you installed qt5
you didn't pull one or more of those optional modules.
> ===
>
> Also noted this, that did not look too reassuring:
>
> In function 'snprintf',
> inlined from 'get_data' at plot2d.c:712:12:
> /usr/include/bits/stdio2.h:65:3: warning: call to
> __builtin___snprintf_chk will always overflow destination buffer
That is indeed an error. I wonder why I don't get the same error
message when compiling here.
thanks,
Ethan

On 05/11/2014 12:21 PM, plotter@... wrote:
> On 05/11/14 18:52, sfeam wrote:
[skip]
>>> Maybe whatever file it sources this from is incorrect.
>>> Where should I look to see what it's doing?
>>
>> Your pkg-config is apparently returning some garbage location.
>> Look for a file on your system named QtCore.pc and check what
>> it contains. E.g.
>>
>> [1] locate QtCore.pc
>> /usr/lib/pkgconfig/QtCore.pc
>> [2] cat /usr/lib/pkgconfig/QtCore.pc
>> ...
>>
>>
>
> Thanks QtCore.pc contains the same incorrect (build) location .
>
> /usr/lib/qt4 exists but does not have bin or bin/uic..
What platform and architecture are you running on? I'm running 64 bit
so get:
config.log:LRELEASE='/usr/lib64/qt4/bin/lrelease'
config.log:MOC='/usr/lib64/qt4/bin/moc'
config.log:RCC='/usr/lib64/qt4/bin/rcc'
config.log:UIC='/usr/lib64/qt4/bin/uic'
Perhaps there are some directory remnants of an old qt4 on your system
and the actual qt4 is installed elsewhere.
Dan

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details