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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to