Has anyone had luck compiling tightvnc on aix

I’m trying to compile tightvnc on aix 5.2

Following the readme on the tightvnc website I do the following (and get the following error):

-bash-3.00# xmkmf
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/lib/X11/config

-bash-3.00# make World
make Makefiles
making Makefiles in libvncauth…
mv Makefile Makefile.bak
Target “Makefiles” is up to date.
making Makefiles in vncviewer…
mv Makefile Makefile.bak
Target “Makefiles” is up to date.
making Makefiles in vncpasswd…
mv Makefile Makefile.bak
“./Imakefile”, line 12.73: 1506-010 (W) Macro NormalProgramTarget invoked with a null argument for parameter syslibs.
Target “Makefiles” is up to date.
making Makefiles in vncconnect…
mv Makefile Makefile.bak
“./Imakefile”, line 8.64: 1506-010 (W) Macro NormalProgramTarget invoked with a null argument for parameter syslibs.
Target “Makefiles” is up to date.
make depend
depending in ./libvncauth…
makedepend – -I. -I…/include -DSYSV -DAIXV3 -DAIXV4 -D_ALL_SOURCE -DFUNCPROTO=15 – vncauth.c d3des.c
Target “depend” is up to date.
depending in ./vncviewer…
makedepend – -I…/include -I. -I/usr/local/include -I/usr/local/include -I/usr/include -DSYSV -DAIXV3 -DAIXV4 -D_ALL_SOURCE -DFUNCPROTO=15 – argsresources.c colour.c cursor.c desktop.c dialogs.c fullscreen.c listen.c misc.c popup.c rfbproto.c selection.c shm.c sockets.c tunnel.c vncviewer.c
makedepend: warning: rfbproto.c, line 32: cannot find include file “jpeglib.h”
not in …/include/jpeglib.h
not in ./jpeglib.h
not in /usr/local/include/jpeglib.h
not in /usr/local/include/jpeglib.h
not in /usr/include/jpeglib.h
not in /usr/include/jpeglib.h
makedepend: warning: shm.c, line 27: cannot find include file “X11/extensions/XShm.h”
not in …/include/X11/extensions/XShm.h
not in ./X11/extensions/XShm.h
not in /usr/local/include/X11/extensions/XShm.h
not in /usr/local/include/X11/extensions/XShm.h
not in /usr/include/X11/extensions/XShm.h
not in /usr/include/X11/extensions/XShm.h
Target “depend” is up to date.
depending in ./vncpasswd…
makedepend – -I…/include -DSYSV -DAIXV3 -DAIXV4 -D_ALL_SOURCE -DFUNCPROTO=15 – vncpasswd.c
Target “depend” is up to date.
depending in ./vncconnect…
makedepend -DSYSV -DAIXV3 -DAIXV4 -D_ALL_SOURCE -DFUNCPROTO=15
Target “depend” is up to date.
make all
making all in ./libvncauth…
cc -O -I. -I…/include -DSYSV -DAIXV3 -DAIXV4 -D_ALL_SOURCE -DFUNCPROTO=15 -c vncauth.c
/bin/sh: cc: not found.
make: 1254-004 The error code from the last command is 127.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.

Not sure what I’m missing. Just wondering if anyone has had luck building tightvnc on any aix platform?

Well, I have pretty much given up building tightvnc on aix at this point.

However, I came across a nugget. IBM has a bunch of linux to aix ports available on their website. One of them is vnc. I downloaded it from here:

http://www-03.ibm.com/servers/aix/products/aixos/linux/download.html

Installed the rpm and I am almost there. Still working out the kinks of exporting the native :0 desktop though. Well, I don’t even care if it exactly the :0 desktop, but it has to look exactly like I am logging in as a test user (mimic the :0 desktop).

I found some tidbits here:

http://www.linuxquestions.org/questions/showthread.php?threadid=251975

I did the following in the ~/.vnc/xstartup file:


#!/bin/sh
/usr/dt/bin/dtsession


This almost works for me. It displays exactly what I see when I am sitting in front of that machine. However, I cannot logout. I need to be able to logout/login as different users to be able to even test my app. So I have to figure this out before eggplant is a solution for testing my app on AIX.

Any ideas?