Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 2000051

Re: [PHP3] apxs error From: Michael Dearman (mdearman <email protected>)
Date: 05/15/00

Bjorn Sodergren wrote:
>
> compiled apache with
> ./configure --activate-module=src/modules/auth_mysql/libauth_msyql.a \
> --prefix=/usr/local/ozzy/apache
>
> php configured with
> ./configure --with-mysql=/usr/mysql \
> --with-apxs=/usr/local/ozzy/apache/bin/apxs
>
> but i get the error that my apxs is broken.
> looking at the output of the ./configure, it says
> ./configure: /usr/local/ozzy/apache/bin/apxs: No such file or directory
> 3 times
>
> at the end it tells me to check www.php.net/FAQ.php3#4.11
> but thats not there anymore..

Yikes! That needs to be there, or somewhere. I never got
a copy.

Below are the changes that file originally suggested might need
changing. But I've seen other folks use slight variations. Don't
know if this the answer though.

M. Dearman

>
> heres the config section of the apxs file.
> ---------------------------------------------
> my $CFG_TARGET = q(httpd);
> my $CFG_CC = q(gcc);
> my $CFG_CFLAGS =
> q( -I/usr/mysql/include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-
> lite -DNO_DL_NEEDED `../apaci`);

> my $CFG_CFLAGS_SHLIB = q();
                        = q(-fpic -DSHARED-MODULE);

> my $CFG_LD_SHLIB = q();
                        = q(gcc);

> my $CFG_LDFLAGS_SHLIB = q();
                        = q(-shared);

> my $CFG_LIBS_SHLIB = q();
                        # Apparently can leave as is

> my $CFG_PREFIX = q(/usr/local/ozzy/apache);
> my $CFG_SBINDIR = q(/usr/local/ozzy/apache/bin);
> my $CFG_INCLUDEDIR = q(/usr/local/ozzy/apache/include);
> my $CFG_LIBEXECDIR = q(/usr/local/ozzy/apache/libexec);
> my $CFG_SYSCONFDIR = q(/usr/local/ozzy/apache/conf);
> -----------------------------------------------------------------------
>
> the only thing that i can think of is /usr/local is a symbolic link to /usr
>
> any ideas ??
> thanks
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>