From owner-freebsd-gecko@FreeBSD.ORG Fri Jun 17 16:47:19 2011 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B12B106566C for ; Fri, 17 Jun 2011 16:47:19 +0000 (UTC) (envelope-from rnejdl@ringofsaturn.com) Received: from tethys.ringofsaturn.com (tethys.ringofsaturn.com [71.252.219.43]) by mx1.freebsd.org (Postfix) with ESMTP id 09CD28FC13 for ; Fri, 17 Jun 2011 16:47:18 +0000 (UTC) Received: from ASSP.nospam (tethys [71.252.219.43]) (authenticated bits=0) by tethys.ringofsaturn.com (8.14.4/8.14.4) with ESMTP id p5HGlIjt082926 for ; Fri, 17 Jun 2011 11:47:18 -0500 (CDT) (envelope-from rnejdl@ringofsaturn.com) Received: from mail.ringofsaturn.com ([71.252.219.43] helo=mail.ringofsaturn.com) by ASSP.nospam with ESMTP (ASSP 1.9.1.0); 17 Jun 2011 11:47:17 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 17 Jun 2011 11:47:17 -0500 From: Rusty Nejdl To: Mail-Reply-To: In-Reply-To: References: Message-ID: X-Sender: rnejdl@ringofsaturn.com User-Agent: Roundcube Webmail/0.6-svn X-Assp-Intended-For-IP: 71.252.219.43 X-Assp-Passing: authenticated X-Assp-ID: ASSP.nospam (m-30832-03440) X-Assp-Version: 1.9.1.0(1.0.01) Cc: gecko@freebsd.org Subject: Re: Issues building Lightspark that links to jmorecfg.h X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rnejdl@ringofsaturn.com List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2011 16:47:19 -0000 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