Re: [PHP-DEV] PHP 4.0 Bug #5947 Updated: configure program looks form "libc-client.a" (IMAP) and not for "c-client.a" From: Mark Melvin (melvin <email protected>)
Date: 08/04/00

Isn't it better to create the symlink to php's own build directory?
That should not require configuring as root.

----- Original Message -----
From: "Rasmus Lerdorf" <rasmus <email protected>>
To: "Bug Database" <php-dev <email protected>>
Cc: <guerrero <email protected>>
Sent: Friday, August 04, 2000 18:00
Subject: Re: [PHP-DEV] PHP 4.0 Bug #5947 Updated: configure program looks
form "libc-client.a" (IMAP) and not for "c-client.a"

> > ID: 5947
> > User Update by: guerrero <email protected>
> > Status: Closed
> > Bug Type: Installation problem
> > Description: configure program looks form "libc-client.a" (IMAP) and not
for "c-client.a"
> >
> > I installed c-client library for myselve and my PHP documentation
references that library as c-client.a (IMAP section) and not libc-client.a
>
> Yes, and that is incorrect which is why every package of this library
> fixes this and why it is documented at
> http://www.php.net/manual/ref.imap.php that you need to fix this and why
> PHP's configure script has this check:
>
> if test -r "$IMAP_DIR/c-client/c-client.a"; then
> ln -s "$IMAP_DIR/c-client/c-client.a"
"$IMAP_DIR/c-client/libc-client.a" >/dev/null 2>&1
> elif test -r "$IMAP_DIR/lib/c-client.a"; then
> ln -s "$IMAP_DIR/lib/c-client.a" "$IMAP_DIR/lib/libc-client.a"
>/dev/null 2>&1
> fi
>
> So, PHP does try to fix this for you if you haven't fixed it
> yourself. But, you probably weren't running ./configure as root, so it
> was unable to create this symlink
>
> -Rasmus
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>