LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-04-2006, 12:16 PM   #1
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Rep: Reputation: 31
XEmacs -- GTK?


Howdy Y'all,

I'm running Slackware 11.0 with Enlightenment DR17 (on that front I think KDE and Gnome have competition). I did "slocate gtk" and found I have numerous gtk libraries on this installation, even though I chose not to install Gnome or KDE.

I use XEmacs (all the time) and I noticed in the INSTALL file that I can pass options to configure to tell it which X toolkit I want for the scrollbars, dialogs and widgets. Currently I have the default widgets, etc., because I passed no options to ./configure when I installed.

This morning I redid ./configure after running

make clean
make distclean

in the original source tree (/usr/src).

I ran

./configure --with-scrollbars=gtk --with-dialogs=gtk --with-widgets=gtk

and configure ran smoothly. When I ran

make

I got errors saying pointers to athena were invalid.

This raises several questions:
Is this feature active? In other words, I'd think the ./configure options would replace pointers to athena with pointers to gtk.

Do I have everything I need to compile with gtk widgets? (how do I find out what I do have?)

Is it really going to look different? (the athena/lucid widgets look archaic) I saw a screenshot of GNU Emacs in "Learning GNU Emacs" from O'Reilly that looked really modern, like other GTK applications.

How do I uninstall properly so that I can replace the current installation, in the event that I recompile with different options?

(If you're wondering, no I don't use XEmacs for C programming I don't use anything for C programming)

Thanks,
Joel
 
Old 12-17-2006, 09:10 AM   #2
solnul
Member
 
Registered: Jan 2003
Distribution: Slackware
Posts: 82

Rep: Reputation: 15
Could you post more info and exact messages?

When you ran configure it should have given you lots of output about exactly what it found where, e.g.

checking gtk version... 1.2.10
checking gtk libs... -L/usr/lib64 -L/usr/lib64 -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm

It's possible it didn't find the right GTK stuff and fell back on Athena.

Also note that XEmacs (unlike FSF Emacs) only supports the older GTK+ 1.2. So if you only have the newer and incompatible GTK+ 2.0 it won't compile.
Themes, etc are also separate from GTK2 apps.
 
Old 12-22-2006, 10:28 AM   #3
trashbird1240
Member
 
Registered: Sep 2006
Location: Durham, NC
Distribution: Slackware, Ubuntu (yes, both)
Posts: 463

Original Poster
Rep: Reputation: 31
Howdy,

I've done this again a couple times. The thing is to use

--with-gtk

in addition to the scrollbars, etc., options.

Now, the thing is that some of my custom options are failing to come through.

For example, despite setting the following:

(setq initial-frame-plist '(height 50 width 100))

the frame always comes up as a quarter of the screen. Also, I usually set

'(toolbar ((t (:foreground "grey" :background "black"))) t)

in custom.el, I still get the toolbar. Before I only got the toolbar when I loaded particular extensions (e.g., AUCTEX).

Any thoughts?
Joel
 
  


Reply

Tags
configure, gtk, make, xemacs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
is Xemacs better than vi? kamowa Linux - Software 4 12-08-2004 07:58 PM
does xemacs have anything to do with color? what is wrong with this xemacs? broodman Linux - Software 0 02-15-2004 11:43 AM
Xemacs saurya_s Linux - Software 1 02-05-2004 06:20 PM
xemacs athenerx Programming 1 06-27-2001 04:14 AM
XEMACS princessnattie Linux - Newbie 2 05-30-2001 07:51 PM


All times are GMT -5. The time now is 11:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration