Re: [blfs-support] GTK+-2.24.25
On 02/23/2015 06:26 PM, Paul Rogers wrote: You need to export LD_LIBRARY_PATH=/usr/local/lib before make install. Libraries in /usr/local/lib won't be picked up until you run ldconfig which isn't run by the make install process as it seems. I haven't been doing that. My How Linux Works, 2nd Edition book recommends against it. Running ldconfig before make install is useless, after is too late. I can leave it in /usr this time, but I don't consider GTK, or even X, part of a base Linux system. I don't run runlevel 5 xdm. Aren't we supposed to expect the upstream Makefile to handle this sort of problem? Should it be reported upstream? It's more of a libtool problem than GTK+ one. GTK+2 is in maintenance mode, so I doubt it will be fixed and they'll most likely advise you to do the same I told you to. -- Note: My last name is not Krejzi. signature.asc Description: OpenPGP digital signature -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] GTK+-2.24.25
On Sun, Feb 22, 2015 at 12:07:51AM -0800, Paul Rogers wrote: What I am saying is... I have captured all the data for this attempt to install gtk-2.24.25 in /usr/local, including /usr/{,local}/pkgconfig/*. Most of the BLFS I've installed comes from BLFS-20121102, and most of it is installed in /usr/local. What do you want to see, specifically? I suppose you have enough doubts about my build process/environment Actually, all I wanted to see was the error. Here is what happens in install: ... OK, so this is immediately after the libraries were installed. And just before it you should have the boilerplate If you ever happen to want to link against installed libraries message. I had thought your problem was during the library install. make install-data-hook make[4]: Entering directory `/usr/local/src/gtk+-2.24.25/modules/input' /bin/sh /usr/local/src/gtk+-2.24.25/install-sh -d /etc/gtk-2.0 /usr/local/bin/gtk-query-immodules-2.0 /usr/local/lib/gtk-2.0/2.10.0/immodules.cache /usr/local/bin/gtk-query-immodules-2.0: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory make[4]: *** [install-data-hook] Error 127 make[4]: Leaving directory `/usr/local/src/gtk+-2.24.25/modules/input' make[3]: *** [install-data-am] Error 2 make[3]: Leaving directory `/usr/local/src/gtk+-2.24.25/modules/input' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/usr/local/src/gtk+-2.24.25/modules/input' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/gtk+-2.24.25/modules' make: *** [install-recursive] Error 1 From my build on my current svn system, it breezed through that, which is not any help to you, but explains why I thought the library problem must be earlier. I just had make install-data-hook make[4]: Entering directory '/tmp/gtk+-2.24.25/modules/input' /bin/sh /tmp/gtk+-2.24.25/install-sh -d /etc/gtk-2.0 /usr/bin/gtk-query-immodules-2.0 /usr/lib/gtk-2.0/2.10.0/immodules.cache make[4]: Leaving directory '/tmp/gtk+-2.24.25/modules/input' (yeah, I happened to be building in a tmpfs, it did not seem to speed the process very much but gave space problems with e.g. firefox and qt5 - I will not be trying that again). Looking at my own copy of immodules.cache, I see no reference to libgtk-x11. Ah, got it. [ /me curses myself for my usual slowness when a problem is staring me in the face - it's also why my comments are long, to try to illustrate how I got to a POV ]. /usr/local/bin/gtk-query-immodules-2.0 is failing to run because it cannot find that library. That will make gtk2 apps unusable. Try 'ldd /usr/local/bin/gtk-query-immodules-2.0 | less' and confirm _where_ it is looking for libgtk-x11-2.0.so.0 : does the file exist there ? If it does exist there, run ldd on it to find out what is missing. I suspect that this is still something in /usr, other things in /usr/lib. You can also try 'gtk-query-immodules-2.0 | less' in case it is now working. http://www.fastmail.com - Faster than the air-speed velocity of an unladen european swallow Lol ;-) ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] GTK+-2.24.25
On 02/22/2015 09:07 AM, Paul Rogers wrote: Here is what happens in install: ... make install-data-hook make[4]: Entering directory `/usr/local/src/gtk+-2.24.25/modules/input' /bin/sh /usr/local/src/gtk+-2.24.25/install-sh -d /etc/gtk-2.0 /usr/local/bin/gtk-query-immodules-2.0 /usr/local/lib/gtk-2.0/2.10.0/immodules.cache /usr/local/bin/gtk-query-immodules-2.0: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory make[4]: *** [install-data-hook] Error 127 make[4]: Leaving directory `/usr/local/src/gtk+-2.24.25/modules/input' make[3]: *** [install-data-am] Error 2 make[3]: Leaving directory `/usr/local/src/gtk+-2.24.25/modules/input' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/usr/local/src/gtk+-2.24.25/modules/input' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/gtk+-2.24.25/modules' make: *** [install-recursive] Error 1 You need to export LD_LIBRARY_PATH=/usr/local/lib before make install. Libraries in /usr/local/lib won't be picked up until you run ldconfig which isn't run by the make install process as it seems. -- Note: My last name is not Krejzi. signature.asc Description: OpenPGP digital signature -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] GTK+-2.24.25
BTW, in searching upstream, the package location, ftp.gnome.org, directs to the Umea University Academic Computing Club, rather than the GTK project, which seems odd. -- Paul Rogers paulgrog...@fastmail.fm Rogers' Second Law: Everything you do communicates. (I do not personally endorse any additions after this line. TANSTAAFL :-) -- http://www.fastmail.com - Access all of your messages and folders wherever you are -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] GTK+-2.24.25
On Sat, Feb 21, 2015 at 10:38:22AM -0800, Paul Rogers wrote: Following BLFS-7.6 book to install a somewhat more recent version, 24.24 -- 24.25. I find it installs fine with --prefix=/usr, but without or with --prefix=/usr/local it can't find its own shared libraries during make install. /etc/ld.so.conf has /usr/local/lib, of course, and ldconf was run at the conclusion of installing prerequisite libraries. Since the BLFS book diddles three of the upstream Makefiles, although it doesn't appear to me those would cause this symptom of a configuration flaw, I hesitate to report it upstream without consultation here. I do not understand what you are saying. The package's own shared libraries are in .libs/ and get installed from there. I think you mean it cannot find a library from one of it's dependencies. If so, and you have mixed /usr and /usr/local, perhaps you have multiple .pc files from the different installs and it has used the wrong one ? ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page