On Wed, Jun 10, 2015 at 10:52:05PM +0200, Niels Terp wrote: > Hi there, > > I'm now building chapter BLFS 7.7 Chapter 25 - X Libraries, and I have a > problem with GTK+ 2 and GTK+ 3: > > I'm using a script that build all the packages as RPM's. As I work through > the chapter, I build GTK+ 3 first, because it is a recommended dependency for > Clutter, and later I build GTK+ 2. Then, when I'm trying to build Gtkmm, it > fails because it cannot find GTK+ 3. OK, I rebuild GTK+ 3, and then Gtkmm > builds fine. But later Keybinder complains that it cannot find GTK+ 2. Then I > rebuild GTK+ 2 and Keybinder builds OK. > > Is this the expected behavior ? > No, not at all. I don't work through the chapters like that, but I know that some people do without any obvious problems. On my own desktops I have both gtk+-2 and gtk+-3 installed (in that order), and almost everything is in /usr. And just works.
> It is no problem to write my script so that these two modules are rebuild as > needed, but I suspect that I might have made a mistake (and therefore will > run into trouble later) ? > If building and installing a package again means that something else can now find it, then that sounds as if it was deleted between the two installs. Alternatively, the second build installs it in a different place. For scripts, it helps if you know how your system looked at the end of each package (i.e. logs), then you can detect if something gets installed to the wrong place (I do that fairly frequently) and also compare the lists of files to notice deletions. Good luck! ĸ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
