Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2005 09:48:22 -0800
From:      Mike Hunter <mhunter@ack.Berkeley.EDU>
To:        freebsd-ports@www.freebsd.org
Subject:   More PHP issues (Was: php4-pear / phpize problem)
Message-ID:  <20050215174822.GA1140@ack.Berkeley.EDU>
In-Reply-To: <20050214204341.GB82128@graf.pompo.net>
References:  <20050214193701.GA23360@ack.Berkeley.EDU> <20050214204341.GB82128@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 14, "Thierry Thomas" wrote:

> Le Lun 14 fév 05 à 20:37:01 +0100, Mike Hunter <mhunter@ack.Berkeley.EDU>
>  écrivait :
> > Hi,
> 
> Hello,
> 
> > I'm trying to build /usr/ports/devel/php4-pear, but I'm having issues:
> > 
> > Any suggestions?
> > 
> > make goes ok, but make install won't work:
> > 
> > ===>  Installing for php4-pear-4.3.10_2
> > ===>   php4-pear-4.3.10_2 depends on file: /usr/local/include/php/main/php.h - not found
> > ===>    Verifying install for /usr/local/include/php/main/php.h in /usr/ports/lang/php4
> > ===>   Returning to build of php4-pear-4.3.10_2
> > ===>   php4-pear-4.3.10_2 depends on file: /usr/local/lib/php/20020429/pcre.so - not found
> > ===>    Verifying install for /usr/local/lib/php/20020429/pcre.so in /usr/ports/devel/php4-pcre
> > ===>   php4-pcre-4.3.10_2 depends on executable: phpize - not found
> > ===>    Verifying install for phpize in /usr/ports/lang/php4
> > ===>   Returning to build of php4-pcre-4.3.10_2
> > ===>   php4-pcre-4.3.10_2 depends on file: /usr/local/bin/automake15 - found
> > ===>   php4-pcre-4.3.10_2 depends on file: /usr/local/bin/autoconf253 - found
> > ===>   php4-pcre-4.3.10_2 depends on file: /usr/local/bin/libtool13 - found
> > ===>  PHPizing for php4-pcre-4.3.10_2
> > env: /usr/local/bin/phpize: No such file or directory
> > *** Error code 127
> 
> Your PHP4 installation is broken: /usr/local/bin/phpize should have been
> installed by lang/php4. Could you try to reinstall it?

Thanks for your help.  I managed to sidestep that problem, but I'm stuck
in a dependency loop of some sort that I cannot escape.

I'm trying to setup stager, a netflow database gui thing:

Stager:
http://stager.uninett.no/

FreeBSD instructions are here:
http://snickers.org/~nistor/stager/

The list of pre-reqs is this:

    * apache 2.0.52
    * mod_php4 4.3.9 (php4-pgsql php4-session php4-pcre php4-gd)
    * gd-2.0.28
    * jpgraph-1.16
    * pear-PEAR-1.3.3
    * pear-DB-1.6.5
    * smarty-2.6.5

    * postgresql 7.4.6
    * perl 5.8.5
    * p5-DBI-1.45
    * p5-DBD-Pg-1.32
    * p5-Time-HiRes-1.65

When I try to install /usr/ports/www/mod_php4, I end up not being able to
install pear, because pear says that it needs /usr/local/bin/php, but I
can't install /usr/ports/lang/php4 because it conflicts with mod_php :(

When I try installing /usr/ports/devel/pear-PEAR first 
(via `make clean && make && make install`)

I end up with:
/usr/ports/devel/pear-PEAR/pkg-install: /usr/local/bin/pear2: not found

Signed,

Frustrated in Frisco (Well, not really, but it starts with F)



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