Em 20-06-2015 19:17, Bruce Dubbs escreveu:
Fernando de Oliveira wrote:
Em 20-06-2015 18:14, Bruce Dubbs escreveu:
Bruce Dubbs wrote:

I left -sysconfdir /etc/xdg, defer to you, if it is really needed.

I'm not 100% sure.  I'll do a DESTDIR install to check.  I did run into
a problem last night -- was up until about 4AM and still don't have
everything completely sorted.

I wasn't able to get qt5 to honor destdir, but I changed to
QT5PREFIX=/tmp/opt/qt5 and -sysconfdir /tmp/etc/xdg.  After install,
there is no /tmp/etc directory and there is no mention of xdg in th elog
other than the input line. My conclusion is that -sysconfdir is not
used.

I've checked that, too, but we need to keep some form of the -sysconfdir
switch, because default is:

       PREFIX/etc/settings

and perhaps it is hard coded somewhere in the binaries, to be used by
software based on it. Perhaps

-sysconfdir /etc/qt{4,5}

grepping through the source indicates the default is /etc/xdg, but it is
a big package and configure does say PREFIX/etc/xdg (not settings).


I'll try to get the book fixed up later today when I get some other
things sorted out.

Pleaser, wait for me!!!!!!

Sure.  No problem.

There are other problems I have found. I think you are missing some
point.

I am now building to prove some of the other problems. Then I will reply
to the other post, if not today, tomorrow, because there are errors in
two or three statements of that post and in the page, and I am checking,
today. There are other errors in the page. Most of them, because I think
that, for 16 months, you are missing some points I am trying to clarify.

Yes, I miss a lot of things.  All of us are better than any one of us.

BTW, to use DESTDIR with qt:

make INSTALL_ROOT=$DESTINODIR install

Thanks for that.

Thanks.

Those (and the corresponding ones for qt4) only work for /usr:

sed -e "s:$PWD/qtbase:/usr/lib/qt5:g" \
    -i /usr/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri &&

find /usr/lib/lib{qgsttools_p,Qt5*}.prl -exec sed -i -r \
     '/^QMAKE_PRL_BUILD_DIR/d;s/(QMAKE_PRL_LIBS =).*/\1/' {} \;


Other things, I had in mind different meanings from you, so, we both are right or wrong.

I want the simpler method, without lots of qt4,5 directories created, and lots + 2 qt4,5 directories, if they are under /opt. You seem to need it at /usr, for KFW.

The only really in place things under /usr install are libraries and binaries. Libraries could coexist and always be under /usr/lib, in both installs, using -libdir.

I don't remember any other problem, anymore.

Have only *one question*: is it essential for what you are doing that the bindir and libdir be the default for /usr?

If yes, there is not what to discuss.

If not, I really would like the same old /opt/qt4,5 instructions to be used as the ones for /usr/qt4,5, no extra switches. With that, we would have really only one set of instructions, including always one adition to /etc/ld.so.conf (unless the use of -libdir /usr/lib worked for both), and one /etc/profile.d/qt5.sh.

Again, if you do need the bindir at /usr/bin, no need for discussions, and I will not post anymore under this thread.

Thanks for the other post you sent after this one, just read it.



--
[]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