Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 09:02:45 -0800
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        <questions@freebsd.org>
Subject:   Makefile Error - Need Operator in Line ##
Message-ID:  <00b701c19541$a142b180$1e01a8c0@lc.ca.gov>

next in thread | raw e-mail | index | archive | help
I'm looking for some assistance resolving a Makefile error in a tarball
I downloaded.  The software that I'm trying to build is called
"x0rfbserver" and is not in the ports tree as far as I can tell.  It's a
VNC server replacement that allows connections to the currently running
display instead of the ATT one that actually creates a new display.

Anyway, the instructions tell me to simple run 'make depend' and then
'make'.  However when I run 'make depend', I get the following errors:

milkmaker# make depend
cd lib         &&  make -e USE_ZLIB=USE_ZLIB_WARREN depend
"Makefile", line 55: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1 (ignored)
cd xrfbviewer  &&  make -e USE_ZLIB=USE_ZLIB_WARREN depend
"Makefile", line 62: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1 (ignored)
cd x0rfbserver &&  make -e USE_ZLIB=USE_ZLIB_WARREN depend
"Makefile", line 51: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1 (ignored)

I assume I just need to add something to the Makefile to resolve this
error but I have no experience at this and therefore no idea what I need
to do.  Any suggestions or ideas are welcome.

Thanks for your help,

Drew

Here is the Makefile:

[GNU copyright comments removed]

USE_ZLIB = USE_ZLIB_WARREN

PROGRAMS = xrfbviewer x0rfbserver xplayfbs

ENVIRONMENT = USE_ZLIB=$(USE_ZLIB)

all: $(PROGRAMS)


depend:
        -cd lib         &&  $(MAKE) -e $(ENVIRONMENT) $@
        -cd xrfbviewer  &&  $(MAKE) -e $(ENVIRONMENT) $@
        -cd x0rfbserver &&  $(MAKE) -e $(ENVIRONMENT) $@


librfb.a:
        cd lib          &&  $(MAKE) -e $(ENVIRONMENT) $@

x0rfbserver: librfb.a
        cd x0rfbserver  &&  $(MAKE) -e $(ENVIRONMENT) $@

xrfbviewer: librfb.a
        cd xrfbviewer   &&  $(MAKE) -e $(ENVIRONMENT) $@

xplayfbs: librfb.a
        cd xrfbviewer   &&  $(MAKE) -e $(ENVIRONMENT) $@

clean:
        cd lib          &&  $(MAKE) $@
        cd x0rfbserver  &&  $(MAKE) $@
        cd xrfbviewer   &&  $(MAKE) $@



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00b701c19541$a142b180$1e01a8c0>