Closed Bug 91740 Opened 24 years ago Closed 24 years ago

path for perl files is hard coded

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: rumstich, Assigned: cls)

Details

Attachments

(1 file)

11.58 KB, application/octet-stream
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.2+) Gecko/20010624 BuildID: 20010721 Since a while (I think since I upgraded to a new version of Suse 7.2), which comes with 2.95.3 instead of 2.95.2) I am unable to compile Mozilla anymore. I get a message which seems to tell me, that mozilla tries to start some Perl scripts from a hardcoded directory instead of the one I have Mozilla installed. I also had this problem when I first tested gcc3.0 on my old system, so it might be something with the gcc, although I am not sure why, since make just searches in the wrong dir. Reproducible: Always Steps to Reproduce: 1. go to a system with 2.95.3 2. install mozilla sources in a dir different from /opt/mozilla 3. "make distclean" (in case you are using an older tree) 4../configure --enable-strip-libs --enable-optimize --disable-debug --disable-pedantic (thats my options...) 5. make Actual Results: [...] Creating .deps_S make[2]: Leaving directory `/home/jur/projects/mozilla/modules/libreg/standalone' make[1]: Leaving directory `/home/jur/projects/mozilla/modules/libreg' make[1]: Entering directory `/home/jur/projects/mozilla/js' make[2]: Entering directory `/home/jur/projects/mozilla/js/src/fdlibm' Creating .deps ../../../config/nsinstall -R -m 444 fdlibm.h ../../../dist/include make[2]: Leaving directory `/home/jur/projects/mozilla/js/src/fdlibm' make[2]: Entering directory `/home/jur/projects/mozilla/js/src' Creating .deps /usr/bin/perl /opt/mozilla//config/build-list.pl ../../config/final-link-libs mozjs Can't open perl script "/opt/mozilla//config/build-list.pl": make[2]: *** [export] Error 2 make[2]: Leaving directory `/home/jur/projects/mozilla/js/src' make[1]: *** [export] Error 2 make[1]: Leaving directory `/home/jur/projects/mozilla/js' make: *** [export] Error 2 (Datei oder Verzeichnis nicht gefunden = file of directory not found) Expected Results: the scripts should be searched in the right directory and compile the sourcecode just fine System = Suse7.2 gcc = 2.95.3 If you want more infos, just tell me
GNU Make version 3.79.1
Status: UNCONFIRMED → NEW
Ever confirmed: true
Please attach: .mozconfig config/autoconf.mk config.log config.cache a log of the output of the original 'make distclean'
Attached file wanted files as .zip
christopher: i added the wanted files as .zip-file. it should be easy for you to uncompress it. there was no ".mozconfig" file, only .mozconfig.mk and .mozconfig.out. I removed the leading point from the name, since I wasn't sure, what other OS would do with it... > a log of the output of the original 'make distclean' I don't know, how to create this now, sorry hope this helps...
Well, the reason that I wanted the 'make distclean' output was to see if it successfully removed all of the old cache files and such. Everything looks right. Do you have MOZILLA_DIR set in your environment? The line in config/rules.mk that your build is failing on is : @$(PERL) $(MOZILLA_DIR)/config/build-list.pl $(FINAL_LINK_COMPS) $(LIBRARY_NAME) If you have MOZILLA_DIR set, you should unset it. We do not automatically override the envirnoment setting as it is used in Netscape builds.
christopher: yes, I just found that I have this MOZILLA_DIR variable set. Looks like after unsetting it Mozilla compiles fine :-) Should this bug be marked invalid, since it is no real Mozilla bug? I guess I have not the permissions on this account to do so...
Yep, marking invalid.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
verified invalid.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: