View previous topic :: View next topic |
Author |
Message |
herr_tichy n00b

Joined: 09 Aug 2012 Posts: 11 Location: NRW, Germany
|
Posted: Mon Oct 05, 2015 3:00 pm Post subject: dev-qt/qtcore fails to build |
|
|
Hello!
I am currently having trouble updating, because dev-qt/qtcore fails to build with this error:
Code: | Qt is now configured for building. Just run 'gmake'.
Once everything is built, you must run 'gmake install'.
Qt will be installed into /usr
To reconfigure, run 'gmake confclean' and 'configure'.
Could not find mkspecs for your QMAKESPEC(linux-g++) after trying:
/usr/share/qt4/mkspecs
Error processing project file: /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/projects.pro |
EDIT: removed long paste, see logs below
Last edited by herr_tichy on Mon Oct 12, 2015 11:47 am; edited 1 time in total |
|
Back to top |
|
 |
herr_tichy n00b

Joined: 09 Aug 2012 Posts: 11 Location: NRW, Germany
|
Posted: Mon Oct 05, 2015 3:08 pm Post subject: |
|
|
Well, that wasn't very successful. What are the preferred places to attach the log files here? |
|
Back to top |
|
 |
kikko Apprentice


Joined: 29 Apr 2014 Posts: 276 Location: Milan, IT
|
Posted: Mon Oct 05, 2015 4:01 pm Post subject: |
|
|
herr_tichy wrote: | Well, that wasn't very successful. What are the preferred places to attach the log files here? |
Hi herr_tichy
you can try to emerge "wgetpaste" to upload your long logs online
Anyway, is the error related to dev-qt/qtcore, isn't it? The mentioned dir "/usr/share/qt4/mkspecs" is part of the same package
Regards |
|
Back to top |
|
 |
herr_tichy n00b

Joined: 09 Aug 2012 Posts: 11 Location: NRW, Germany
|
|
Back to top |
|
 |
kikko Apprentice


Joined: 29 Apr 2014 Posts: 276 Location: Milan, IT
|
Posted: Mon Oct 12, 2015 8:12 pm Post subject: |
|
|
Hi herr_tichy
qmake is looking for some sort of configurations in that folder, /usr/share/qt4/mkspecs/
Code: | $ ls -l /usr/share/qt4/mkspecs/linux-g++
totale 8
-rw-r--r-- 1 root root 343 11 set 01.37 qmake.conf
-rw-r--r-- 1 root root 3326 11 set 01.37 qplatformdefs.h
|
Does your system has these folders/files?
But there is something weird, those files belongs to qt-core, according to equery
Code: | $ equery belongs /usr/share/qt4/mkspecs/linux-g++/qmake.conf
* Searching for /usr/share/qt4/mkspecs/linux-g++/qmake.conf ...
dev-qt/qtcore-4.8.7 (/usr/share/qt4/mkspecs/linux-g++/qmake.conf) |
 |
|
Back to top |
|
 |
VoidMage Watchman


Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Oct 13, 2015 3:11 pm Post subject: |
|
|
QTDIR="/usr/qt/3" ?
Those values in LD_LIBRARY_PATH ?
What's with the mess on your system ? |
|
Back to top |
|
 |
herr_tichy n00b

Joined: 09 Aug 2012 Posts: 11 Location: NRW, Germany
|
Posted: Tue Oct 13, 2015 3:16 pm Post subject: |
|
|
This installation is very old. Like, from 2007. I'll have to check where the old value for QTDIR comes from. The additional paths in LD_LIBRARY_PATH are because of the Intel Fortran Compiler. |
|
Back to top |
|
 |
netshade Tux's lil' helper


Joined: 02 Jan 2004 Posts: 90 Location: Sweden
|
Posted: Fri Feb 26, 2016 10:59 pm Post subject: |
|
|
Did you ever solve this?
I'm stuck at the same place and can't really find any hints on how to solve this.
(Also, I got QTDIR="/usr/qt/3" in my variables...) _________________ From where the shadows turn into nightmare, netshade greets you... |
|
Back to top |
|
 |
herr_tichy n00b

Joined: 09 Aug 2012 Posts: 11 Location: NRW, Germany
|
Posted: Fri Feb 26, 2016 11:08 pm Post subject: |
|
|
Yes. Get rid of that variable. I don't have access to that machine right now, but I can have a look at the current environment on monday. |
|
Back to top |
|
 |
|