Closed Bug 301659 Opened 19 years ago Closed 19 years ago

Building --with-system-nspr triggers a bug in gfx/src/gtk/Makefile.in

Categories

(Firefox Build System :: General, defect)

1.0 Branch
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 291898

People

(Reporter: mi+mozilla, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (compatible; Konqueror/3.4; FreeBSD; X11; amd64) KHTML/3.4.1 (like Gecko)
Build Identifier: 

Now that the modern nsprpub is released standalone, I tried to build Firefox 
with it (so that libnspr4 and others can be shared between Firefox, Mozilla, 
GAIM, etc.) 
 
Interestingly, the build failed in gfx/src/gtk (with GTK2 enabled), because the 
linker could not find -lgfxshared_s. Indeed, the library is only available 
through ../../../dist/lib, which is not part of $MOZ_COMPONENT_LIBS, when nspr 
is already installed. 
 
This may be difficult to understand, just look at the simple patch, I'm 
attaching. 

Reproducible: Always

Steps to Reproduce:
1. Install nspr-6, png, jpeg, etc. 
2. configure --with-system-nspr --with-system-png ... 
3. build 
 
Actual Results:  
Can not find -lgfxshared_s 

Expected Results:  
Successful build.
This was fixed on the CVS trunk over a year ago.  What source tree are you using?
=This was fixed on the CVS trunk over a year ago.  What source tree are you   
using?   
   
The "latest and greatest" Firefox-1.0.6.   
   
BTW, while we are at it, I'd like to be able to build it --with-system-nss  
too :-) 
 
Thanks! 
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: FreeBSD → All
Version: unspecified → 1.0 Branch

*** This bug has been marked as a duplicate of 291898 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: