Thanks Louie! You rock! I can get a ./configure to work now, BUT (ack!) it
bombs on the make now :( here's the output: (The next message will be the
configure output in case it's needed)

Making all in Zend
make[1]: Entering directory `/root/php-4.1.1/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/php-4.1.1/Zend'
Making all in main
make[1]: Entering directory `/root/php-4.1.1/main'
make[2]: Entering directory `/root/php-4.1.1/main'
make[2]: Nothing to be done for `all-p'.
make[2]: Leaving directory `/root/php-4.1.1/main'
make[1]: Leaving directory `/root/php-4.1.1/main'
Making all in ext
make[1]: Entering directory `/root/php-4.1.1/ext'
Making all in mysql
make[2]: Entering directory `/root/php-4.1.1/ext/mysql'
make[3]: Entering directory `/root/php-4.1.1/ext/mysql'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.1.1/ext/mysql'
make[2]: Leaving directory `/root/php-4.1.1/ext/mysql'
Making all in pcre
make[2]: Entering directory `/root/php-4.1.1/ext/pcre'
Making all in pcrelib
make[3]: Entering directory `/root/php-4.1.1/ext/pcre/pcrelib'
make[4]: Entering directory `/root/php-4.1.1/ext/pcre/pcrelib'
make[4]: Nothing to be done for `all-p'.
make[4]: Leaving directory `/root/php-4.1.1/ext/pcre/pcrelib'
make[3]: Leaving directory `/root/php-4.1.1/ext/pcre/pcrelib'
make[3]: Entering directory `/root/php-4.1.1/ext/pcre'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.1.1/ext/pcre'
make[2]: Leaving directory `/root/php-4.1.1/ext/pcre'
Making all in posix
make[2]: Entering directory `/root/php-4.1.1/ext/posix'
make[3]: Entering directory `/root/php-4.1.1/ext/posix'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.1.1/ext/posix'
make[2]: Leaving directory `/root/php-4.1.1/ext/posix'
Making all in session
make[2]: Entering directory `/root/php-4.1.1/ext/session'
make[3]: Entering directory `/root/php-4.1.1/ext/session'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.1.1/ext/session'
make[2]: Leaving directory `/root/php-4.1.1/ext/session'
Making all in standard
make[2]: Entering directory `/root/php-4.1.1/ext/standard'
make[3]: Entering directory `/root/php-4.1.1/ext/standard'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.1.1/ext/standard'
make[2]: Leaving directory `/root/php-4.1.1/ext/standard'
Making all in xml
make[2]: Entering directory `/root/php-4.1.1/ext/xml'
Making all in expat
make[3]: Entering directory `/root/php-4.1.1/ext/xml/expat'
make[4]: Entering directory `/root/php-4.1.1/ext/xml/expat'
make[4]: Nothing to be done for `all-p'.
make[4]: Leaving directory `/root/php-4.1.1/ext/xml/expat'
make[3]: Leaving directory `/root/php-4.1.1/ext/xml/expat'
make[3]: Entering directory `/root/php-4.1.1/ext/xml'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.1.1/ext/xml'
make[2]: Leaving directory `/root/php-4.1.1/ext/xml'
make[1]: Leaving directory `/root/php-4.1.1/ext'
Making all in sapi
make[1]: Entering directory `/root/php-4.1.1/sapi'
Making all in apache
make[2]: Entering directory `/root/php-4.1.1/sapi/apache'
make[3]: Entering directory `/root/php-4.1.1/sapi/apache'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/php-4.1.1/sapi/apache'
make[2]: Leaving directory `/root/php-4.1.1/sapi/apache'
make[1]: Leaving directory `/root/php-4.1.1/sapi'
Making all in TSRM
make[1]: Entering directory `/root/php-4.1.1/TSRM'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/php-4.1.1/TSRM'
Making all in regex
make[1]: Entering directory `/root/php-4.1.1/regex'
make[2]: Entering directory `/root/php-4.1.1/regex'
make[2]: Nothing to be done for `all-p'.
make[2]: Leaving directory `/root/php-4.1.1/regex'
make[1]: Leaving directory `/root/php-4.1.1/regex'
Making all in .
make[1]: Entering directory `/root/php-4.1.1'
/bin/sh /root/php-4.1.1/libtool --silent --mode=link
gcc  -I. -I/root/php-4.1.1/ -I/root/php-4.1.1/main -I/root/php-4.1.1 -I/usr/
local/apache/include -I/root/php-4.1.1/Zend -I/usr/local/mysql/include -I/ro
ot/php-4.1.1/ext/xml/expat  -DLINUX=22 -DUSE_HSREGEX -DSHARED_CORE -I/root/p
hp-4.1.1/TSRM -g -O2 -prefer-pic   -o libphp4.la -rpath
/root/php-4.1.1/libs -avoid-version -L/usr/local/mysql/lib  -R
/usr/local/mysql/lib stub.lo  Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la regex/libregex.la ext/mysql/libmysql.la ext/pcre/libpcre.la
ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la
ext/xml/libxml.la
TSRM/libtsrm.la -lpam -ldl -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lr
esolv -lcrypt
stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/root/php-4.1.1'
make: *** [all-recursive] Error 1




"Louie Miranda" <[EMAIL PROTECTED]> wrote in message
024f01c1949c$36b40120$2601a8c0@nocras">news:024f01c1949c$36b40120$2601a8c0@nocras...
> > If you compile your php w/mod_so support, hm. it should work
> > but anyway, just try to compile it again if u have time.
>
> i mean apache :) sorry..
>
> ----- Original Message -----
> From: "louie miranda" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 04, 2002 5:17 AM
> Subject: Re: [PHP] APXS problem with compile. Please help :)
>
>
> > Hi, try to check if apxs is present in your $apache/bin/ directory.
> >
> > "The output of /usr/local/apache/bin/apxs follows
> > ./configure: /usr/local/apache/bin/apxs: bad interpreter: No such file
or
> > directory
> > configure: error: Aborting"
> >
> > If you compile your php w/mod_so support, hm. it should work
> > but anyway, just try to compile it again if u have time.
> >
> > by..
> >
> >
>
./configure --prefix=/usr/apachel --enable-module=all --enable-shared=max --
> > enable-module=so --enable-rule=SHARED_CORE
> >
> > that should enable it again.. :)
> >
> >
> >
> >
> > Louie
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Stephen Loeckle" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Friday, January 04, 2002 4:29 AM
> > Subject: [PHP] APXS problem with compile. Please help :)
> >
> >
> > > I am having a problem compiling the php module for apache. I have
> mod_so.c
> > > enabled:
> > >
> > > Compiled-in modules:
> > >   http_core.c
> > >   mod_so.c
> > > suexec: disabled; invalid wrapper bin/suexec
> > >
> > > I don't understand the last line though. Hopefully it's not a a
problem.
> > >
> > > I am running perl 5.6.1 freshly downloaded and compiled from cpan.
> > >
> > > Here are the results of the module compile:
> > >
> > > [root@lmfile php-4.1.0]#
> > >
> >
>
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/m
> > > ysql
> > > loading cache ./config.cache
> > > checking for a BSD compatible install... (cached) /usr/bin/install -c
> > > checking whether build environment is sane... yes
> > > checking whether make sets ${MAKE}... (cached) yes
> > > checking for working aclocal... found
> > > checking for working autoconf... found
> > > checking for working automake... found
> > > checking for working autoheader... found
> > > checking for working makeinfo... found
> > > checking whether to enable maintainer-specific portions of
Makefiles...
> no
> > > checking host system type... i686-pc-linux-gnu
> > > checking for gawk... (cached) gawk
> > > checking for bison... (cached) bison -y
> > > checking bison version... 1.28 (ok)
> > > checking for gcc... (cached) gcc
> > > checking whether the C compiler (gcc  ) works... yes
> > > checking whether the C compiler (gcc  ) is a cross-compiler... no
> > > checking whether we are using GNU C... (cached) yes
> > > checking whether gcc accepts -g... (cached) yes
> > > checking how to run the C preprocessor... (cached) gcc -E
> > > checking for AIX... no
> > > checking for gcc option to accept ANSI C... (cached) none needed
> > > checking for ranlib... (cached) ranlib
> > > checking whether gcc and cc understand -c and -o together... (cached)
> yes
> > > checking whether ln -s works... (cached) yes
> > > checking for flex... (cached) flex
> > > checking for yywrap in -lfl... (cached) yes
> > > checking lex output file root... (cached) lex.yy
> > > checking whether yytext is a pointer... (cached) yes
> > > checking for working const... (cached) yes
> > > checking for pthreads_cflags... (cached) -pthread
> > > checking for pthreads_lib... (cached)
> > >
> > > Configuring SAPI modules
> > > checking for AOLserver support... no
> > > checking for Apache module support via DSO through APXS...
> > >
> > > Sorry, I was not able to successfully run APXS.  Possible reasons:
> > >
> > > 1.  Perl is not installed;
> > > 2.  Apache was not compiled with DSO support (--enable-module=so);
> > > 3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
> > > The output of /usr/local/apache/bin/apxs follows
> > > ./configure: /usr/local/apache/bin/apxs: bad interpreter: No such file
> or
> > > directory
> > > configure: error: Aborting
> > >
> > > I seen lots of messages about people having problems with this, but I
> have
> > > only seen one post with the 'bad interpreter' problem with no
> resolution.
> > > Any ideas?
> > >
> > > Any help is much appreciated,
> > > Stephen
> > >
> > > P.S. Get the same from php 4.1.1 as well....
> > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> > >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to