Hello,

I just tried to install TightVNC on solaris 6, ran into
error messages.  I wasn't sure whether it was related to 
the Gnu make 3.79.1 that I just installed, or to my
tampering with the makefiles to avoid errros.  I tried again on
another system, solaris 8 with Gnu Make 3.75 already installed.
I get the same error messages even though I didn't do any
makefile tampering.  From the tcsh prompt, I issue

     > xmkmf

        imake -DUseInstalled -I/opt/x11/r6.3/lib/X11/config

     > make World |& tee make_World.out

I get a series of identical messages

     make: Fatal error in reader: Makefile, line 496: Unexpected
     end of line seen

littering the log file make_World.out, interspersed with a bunch
of messages about entering and leaving subdirectories.  It's hard
to tell which makefile is generating the error as there isn't
always a message telling when the subdirectories are being exitted.
Making sense of the Make file is quite tough, even after a good
look at the gnu webmanual for Make.  The only makefile that seems
to have anything suspicious-looking at line 496 is the top level
make file:

        emptyrule::

I commented that out, but the errors didn't change.  I've included
the the make_World.out file in case anyone can take a quick peek
and instantly recognize the problem.

Just out of wishful thinking, I decided to procede with

        > cd Xvnc
        > make World |& tee make_World.out

This created a bunch warnings about C files in
programs/Xserver/hw/vnc including rfb.h, which in
itself is no problem.  The problem is that rfb.h
includes zlib.h, and the directory for zlib.h is
not a -I option in the Makefile's compile command.
At first, I just copied zlib.h into the directory
programs/Xserver/hw/vnc , but then it complained
about another file from the same directory as
zlib.h .  So I added a the directory to the INCLUDES
definition in programs/Xserver/hw/vnc/Makefile and
reran make from Xvnc. But this just rewrote the
Makefile that I modified, eliminating the include
path.  At least, that what I think happened.
So I tried to make a similar change in Xvnc/Makefile,
but there is no INCLUDE[S] definition in that file.
Neither does it exist in the top level Makefile,
though it is certainly referenced there.  There are
many "INCLUDE-like" variables in the top level
Makefile which appear like good candidates for adding
the zlib directory, but it's hard to tell which one
is the right one.  Probably none, since that file
itself is probably created from a template.  But my
earlier experience on the Solaris 6 system showed me that it
is quite a hopeless task to use grep to find all
possible places where a variable can be given a default
value (in that case, it was the "make" path), then
finding that none of the changes "stick" ie. the
Makefile itself somehow gets created without the desired
change.

Thanks for any suggestions!

Fred

Thanks.

Fred

------------------------------------------------------------
Fred Ma
[EMAIL PROTECTED]
make Makefiles
make[1]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc'
making Makefiles in libvncauth...
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc'
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc'
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc/libvncauth'
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc/libvncauth'
making Makefiles in vncviewer...
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc'
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc'
make: Fatal error in reader: Makefile, line 496: Unexpected end of line seen
Current working directory /home/fma/INSTROOT/vnc_unixsrc/vncviewer
making Makefiles in vncpasswd...
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc'
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc'
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc/vncpasswd'
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc/vncpasswd'
making Makefiles in vncconnect...
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc'
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc'
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc/vncconnect'
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc/vncconnect'
make[1]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc'
make depend
make[1]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc'
depending in ./libvncauth...
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc/libvncauth'
makedepend  -- -I. -I../include  -I/opt/x11/r6.3/include   -Dsun -DSVR4       -- 
vncauth.c d3des.c
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc/libvncauth'
depending in ./vncviewer...
make: Fatal error in reader: Makefile, line 496: Unexpected end of line seen
Current working directory /home/fma/INSTROOT/vnc_unixsrc/vncviewer
depending in ./vncpasswd...
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc/vncpasswd'
makedepend  -- -I../include  -I/opt/x11/r6.3/include   -Dsun -DSVR4       -- 
vncpasswd.c
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc/vncpasswd'
depending in ./vncconnect...
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc/vncconnect'
makedepend  --   -I/opt/x11/r6.3/include   -Dsun -DSVR4       -- 
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc/vncconnect'
make[1]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc'
make all
make[1]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc'
making all in ./libvncauth...
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc/libvncauth'
gcc -O2   -I. -I../include  -I/opt/x11/r6.3/include   -Dsun -DSVR4       -c  vncauth.c
gcc -O2   -I. -I../include  -I/opt/x11/r6.3/include   -Dsun -DSVR4       -c  d3des.c
rm -f libvncauth.a
/usr/ccs/bin/ar cq libvncauth.a vncauth.o d3des.o
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc/libvncauth'
making all in ./vncviewer...
make: Fatal error in reader: Makefile, line 496: Unexpected end of line seen
Current working directory /home/fma/INSTROOT/vnc_unixsrc/vncviewer
making all in ./vncpasswd...
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc/vncpasswd'
gcc -O2   -I../include  -I/opt/x11/r6.3/include   -Dsun -DSVR4       -c  vncpasswd.c
rm -f vncpasswd
LD_RUN_PATH=/opt/x11/r6.3/lib gcc -o vncpasswd -O2      -L/opt/x11/r6.3/lib 
vncpasswd.o ../libvncauth/libvncauth.a    -lsocket -lnsl  
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc/vncpasswd'
making all in ./vncconnect...
make[2]: Entering directory `/home/fma/INSTROOT/vnc_unixsrc/vncconnect'
gcc -O2     -I/opt/x11/r6.3/include   -Dsun -DSVR4       -c  vncconnect.c
rm -f vncconnect
LD_RUN_PATH=/opt/x11/r6.3/lib gcc -o vncconnect -O2      -L/opt/x11/r6.3/lib 
vncconnect.o -lXext -lX11    -lsocket -lnsl  
make[2]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc/vncconnect'
make[1]: Leaving directory `/home/fma/INSTROOT/vnc_unixsrc'

Built libvncauth vncviewer vncpasswd vncconnect.
To build Xvnc, do "cd Xvnc", followed by "make World"
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to