Re: gtk+ compilation problems on RHEL 5.3
- From: Sergei Steshenko <sergstesh yahoo com>
- To: gtk-list gnome org, Luiz Rafael Culik Guimaraes <LUIZ XHARBOUR COM BR>, Mun Johl <Mun Johl Emulex Com>
- Cc: Mun Johl <Mun Johl Emulex Com>
- Subject: Re: gtk+ compilation problems on RHEL 5.3
- Date: Thu, 2 Apr 2009 16:16:00 -0700 (PDT)
--- On Thu, 4/2/09, Mun Johl <Mun Johl Emulex Com> wrote:
> From: Mun Johl <Mun Johl Emulex Com>
> Subject: Re: gtk+ compilation problems on RHEL 5.3
> To: gtk-list gnome org, "Luiz Rafael Culik Guimaraes" <LUIZ XHARBOUR COM BR>
> Cc: "Mun Johl" <Mun Johl Emulex Com>
> Date: Thursday, April 2, 2009, 3:47 PM
> Hi Luiz,
>
> <snip>
>
> LRCG>
> > xorg-x11-devel-6.8.2-1.EL.52.x86_64
> LRCG>
> > libpng-devel-1.2.10-7.1.el5_3.2:2.x86_64
> LRCG> > libjpeg-devel-6b-37.x86_64
> LRCG> >
> LRCG> > Also, would you recommend that I simply
> install the binary packages? Or
> LRCG> > would I be better off installing the source
> package and compiling the
> LRCG> > binaries on my own computer?
> LRCG> Better is install the binaries packages that
> are on your distro DVD/CD
>
> I installed the packages you recommended but configure
> still fails
> exactly the same way for me. That is:
>
> % ./configure --without-libjasper
>
> fails thusly:
>
> ------------------------------ Delimiter BEGIN
> --------------------------------
> checking for XOpenDisplay... no
> configure: error: *** libX11 not found. Check 'config.log'
> for more details.
> ------------------------------- Delimiter END
> ---------------------------------
>
> And if I run 'configure' without any options it fails like
> this:
>
> ------------------------------ Delimiter BEGIN
> --------------------------------
> checking for jas_init in -ljasper... no
> configure: error:
> *** Checks for JPEG2000 loader failed. You can build
> without it by passing
> *** --without-libjasper to configure
> ------------------------------- Delimiter END
> ---------------------------------
>
> I ran 'ldconfig' after the installations but I cannot shake
> the
> errors ... sigh.
>
> Let me know if you have any other ideas or suggestions.
>
> Thanks very much in advance.
>
> --
> Mun
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
Find if config.log the exact place where "checking for XOpenDisplay"
happens - in my case it looks like this:
configure:31890: checking for XOpenDisplay
.
Then determine whether it's include file check or linking check - I guess
the latter, but verify this. This is clear from config.log contents.
Then most likely you'll need to use CPPFLAGS and/or LDFLAGS to direct
'configure' to the needed places, i.e. to either to the include files or
to libraries to be linked with.
Regards,
Sergei.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]