On Wed, May 11, 2016 at 06:29:32AM -0500, Douglas Carmichael wrote:
> To whom it may concern:
> 
> When I try to build CDE on OpenBSD 5.9 using the build instructions in the 
> wiki (https://sourceforge.net/p/cdesktopenv/wiki/OpenBSDBuild/ 
> <https://sourceforge.net/p/cdesktopenv/wiki/OpenBSDBuild/>) I get these error 
> messages regarding dtlogin after I do a ‘make World’:
> 
> -----
> 
> making Makefiles in programs/dtlogin...
> 
> *** Parse error in /root/cdesktopenv-code/cde/programs/dtlogin: Unassociated 
> shell command "    DEFINES = $(DTDEFINES) -DXDMCP" (Makefile:776)
> 
> cleaning in programs/dtlogin...
> 
> *** Parse error in /root/cdesktopenv-code/cde/programs/dtlogin: Unassociated 
> shell command "    DEFINES = $(DTDEFINES) -DXDMCP" (Makefile:776)
> 
> —
> 
> None of the CDE packages are built.
> 
> What could caused this?

If I understand correctly, your (OpenBSD's) make is broken, and is
parsing some macro definitions as shell commands.
(Didn't OpenBSD semi-recently update the make parser?)

The POSIX 2013 'make' manpage has this comment (under RATIONALE, in the
paragraph starting "Novice users of make...", about 9 paragraphs from
the bottom):
 ...There is extensive historical practice of allowing leading <space>
 characters before definitions. Forcing macro lines into column 1 would
 be a backwards-compatibility problem for some makefiles.  Therefore,
 historical practice was restored.

Strictly speaking, CDE makefiles need not be interpreted as per POSIX
(I don't think we use .POSIX:), but this is a question of compatability,
and that's the rationale.

Hope this helps,
Isaac Dunham

(PS: I'm just here briefly.)

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to