Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2003 09:24:40 -0500 (EST)
From:      ah40@httpsite.com
To:        freebsd-ports@freebsd.org
Subject:   php4 port install troubles (pq.3 dependency)
Message-ID:  <XFMail.20030228092440.ah40@httpsite.com>

next in thread | raw e-mail | index | archive | help
Can someone please help?  I've tried suggestions I read in the list from other
people having the same problem, like going into the postgresql7 dir and doing a
make clean, etc...  Nothing is working.  Could really use some advice.  I
didn't paste it here, but when the php options screen comes up, the *only*
items I selected in this instance are zlib and postgres.

Here's some output:

[/usr/ports/lang/php4] # pkg_info | egrep -i '(^php|postgres)'
bsdpan-DBD-Pg-1.21  DBD::Pg - PostgreSQL database driver for the DBI module
php_doc-1.20020119  PHP documentation in HTML
[/usr/ports/lang/php4] make install
Define WITH_APACHE2 to build mod_php4 as an apache2 module.

===>  Extracting for mod_php4-4.3.0
Define WITH_APACHE2 to build mod_php4 as an apache2 module.

>> Checksum OK for php-4.3.0.tar.bz2.
===>   mod_php4-4.3.0 depends on file: /usr/local/sbin/apxs - found
===>   mod_php4-4.3.0 depends on file: /usr/local/libexec/autoconf213/autoconf
- found
===>   mod_php4-4.3.0 depends on shared library: mysqlclient.10 - found
===>   mod_php4-4.3.0 depends on shared library: pq.3 - not found
===>    Verifying install for pq.3 in /usr/ports/databases/postgresql7
===>  Patching for postgresql-7.3.2_1
===>  Applying FreeBSD patches for postgresql-7.3.2_1
File to patch: 
No file found--skip this patch? [n] y
7 out of 7 hunks ignored--saving rejects to src/bin/pg_passwd/pg_passwd.c.rej
Can't create src/bin/pg_passwd/pg_passwd.c.rej, output is in /tmp/patchrVSK0WM:
No such file or directory
>> Patch patch-aj failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/databases/postgresql7.
*** Error code 1

Stop in /usr/ports/lang/php4.
*** Error code 1

Stop in /usr/ports/lang/php4.
[/usr/ports/lang/php4] crontab -l | grep cvs
30 4 1,10,20 * * cvsup -g -L 2 /etc/supfile
[/usr/ports/lang/php4] cvsup -g -L 2 /etc/supfile
Parsing supfile "/etc/supfile"
Connecting to cvsup11.FreeBSD.org
Connected to cvsup11.FreeBSD.org
Server software version: SNAP_16_1f
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
Shutting down connection to server
Finished successfully
[/usr/ports/lang/php4] ls -la
total 12
drwxr-xr-x    2 root  wheel   512 Feb 27 22:57 .
drwxr-xr-x  242 root  wheel  4608 Feb 21 12:25 ..
-rw-r--r--    1 root  wheel   459 May 17  2002 Makefile
-rw-r--r--    1 root  wheel   325 Feb 27 22:57 Makefile.inc
[/usr/ports/lang/php4] make clean
===>  Cleaning for libiconv-1.8_2
===>  Cleaning for mysql-client-3.23.55
===>  Cleaning for postgresql-7.3.2_1
===>  Cleaning for autoconf213-2.13.000227_5
===>  Cleaning for gettext-0.11.5_1
===>  Cleaning for gmake-3.80
===>  Cleaning for libgnugetopt-1.2
===>  Cleaning for libtool-1.3.4_4
===>  Cleaning for m4-1.4_1
===>  Cleaning for expat-1.95.6_1
===>  Cleaning for apache-1.3.27_4
===>  Cleaning for mod_php4-4.3.0

[/usr/ports/lang/php4] make install
Define WITH_APACHE2 to build mod_php4 as an apache2 module.

===>  Extracting for mod_php4-4.3.0
Define WITH_APACHE2 to build mod_php4 as an apache2 module.

>> Checksum OK for php-4.3.0.tar.bz2.
===>   mod_php4-4.3.0 depends on file: /usr/local/sbin/apxs - found
===>   mod_php4-4.3.0 depends on file: /usr/local/libexec/autoconf213/autoconf
- found
===>   mod_php4-4.3.0 depends on shared library: pq.3 - not found
===>    Verifying install for pq.3 in /usr/ports/databases/postgresql7

  =========== BACKUP YOUR DATA! =============
  As always, backup your data before
  upgrading. If the upgrade leads to a higher
  minor revision (e.g. 7.2.x -> 7.3), a dump
  and restore of all databases is
  required. This is *NOT* done by the port!

  Press ctrl-C *now* if you need to pg_dump.
  ===========================================


postgresql has several tunables that can be used to configure PostgreSQL:

        WITHOUT_GNUGETOPT       Don't install GNU getopt (will
                                still be used if already installed)
        WITHOUT_GETTEXT         Skips building with support for
                                internationalized error messages
        WITHOUT_SERVER          Installs the headers and libraries for
                                PostgreSQL clients
        WITHOUT_SSL             Builds without OpenSSL support
        WITH_MIT_KRB5           Builds with MIT's kerberos support
        WITH_HEIMDAL_KRB5       Builds with Heimdal's kerberos support
        WITH_OPTIMIZED_CFLAGS   Builds with compiler optimizations (-O3)
        WITH_DEBUG              Builds with debugging symbols
        WITH_TESTS              Allows the use of a "check" target
                                building the module

===>  Extracting for postgresql-7.3.2_1
>> Checksum OK for postgresql/postgresql-base-7.3.2.tar.gz.
>> Checksum OK for postgresql/postgresql-opt-7.3.2.tar.gz.
===>   postgresql-7.3.2_1 depends on executable: gmake - found
===>   postgresql-7.3.2_1 depends on shared library: gnugetopt - found
===>   postgresql-7.3.2_1 depends on shared library: intl.4 - found
===>  Patching for postgresql-7.3.2_1
===>  Applying FreeBSD patches for postgresql-7.3.2_1
File to patch: 

No file found--skip this patch? [n] y
7 out of 7 hunks ignored--saving rejects to src/bin/pg_passwd/pg_passwd.c.rej
Can't create src/bin/pg_passwd/pg_passwd.c.rej, output is in /tmp/patchrZiMnYu:
No such file or directory
>> Patch patch-aj failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/databases/postgresql7.
*** Error code 1

Stop in /usr/ports/lang/php4.
*** Error code 1

Stop in /usr/ports/lang/php4.

[/usr/ports/lang/php4] uname -sv
FreeBSD FreeBSD 4.7-RELEASE #0: Mon Feb 24 10:43:36 EST 2003


-- 
Andy Harrison
ah##@httpsite.com
ICQ: 123472  AIM/Y!: AHinMaine
homepage: http://www.nachoz.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030228092440.ah40>