[Mailman-Users] mailman install problems (syntax error atline1:`; ' unexpected)

Mark Sapiro mark at msapiro.net
Sat Aug 7 23:36:09 CEST 2010

CJ Keist wrote:

>Running the bash command came back to the prompt with no errors.
>On 8/7/10 10:26 AM, Mark Sapiro wrote:
>> bash -c 'for p in ; do echo Huh? $p ; done'

That's the expected result.

Per your immediately previous post, it seems the issue was some
incompatibility with a specific (non-GNU) make. Instead of commenting
the offending portion of the makefile, we could (expanding on
Stephen's suggestion) make it

ifneq ($(strip $(PACKAGES)),)
    for p in $(PACKAGES); \
    do \
        gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \
        (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR)

however, the ifneq ... endif is a GNU make construct and that itself
may not work in non-GNU makes.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list