Date: 06/01/99
- Next message: Andrey Zmievski: "Re: [PHP-DEV] 3.0.9 && PCRE"
- Previous message: Jim Winstead: "Re: [PHP-DEV] new 3.0.9 tarball"
- In reply to: Jim Winstead: "Re: [PHP-DEV] new 3.0.9 tarball"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Perhaps this is a redhat problem. I haven't tried it on linux as an apxs before,
I went back and tried 3.0.8 and it doesn't work either... I've tried 3.0.9 with
various ordering of pcrelib and on both I tried with no other modules enabled
for bare minimum linking. The only platform I have php compiled with apxs yet is
Mac OSXS, so I'll try that one tomorrow morning. So it seems like this might be
an apache problem on redhat 6 (perhaps other linuxes).
My sparc has been ill lately, I'm not overly worried that it doesn't work there,
but I'll try and play with it some more.
Jim Winstead wrote:
> Also, for what it's worth, I was able to get an apxs build to
> compile successfully, but I don't have a way to test such a build
> right now. Perhaps something didn't get cleaned up between builds?
>
> I think the -Kpic option must come from apxs (which gets it from
> perl, I believe), as I don't see where we have that defined anywhere.
>
> I seem to recall a bug report about the -Kpic thing. Perhaps
> there's more info there. I'm not very familiar with Solaris,
> unfortunately.
>
> Jim
>
> On Jun 01, Chad Cunningham wrote:
> > apxs doesn't seem to be working to well, it fails when linking. Compiles
> > and installs cleanly as a module and bianary, so it's not a linking
> > problem. I tried on Solaris7 and RedHat6. Solaris also gives me errors
> > about -Kpic being an invalid option, I've not seen that flag when compiling
> > before. Below is the output from the linux box.
> >
> > gcc -DLINUX=2 -DUSE_HSREGEX -I/home/web/apache/include -c mod_php3.c
> > -o libphp3.so mod_php3.o pcrelib/libpcre.a -lttf -lgd -lpam -lm -ldl
> > -lcrypt -
> > lnsl -lresolv libmodphp3-so.a pcrelib/libpcre.a -rpath /opt/mysql/lib/mysql
> > -L/u
> > sr/local/lib -L/opt/mysql/lib/mysql -L/usr/lib/pgsql -lmysqlclient -lpq
> > -laspell
> > -lz -lgdbm
> > apxs:Break: Command failed with rc=16711680
> > make: *** [libphp3.so] Error 1
> >
> >
> > Jim Winstead wrote:
> >
> > > I fixed the problem with the new PCRE support and the various
> > > --with-apache possibilities (as well as --with-shared-apache,
> > > and maybe --with-apxs).
> > >
> > > The tarball is at http://www.php.net/~jimw/php-3.0.9.tar.gz
> > >
> > > Success and failure stories still appreciated, particularly if you
> > > use --with-apxs or --with-shared-apache, or --with-apache with
> > > Apache 1.2.x.
> > >
> > > And to be clear, my target for releasing this is Thursday, June 3,
> > > sometime late in the day, probably (and I'm at GMT-7 -- US Pacific
> > > time, so do the math to figure out when that is for you).
> > >
> > > Jim
> > >
> > > --
> > > 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>
> >
> > --
> >
> > Chad Cunningham
> > ccunning <email protected>
> >
> >
--Chad Cunningham ccunning <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>
- Next message: Andrey Zmievski: "Re: [PHP-DEV] 3.0.9 && PCRE"
- Previous message: Jim Winstead: "Re: [PHP-DEV] new 3.0.9 tarball"
- In reply to: Jim Winstead: "Re: [PHP-DEV] new 3.0.9 tarball"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

