Em 16-08-2015 12:20, Ken Moffat escreveu:
> On Sun, Aug 16, 2015 at 11:19:51AM -0300, Fernando de Oliveira wrote:
>> Em 15-08-2015 20:40, Ken Moffat escreveu:
>>
>> From my searches
>>
>>> Perhaps I will try with qt in /opt...

>> Yes, they are all in what seems non-default places. Thus, I have the
>> impression that a qt5.sh is always necessary. And it was from there that
>> I got idea of just using the /opt instructions to build at /usr/qt5 (not
>> sure if this is exactly what I was proposing), instead of what is in the
>> book, and change correspondingly the qt5.sh and other instructions, if any.
>>
> I can't comment on that unless / until I manage to actually build
> something ;-)
> 
> I gave it another go overnight, again using /usr but without
> qtchooser and without the addition of -qt5 to program names (no qt4
> in that system).  Did not help, I will have to try /opt again.
> 
> Meanwhile, from qt5 I acquired /usr/doc /usr/imports /usr/locale
> /usr/mkspecs /usr/phrasebooks /usr/plugins /usr/qml and
> /usr/translations.

Yes. One of the things I dislike in the current /usr "instructions".

>> I've searched in other Ubuntu, and what they do seems different from
>> Arch-Linux. I needed to install:
>>
>> qt5-qmake
>> qt4-qmake
>> qt4-dev-tools
>> qttools5-dev-tools

> How do they make the programs (e.g. qmake) available ?  Are they
> using qtchooser and adding -qt4 -qt5 to the program names ?

I can't answer exactly. Don't want to screw up, using qtchooser to
change to qt5 as default, never used qtchooser. Believe that qtchooser
not only chooses, but also creates links and delete the unwanted ones.

{{{
$ find /usr/ -name assistant-\* -o -name assistant | xargs ls -l \
| cut -d/ -f2- | sed 's:^:/:' | grep -vE 'include|share'
/usr/bin/assistant -> qtchooser
/usr/bin/assistant-qt4 -> ../lib/i386-linux-gnu/qt4/bin/assistant
/usr/lib/i386-linux-gnu/qt4/bin/assistant
/usr/lib/i386-linux-gnu/qt5/bin/assistant

$ find /usr/ -name qmake-\* -o -name qmake | xargs ls -l \
| cut -d/ -f2- | sed 's:^:/:'
/usr/bin/qmake -> qtchooser
/usr/bin/qmake-qt4 -> ../lib/i386-linux-gnu/qt4/bin/qmake
/usr/lib/i386-linux-gnu/qt4/bin/qmake
/usr/lib/i386-linux-gnu/qt5/bin/qmake
/usr/share/man/man1/qmake-qt4.1.gz
/usr/share/man/man1/qmake-qt5.1.gz
/usr/share/qt4/bin/qmake -> ../../../lib/i386-linux-gnu/qt4/bin/qmake
}}}

>>
>> We could just replace the /usr instructions and tell that the
>> alternative would be to install in /usr/lib/qt{4,5} and, again, show how
>> to change the corresponding qt5.sh and other instructions, if any.
>>
> 
> I'm starting to think that I must have changed something else in my
> scripts which has somehow caused my problem.  Will know for certain
> after I change the scripts to use /opt/qt5.  Unfortunately there
> have been a lot of changes since then (my lxqt script originally did
> not build qt5 because it was already installed) so I cannot just
> revert one or two commits.
>>
>> I did search a lot without success. It's my mistake of deleting many
>> logs with failures, when I quickly conclude it is obvious I committed an
>> error.
>>
>> I'm sorry.
> 
> Thanks.
>>

>>
>> One question. Do you have the following in the log?
>>
>> {{{
>> -- The following REQUIRED packages have been found:
>>
>>  * ECM (required version >= 5.12.0) , Extra CMake Modules. ,
>> <https://projects.kde.org/projects/kdesupport/extra-cmake-modules>
>>  * Qt5Core (required version >= 5.5.0)
>>  * Qt5Gui (required version >= 5.5.0)
>>  * Qt5Widgets
>>  * Qt5X11Extras
>>  * Qt5LinguistTools
>>  * Qt5Test
>>  * Qt5 (required version >= 5.2.0)
>> }}}
>>
> Yes.  Without the packages labelled as required it will not proceed
> (been there, done that - e.g. missing ECM, and a few weeks ago
> missing the required version of ECM when I tried to put
> kwindowsystem into /usr for lxqt).
> 
> I also have the optional X11, PkgConfig, XCB (of course).
> 
> ĸen
> 

OK.

-- 
[]s,
Fernando
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to