Hi. On my newly installed SuSE 8.1, I have installed Mozilla in /usr/local/mozilla. After I have made a file /etc/profile.d/mozilla.sh, that contains: PATH=$PATH:/usr/local/mozilla/mozilla But mozilla doen't start up. Where's the culprit ?. -- Erik Jakobsen
Erik Jakobsen wrote:
Hi.
On my newly installed SuSE 8.1, I have installed Mozilla in /usr/local/mozilla.
After I have made a file /etc/profile.d/mozilla.sh, that contains:
PATH=$PATH:/usr/local/mozilla/mozilla
But mozilla doen't start up.
Where's the culprit ?.
Perhaps that should have been PATH=$PATH:/usr/local/mozilla/bin JDL
On Tuesday 31 December 2002 12:54, Erik Jakobsen wrote:
Hi.
On my newly installed SuSE 8.1, I have installed Mozilla in /usr/local/mozilla.
After I have made a file /etc/profile.d/mozilla.sh, that contains:
PATH=$PATH:/usr/local/mozilla/mozilla
But mozilla doen't start up.
Where's the culprit ?.
Assuming you left the install directory as default, then you've got an extra 'mozilla' in the ststement. The PATH points to a directory, but /usr/local/mozilla/mozilla is a file, hence it fails. Try: PATH=$PATH:/usr/local/mozilla or betterstill, you could put a link to /usr/local/mozilla/mozilla into /usr/local/bin Dylan -- "Sweet moderation Heart of this nation Desert us not We are between the wars" Billy Bragg
Assuming you left the install directory as default, then you've got an extra 'mozilla' in the ststement. The PATH points to a directory, but /usr/local/mozilla/mozilla is a file, hence it fails.
Try:
PATH=$PATH:/usr/local/mozilla
That worked :-)
or betterstill, you could put a link to /usr/local/mozilla/mozilla into /usr/local/bin
How do I that Dylan ?. Happy New Year 2003. -- Erik Jakobsen
On Tuesday 31 December 2002 15:50, Erik Jakobsen wrote:
Assuming you left the install directory as default, then you've got an extra 'mozilla' in the ststement. The PATH points to a directory, but /usr/local/mozilla/mozilla is a file, hence it fails.
Try:
PATH=$PATH:/usr/local/mozilla
That worked :-)
Goog good
or betterstill, you could put a link to /usr/local/mozilla/mozilla into /usr/local/bin
How do I that Dylan ?.
Either use the ln command which is ln -s <target> <link-name> : ln -s /usr/local/mozilla/mozilla /usr/local/bin/mozilla The '-s' option is for a /soft-link/ . look at man ln for more info. OR In Konqueror, drag the file from /usr/local/mozilla to /usr/local/bin and when the menu pops up choose 'Link here' Both of those need to be done as root, of course, so you have write permission on /usr/... Then you should be able to bypass the script with the path setting in it. This is good because if you repeatedly run the script you could end up with lots of /usr/local/mozilla being added on the end. You can check that with: echo $PATH Dylan -- "Sweet moderation Heart of this nation Desert us not We are between the wars" Billy Bragg
That worked :-)
Goog good
Yes nice.
Either use the ln command which is ln -s <target> <link-name> :
ln -s /usr/local/mozilla/mozilla /usr/local/bin/mozilla
The '-s' option is for a /soft-link/ . look at man ln for more info.
Oh yes. I did not thought of it as a symbolic link to be made.
OR
In Konqueror, drag the file from /usr/local/mozilla to /usr/local/bin and when the menu pops up choose 'Link here'
Do you mean the Konqueror file manager ?.
Both of those need to be done as root, of course, so you have write permission on /usr/...
Then you should be able to bypass the script with the path setting in it. This is good because if you repeatedly run the script you could end up with lots of /usr/local/mozilla being added on the end. You can check that with:
I can se its a better way not to have this script.
echo $PATH
Thanks so much.
Dylan
-- "Sweet moderation Heart of this nation Desert us not We are between the wars" Billy Bragg
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Erik Jakobsen
In Konqueror, drag the file from /usr/local/mozilla to /usr/local/bin and when the menu pops up choose 'Link here'
Both of those need to be done as root, of course, so you have write permission on /usr/...
Then you should be able to bypass the script with the path setting in it. This is good because if you repeatedly run the script you could end up with lots of /usr/local/mozilla being added on the end. You can check that with:
echo $PATH
I did the last, as I thought it was the best. It is working nicely. Thanks again Dylan. -- Erik Jakobsen
Erik Jakobsen wrote:
Assuming you left the install directory as default, then you've got an extra 'mozilla' in the ststement. The PATH points to a directory, but /usr/local/mozilla/mozilla is a file, hence it fails.
Try:
PATH=$PATH:/usr/local/mozilla
That worked :-)
or betterstill, you could put a link to /usr/local/mozilla/mozilla into /usr/local/bin
How do I that Dylan ?.
ln -s /usr/local/mozilla/mozilla /usr/local/bin
The 02.12.31 at 13:54, Erik Jakobsen wrote:
On my newly installed SuSE 8.1, I have installed Mozilla in /usr/local/mozilla.
After I have made a file /etc/profile.d/mozilla.sh, that contains:
PATH=$PATH:/usr/local/mozilla/mozilla
But mozilla doen't start up.
Where's the culprit ?.
Simply call the script "/usr/local/mozilla/mozilla" directly. -- Cheers, Carlos Robinson
On 02.12.31 at 13:54, Erik Jakobsen wrote:
On my newly installed SuSE 8.1, I have installed Mozilla in /usr/local/mozilla.
After I have made a file /etc/profile.d/mozilla.sh, that contains:
PATH=$PATH:/usr/local/mozilla/mozilla
But mozilla doen't start up.
Where's the culprit ?.
You have too many mozilla's in your PATH. It should be PATH=$PATH:/usr/local/mozilla/ /usr/local/mozilla/mozilla is the name of the mozilla executable (actually a script, but executable all the same). Jim
Thanks to all that responded to the subject. Happy New Year 2003 -- Erik Jakobsen
participants (6)
-
Carlos E. R.
-
Dylan
-
Erik Jakobsen
-
Jim Cunning
-
John Lamb
-
p p