Constantin Kaplinsky | 47ed8d3 | 2004-10-08 09:43:57 +0000 | [diff] [blame] | 1 | I have managed to build Xvnc on HPUX but only with some ugly hacking of |
| 2 | the X tree. The X tree I used as the basis for the build is the XFree86 4.2.0 |
| 3 | tree. The XFree86 4.3.0 tree is unsuitable as it seems to have had some HPUX |
| 4 | stuff removed from it. I built using the aCC C++ compiler. |
| 5 | |
| 6 | Set the following environment variables: |
| 7 | |
| 8 | % CXX=/opt/aCC/bin/aCC |
| 9 | % CFLAGS="+DAportable" |
| 10 | % CXXFLAGS="+DAportable -AA +W749 +W740" |
| 11 | % BOOTSTRAPCFLAGS=-Dhpux |
| 12 | % export CXX CFLAGS CXXFLAGS BOOTSTRAPCFLAGS |
| 13 | |
| 14 | Build the main part of the VNC distribution as normal: |
| 15 | |
| 16 | % ./configure |
| 17 | % make |
| 18 | |
| 19 | Unpack the X tree and apply the patches in xc.patch: |
| 20 | |
| 21 | % gunzip -c X420src-1.tgz | tar xf - |
| 22 | % patch -Np0 <xc.patch |
| 23 | |
| 24 | Then additionally apply the patches in hpux.patch: |
| 25 | |
| 26 | % patch -Np0 <hpux.patch |
| 27 | |
| 28 | Finally try building the X tree: |
| 29 | |
| 30 | % cd xc |
| 31 | % make World |
| 32 | |
| 33 | If it all goes to plan you will be left with Xvnc in xc/programs/Xserver. You |
| 34 | will probably have to modify the vncserver script to set up a sensible font |
| 35 | path, since many of the font directories on HPUX are different from the |
| 36 | defaults compiled into Xvnc. |
| 37 | |
| 38 | If anyone can find a neater way of building a VNC-compatible X tree on HPUX |
Peter Åstrand | 9fb4e0e | 2004-12-30 10:03:00 +0000 | [diff] [blame] | 39 | please let us know (see http://www.tightvnc.com for contact details). |