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

Re: [wmx] cant make wmx-5

Tom - Fri May 14 03:59:13 1999

on Redhat the X11 libraries are in 


but in most Unix the libraries are in /usr/X11/lib (which is what the
Makefile says).

(The -L directive tells the compiler to search for libraries in
/usr/X11/lib as well as the default paths. The default paths do not
include the X libraries as X is not a part of the Unix base system. So,
unless you specify /usr/X11R6/lib, it will not know where to find them.)

You will need to fix the library path in the Makefile. I don't have the
Makefile handy; I think the appropriate change is in the fisrt few lines
though. RedHAt definitely has no problems with wmx, though, I have it
running on RedHat 5.2 at my university.

You can tell if you have X11R4 by looking in your /usr directory: there
should be a directory called X11R? where ? is the release number.
(RedHat 5.2 comes with X11R6, soyou will be OK.) I don't know how you
find out the shape extension, but in your case it doesn't matter as
RedHAt 5.2 has it.

Hope you end up liking wmx, though I don't see how you couldn't :-)

Jon Hofmann wrote:
> g++ -o wmx Border.o Buttons.o Channel.o Client.o Config.o Events.o Main.o Manager.o Menu.o Rotated.o Session.o -L/usr/X11/lib -lXpm -lXext -lX11 -lXmu                                        ^^^^^^^^^^^^
-lSM -lICE -lm
> /usr/bin/ld: cannot open -lXpm: No such file or directory
> collect2: ld returned 1 exit status
> make: *** [wmx] Error 1
> Any help would be appreciated,
> Jon Hofmann

I haven't posted to this list before. I'd just like to say I think wmx
is the greatest thing ever :-) (I have a sharp knife, so I'm not
bothered about my bread :-)

this space filled with | this space not filled with this space filled
this intentionally     | with this intentionally unintentionally