You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1998/05/26 02:39:41 UTC

apache-nspr-07

http://www.arctic.org/~dgaudet/apache/2.0/apache-nspr-07.tar.gz

The main change here is a merge with the last 6 weeks or so of apache 1.3
development. 

I think I also put some more thoughts into the various README files... 
One of them includes thoughts on how to abstract the pathname
manipulations we do.

Still not ready for prime-time. 

Dean



Re: apache-nspr-07

Posted by Dean Gaudet <dg...@arctic.org>.
Actually the below works without the -static as well... the -static is
there because I haven't fixed my gdb/ld.so combo on my linux box so that I
can set breakpoints and step into shared libraries.  I forgot it was still
sticking around. 

Dean

On Tue, 26 May 1998, Dean Gaudet wrote:

> On Tue, 26 May 1998, Mark J Cox wrote:
> 
> > Then make sure the libnspr21.so library is on the load path:
> > 
> > setenv LD_LIBRARY_PATH /work/mark/ns/dist/Linux2.0.29_x86_DBG.OBJ/lib
> 
> You don't need this if you use something like this:
> 
> EXTRA_LDFLAGS=-g -Wl,-Map -Wl,httpd.map -Wl,-rpath -Wl,/home/dgaudet/nsprlink/lib -static
> EXTRA_LIBS=-L/home/dgaudet/nsprlink/lib -lnspr21 -ldl
> 
> The -rpath embeds the path so you don't need LD_LIBRARY_PATH. 
> 
> I've got a symlink at /home/dgaudet/nsprlink which points to the version
> of nspr I'm using...  makes it easier to switch between debugging and
> optimized versions (or the pthreads version).
> 
> I suppose at some point a readme would be in order.
> 
> Dean
> 
> P.S. Mark you sent me that status patch before didn't you?  I guess I
> forgot it sorry, probably buried in my inbox... I had 10k messages to
> deal with when I got back.
> 
> 


Re: apache-nspr-07

Posted by Dean Gaudet <dg...@arctic.org>.
On Tue, 26 May 1998, Mark J Cox wrote:

> Then make sure the libnspr21.so library is on the load path:
> 
> setenv LD_LIBRARY_PATH /work/mark/ns/dist/Linux2.0.29_x86_DBG.OBJ/lib

You don't need this if you use something like this:

EXTRA_LDFLAGS=-g -Wl,-Map -Wl,httpd.map -Wl,-rpath -Wl,/home/dgaudet/nsprlink/lib -static
EXTRA_LIBS=-L/home/dgaudet/nsprlink/lib -lnspr21 -ldl

The -rpath embeds the path so you don't need LD_LIBRARY_PATH. 

I've got a symlink at /home/dgaudet/nsprlink which points to the version
of nspr I'm using...  makes it easier to switch between debugging and
optimized versions (or the pthreads version).

I suppose at some point a readme would be in order.

Dean

P.S. Mark you sent me that status patch before didn't you?  I guess I
forgot it sorry, probably buried in my inbox... I had 10k messages to
deal with when I got back.


Re: apache-nspr-07

Posted by Mark J Cox <ma...@awe.com>.
> I'm obviously being thick-headed here, but what must one do to get
> apache-nspr to compile?  I'm running Linux (RH50), and have an up to
> date checkout of the mozilla CVS tree.

You need to get nspr to compile first.  I had one I prepared earlier for
Mozilla Crypto Group stuff.  I just started it compiling following the
instructions in "unxbuild.txt" (gmake -k nsrpub should to it, I did a full
gmake -k which stopped about halfway through when it ran out of disk
space) 

My netscape source tree lives in /work/mark/ns so my final path to the
libraries was /work/mark/ns/dist/Linux2.0.29_x86_DBG.OBJ/lib

Then to get apache-nspr to compile edit src/Configuration to say something
like this: 

EXTRA_CFLAGS=-DNSPR -DDEBUG
EXTRA_LDFLAGS=
EXTRA_LIBS=-L/work/mark/ns/dist/Linux2.0.29_x86_DBG.OBJ/lib  -lnspr21
EXTRA_INCLUDES=-I/work/mark/ns/dist/Linux2.0.29_x86_DBG.OBJ/include

Then make sure the libnspr21.so library is on the load path:

setenv LD_LIBRARY_PATH /work/mark/ns/dist/Linux2.0.29_x86_DBG.OBJ/lib

Then ./Configure, make and run as normal. I've only compiled apache-nspr
for Linux ELF and Linux glibc so far.

Mark




Re: apache-nspr-07

Posted by "James H. Cloos Jr." <cl...@jhcloos.com>.
I'm obviously being thick-headed here, but what must one do to get
apache-nspr to compile?  I'm running Linux (RH50), and have an up to
date checkout of the mozilla CVS tree.

Perhaps all I need is a list of the contents of your nsprlink directory?

Thanks.

-JimC
-- 
James H. Cloos, Jr.
<cl...@jhcloos.com>

Re: apache-nspr-07

Posted by Mark J Cox <ma...@awe.com>.
> http://www.arctic.org/~dgaudet/apache/2.0/apache-nspr-07.tar.gz

When going through this stuff I've found it useful to be able to see what
each of the threads is doing.  So here's a patch that enables the status
module against Dean's apache-nspr-07

Mark