Closed Bug 1001 Opened 26 years ago Closed 26 years ago

Build bombs because detect_motif.sh returns "/usr/include"

Categories

(SeaMonkey :: Build Config, defect, P4)

x86
Linux

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jhartzog, Assigned: ramiro)

Details

Since my Xm.h is /usr/include/Xm/Xm.h, mozilla/config/mkdetect/detect_motif.sh returns /usr/include, which is then put before the build specific includes which ends up including /usr/include/ndbm.h rather than mozilla/dbm/include/ndbm.h. I'm just getting started with Mozilla so I don't know The Right Way to fix this yet but I would suggest either making detect_motif.sh return anything but /usr/include or reordering the includes so this comes after the build specific includes. My kludge was just to make detect set MOTIF_INCLUDE_DIR="", which works for me. My last CVS update was 2 Oct 1998.
Assignee: briano → ramiro
I don't know what to suggest, except maybe adding a symlink under /usr/X11R6/include pointing to Xm. Ramiro, what do you think? What about adding more possible locations (/usr/include/X11 seems like a reasonable place for Xm, to me anyway)? Anyway, reassigning to Ramiro.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Thats what MOZILLA_MOTIF_INCLUDE_SEARCH_PATH is for: export MOZILLA_MOTIF_INCLUDE_SEARCH_PATH="" should solve your problem without having to hack detect_motif.sh. The real fix is to rename the dbm files so as not to conflict with the "native" ones. Marking fixed.
Status: RESOLVED → VERIFIED
marking verified against old code base
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.