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

Re: Compile on Solaris

On Fri, 12 Feb 1999, Clay Spence wrote:

> When trying to compile siag office on a Sun workstation running Solaris
> 2.6 using sun's compiler,  a lot of the compiling goes fine, but then
> I get the following errors:
> cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/openwin/include  -fast -c
> Animator.c
> "Animator.c", line 33: cannot find include file: <X11/xpm.h>
> "./Animator.h", line 85: syntax error before or at: XpmAttributes
> "./Animator.h", line 85: cannot recover from previous errors
> The problem seems obvious: no X11/xpm.h. I looked in
> /usr/openwin/include/X11, and /usr/include/X11 is a link to
> /usr/openwin/include/X11.  Is there some way to fix this, without
> requiring root access?

XPM can be found at Sunsite, for example.

You really should try to get your systems administrator to install it for
you. Failing that, you will have to put it somewhere in your home
directory and tell configure where to look. Something like:


And then run configure like so:

CFLAGS=/home/ulric LDFLAGS=/home/ulric/X11 ./configure