I am attempting to compile VNC 4.1.1 on AIX 5.2. I've unpacked the file, went to ftp.xfree86.org and downloaded X86free 4.5.0 so that when unpacked it went into the xc dir.
Went to the "unix" dir, did the configure and can build all the initial files no problem. Then went to xc to build the Xvnc. I tried all this with and without the patch file being applied. I should mention I am using gcc-3.3.3 by setting the CC environment variable. Question 1: I had to edit xc/config/cf/ibmLib.rules in the following section. There are apparently too many "#else" statements and I am not sure what this is really meant to be. Also, in the second block-o-code (after the first #else), the FONTLIB line is wrapped and "R" missing from BUILDLIBDI? Can someone tell me what this section should look like? (For my attempts below, I took out the first #else and added the "R" and unwrapped the line). # if OSMajorVersion < 4 /* * SharedFontLibReferences - shared font libraries */ # ifndef SharedLibReferences # define SharedLibReferences() @@\ DEPFONTLIB = /**/ @@\ FONTLIB = -L$(FREETYPELIBDIR) _Use(-lXfont,$(FONTLIBSRC)/libXfont.a) @@\ LintLibReferences(XFONT,Xfont,$(FONTLIBSRC)) # endif #else # ifndef SharedFontLibReferences # define SharedFontLibReferences() @@\ DEPFONTLIB = /**/ @@\ FONTLIB = -L$(FREETYPELIBDIR) _Use(-lXfont,$(BUILDLIBDIR)/font.imp) $(BUILDLIBDI )/libXfont.a)) @@\ LintLibReferences(XFONT,Xfont,$(FONTLIBSRC)) # endif # else # ifndef SharedLibReferences # define SharedLibReferences(varname,libname,libsource,revname,rev) @@\ Concat3(DEP,varname,LIB) = /**/ @@\ Concat(varname,LIB) = _Use(Concat(-l,libname),Concat($(BUILDLIBDIR),/libname.imp) Concat3($(BUILDLIBDIR),/lib,libname.a)) @@\ LintLibReferences(varname,libname,libsource) # endif # endif I also had to edit ibm.cf to change the xcl to gcc. I think this is no problem...??? Question #2 After setting up numerous links to "extensions" so that all include files can be found, I can do a "make World" and all seems to go well until it attempts to create the libvnc.a. No where above this point can I see where the files vncExtInit.o vncHooks.o XserverDesktop.o are compiled/created, so of course the ar fails. The question is where and when should those files be created and why are they being skipped? making all in programs/Xserver/vnc... make[5]: Entering directory `/auto/u/rdsnfs4/t901353/src/vnc-4_1_1-unixsrc/unix/xc/programs/Xserver/vnc' rm -f libvnc.a ar clq libvnc.a vncExtInit.o vncHooks.o XserverDesktop.o ar: A file or directory in the path name does not exist. ar: 0707-117 The fopen system call failed on file vncExtInit.o. ar: A file or directory in the path name does not exist. ar: 0707-117 The fopen system call failed on file vncHooks.o. ar: A file or directory in the path name does not exist. ar: 0707-117 The fopen system call failed on file XserverDesktop.o. make[5]: *** [libvnc.a] Error 3 make[5]: Leaving directory `/auto/u/rdsnfs4/t901353/src/vnc-4_1_1-unixsrc/unix/xc/programs/Xserver/vnc' make[4]: *** [vnc] Error 2 make[4]: Leaving directory `/auto/u/rdsnfs4/t901353/src/vnc-4_1_1-unixsrc/unix/xc/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `/auto/u/rdsnfs4/t901353/src/vnc-4_1_1-unixsrc/unix/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/auto/u/rdsnfs4/t901353/src/vnc-4_1_1-unixsrc/unix/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/auto/u/rdsnfs4/t901353/src/vnc-4_1_1-unixsrc/unix/xc' make: *** [World] Error 2 I can send the whole "make World" output if needed. Anyone have any ideas here? Any help apprecitated! thanks tom _______________________________________________ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list