RE: Trying to build the VNC 4.1.1free edition from source on IBM RS6000 using
AIX 5.2.
I've now tried this with XFree86 versions 4.5.0, 4.3.0, 4.2.1, all with the
same (no good) results. Somehow it is not picking up that
it is supposed to compile vnc files too.
And the ibmLib.rules all have the same "extra" else statement or whatever is
wrong with it. And I have to set about a 100
links/copies etc of various include files to get as far as I am.
Can you tell me what version of gcc/g++ to use? Do I have to use GNU ld too?
What version of "make"?
I have to go into ibm.cf and set CcCmd to gcc and the xlC to g++ etc. Is this
the right thing to do?
I guess the better question is just ....How do I set compilation of the xc
directory to use gcc and g++?
Can anyone tell me if this will EVER work with AIX 5.2 vs AIX 4.3.3? If I have
to go back to 4.3.3, I can. Just have to install gcc
there first.
Can you put me in contact with anybody that may have built VNC with AIX for
any version VNC/AIX?
Thanks for any assistance!
tom
The information contained herein is GOODYEAR PROPRIETARY information and
includes GOODYEAR CONFIDENTIAL information. Reproduction of
this
document, disclosure of the information, and use for any purpose other than to
conduct business with Goodyear is expressly prohibited.
"James Weatherall" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
To
"'Tom Wurgler'"
<[EMAIL PROTECTED]>, <[email protected]>
07/27/2005 09:49 AM
cc
<[EMAIL
PROTECTED]>
Subject
RE: 4.1.1 Build
problems on AIX
Tom,
The problem you're seeing with spurious #else clauses looks like an XFree86
4.5 bug, but it's hard to be sure.
We compile VNC 4.1.1 for our supported platforms against XFree86 4.2.1 and
4.3.
Regards,
Wez @ RealVNC Ltd.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Wurgler
> Sent: 27 July 2005 13:30
> To: [email protected]
> Cc: [EMAIL PROTECTED]
> Subject: 4.1.1 Build problems on AIX
>
> 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/program
s/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/program
s/Xserver/vnc'
> make[4]: *** [vnc] Error 2
> make[4]: Leaving directory
> `/auto/u/rdsnfs4/t901353/src/vnc-4_1_1-unixsrc/unix/xc/program
> s/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
> [email protected]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list