[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Plex86



On Thu, 4 Jan 2001, French, Alastair wrote:

> I have just been introduced to plex86 and obtained the latest code from the
> CVS server last night. I created the docs OK and followed the build
> instructions. The configure script ran OK but the make failed in the
> user/plugins/bochs directory. The failure was related to the linker and
> complained about could not find X11 on a line ending with -lX11. I have
> checked all the paths and options for configure but cannot find the source
> of the error.

It could be that the configure script has options to set this. Do
./configure --help.

Most makefiles have:

--x-libraries=DIR       X library files are in DIR

as an option.

Try ./configure --x-libraries=/usr/X11R6/lib

(alter according to the correct path)

If not, two options:

1) Fix the configure script. Not recommended for the beginner.

2) Hack the makefile so it just works, and tell the maintainer about the
problem and get them to submit a proper fix. The method of choice. :)

Find your X11 libraries. On my system:

[will@dogfox will]$ locate libX11
/usr/X11R6/lib/libX11.a
/usr/X11R6/lib/libX11.so.6
/usr/X11R6/lib/libX11.so
/usr/X11R6/lib/libX11.so.6.2

Edit the makefile, find instances of the string '-lX11' and add the string
'-L/path/to/lib' in front of it (e.g. I would put '-L/usr/X11R6/lib').

This should fix the problem.

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.