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.




  



November 2002
M T W T F S S
    Feb »
 123
45678910
11121314151617
18192021222324
252627282930  

Statistics

There are currently 31 posts and 16 comments, contained within 12 categories.


Miscellaneous
- Source Files

Add to Technorati Favorites



Storage B
-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
-X Windows Programming in C++: Part II

Valid XHTML 1.0!

Valid CSS!