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>




  



January 2009
M T W T F S S
« Dec    
 1234
567891011
12131415161718
19202122232425
262728293031  

Statistics

There are currently 32 posts and 22 comments, contained within 12 categories.


Miscellaneous
- Source Files

Add to Technorati Favorites


Storage B
-WordPress 2.7
-OpenDDS Version 1.2 Released
-FreeVMS
-OpenDDS Version 1.1 Released
-C++ functions to convert between decimal degrees and degrees, minutes, and seconds
-WordPress 2.5
-Multics
-C++ Functions to Evaluate Chebyshev Polynomials
-OpenDDS
-X Windows Programming in C++: Part III

Valid XHTML 1.0!

Valid CSS!