Re: NES problem
| From: | Cary Collett | Date: | Thu, 26 Oct 2000 20:05:27 +0000 |
| Subject: | Re: NES problem | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-509@lists.php.net to get a copy of this message | ||
I used a pre-built GCC for Solaris (from sunfreeware.com). Is there
a way to get the config options from the binary?
Cary
Thus spake Tirza Doniger (donigt01@med.nyu.edu):
> One more question --could you check what your configuration options for gcc
> were?
>
> Thanks so much,
> Tirza
>
> --On Thursday, October 26, 2000 10:57 AM -0400 Cary Collett
> <cary@ratatosk.org> wrote:
>
> > Tirza,
> >
> >
> > The NES module definitely needs threads since NES is threaded (at least
> > that is how I understand it.)
> >
> > My configure options were:
> > --prefix=/netscape/web/php4 --with-nsapi=/netscape/NES4 \
> > --with-mysql=/b/mysql/server --enable-track-vars --disable-short-tags \
> > --enable-libgcc
> >
> > I checked my config.log and there are several instances of it looking
> > for a pthread library. This is fine assuming it finds one eventually.
> > I'm on a Solaris 2.6 box and it looks like after about 4 tries it
> > found the right combination of flags to get pthreads working.
> > Also, I am using NES 4.1. I was having troubles getting it to go with
> > NES 3.63. Though this may not be an option for you financially.
> >
> > In general, configure just tries various known implementations of
> > things it is looking for until it finds one that works and then uses
> > that information when it builds the Makefiles. So check your config.log
> > and see if you find the successful attempt and compiling the conftest.c
> > with threads.
> >
> > Since it is at least building successsfully I'm guessing it is figuring
> > out threads on OSF.
> >
> > It's really unfortunate that the developers pretty much ignore issues
> > on NES as well as less popular platforms. Using NES and Digital Unix
> > both you are getting a double whammy.
> >
> >
> > Cary
> >
> > Thus spake Tirza Doniger (donigt01@med.nyu.edu):
> >
> >> I tried what you said about lpthread, but it cannot be found!! Maybe I
> >> compiled gcc incorrectly. I don't have pthread library! Do you know if
> >> the nsapi module needs thread support? -(maybe that is why it is why
> >> the server keeps crashing when I restart it. ) What did your configure
> >> file for PHP look like? Was pthread a parameter for gcc?
> >>
> >> I'll let you know if I get it working. I'm closer than I've been in a
> >> long time...
> >>
> >> Thanks so much,
> >> Tirza
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-install-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
>
> -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> Tirza Doniger
> Research Computing Resource
> NYU Medical School
> Systems Manager
> MSB 174/183
> email:donigt01@med.nyu.edu phone:212-263-7135 fax:212-263-8542
> -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*--*-*-*-
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Cary Collett cary@ratatosk.org
http://cary.ratatosk.org/
"To me boxing is like ballet, except that there's no music, no choreography,
and the dancers hit eachother." -- Jack Handy