Guest notebookludwig Posted August 10, 2005 Report Share Posted August 10, 2005 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 :)] Quote Link to comment Share on other sites More sharing options...
SoulSe Posted August 10, 2005 Report Share Posted August 10, 2005 Any particular reason why you're compiling it instead of installing it with urpmi? Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 10, 2005 Report Share Posted August 10, 2005 If there is a particular reason, then install the libxorg and libxorg-devel RPM's first. Quote Link to comment Share on other sites More sharing options...
Guest notebookludwig Posted August 10, 2005 Report Share Posted August 10, 2005 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 ...) Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted August 10, 2005 Report Share Posted August 10, 2005 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.