Date: Fri, 17 Jun 2011 11:47:17 -0500 From: Rusty Nejdl <rnejdl@ringofsaturn.com> To: <gecko@freebsd.org> Cc: gecko@freebsd.org Subject: Re: Issues building Lightspark that links to jmorecfg.h Message-ID: <assp.0149ec037f.d51004638d0f6a68e7251626aaee7903@ringofsaturn.com> In-Reply-To: <c48732be70c4b770a45184e51823487f@ringofsaturn.com> References: <c48732be70c4b770a45184e51823487f@ringofsaturn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Jun 2011 11:08:43 -0500, Rusty Nejdl wrote:
> I am trying to build lightspark and it links to :
>
> /usr/local/include/firefox/jmorecfg.h
>
> It fails with an error of:
>
> /usr/local/include/firefox/jmorecfg.h:216:21: fatal error: prtypes.h:
> No such file or directory
>
> If I modify the above file from:
>
> #include "prtypes.h"
>
> to:
>
> #include "nspr/prtypes.h"
>
> Then lightspark compiles without issue.
>
> I am not sure where to go with this next. I am open to suggestions
> on this.
>
> Thanks!
> Rusty Nejdl
I was able to resolve this by adding these lines to my makefile:
LIB_DEPENDS+= nspr4:${PORTSDIR}/devel/nspr
CFLAGS+= -I${LOCALBASE}/include/nspr
LDFLAGS+= -lnspr4
Not sure if what firefox has is a bug or not but I'm good.
Thanks!
Rusty Nejdl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?assp.0149ec037f.d51004638d0f6a68e7251626aaee7903>
