Re: [Fwd: Problem compiling ROOT 5.22.00d]

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Tue, 4 Aug 2009 13:14:27 +0200


This should be detected automatically. How do you run configure? On a 64-bit linux you will get:

./configure
.(pcsalo) [137] ./configure
Configuring for linuxx8664gcc
Checking for GNU Make version >= 3.79.1 ... ok

Checking for C compiler ... gcc
Checking for C++ compiler ... g++
Checking for linker (LD) ... g++
Checking for F77 compiler ... gfortran

Checking for libX11 ... /usr/lib64
Checking for X11/Xlib.h ... /usr/include
Checking for X11/Xft/Xft.h ... /usr/include
Checking for X11/extensions/shape.h ... /usr/include
Checking for libXpm ... /usr/lib64

Checking for libXft ... /usr/lib64
Checking for libXext ... /usr/lib64

Cheers, Fons.

Joern Wuestenfeld wrote:
> Hi Fons,
>
> I meanwhile found out how to fix the Problem.
> I'm trying to compile on a Scientific Linux 4.3 System. In our
> installation the X11 libraries are not in one of the path's where
> configure searches for libXft:
>
> > check_library "libXft" "$enable_shared" "" \
> > /usr/local/lib /usr/lib /usr/lib/X11 \
> > /usr/local/lib/X11 /usr/X11R6/lib /usr/local/X11R6/lib \
> > /usr/X11/lib
>
> instead they are installed under /usr/X11R6/lib64. For all other
> libraries (libXpm, libX11) there are special options to define there
> location, but not for libXft! Could this option be added to configure?
> It would help in such occasions. I had to modify configure, to get it
> running.
>
> Cheers,
>
> Jörn
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Tue Aug 04 2009 - 13:14:30 CEST

This archive was generated by hypermail 2.2.0 : Tue Aug 04 2009 - 17:50:02 CEST