[gtkada] problem installing GtkAda-gpl-2.8.0
Philippe Bertin
philippe.bertin at telenet.be
Tue Oct 17 16:22:24 CEST 2006
JF,
I see that I forgot to include the newsgroup in my first reply. This is
hereby "corrected".
Anyway, did you do ldconfig on your system ? You should install the
devel rpm's on your system. Then run ldconfig (double security as I
think your system will have run it by then).
I suspect that your non-empty LD_LIBRARY_PATH is in your way. What is
currently happening to my feeling is that you mix your rpm's packages
with your newly installed libraries...
Maybe you should run your ./configure script with LD_LIBRARY_PATH set to
empty after having done the actions above. I don't think it has anything
to do with AdaCore's files.
Kind regards,
PhB.
jf Menon wrote:
> Philippe Bertin wrote:
>
>> JF,
>>
>> It is a package (fontconfig) you seem to be missing. You may have it
>> installed somewhere else, or you may not have installed it at all.
>>
>> To find out if it's installed :
>>
>> $ rpm -qa | grep fontconfig
>> I don't know exactly if rpm is not depending on PKG_CONFIG_PATH,
>> though. So it might be better to do
>> $ find / -name 'fontconfig*.pc'
>>
>> If you find it, then your PKG_CONFIG_PATH is wrong. Add the path to
>> where your fontconfig.pc is found to PKG_CONFIG_PATH and restart your
>> ./configure (update your system so as to find this the next time you
>> start up)
>>
>> If it isn't, euhm ... ;)
>>
>> Kind regards,
>>
>> PhB
>>
>>
> thank you for your help
> I have found the file, and discover that the problem is with the
> fontconfig given in the archive I downloaded on the libre site :
> gtk+-2.8.17-i686-pc-linux-gnu.tgz
> it doesn't include the "devel" files.
> If I use the one given by my rpm system (fontconfig-devel) it is ok.
>
>
>
> now I have this :
>
> checking for pkg-config... /usr/bin/pkg-config
> checking for GTK - version >= 2.2.0...
> *** 'gtk-config --version' returned 2.4.13, but GTK+ (2.8.17)
> *** was found! If gtk-config was correct, then it is best
> *** to remove the old version of GTK+. You may also be able to fix the
> error
> *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
> *** /etc/ld.so.conf. Make sure you have run ldconfig if that is
> *** required on your system.
> configure: error: Test for GTK failed. See the file 'INSTALL' for help.
> [root at docgyneco GtkAda-gpl-2.8.0]# echo $LD_LIBRARY_PATH
> /opt/local/lib
>
> the command gtk-config is not given in the archive of the site, so the
> configure script use my rpm system version, which is not of same
> version of course.
>
> I think I had to signal that the archive given on the site does not
> seem to complete enough to compile GtkAda properly.
>
> jf
>
>
>
>
More information about the gtkada
mailing list