James,

1)Downloaded the  XFree86-4.2.1-8.src.rpm which generates X420src-1.tgz

2)  I replace the original xc directory comes with vnc4.1, with XFree86
generated xc ?

3) cd xc
4) then I compiled by typing "make World". Following error i am getting.

/////////////////////////
PROTO=15 -DNARROWPROTO  
-DDFLT_XKB_CONFIG_ROOT=\"/usr/X11R6/lib/X11/xkb\"  -DUSE_MAKEDEPEND --
setxkbmap.c
make[3]: Leaving directory
`/usr/src/redhat/SOURCES/new/vnc-4_1_1-unixsrc/unix/xc/programs/setxkbmap'
depending in programs/xkbcomp...
make[3]: Entering directory
`/usr/src/redhat/SOURCES/new/vnc-4_1_1-unixsrc/unix/xc/programs/xkbcomp'
bison -y  xkbparse.y
xkbparse.y:452.17: syntax error, unexpected "|"
xkbparse.y:515.17: syntax error, unexpected "|"
make[3]: *** [xkbparse.c] Error 1
make[3]: Leaving directory
`/usr/src/redhat/SOURCES/new/vnc-4_1_1-unixsrc/unix/xc/programs/xkbcomp'
make[2]: *** [depend] Error 2
make[2]: Leaving directory
`/usr/src/redhat/SOURCES/new/vnc-4_1_1-unixsrc/unix/xc/programs'
make[1]: *** [depend] Error 2
make[1]: Leaving directory
`/usr/src/redhat/SOURCES/new/vnc-4_1_1-unixsrc/unix/xc'
make: *** [World] Error 2

////////////////////////



regards
Susant

On Tue, 2005-07-05 at 20:44, James Weatherall wrote:
> Susant,
> 
> Are you sure that you've unpacked the XFree86 source files into the xc
> directory before running the patch command?
> 
> Cheers,
> 
> Wez @ RealVNC Ltd.
>  
> 
> > -----Original Message-----
> > From: Susanta Kumar Padhi [mailto:[EMAIL PROTECTED] 
> > Sent: 05 July 2005 16:19
> > To: James Weatherall
> > Cc: [email protected]
> > Subject: RE: Compile Error for Xvnc
> > 
> > James,
> > 
> > I downloaded the vnc-4.1.1-10.src.rpm and while applying the 
> > patch I got
> > the same problem. It asks path to file
> > 
> > ///////////////////////////
> > [EMAIL PROTECTED] unix]$ sudo patch -Np0 <xc.patch
> > can't find file to patch at input line 3
> > Perhaps you used the wrong -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> > |*** xc/programs/Xserver/Imakefile.orig Fri Jun  6 11:02:36 2003
> > |--- xc/programs/Xserver/Imakefile      Fri Jun  6 11:14:39 2003
> > --------------------------
> > File to patch:
> > 
> > ///////////////////////////
> > 
> > Actually I am using Fedora2 linux box. Kindly help me how proceed.
> > 
> > Thankx&regards
> > Susant
> > 
> > 
> > 
> > 
> > 
> > On Tue, 2005-07-05 at 19:27, James Weatherall wrote:
> > > Susant,
> > > 
> > > VNC 4.0b4 is somewhat long in the tooth.  Can you try 
> > compiling with VNC
> > > 4.1.1 and check whether you hit the same problem?  We build 
> > against XFree86
> > > 4.2.1 when producing our downloadable binaries, so it's 
> > possible that
> > > something has changed in the Xorg branch (or trunk, 
> > depending on your
> > > viewpoint...) that is incompatible with the VNC patches.
> > > 
> > > Cheers,
> > > 
> > > Wez @ RealVNC Ltd.
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED] 
> > > > [mailto:[EMAIL PROTECTED] On Behalf Of Susanta 
> > Kumar Padhi
> > > > Sent: 05 July 2005 13:44
> > > > To: [email protected]
> > > > Subject: Compile Error for Xvnc
> > > > 
> > > > Hi All,
> > > > 
> > > > I am using a Fedora2 linux box and downloaded the vnc source 
> > > > from redhat
> > > > site name  "vnc-4.0b4-unixsrc.tar.gz" the tar file 
> > already having the
> > > > xserver tree source  when I am applying the "xc.patch"  I got the
> > > > following error.
> > > > ------------------------------------------
> > > > [EMAIL PROTECTED] vnc-4.0b4-unixsrc]$ patch -Np0 <xc.patch
> > > > can't find file to patch at input line 3
> > > > Perhaps you used the wrong -p or --strip option?
> > > > The text leading up to this was:
> > > > --------------------------
> > > > |*** xc/programs/Xserver/Imakefile.orig Fri Jun  6 11:02:36 2003
> > > > |--- xc/programs/Xserver/Imakefile      Fri Jun  6 11:14:39 2003
> > > > --------------------------
> > > > File to patch:
> > > > -----------------------------------------------
> > > > 
> > > > After that I downloaded the the xorg-x11-6.7.0.tar.gz 
> > which gives the
> > > > xserver source "xc". then I replaced the xc with older one. 
> > > > After I able
> > > > to apply the patch successfully. Bu when I compiling with 
> > typing "make
> > > > World" in xc directory  it gives following error.
> > > > 
> > > > ---------------------------------
> > > > 
> > > > rm -f ../../../exports/lib/modules/./libcfb32.a
> > > > + cd ../../../exports/lib/modules/.
> > > > + ln -s ../../../programs/Xserver/cfb32/libcfb32.a .
> > > > make[5]: Leaving directory
> > > > `/usr/src/redhat/SOURCES/test/vnc-4.0b4-unixsrc/xc/programs/Xs
> > > > erver/cfb32'
> > > > make[4]: *** No rule to make target `vnc/Xvnc/stubs.o', needed by
> > > > `Xvnc'.  Stop.make[4]: Leaving directory
> > > > 
> > `/usr/src/redhat/SOURCES/test/vnc-4.0b4-unixsrc/xc/programs/Xserver'
> > > > make[3]: *** [all] Error 2
> > > > make[3]: Leaving directory
> > > > `/usr/src/redhat/SOURCES/test/vnc-4.0b4-unixsrc/xc/programs'
> > > > make[2]: *** [all] Error 2
> > > > make[2]: Leaving directory
> > > > `/usr/src/redhat/SOURCES/test/vnc-4.0b4-unixsrc/xc'
> > > > make[1]: *** [World] Error 2
> > > > make[1]: Leaving directory
> > > > `/usr/src/redhat/SOURCES/test/vnc-4.0b4-unixsrc/xc'
> > > > 
> > > > make: *** [World] Error 2
> > > > -------------------------------
> > > > 
> > > > Kindly help me how to do this.
> > > > 
> > > > Regards
> > > > Susant
> > > > _______________________________________________
> > > > 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

Reply via email to