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

No Subject



Hi,

I have some problem when installing xgraph on Solaris 2.6. I don't know if
any one has any idea? The error message is as follows:

~~~~~~~~~~~~~~~~~~~~~`
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/openwin/lib/X11/config
cc -O -Xc -xF -xcg92    -I/usr/openwin/include  -Dsun -Dsparc -DSVR4 -DSYSV
-c  xgraph.c
/usr/ucb/cc:  language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `xgraph.o'
Can not create xgraph; But xgraph is an optional package, continue...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It is very strange it is still using cc compiler because I used "setenv CC
gcc" in my .cshrc file and all other directories were compiling with gcc. If
I changed CC=cc to CC=gcc in Imakefile, it would compile with gcc, but
showed up a lot of error messages like "unrecognized option '-Xc'" "language
cg92 not recognized". I checked that the newest version of X11 is in
/usr/include which is a symbolic link to /usr/openwin/include/X11. Both of
these directories are in PATH in my .cshrc file. 

Thanks a lot,
Huiwen