[csw-maintainers] Can't run Sun Studio in vncserver

Maciej (Matchek) Blizinski maciej at opencsw.org
Mon Sep 7 10:28:55 CEST 2009


On Sun, Sep 6, 2009 at 9:17 PM, Dagobert Michelsen<dam at opencsw.org> wrote:
> A small comment:
> - You have removed "TEST_SCRIPTS =" and inserted "SKIPTEST = 1". The
> SKIPTEST
>  is meant to be used dynamically during package when you don't want to wait,
> like
>    gmake clean && SKIPTEST = 1 gmake package
>  When the package doesn't have a test script cleaning TEST_SCRIPTS is
> clearer.

I see, I changed it back to TEST_SCRIPTS.

The build scripts for tightvnc are indeed quite convoluted. I was
stuck for quite a while at a place where there was a missing flag "-f
xmakefile", and gmake wasn't executing the right Makefile. I suspect
some changes I'm making to the Makefile aren't really necessary, but
it's very time consuming to figure out what are the perfect options,
and I only want to have something running, as soon as possible, with
the intention to clean it up later.

What I really don't like about the way tightvnc is built is that the
script don't always stop on errors. For instance:

gmake[7]: Entering directory
`/home/maciej/src/opencsw/pkg/tightvnc/trunk/work/build-isa-sparcv8/vnc_unixsrc/Xvnc/config/makedepend'
/opt/studio/SOS11/SUNWspro/bin/cc -xO3 -xarch=v8
-I/usr/openwin/share/include/X11 -I/opt/csw/include
-I/usr/openwin/share/include/X11 -I/opt/csw/include  -c -o include.o
include.c
"/usr/openwin/share/include/X11/Xos.h", line 35: cannot find include
file: <X11/Xosdefs.h>
cc: acomp failed for include.c
gmake[7]: *** [include.o] Error 1
gmake[7]: Leaving directory
`/home/maciej/src/opencsw/pkg/tightvnc/trunk/work/build-isa-sparcv8/vnc_unixsrc/Xvnc/config/makedepend'
okay, continuing in programs/Xserver/cfb32

...and then it finally fails with:

cc: acomp failed for include.c
gmake[7]: *** [include.o] Error 1
gmake[7]: Leaving directory
`/home/maciej/src/opencsw/pkg/tightvnc/trunk/work/build-isa-sparcv8/vnc_unixsrc/Xvnc/config/makedepend'
okay, continuing in programs/Xserver/hw/vnc
../../../../config/makedepend/makedepend  -- -I.
-I../../../../exports/include/X11 -I../../../../include/fonts
-I../../../../exports/include/X11 -I../../cfb -I../../mfb -I../../mi
-I../../include -I../../os -I../../../../../include
-I/usr/local/include  -I../../../.. -I../../../../exports/include
-Dsun -DSVR4 -DSHAPE          -DINCLUDE_ALLOCA_H -DNDEBUG
-DUSE_LIBWRAP=1   -DDDXOSINIT  -- init.c sockets.c kbdptr.c cmap.c
draw.c cutpaste.c dispcur.c sprite.c rfbserver.c translate.c httpd.c
auth.c rre.c corre.c stats.c hextile.c zlib.c tight.c cursor.c
gmake[6]: ../../../../config/makedepend/makedepend: Command not found

I'm wondering whether anybody has ever built it on Solaris; I guess
not. Now I need to track where is the flag
-I/usr/openwin/share/include/X11 coming from and fix it.

I've committed the current state of the build to the repository:
http://sourceforge.net/apps/trac/gar/changeset/6213

Maciej



More information about the maintainers mailing list