On Mit, 2006-02-08 at 19:32 +0000, Alan Lord wrote: 
> When I get to OOo is where the trouble starts...
> 
> OOo needs imake :-(

OOo doesn't strictly require imake. IIRC it's just NAS which requires
xmkmf and imake. I can certainley build OOo 2.0.1 (using
ooo-build-2.0.1) without xmkmf and imake when disabling NAS.

> 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. Now I can't for the life
> of me work out why it can't find it. During configure, it correctly sets
> a couple of env vars: Here's the relevant output from configure:
> 
> ======================configure.log=============================
> > checking whether to enable build of Mozilla/Mozilla NSS-using components... 
> > no
> > checking whether to build Mozilla addressbook connectivity... no
> > checking whether to build XML Security support... no, since Mozilla (NSS) 
> > disabled but needed
> > checking whether to build LDAP configuration backend... no. Either Mozilla 
> > or OpenLDAP needed.
> > checking which mozilla to use... external
> > checking whether to use Mozilla or Firefox... Firefox
> > checking for firefox-xpcom ... yes
> > 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  
> > checking for PK11_GetCertFromPrivateKey in -lnss3... yes
> > checking which sane header to use... internal
> > checking for X... libraries /usr/X11R7/lib, headers /usr/X11R7/include
> =======================end configure snippet==================

Well, yes, it finds nss but it doesn't look for nspr. That's a bug in
the upstream sources. Patch is available in ooo-build[1]

BTW: Standalone nss patch is available in ooo-build[2], too

> Seeing as I specifically disabled mozilla in the configure command I am
> surprised it is even going here but there you go... I have set
> CPPFLAGS="-I/usr/include/nspr" as well but that doesn't seem to make any
> difference. *It's funny but inside this mozilla package, the
> -I/usr/include/nspr dissapears although it shows up during most of the
> previous package builds - could this be a clue???*
> 

Disabling mozilla doesn't disable all nss/nspr using projects, it only
disables mozilla addressbook support for mail merge or something like
that, IIRC.

HTH,

Jürg


[1] 
http://cvs.gnome.org/viewcvs/*checkout*/ooo-build/patches/src680/buildfix-system-nspr-m112.diff?rev=1.1
[2] 
http://cvs.gnome.org/viewcvs/*checkout*/ooo-build/patches/src680/buildfix-system-nss.diff?rev=1.2
-- 
Jürg Billeter <[EMAIL PROTECTED]>

--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to