Subject: Re: p5-Apache-ASP
To: None <linkan@astrakan.hig.se>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: netbsd-help
Date: 01/24/2001 23:20:08
linkan@astrakan.hig.se writes:
>
> ===> Building for libperl-5.6.0nb1
> rm -f DynaLoader.xs
> cp dl_dlopen.xs DynaLoader.xs
> /usr/pkg/bin/perl -I/usr/pkg/lib/perl5/i386-netbsd/5.00404
> -I/usr/pkg/lib/perl5 /usr/pkg/lib/perl5/ExtUtils/xsubpp -noprototypes
> -typemap /usr/pkg/lib/perl5/ExtUtils/typemap DynaLoader.xs >xstmp.c && mv
> xstmp.c DynaLoader.c
> gcc -c  -I/usr/pkg/include -O2
> -DVERSION=\"1.04\"  -DXS_VERSION=\"1.04\" -DPIC -fPIC
> -I/usr/pkg/lib/perl5/i386-netbsd/5.00404/CORE -DPERL_CORE
> -DLIBC="/usr/lib/libc.so" DynaLoader.c

Your installed perl is 5.00404, while you're trying to build libperl
with 5.6.0 sources.  This shouldn't be possible in pkgsrc due to the
dependency version checking.  What does pkg_info give on your system?

The solution is to uninstall your perl package, and install or build a
perl-5.6.0 package from pkgsrc before building libperl.

	Cheers,

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/