IRIX 6.5 Build

Ellis Golub ellis "at" vesicle.dental.upenn.edu
Wed, 27 Jun 2001 19:11:11 +0000


Hi --

There have been several inquiries on the list about how to build vnc on
SGI's running IRIX 6.5.  Recently, I was able to successfully build
VNC 3.3.3r2 by making the following modifications to the source files:

1) in vnc_unixsrc/Xvnc/programs/Xserver/hw/vnc:
edit Imakefile.  Find the line:

SpecialCObjectRule(init,$(ICONFIGFILES),-DXVNCRELEASE=\"XvncRelease\")

and change it to:

SpecialCObjectRule(init,$(ICONFIGFILES),-DXVNCRELEASE=XvncRelease)

2) in vnc_unixsrc/Xvnc/config/cf, edit vnc.def:
change

#define XvncRelease             "3r2"
to

#define XvncRelease             \"3r2"\

3) then start the build as recommended in the README files:

in vnc_unixsrc:

xmkmf
make World

When that finishes, use Charlie Bond's procedure (as recommended in the
Documentation Pages):

cd ./Xvnc ; make BOOTSTRAPCFLAGS=-DFIXUP_CPP_WHITESPACE World

One more thing.

After the compile is through, Xvnc will not run unless you edit
vncserver as follows:

#if (-e "/tmp/.X11-unix/X$displayNumber") {
#    $ENV{DISPLAY}= ":$displayNumber";
#} else {
    $ENV{DISPLAY}= "$host:$displayNumber";
#}
You need to comment out (or remove) the if else structure, and leave only the
line:
$ENV{DISPLAY}= "$host:$displayNumber";

For some reason, although the unix sockets are properly created and referenced
in /tmp/.X11-unix, clients cannot connect to them.

Good Luck

Ellis
--
=============================================================
Ellis Golub                  Phone: (215) 898-4629
Biochemistry Department      FAX:   (215) 898-3695
University of Pennsylvania   ellis "at" biochem.dental.upenn.edu
School of Dental Medicine
4001 Spruce Street
Philadelphia, PA 19104-6003
Home: http://biochem.dental.upenn.edu/~ellis/
PGP: http://biochem.dental.upenn.edu/~ellis/public_key.html
==============================================================
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------