* Compiling CVS Emacs with X toolkit
@ 2006-11-22 14:46 Mathias Dahl
2006-11-22 21:13 ` Sean Sieger
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Mathias Dahl @ 2006-11-22 14:46 UTC (permalink / raw)
Since upgradring my GNU/Linux installation from Mandrake 10.1 Official
to Mandriva Free 2007, my CVS Emacs build does not get any X
capabilities. I use the same script (cd prj/emacs; cvs update;
./configure; make etc...) as I did before.
Of course I understand that this has to do with the new install and
that I lack some "blabla-devel-y.z" libraries, but I find it hard to
figure out exactly which I lack. Using rpmdrake (which is a very nice
tool), there is a jungle of different libs for "X" to choose from. I
don't care much about which toolkit I use although GTK would be nice.
Any pointers?
Maybe this question would be more valid in some Mandria forum, I don't
know...
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Compiling CVS Emacs with X toolkit
2006-11-22 14:46 Compiling CVS Emacs with X toolkit Mathias Dahl
@ 2006-11-22 21:13 ` Sean Sieger
2006-11-22 21:33 ` Giorgos Keramidas
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Sean Sieger @ 2006-11-22 21:13 UTC (permalink / raw)
Mathias Dahl <brakjoller@gmail.com> writes:
don't care much about which toolkit I use although GTK would be nice.
Any pointers?
libgtk2.0-dev
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Compiling CVS Emacs with X toolkit
2006-11-22 14:46 Compiling CVS Emacs with X toolkit Mathias Dahl
2006-11-22 21:13 ` Sean Sieger
@ 2006-11-22 21:33 ` Giorgos Keramidas
2006-11-23 14:59 ` Robert Thorpe
2006-11-23 17:20 ` Mathias Dahl
3 siblings, 0 replies; 9+ messages in thread
From: Giorgos Keramidas @ 2006-11-22 21:33 UTC (permalink / raw)
On Wed, 22 Nov 2006 15:46:33 +0100, Mathias Dahl <brakjoller@gmail.com> wrote:
> Since upgradring my GNU/Linux installation from Mandrake 10.1 Official
> to Mandriva Free 2007, my CVS Emacs build does not get any X
> capabilities. I use the same script (cd prj/emacs; cvs update;
> ./configure; make etc...) as I did before.
>
> Of course I understand that this has to do with the new install and
> that I lack some "blabla-devel-y.z" libraries, but I find it hard to
> figure out exactly which I lack. Using rpmdrake (which is a very nice
> tool), there is a jungle of different libs for "X" to choose from. I
> don't care much about which toolkit I use although GTK would be nice.
>
> Any pointers?
Can you save the configure-time log with:
$ ./configure --with-x --with-x-toolkit-lucid 2>&1 | tee logfile
and then post online somewhere the files `logfile' and `config.log'?
This way we can look at what `./configure' does and try to find out why
it fails to locate the necessary X11 libraries.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Compiling CVS Emacs with X toolkit
2006-11-22 14:46 Compiling CVS Emacs with X toolkit Mathias Dahl
2006-11-22 21:13 ` Sean Sieger
2006-11-22 21:33 ` Giorgos Keramidas
@ 2006-11-23 14:59 ` Robert Thorpe
2006-11-23 16:55 ` Giorgos Keramidas
2006-11-23 17:20 ` Mathias Dahl
3 siblings, 1 reply; 9+ messages in thread
From: Robert Thorpe @ 2006-11-23 14:59 UTC (permalink / raw)
Mathias Dahl wrote:
> Since upgradring my GNU/Linux installation from Mandrake 10.1 Official
> to Mandriva Free 2007, my CVS Emacs build does not get any X
> capabilities. I use the same script (cd prj/emacs; cvs update;
> ./configure; make etc...) as I did before.
>
> Of course I understand that this has to do with the new install and
> that I lack some "blabla-devel-y.z" libraries, but I find it hard to
> figure out exactly which I lack. Using rpmdrake (which is a very nice
> tool), there is a jungle of different libs for "X" to choose from. I
> don't care much about which toolkit I use although GTK would be nice.
>
> Any pointers?
>
> Maybe this question would be more valid in some Mandria forum, I don't
> know...
Do what Giorgos said. The libraries Emacs uses are libXt and libXaw,
as far as I can remember.
I wouldn't recommend the GTK+ build at least until after the current
Emacs version has been released.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Compiling CVS Emacs with X toolkit
2006-11-23 14:59 ` Robert Thorpe
@ 2006-11-23 16:55 ` Giorgos Keramidas
2006-11-23 17:22 ` Robert Thorpe
0 siblings, 1 reply; 9+ messages in thread
From: Giorgos Keramidas @ 2006-11-23 16:55 UTC (permalink / raw)
On 23 Nov 2006 06:59:08 -0800, "Robert Thorpe" <rthorpe@realworldtech.com> wrote:
> Mathias Dahl wrote:
>> Since upgradring my GNU/Linux installation from Mandrake 10.1 Official
>> to Mandriva Free 2007, my CVS Emacs build does not get any X
>> capabilities. I use the same script (cd prj/emacs; cvs update;
>> ./configure; make etc...) as I did before.
>>
>> Of course I understand that this has to do with the new install and
>> that I lack some "blabla-devel-y.z" libraries, but I find it hard to
>> figure out exactly which I lack. Using rpmdrake (which is a very nice
>> tool), there is a jungle of different libs for "X" to choose from. I
>> don't care much about which toolkit I use although GTK would be nice.
>>
>> Any pointers?
>>
>> Maybe this question would be more valid in some Mandria forum, I don't
>> know...
>
> Do what Giorgos said. The libraries Emacs uses are libXt and libXaw,
> as far as I can remember.
Right... and a few other X11-related libraries.
% keramida@kobe:/home/keramida$ emacs --batch --eval '(princ (format "%s\n" (version)))'
% GNU Emacs 22.0.91.2 (i386-unknown-freebsd7.0, X toolkit)
% of 2006-11-22 on kobe
% keramida@kobe:/home/keramida$ ldd /opt/emacs/bin/emacs
% /opt/emacs/bin/emacs:
=> % libXaw.so.8 => /usr/X11R6/lib/libXaw.so.8 (0x281cf000)
=> % libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x28223000)
=> % libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28237000)
=> % libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28282000)
=> % libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x2828a000)
=> % libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x282a0000)
% libtiff.so.4 => /usr/local/lib/libtiff.so.4 (0x282ad000)
% libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x282fb000)
% libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28319000)
% libz.so.3 => /lib/libz.so.3 (0x2833b000)
% libm.so.4 => /lib/libm.so.4 (0x2834c000)
% libungif.so.5 => /usr/local/lib/libungif.so.5 (0x28362000)
=> % libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x2836a000)
=> % libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28379000)
% libutil.so.6 => /lib/libutil.so.6 (0x2843b000)
% libncurses.so.6 => /lib/libncurses.so.6 (0x28447000)
% libc.so.7 => /lib/libc.so.7 (0x2848f000)
=> % libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28583000)
% keramida@kobe:/home/keramida$
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Compiling CVS Emacs with X toolkit
2006-11-22 14:46 Compiling CVS Emacs with X toolkit Mathias Dahl
` (2 preceding siblings ...)
2006-11-23 14:59 ` Robert Thorpe
@ 2006-11-23 17:20 ` Mathias Dahl
3 siblings, 0 replies; 9+ messages in thread
From: Mathias Dahl @ 2006-11-23 17:20 UTC (permalink / raw)
Mathias Dahl <brakjoller@gmail.com> writes:
> Since upgradring my GNU/Linux installation from Mandrake 10.1
> Official to Mandriva Free 2007, my CVS Emacs build does not get any
> X capabilities. I use the same script (cd prj/emacs; cvs update;
> ./configure; make etc...) as I did before.
>
> Of course I understand that this has to do with the new install and
> that I lack some "blabla-devel-y.z" libraries, but I find it hard to
> figure out exactly which I lack. Using rpmdrake (which is a very
> nice tool), there is a jungle of different libs for "X" to choose
> from. I don't care much about which toolkit I use although GTK would
> be nice.
I got an excellent response from Peter Dyballa, with a list of
libraries:
libgif
libjpeg.62
libpng
libtiff
libncurses
libICE
libSM
libXaw3d
libX11
libXext
libXmu
libXpm
libXt
I installed most of them and now I have a shiny new CVS Emacs with GTK
toolkit :)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Compiling CVS Emacs with X toolkit
2006-11-23 16:55 ` Giorgos Keramidas
@ 2006-11-23 17:22 ` Robert Thorpe
2006-11-23 23:02 ` Giorgos Keramidas
2006-11-24 17:51 ` Leo
0 siblings, 2 replies; 9+ messages in thread
From: Robert Thorpe @ 2006-11-23 17:22 UTC (permalink / raw)
Giorgos Keramidas wrote:
> On 23 Nov 2006 06:59:08 -0800, "Robert Thorpe" <rthorpe@realworldtech.com> wrote:
> > Mathias Dahl wrote:
> >> Since upgradring my GNU/Linux installation from Mandrake 10.1 Official
> >> to Mandriva Free 2007, my CVS Emacs build does not get any X
> >> capabilities. I use the same script (cd prj/emacs; cvs update;
> >> ./configure; make etc...) as I did before.
> >>
> >> Of course I understand that this has to do with the new install and
> >> that I lack some "blabla-devel-y.z" libraries, but I find it hard to
> >> figure out exactly which I lack. Using rpmdrake (which is a very nice
> >> tool), there is a jungle of different libs for "X" to choose from. I
> >> don't care much about which toolkit I use although GTK would be nice.
> >>
> >> Any pointers?
> >>
> >> Maybe this question would be more valid in some Mandria forum, I don't
> >> know...
> >
> > Do what Giorgos said. The libraries Emacs uses are libXt and libXaw,
> > as far as I can remember.
>
> Right... and a few other X11-related libraries.
>
> % keramida@kobe:/home/keramida$ emacs --batch --eval '(princ (format "%s\n" (version)))'
> % GNU Emacs 22.0.91.2 (i386-unknown-freebsd7.0, X toolkit)
> % of 2006-11-22 on kobe
> % keramida@kobe:/home/keramida$ ldd /opt/emacs/bin/emacs
> % /opt/emacs/bin/emacs:
Wow. I haven't even heard of some of those libraries. It looks like
image support is the reason for most of those libs being needed. Emacs
has changed a lot since v20.7 when I looked at this last.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Compiling CVS Emacs with X toolkit
2006-11-23 17:22 ` Robert Thorpe
@ 2006-11-23 23:02 ` Giorgos Keramidas
2006-11-24 17:51 ` Leo
1 sibling, 0 replies; 9+ messages in thread
From: Giorgos Keramidas @ 2006-11-23 23:02 UTC (permalink / raw)
On 23 Nov 2006 09:22:20 -0800,
"Robert Thorpe" <rthorpe@realworldtech.com> wrote:
> Giorgos Keramidas wrote:
>> Right... and a few other X11-related libraries.
>>
>> % keramida@kobe:/home/keramida$ emacs --batch \
>> % --eval '(princ (format "%s\n" (version)))'
>> % GNU Emacs 22.0.91.2 (i386-unknown-freebsd7.0, X toolkit)
>> % of 2006-11-22 on kobe
>> % keramida@kobe:/home/keramida$ ldd /opt/emacs/bin/emacs
>> % /opt/emacs/bin/emacs:
>> [...]
>
> Wow. I haven't even heard of some of those libraries. It looks like
> image support is the reason for most of those libs being needed. Emacs
> has changed a lot since v20.7 when I looked at this last.
FWIW,
Yes, a lot of these are probably a result of the local configuration.
I usually build a local CVS snapshot of Emacs 22 with:
./configure --prefix='/opt/emacs' --with-x --with-x-toolkit=lucid \
--with-xpm --with-jpeg --with-tiff --with-gif --with-png
This includes *all* the graphics libraries which Emacs can work with in
X11, except for GTK+ widget support. I haven't been able to track down
a minor bug which causes Emacs to dump core on FreeBSD 7.0-CURRENT when
I enable GTK+ widget support, but the `lucid' toolkit works fine and has
been working for several months now (with the options shown above) :)
- Giorgos
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Compiling CVS Emacs with X toolkit
2006-11-23 17:22 ` Robert Thorpe
2006-11-23 23:02 ` Giorgos Keramidas
@ 2006-11-24 17:51 ` Leo
1 sibling, 0 replies; 9+ messages in thread
From: Leo @ 2006-11-24 17:51 UTC (permalink / raw)
On Thursday, 23 Nov 2006, Robert Thorpe wrote:
> Wow. I haven't even heard of some of those libraries. It looks like
> image support is the reason for most of those libs being needed. Emacs
> has changed a lot since v20.7 when I looked at this last.
It surely does. The NEWS file for Emacs 22 is 224K in my system.
--
Leo
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-11-24 17:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-22 14:46 Compiling CVS Emacs with X toolkit Mathias Dahl
2006-11-22 21:13 ` Sean Sieger
2006-11-22 21:33 ` Giorgos Keramidas
2006-11-23 14:59 ` Robert Thorpe
2006-11-23 16:55 ` Giorgos Keramidas
2006-11-23 17:22 ` Robert Thorpe
2006-11-23 23:02 ` Giorgos Keramidas
2006-11-24 17:51 ` Leo
2006-11-23 17:20 ` Mathias Dahl
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.