On 2/8/06, Alan Lord <[EMAIL PROTECTED]> wrote: > > I had built Firefox using Randy's new method of the system NSS/NSPR > libraries. During the OO build it barfs because it can't find > "prtypes.h" which resides in /usr/include/nspr.
<snip> > > checking MOZILLAXPCOM_CFLAGS... -I/usr/include/firefox-1.5 > > -I/usr/include/firefox-1.5/xpcom -I/usr/include/firefox-1.5/string > > -I/usr/include/nspr > > checking MOZILLAXPCOM_LIBS... -L/usr/lib/firefox-1.5 -lxpcom -lplds4 -lplc4 > > -lnspr4 -lpthread -ldl > > checking for firefox-nss ... yes > > checking MOZ_NSS_CFLAGS... -I/usr/include/nss -I/usr/include/nspr > > checking MOZ_NSS_LIBS... -lnss3 -lsmime3 -lssl3 -lsoftokn3 -lplds4 -lplc4 > > -lnspr4 -lpthread -ldl <snip> > Making: ../../../../../../../../../unxlngi6.pro/slo/npunix.obj > gcc -Wreturn-type -fmessage-length=0 -c -I. > -I/usr/include/firefox-1.5/nspr -I/usr/include/firefox-1.5/java > -I/usr/include/firefox-1.5/plugin -I../inc <snip> > In file included from npunix.c:19: > /usr/include/firefox-1.5/plugin/npapi.h:51:21: error: prtypes.h: No such > file or directory Obviously, the problem here is that it's not putting the correct include dir in here. I haven't tried to build OO at all, so I don't know how the build system works. However, Juerg has a seemingly working OO with X11R7, system NSS/NSPR and firefox on paldo. See the package and spec here: http://www.paldo.org/index.php?section=packages&page=main&releaseid=26518 One thing I did notice is that he builds xmlsec separately and patches it to use the system NSS/NSPR. I don't know what's in the patch. Maybe you can glean some clues from there. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page