Subject: Problem with ap-php-4.3.10.tgz package for i386/2.0
To: None <tech-pkg@netbsd.org>
From: Scott R. Burns <Scott.Burns@Netcontech.Com>
List: tech-pkg
Date: 05/04/2005 00:17:32
I have installed a few packages on a new i386/2.0.2 machine.

# pkg_info

expat-1.95.8nb2     XML parser library written in C
apr-0.9.6.2.0.53    Apache Portable Runtime
perl-5.8.6nb3       Practical Extraction and Report Language
apache-2.0.53       Apache HTTP (Web) server, version 2
php-4.3.10          HTML-embedded scripting language
ncti106# ncti106#

All of these worked perfectly. Wow, things are much nicer now compared to
when I last installed a NetBSD machine. Very smooth. Great job on the
packages system.

I have one small issue with one package.

When I try to add ap-php-4.3.10.tgz, which I think my web guys need (We want
to use some PHP file manager stuff on our support web site), I get
complaints that Apache 1.33 is not installed. Is there a version of this
compiled for (2.0.2 and apache 2.0 ?).

My questions:

a) Why this package is complaining about 2.0.2, when others on packages
indicated for 2.0 did not ?

b) Is this even required for apache 2.0 machines or is it built in to the
newer apache ?

c) Is this something the developers even require to use PHP with Apache or
is it only required in specific cases ?


Thanks
Scott..

---------------------------------------
Sample of failed package install.

# pkg_add
ftp://ftp.netbsd.org/pub/NetBSD/packages/2.0/i386/All/ap-php-4.3.10.tgz

ftp: connect to address 2001:4f8:4:7:2e0:81ff:fe21:6563: No route to host
pkg_add: Package
`ftp://ftp.netbsd.org/pub/NetBSD/packages/2.0/i386/All/ap-php-4
.3.10.tgz' OS mismatch:
pkg_add: NetBSD/i386 2.0 (pkg) vs. NetBSD/i386 2.0.2 (this host)
pkg_add: Package
`ftp://ftp.netbsd.org/pub/NetBSD/packages/2.0/i386/All/apache-1
.3.33nb3.tgz' OS mismatch:
pkg_add: NetBSD/i386 2.0 (pkg) vs. NetBSD/i386 2.0.2 (this host)
pkg_add: other version 'apache-2.0.53' already installed
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `apache-1.3.33nb3' failed!
pkg_add: Package
`ftp://ftp.netbsd.org/pub/NetBSD/packages/2.0/i386/All/apache-1
.3.33nb3.tgz' OS mismatch:
pkg_add: NetBSD/i386 2.0 (pkg) vs. NetBSD/i386 2.0.2 (this host)
pkg_add: other version 'apache-2.0.53' already installed
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `apache{,6}-1.3.*' failed!
pkg_add: 1 package addition failed
ncti106# ncti106#

Scott R. Burns
NETCON Technologies Inc.
Suite 135 - 4474 Blakie Road
London, Ontario, Canada
N6L 1G7
Voice: +1.519.652.0401
Fax: +1.519.652.9275