Current-Users archive

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

Re: make has problems w/ pkgsrc



On Tue, Dec 23, 2008 at 03:07:32PM +0100, Greg Troxel wrote:
> 
>   make: "../../mk/configure/../../mk/configure/gnu-configure.mk" line 40: 
> Malformed conditional (${GNU_CONFIGURE_PREFIX} == ${PREFIX})
>   make: "../../mk/configure/../../mk/configure/gnu-configure.mk" line 54: 
> Malformed conditional (${GNU_CONFIGURE_PREFIX} == ${PREFIX})
>   make: Fatal errors encountered -- cannot continue
> 
> I had a similar problem with a GCC variable using pkgsrc on very old
> netbsd (2.0?).  The solution was to define the variable in /etc/mk.conf.
> See if you can find where GNU_CONFIGURE_PREFIX is defined.  If it is
> empty, the syntax will probably be invalid - one reason why people use
> "$foo" in sh programming.
> 
> That said, I don't see why updating to current should cause you problems.
Hm, this was just an example for the failures I get. Here's another one,
which does't touch "GNU_CONFIGURE_PREFIX" or "PREFIX":

[ks@ibetty:/usr/pkgsrc/sysutils/lsof] Tue 08-12-23 15:44 ttyp0                  
                    >-680: make
make: Unknown modifier '}'
make: "../../mk/tools/../../mk/tools/replace.mk" line 1249: Malformed 
conditional 
(empty(${_TOOLS_DEPMETHOD.${:Udigest}}:C/\:.*$//:M${:Udigest>=20010302\:../../pkgtools/digest:C/\:.*$//}))
make: Unknown modifier '}'
make: "../../mk/tools/../../mk/tools/replace.mk" line 1249: Malformed 
conditional 
(empty(${_TOOLS_DEPMETHOD.${:Ugtar}}:C/\:.*$//:M${:Ugtar-base>=1.13.25\:../../archivers/gtar-base:C/\:.*$//}))
make: Unknown modifier '}'
make: "../../mk/tools/../../mk/tools/replace.mk" line 1249: Malformed 
conditional 
(empty(${_TOOLS_DEPMETHOD.${:Uperl}}:C/\:.*$//:M${:Uperl>=none\:../../lang/perl5:C/\:.*$//}))
make: Unclosed substitution for  (/ missing)
make: Fatal errors encountered -- cannot continue

make: stopped in /usr/pkgsrc/sysutils/lsof

Hm, make has been modified during the last days - I'll see if
reverting some or all of these changes helps with compiling stuff
from pkgsrc...

Thanks
Kurt


Home | Main Index | Thread Index | Old Index