File: README.hpux_aCC

package info (click to toggle)
vnc4 4.1.1%2BX4.3.0-31
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 171,548 kB
  • ctags: 288,231
  • sloc: ansic: 2,205,256; cpp: 56,016; sh: 38,092; pascal: 13,773; asm: 12,656; tcl: 9,182; lisp: 7,831; perl: 3,338; makefile: 2,957; yacc: 2,902; objc: 2,698; xml: 2,614; python: 2,383; lex: 1,477; awk: 901; csh: 58; sed: 50
file content (41 lines) | stat: -rw-r--r-- 1,294 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Building on HP-UX 11.00 using aCC (tjr)
--
I have managed to build Xvnc on HPUX but only with some ugly hacking of
the X tree.  The X tree I used as the basis for the build is the XFree86 4.2.0
tree.  The XFree86 4.3.0 tree is unsuitable as it seems to have had some HPUX
stuff removed from it.  I built using the aCC C++ compiler.

Set the following environment variables:

  % CXX=/opt/aCC/bin/aCC
  % CFLAGS="+DAportable"
  % CXXFLAGS="+DAportable -AA +W749 +W740"
  % BOOTSTRAPCFLAGS=-Dhpux
  % export CXX CFLAGS CXXFLAGS BOOTSTRAPCFLAGS

Build the main part of the VNC distribution as normal:

  % ./configure
  % make

Unpack the X tree and apply the patches in xc.patch:

  % gunzip -c X420src-1.tgz | tar xf -
  % patch -Np0 <xc.patch

Then additionally apply the patches in hpux_aCC.patch:

  % patch -Np0 <hpux_aCC.patch

Finally try building the X tree:

  % cd xc
  % make World

If it all goes to plan you will be left with Xvnc in xc/programs/Xserver.  You
will probably have to modify the vncserver script to set up a sensible font
path, since many of the font directories on HPUX are different from the
defaults compiled into Xvnc.

If anyone can find a neater way of building a VNC-compatible X tree on HPUX
please let us know (see http://www.realvnc.com for contact details).