Help: Cannot install pear-DB

Viren Patel virenp at
Wed Jul 14 10:13:58 PDT 2004

I am trying to install pear-DB port on a 4.10 system. Here are the
messages from portinstall:

# portinstall pear-DB
--->  Installing 'pear-DB-1.6.4,1' from a port (databases/pear-DB)
--->  Building '/usr/ports/databases/pear-DB'
===>  Cleaning for pear-Archive_Tar-1.2
===>  Cleaning for libiconv-1.9.2
===>  Cleaning for mysql-client-4.0.20
===>  Cleaning for bison-1.75_2
===>  Cleaning for gettext-0.13.1_1
===>  Cleaning for libtool-1.3.5_2
===>  Cleaning for libtool-1.5.6_1
===>  Cleaning for m4-1.4_1
===>  Cleaning for pear-Console_Getopt-1.2
===>  Cleaning for pear-PEAR-1.3.1
===>  Cleaning for pear-XML_RPC-1.1.0
===>  Cleaning for php4-4.3.7_3
===>  Cleaning for rc_subr-1.29
===>  Cleaning for expat-1.95.7
===>  Cleaning for apache-1.3.31_2
===>  Cleaning for pear-DB-1.6.4,1
===>  Extracting for pear-DB-1.6.4,1
>> Checksum OK for PEAR/DB-1.6.4.tgz.
===>  Patching for pear-DB-1.6.4,1
===>   pear-DB-1.6.4,1 depends on file:
/usr/local/share/pear/PEAR.php - found
===>  Configuring for pear-DB-1.6.4,1
--->  Installing the new version via the port
===>  Installing for pear-DB-1.6.4,1
===>   pear-DB-1.6.4,1 depends on file:
/usr/local/share/pear/PEAR.php - found
===>   Generating packing list
===>   Generating temporary packing list
===>  Checking if databases/pear-DB already installed
pkg_info: package ravcore-8.9.3 has no origin recorded
pkg_info: package ravmd-8.4.2 has no origin recorded
pkg_info: package ravpostfix-8.4.1 has no origin recorded
===> Installing documentation in /usr/local/share/doc/pear/DB.
===> Installing tests in /usr/local/share/pear/tests/DB.
requires package `PEAR' >= 1.0b1
DB: Dependencies failed
*** Error code 1

Stop in /usr/ports/databases/pear-DB.
*** Error code 1

Stop in /usr/ports/databases/pear-DB.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall75797.0 make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! databases/pear-DB     (install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

I have the following ports installed:

# pkg_info
aide-0.10           A replacement and extension for Tripwire
apache+mod_ssl-1.3.31+2.8.18_4 The Apache 1.3 webserver with SSL/TLS
bison-1.75_2        A parser generator from FSF, (mostly) compatible
with Yacc
courier-imap-3.0.5_2,1 IMAP (and POP3) server that provides access
to Maildir mail
cvsup-without-gui-16.1h General network file distribution system
optimized for CVS
expat-1.95.7        XML 1.0 parser written in C
ezm3-1.1_1          Easier, more portable Modula-3 distribution for
building CV
gettext-0.13.1_1    GNU gettext package
gmake-3.80_2        GNU version of 'make' utility
libiconv-1.9.1_3    A character set conversion library
libtool-1.3.5_2     Generic shared library support script (version 1.3)
libtool-1.5.6_1     Generic shared library support script (version 1.5)
m4-1.4_1            GNU m4
mhash-0.8.18        "Library provides an easy way to access strong
hashes such
mm-1.3.0            Shared memory allocation library for pre-forked
process mod
mysql-client-4.0.20 Multithreaded SQL database (client)
ntp-4.2.0_1         The Network Time Protocol Distribution
pcre-4.5            Perl Compatible Regular Expressions library
pear-Console_Getopt-1.2 PEAR command-line option parser
pear-XML_RPC-1.1.0  PHP implementation of the XML-RPC protocol
php4-4.3.7_3        PHP Scripting Language (Apache Module and CLI)
pkg_install-devel-20040412 Development version of the FreeBSD 5.x
package tools
portaudit-0.3.1     Checks installed ports against a list of
security vulnerabi
portupgrade-20040325_1 FreeBSD ports/packages administration and
management tool s
postfix-2.1.3,1     A secure alternative to widely-used Sendmail
ravcore-8.9.3       RAV AntiVirus scanning engine and virus
signatures database
ravmd-8.4.2         RAV AntiVirus mail scanning daemon.
ravpostfix-8.4.1    RAV AntiVirus client for the Postfix MTA.
rc_subr-1.29        Common startup and shutdown subroutines used by
ruby-1.8.1_2        An object-oriented interpreted scripting language
ruby18-bdb1-0.2.2   Ruby interface to Berkeley DB revision 1.8x with
full featu
screen-4.0.2        A multi-screen window manager
sudo-        Allow others to run commands as root
unzip-5.51          List, test and extract compressed files in a ZIP
vim-lite-6.2.383    Vi "workalike", with many additional features
(Lite package
zip-2.3_1           Create/update ZIP files compatible with pkzip

I do not understand why it is failing as it seems to find all the
pre-requisites. There does not seem to be a 'PEAR' package in the
ports collection. How do I specify its version? Your help is
appreciated. Thanks.

Chemistry & Biochemistry
University of Texas at Austin

More information about the freebsd-ports mailing list