Hi everyone:
I'm trying to compile a program (foo2zjs - a zjstream print driver) from source. (I cannot use the port version because it doesn't contain a required bit of software).
When I enter the command
The corresponding lines in the Makefile are:
It appears as though there is some build dependency missing, but I can't figure what it is. My
. I'm using the clang compiler, but the same error occurs on an OpenBSD unit using GCC.
Can someone give me a hint? Thanks.
I'm trying to compile a program (foo2zjs - a zjstream print driver) from source. (I cannot use the port version because it doesn't contain a required bit of software).
When I enter the command
make, I receive the following error:
Code:
dutch@dutch:~/foo2zjs % make
make: "/usr/home/dutch/foo2zjs/Makefile" line 5: Missing dependency operator
make: "/usr/home/dutch/foo2zjs/Makefile" line 10: Need an operator
make: "/usr/home/dutch/foo2zjs/Makefile" line 12: Need an operator
make: "/usr/home/dutch/foo2zjs/Makefile" line 46: Missing dependency operator
make: "/usr/home/dutch/foo2zjs/Makefile" line 50: Need an operator
make: "/usr/home/dutch/foo2zjs/Makefile" line 51: Missing dependency operator
make: "/usr/home/dutch/foo2zjs/Makefile" line 54: Need an operator
make: "/usr/home/dutch/foo2zjs/Makefile" line 55: Missing dependency operator
make: "/usr/home/dutch/foo2zjs/Makefile" line 58: Need an operator
make: "/usr/home/dutch/foo2zjs/Makefile" line 59: Missing dependency operator
[snip]
The corresponding lines in the Makefile are:
Code:
1 LANG=C
2 UNAME := $(shell uname)
3 MACH := $(shell uname -m | sed 's/i.86/x86_32/')
4
5 ifeq ($(UNAME),SunOS)
6 EUID := $(shell /usr/xpg4/bin/id -u)
7 SHELL=bash
8 CC=gcc
9 OLDGROFF=OLDGROFF
10 else
11 EUID := $(shell id -u)
12 endif
13
14 SYSNAME := $(shell uname -n)
15
16 # No version number yet...
17 VERSION=0.0
18
19 # Installation prefix...
20 PREFIX=/usr/local
21 PREFIX=/usr
22 PREFIX=$(DESTDIR)/usr
23
24 # Pathnames for this package...
25 BIN=$(PREFIX)/bin
26 SHAREZJS=$(PREFIX)/share/foo2zjs
27 SHAREOAK=$(PREFIX)/share/foo2oak
28 SHAREHP=$(PREFIX)/share/foo2hp
29 SHAREXQX=$(PREFIX)/share/foo2xqx
30 SHARELAVA=$(PREFIX)/share/foo2lava
31 SHAREQPDL=$(PREFIX)/share/foo2qpdl
32 SHARESLX=$(PREFIX)/share/foo2slx
33 SHAREHC=$(PREFIX)/share/foo2hiperc
34 SHAREHBPL=$(PREFIX)/share/foo2hbpl
35 MANDIR=$(PREFIX)/share/man
36 DOCDIR=$(PREFIX)/share/doc/foo2zjs/
37 INSTALL=install
38 ROOT=root
39
40 # Pathnames for referenced packages...
41 FOODB=$(DESTDIR)/usr/share/foomatic/db/source
42
43 # User ID's
44 LPuid=-oroot
45 LPgid=-glp
46 ifeq ($(UNAME),Darwin)
47 LPuid=-oroot
48 LPgid=-gwheel
49 #ROOT=sudo
50 endif
51 ifeq ($(UNAME),FreeBSD)
52 LPuid=-oroot
53 LPgid=-gwheel
54 endif
55 ifeq ($(UNAME),OpenBSD)
56 LPuid=-oroot
57 LPgid=-gwheel
58 endif
59 ifeq ($(UNAME),SunOS)
It appears as though there is some build dependency missing, but I can't figure what it is. My
uname -a is
Code:
FreeBSD dutch.freebsd.net 10.0-STABLE FreeBSD 10.0-STABLE #0 r267216: Sat Jun 7 21:17:36 EDT 2014 root@dutch.freebsd.net:/usr/obj/usr/src/sys/GENERIC amd64
Can someone give me a hint? Thanks.