Issues building Lightspark that links to jmorecfg.h
Rusty Nejdl
rnejdl at ringofsaturn.com
Fri Jun 17 16:47:19 UTC 2011
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
More information about the freebsd-gecko
mailing list