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

Re: [wmx] ./configure ; make on Solaris

Sven Oliver Moll - Thu Feb 11 10:25:02 1999

On Wed, 10 Feb 1999, Xavier Bertou wrote:

>
>	Hi...
>
>First of all, congratulations for wmx... I've been using it since the 3rd
>version, and I'm very happy with it.
>
>When configuring on Solaris, it gives the following Makefile :
>#LIBS   = -L/usr/X11/lib -lXpm -lXext -lX11 -lXmu -lSM -lICE -lm
>LIBS=
>LDFLAGS= -L/usr/X11R6/lib
hmmm... works fine on my system:
LIBS=-lXpm -lXext -lX11
LDFLAGS=-R/usr/local/lib -L/usr/openwin/lib

and compiles well:
$ ldd wmx
        libXpm.so =>     /usr/local/lib/libXpm.so
        libXext.so.0 =>  /usr/lib/libXext.so.0
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libstdc++.so.2.8.1.1 =>  /usr/local/lib/libstdc++.so.2.8.1.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2

which release do you use anyway? from 2.5.1 to 2.6 Sun changed Openwindows from
X11R5 to X11R6 code, so that's really worth the update.

But I'd always use the environment:
MAKE=make
CC=gcc
CXX=g++
CFLAGS=-O2
CXXFLAGS=-O2
LDFLAGS=-R/usr/local/lib
instead of LDFLAGS you can also use:
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib:/usr/openwin/lib
during runtime.

Greetings from Germany,
SvOlli
-- 
  _______
 (  /\           | Although golf was originally restricted to wealthy,
__)v\/lli a.k.a. | overweight Protestants, today it's open to anybody who owns
Sven Oliver Moll | hideous clothing.   -- Dave Barry



Next: