[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling with Xorg 7.0

From: Bill Wohler
Subject: Re: Compiling with Xorg 7.0
Date: Wed, 21 Jun 2006 11:40:14 -0700

Lars Hansen <address@hidden> wrote:

> Bill Wohler wrote:
> > By the way, here is what ./configure --with-gtk shows. Note all the "none"
> > and "no" items that were previous all "yes" or something good.
> >   
> I am no expert on this, but here are my experiences of compiling CVS
> Emacs on Etch:
> I installed Debian packages libncurses5-dev, libxaw7-dev, xaw3dg-dev,
> libtiff4-dev, libungif4-dev and libpng12-dev to get good results from
> ./configure.

Yes, I had done that long ago. I also installed libgtk2.0-dev. The
problem was that the Xorg 7.0 upgrade removed the one file that
./configure uses to determine that there is a window system *at all*.

>              But the build failed because of problems with the X11 ICE
> library:
> ICElib.h was searched in
>    /usr/include/X11/ICE/
> but located in
>    /usr/X11R6/include/X11/ICE/
> and libICE.a was searched in
>    /usr/lib/
> but located in
>    /usr/X11R6/lib/
> To fix the problem I made symlinks:
>    # ln -s /usr/X11R6/include/X11/ICE/ /usr/include/X11/
>    # ln -s /usr/X11R6/lib/libICE.a /usr/lib
> I don't know if it is an Emacs problem, a Debian problem or an Xorg problem.

I never hit that before. As I said previously, I had to install
libxt-dev after upgrading to xorg 7.0. What I didn't mention is that the
libxt-dev install also forced the installation of libice-dev and
libsm-dev, which might be pertinent here.

I'd suggest nuking your links before upgrading to 7.0 to keep the
installation of xorg-common from failing (which wants to remove lots of
stuff from /usr/X11R6). /usr/X11R6 will eventually go away entirely.

Anyway, hope this helps someone else in a similar situation.

Bill Wohler <address@hidden>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD

reply via email to

[Prev in Thread] Current Thread [Next in Thread]