Building XEmacs 21.1.14 on a Mandrake Linux 8.2 System

Filed under: Linux — jac @ November 9, 2002 - 11:53 pm

I recently ran in to a couple of problems building XEmacs 21.1.14 under Mandrake Linux 8.2. While running configure, I got the following:

*** PANIC *** The C compiler can no longer build working executables.
*** PANIC *** Please examine the tail of config.log for runtime errors.
*** PANIC *** The most likely reason for this problem is that configure
*** PANIC *** links with shared libraries, but those libraries cannot be
*** PANIC *** found at run time.
*** PANIC ***
*** PANIC *** On a Linux system, edit /etc/ld.so.conf and re-run ldconfig.
*** PANIC *** On other systems, try telling configure where to find the
*** PANIC *** shared libraries using the --site-runtime-libraries option
*** PANIC ***
*** PANIC *** Another way to shoot yourself in the foot is to specify
*** PANIC *** --with-FEATURE when FEATURE is not actually installed
*** PANIC *** on your system. Don't do that.

After a little digging, it was found that the presence of WINE was the culprit. Apparently, configure got fooled into thinking it was running on a Windows machine. The solution was to rename libgdi32.so(in /usr/lib or /usr/local/lib) to something like libgdi32.tmp before running configure. After renaming libgdi32.so, configure ran fine and make seemed to work.

Unfortunately xemacs would die horrible death if run under X. The solution to this problem was to rerun configure with following option: ‘–ldflags=-z nocombreloc’ (and of course remaking the whole thing). Now everything works fine.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>




  



February 2010
M T W T F S S
« Dec    
1234567
891011121314
15161718192021
22232425262728

Statistics

There are currently 41 posts and 24 comments, contained within 13 categories.


Miscellaneous
- Source Files

Add to Technorati Favorites


Storage B
-OpenDDS 2.1
-It Proved Just Too Difficult
-Bridge Simulators
-C++0x FAQ
-Skepticism and standards of evidence applied development practices
-OpenDDS 2.0.1
-OpenDDS 2.0
-OpenDDS Version 1.3 Released
-LGPL License Option Added to Qt
-WordPress 2.7

Valid XHTML 1.0!

Valid CSS!