Thursday, May 3, 2012

Re: gtk-config not even tried

Am Donnerstag, 3. Mai 2012 15:27:48 UTC+2 schrieb Arno Valentin:
> Am Donnerstag, 3. Mai 2012 05:41:02 UTC+2 schrieb John Little:
> > On Thursday, May 3, 2012 11:29:46 AM UTC+12, I wrote:
> >
> > > My reading of the configure script indicates that pkg-config is needed to compile vim-gtk. There's a package for it at the HP porting centre.
> >
> > My sympathies, how were you supposed to know that?
> >
> > I've just checked that the "gtk+2-2.24.10" tarball from the porting centre has the .pc files that pkg-config uses. (It occurred to me that would be your next hurdle.)
> >
> > Regards, John
>
> Thank you for that advice.
>
> I got the depot of pkg-config, installed it, started the installation of vim from scratch (remove directory vim73, tar -xvf ...), and now I get another anomalie:
>
> configure says:
>
> checking for pkg-config... /usr/local/bin/pkg-config
> checking for GTK - version >= 2.2.0... no
> checking for location of Motif GUI includes... in default path
>
> In System Management Homepage (SMH, successor of SAM) I can see, GTK has version 2.6.8.00.01, that is GTK+ 2.6, this should be greater than 2.2.0.
>
> On the other hand, I've got a gtk-config, which say's differently:
>
> avalenti@ncc1n:/home/avalenti >type gtk-config
> gtk-config is /usr/local/bin/gtk-config
>
> avalenti@ncc1n:/home/avalenti >gtk-config --version
> 1.2.10
>
> I guess, that is why configure doesn't recognize it as version 2.6.
> But how to get rid of the wrong gtk-config? According to SMH gtk2.6 resides in /opt/gtk2.6, not in /usr/local/bin. But there I don't find a gtk-config:
>
> # pwd
> /opt/gtk2.6
> # find . -name gtk-config
> #
>
> How to get rid of this inkonsistencies?
>
> Another strangeness - configure mentions pkg-config without telling about errors. But if i manually start pkg-config, I get an error.
>
> # type pkg-config
> pkg-config is /usr/local/bin/pkg-config
> # pkg-config -h
> /usr/lib/hpux32/dld.so: Unable to find library 'libglib-2.0.so'.
> Killed
>
> I'm driving mad it's getting worse and worse. It's installed from a depot! So there should be included all dependencies, shouldn't they?

now i deinstalled gtk+ and gtk+2.6, reinstalled gtk as before with the result, that SMH now shows "gtk+2 Revision 2.24.10, gtk+2.

Maybe, the former gtk2.6 was gtk Version 1, Revision 2.6.

But gtk-config still says "1.2.10", although it changes: now it lives in /opt/gnome:

avalenti@ncc1n:/home/avalenti >type gtk-config
gtk-config is /opt/gnome/bin/gtk-config
avalenti@ncc1n:/home/avalenti >gtk-config --version
1.2.10

And of course configure acts as before.

checking for GTK - version >= 2.2.0... no

and pkg-config has failures too.

# /usr/local/bin/pkg-config
/usr/lib/hpux32/dld.so: Unable to find library 'libglib-2.0.so'.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: