Jump to content

compile emacs [solved]


Guest notebookludwig
 Share

Recommended Posts

Guest notebookludwig

Hi!

 

I'm trying to compile emacs 21.4 under Mandriva 10.2. My problem is that I only get the terminal version, but not the X11 version. Using "./configure --with-x11" gives:

 

Where do we find X Windows header files? NONE

Where do we find X Windows libraries? NONE

Does Emacs use -lXaw3d? no

Does Emacs use -lXpm? no

Does Emacs use -ljpeg? no

Does Emacs use -ltiff? no

Does Emacs use -lungif? no

Does Emacs use -lpng? no

Does Emacs use X toolkit scroll bars? no

 

 

The FAQ says I might need a file called "libX11.a" -- how do I get that? What packages do I need to make this work??

 

Best,

Ludwig

 

[moved from Software by spinynorman - welcome aboard :)]

Link to comment
Share on other sites

Guest notebookludwig

Yeah, it worked!! I just had to get libxorg-x11-static-devel. Thanks!

 

(The reason I didn't use urpmi was that I already had the source code and didn't want to download emacs again ...)

Link to comment
Share on other sites

Sure enough, this is a good reason when you only have dial-up, or you are under similar constraints.

 

That's why it is always interesting to download the SRPM when you want the source code of something. That way, if all goes well, you can install the thing with rpmbuild --rebuild yourfile.srpm, or in some special cases:

# rpm -i yourfile.srpm
# cd /usr/src/RPM/
# vi SPECS/yourfile.spec
# rpmbuild -bb ./SPECS/yourfile.spec

 

And if all this fails, you still have the "regular" source tarball to play with, under /usr/src/RPM/.

 

Yves.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...