Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 199912

Re: [PHP4BETA] -lbind missing now From: Sascha Schumann (sascha <email protected>)
Date: 12/07/99

On Tue, Dec 07, 1999 at 11:30:36AM -0600, Andrei Zmievski wrote:
>
> Here's the compilation line for fsock.c:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../..
> -I../../libzend -I/projects/compile/gd1.3
> -I/usr/local/etc/mysql/include/mysql -I/usr/local/include/xml
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -Wall -O2 -c fsock.c -o
> fsock.o
>
> Looking further: /usr/local/include/arpa/inet.h has
>
> #define inet_aton __inet_aton
>
> But there is also /usr/include/arpa/inet.h which doesn't have it.
> Similarly, resolv.h is in both directories.

    I've always preferred how Bind is installed on Linux. Header
    files and libraries go into /usr/local/bind/{include,lib},
    and cannot be easily mixed up with the standard headers.

    I don't think we can cover your "broken" installation. You
    might want to configure with

        $ LDFLAGS="-L/usr/local/bin" ./configure <...>

-- 

Regards,

Sascha Schumann Consultant

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