You are not logged in.

#1 2013-04-06 18:26:08

drigdrog
Member
Registered: 2010-01-12
Posts: 4

SOLVED cannot bld firefox 20 - NSPR does not support PR_STATIC_ASSERT

I am trying to build firefox 20 from abs.

When I run the build (both in a regular environment as well as in a chroot environment) I get the same error:

checking for NSPR - version >= 4.9.4... yes
configure: error: system NSPR does not support PR_STATIC_ASSERT or including prtypes.h does not provide it


Any suggestions?

Last edited by drigdrog (2013-04-07 17:43:21)

Offline

#2 2013-04-07 14:39:38

megadriver
Member
From: Spain
Registered: 2010-02-03
Posts: 58
Website

Re: SOLVED cannot bld firefox 20 - NSPR does not support PR_STATIC_ASSERT

Now you can specify CPPFLAGS in makepkg.conf, but Firefox doesn't seem to like the default ones.

Put "unset CPPFLAGS" before the "make" line in the "build" section of the PKGBUILD, and it should work.

Offline

#3 2013-04-07 17:42:34

drigdrog
Member
Registered: 2010-01-12
Posts: 4

Re: SOLVED cannot bld firefox 20 - NSPR does not support PR_STATIC_ASSERT

Thank you!! It worked - combined with a clean chroot build.

Offline

#4 2013-04-19 00:29:47

chessmaster
Member
From: Dover,DE
Registered: 2011-12-10
Posts: 30

Re: SOLVED cannot bld firefox 20 - NSPR does not support PR_STATIC_ASSERT

megadriver wrote:

Now you can specify CPPFLAGS in makepkg.conf, but Firefox doesn't seem to like the default ones.

Put "unset CPPFLAGS" before the "make" line in the "build" section of the PKGBUILD, and it should work.

Thanks this fixed my error as well *Firefox takes a long time to compile even on a core 2*


When you see a good move, wait — look for a better one.

Offline

Board footer

Powered by FluxBB