Closed Bug 148558 Opened 23 years ago Closed 23 years ago

/usr/local/bin/mozilla: test: argument expected

Categories

(SeaMonkey :: Build Config, defect, P2)

Sun
SunOS

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 57866
mozilla1.1beta

People

(Reporter: p.boven, Assigned: netscape)

Details

After doing a 'make install' on Solaris 8, /usr/local/bin/mozilla will not start because on line 53, 'until test $found != 0 ! -L "$progname"' fails. The /bin/sh built-in test does not support the -L function on Solaris 8 (although the manpage claims it still does, so I think this is a Solaris bug) sh$ test -L "/usr/local/bin/mozilla"; echo $? test: argument expected sh$ /usr/bin/test -L "/usr/local/bin/mozilla"; echo $? 1 Substituting /usr/bin/test in stead of test fixes the problem, but appartently /usr/local/bin/mozilla is a generated file, have to see where it comes from. (for completeness sake: I did 'gmake DESTDIR=`pwd`/fakeroot install', built a Sun package, and installed that package onto the system instead of a direct 'make install')
Argh. I thought that I had fixed that once before. Must've regressed it when I converted mozilla to mozilla.in.
Assignee: dveditz → seawood
Status: UNCONFIRMED → NEW
Component: Installer → Build Config
Ever confirmed: true
QA Contact: bugzilla → granrose
I found this problem too. I did a truss and it appears that I am missing a shell script it wants: bash-2.03# /usr/local/bin/mozilla /usr/local/bin/mozilla: test: argument expected And here is the truss: waitid(P_PID, 8972, 0xFFBEE6C8, WEXITED|WTRAPPED) = 0 stat64("/usr/local/bin/run-mozilla.sh", 0xFFBEE5E0) Err#2 ENOENT pipe() = 3 [4] fork() = 8973 close(4) = 0 read(3, " / u s r / l o c a l / b".., 128) = 15 read(3, 0xFFBEE5C8, 128) = 0 ioctl(3, TCGETA, 0xFFBEE44C) Err#22 EINVAL ioctl(3, TCGETA, 0xFFBEE4AC) Err#22 EINVAL close(3) = 0 waitid(P_PID, 8973, 0xFFBEE4A8, WEXITED|WTRAPPED) = 0 /usr/local/bin/mozillawrite(2, " / u s r / l o c a l / b".., 22) = 22 : write(2, " : ", 2) = 2 testwrite(2, " t e s t", 4) = 4 : write(2, " : ", 2) = 2 argument expectedwrite(2, " a r g u m e n t e x p".., 17) = 17 write(2, "\n", 1) = 1 llseek(0, 0, SEEK_CUR) = 1317961 _exit(1) I could not find 'run-mozilla.sh' anywhere in the source code either.
Priority: -- → P2
Target Milestone: --- → mozilla1.1beta
*** This bug has been marked as a duplicate of 57866 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
v dup.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.