pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Syntax error: "(" unexpected



George Michaelson <ggm%apnic.net@localhost> writes:

> On Mon, 15 Jan 2007 20:35:46 -0500
> Greg Troxel <gdt%ir.bbn.com@localhost> wrote:
>
>>   # cd /usr/pkgsrc/www/apache
>>   # make
>>   => Required installed package digest>=20010302: digest-20060826 found
>>   Syntax error: "(" unexpected
>> 
>> This happened to me and I was totally baffled.  I built/installed
>> pkgtools/pkg_install and then things worked.  So I suspect that
>> something is wrong in the code after it decides that pkgtools are old
>> but before it invokes 'make install' for the tools.
> 
> this happened to me on non-BSD platforms, where /bin/sh -> <something>
> and that something has different syntactic requirements for the shell
> than the BSD conforming bourne shell. I coerced my way round it by
> judicious use of <XXX>_SH environment variables passed into
> make/build/pkgsrc procedures

My problem was on NetBSD.  I don't remember what box and hence what
version, but I'm pretty sure something >= netbsd-3.   I have never
done anything funky with repointin /bin/sh.

-- 
    Greg Troxel <gdt%ir.bbn.com@localhost>



Home | Main Index | Thread Index | Old Index