From owner-freebsd-questions Fri Jan 4 9: 2:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blacklamb.mykitchentable.net (ekgr-dsl2-77.citlink.net [207.173.226.77]) by hub.freebsd.org (Postfix) with ESMTP id 2C16137B41C for ; Fri, 4 Jan 2002 09:02:51 -0800 (PST) Received: from tagalong (unknown [192.168.1.30]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 641DEEE651 for ; Fri, 4 Jan 2002 09:02:45 -0800 (PST) Message-ID: <00b701c19541$a142b180$1e01a8c0@lc.ca.gov> From: "Drew Tomlinson" To: Subject: Makefile Error - Need Operator in Line ## Date: Fri, 4 Jan 2002 09:02:45 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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