Closed Bug 233097 Opened 21 years ago Closed 21 years ago

error 'cannot execute .' from startup script

Categories

(SeaMonkey :: General, defect)

DEC
OSF/1
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 233153

People

(Reporter: jim.brown, Unassigned)

References

Details

User-Agent:       
Build Identifier: Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.7a) Gecko/20040204

mozilla startup script run-mozilla.sh (line 345) no longer locates the mozilla
application when mozilla is run from other than its own directory.  If I run
/usr/local/mozilla-1.5/mozilla from my home directory /usr/users/jim then I get
this error.  If I 'cd /usr/local/mozilla-1.5' then ./mozilla will successfully
start mozilla.

This began with trunk builds on 040204.  Trunk builds on 040203 are OK.
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Here is output from a failed attempt:

guanabana% mozilla
moz_libdir=/usr/local/lib/mozilla-1.7a
MRE_HOME=/usr/local/lib/mre/mre-1.7a
+ [ -n  ] 
found=0
progname=/usr/local/mozilla-1.5/mozilla
+ dirname /usr/local/mozilla-1.5/mozilla 
curdir=/usr/local/mozilla-1.5
run_moz=/usr/local/mozilla-1.5/run-mozilla.sh
+ test -x /usr/local/mozilla-1.5/run-mozilla.sh 
dist_bin=/usr/local/mozilla-1.5
found=1
+ [ 1 = 0 ] 
script_args=
moreargs=
debugging=0
MOZILLA_BIN=mozilla-bin
+ [ osf1 = beos ] 
+ [ 0 -gt 0 ] 
+ export MRE_HOME 
+ eval set --  
+ set -- 
+ moz_startstop_addon_scripts start 
MOZ_USER_DIR=.mozilla
+ [ -r /usr/local/mozilla-1.5/init.d/S* ] 
+ [ -r /usr/users/jim/.mozilla/init.d/S* ] 
+ [ 0 = 1 ] 
+ . /usr/local/mozilla-1.5/run-mozilla.sh /usr/local/mozilla-1.5/mozilla-bin 
+ basename /usr/local/mozilla-1.5/mozilla 
cmdname=mozilla
+ dirname /usr/local/mozilla-1.5/mozilla 
MOZ_DIST_BIN=/usr/local/mozilla-1.5
MOZ_DEFAULT_NAME=./mozilla-bin
MOZ_APPRUNNER_NAME=./mozilla-bin
MOZ_VIEWER_NAME=./viewer
MOZ_PROGRAM=
exitcode=0
moz_debug=0
moz_debugger=
+ [ 0 -gt 0 ] 
+ [ 0 -gt 0 ] 
+ [ -z  ] 
+ [ -x ./mozilla-bin ] 
+ [ -x ./viewer ] 
+ [ -x ./mozilla-bin ] 
+ [ ! -x  ] 
+ moz_bail Cannot execute . 
message=Cannot execute .
+ echo 

+ echo mozilla: Cannot execute . 
mozilla: Cannot execute .
+ echo 

+ exit 1 
exitcode=1
+ moz_startstop_addon_scripts stop 
MOZ_USER_DIR=.mozilla
+ [ -r /usr/users/jim/.mozilla/init.d/K* ] 
+ [ -r /usr/local/mozilla-1.5/init.d/K* ] 
+ exit 1
I cannot reproduce this on Linux. I am building on Solaris right now and check
whether there are any problems (Solaris tinderbox machines are green... I have
no clue what may go wrong here).

*** This bug has been marked as a duplicate of 233153 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
Blocks: 238360
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.