Building VNC 3.3.3 on HP-UX 10.20
Kindle David
Kindle_David "at" prc.com
Mon, 13 Sep 1999 21:23:05 +0000
very much so. thanks for the tip :)
******************************************
David Kindle
Senior Functional Applications Analyst
Multimedia Specialist
Litton / PRC inc.
office: 703-556-2633
email1 (24 hrs): aceman "at" erols.com
email2 (day only): Kindle_David "at" prc.com
Visit ACEWORLD today!
webpage: http://www.rivid.com/dkindle
******************************************
> -----Original Message-----
> From: Stephen Walton [mailto:swalton "at" galileo.csun.edu]
> Sent: Monday, September 13, 1999 3:53 PM
> To: vnc-list "at" uk.research.att.com
> Subject: Building VNC 3.3.3 on HP-UX 10.20
>
>
> In the interest of giving something back: Here is a brief set of
> instructions based on careful notes I kept. This will go
> into the archive
> for the future, I hope.
>
> My system: HP-UX 10.20, pretty up to date on patches, HP
> ANSI C. This
> compiler comes with the X developer's package. In
> particular, Imake gets
> put in /opt/imake and the Xaw and Xmu header files and libraries in
> /usr/contrib/X11R6.
>
> A caution: HP ANSI C uses the value of the CCOPTS
> environment variable in
> addition to any flags specified in the Makefile, and ld(1)
> uses the value
> of the LDOPTS variable similarly. So you should probably
> make sure that
> you have a vanilla setup by checking (as appropriate) $HOME/.profile,
> $HOME/.kshrc, $HOME/.login, $HOME/.cshrc, /etc/profile, /etc/csh.cshrc
> (tcsh only), and /etc/csh.login to make sure you or your
> sysadmin isn't
> setting these values for you. Simply unsetting them at the
> command line
> before typing "make" won't work, because make uses the
> system(2) call to
> run the compiler & linker, and thus the startup files will
> get reread.
> If your sysadmin has these set in the system files, try to get her to
> remove them.
>
> Unpack the archive, cd vnc_unixsrc and apply the two HP-UX
> patches on the
> Web site. I find they still apply to 3.3.3 without changes required.
>
> As I noted above, HP's imake is in /opt/imake, so make sure
> /opt/imake/bin
> is on your path (it should be as the installation puts this
> directory in
> /etc/PATH). cd into the vnc_unixsrc directory and type "xmkmf; make
> World". This only takes a few minutes even on my old
> workstation. You
> will find that vncviewer doesn't get built because of the
> "missing" Xaw
> and Xmu files. I added the following lines to
> vncviewer/Imakefile which I
> submit as a new patch:
>
> #if defined(HPArchitecture)
> INCLUDES = -I/usr/include/X11R6 -I/usr/contrib/X11R6/include \
> -I../include -I.
> #else
> INCLUDES = -I../include -I.
> #endif
>
> following which I did
>
> % xmkmf; setenv LDOPTS -L/usr/contrib/X11R6/lib; make all
>
> in the vncviewer directory. I was unable to find a clean way
> to add this
> -L option to the vncviewer Imakefile.
>
> "make World" completes in the Xvnc directory with no trouble
> and with no
> CCOPTS or LDOPTS settings required.
>
> Perl on HP's: /usr/contrib/bin/perl is the one distributed with HP-UX
> 10.20 but it is pretty old (version 4.0). You should plan on
> putting the
> latest version on your system and editing your local copy of vncserver
> accordingly. I changed the first line to
>
> #!/usr/bin/env perl
>
> which should find the same copy of perl as "which perl"
> prints on pretty
> much all Unix systems.
>
> So, that's how I did it. I hope it helps someone else.
>
> ---
> Stephen Walton, Professor of Physics and Astronomy,
> California State University, Northridge
> stephen.walton "at" csun.edu
>
>
>
>
> ---------------------------------------------------------------------
> The VNC mailing list - see
> http://www.uk.research.att.com/vnc/intouch.html
>
> ---------------------------------------------------------------------
>
---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------