Subject: Re: p5-Apache-ASP
To: Johnny C. Lam <lamj@stat.cmu.edu>
From: =?ISO-8859-1?Q?Torbj=F6rn_Lindquist?= <linkan@astrakan.hig.se>
List: netbsd-help
Date: 01/25/2001 09:24:54
On Wed, 24 Jan 2001, Johnny C. Lam wrote:

> 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 pkg_info gives me the following info (striped away some required
by: and description)

elvis# pkg_info perl
Information for perl-5.00404:

Comment:
Practical Extraction and Report Language

Required by:
...
p5-Data-Dumper-2.101
p5-Devel-DProf-19990108
p5-Devel-Peek-1.0001
p5-CGI-2.74
perl-5.6.0nb3

Information for perl-5.6.0nb3:

Comment:
Practical Extraction and Report Language

Requires:
p5-CGI>=2.56
p5-Data-Dumper>=2.101
p5-Devel-DProf>=19990108
p5-Devel-Peek>=1.0001
perl-base>=5.6.0
perl-{5.0*,5.6.0nb2,base-5.[6-9]*}
perl-{5.0*,5.6.0nb[12],base-5.[6-9]*}
 
> The solution is to uninstall your perl package, and install or build a
> perl-5.6.0 package from pkgsrc before building libperl.

How do I uninstall a package with lots of required by's?

/Linkan

http://www.astrakan.hig.se/~linkan/
ICQ# 6226106