On Fri, May 9, 2014 7:57 am, Mike Wilkes wrote:
>
> Downloading the packages with dpkg manually did the trick, and the old G4
> is off and running againÂ…slowly, but surely. Thanks one more time!
> Now, a couple more problems. I wanted to install "firefox" on both the old
> G4 ppc running 10.5.8, and my MacBook Pro running 10.8.5.  Why?  Simply so
> I could read the xfig users manual from inside xfig, which apparently
> needs a binary of firefox to define the browser in its Fig file.
> Firefox installed without problems on the G4, but did not create a binary
> /sw/bin/firefox.  To do that it appears I need to run an executable script
> /sw/lib/firefox3/firefox

You want the package 'firefox', which will install the convenience link
"/sw/bin/firefox".

> , which is executable by all. Here are a few lines
> of information, and showing what happens when I try to execute it:
> g4ppc:firefox3 mikeppc$ pwd/sw/lib/firefox3
> g4ppc:firefox3 mikeppc$ ls -al firefox-rwxr-xr-x  1 root  admin  3904 May
> 8 12:31 firefox
> g4ppc:firefox3 mikeppc$ file firefoxfirefox: Bourne shell script text
> executable
> g4ppc:firefox3 mikeppc$ firefox-bash: firefox: command not found
> Then I tried to execute with . firefox:
> g4ppc:firefox3 mikeppc$ . firefoxdirname: illegal option -- busage:
> dirname pathbasename: illegal option -- busage: basename string [suffix]
>     basename [-a] [-s suffix] string [...]
> run-mozilla.sh: Cannot execute /sw/lib/firefox3/-bin.
>
> [Process completed]
> At this point Terminal hangs, I can't return to the shell (after trying
> every ctrl- command I could think of, ctrl-D, ctrl-Z, ctrl-C, ctrl-\), and
> have to close Terminal.  I unfortunately know very little about shell
> programming (or any other kind of programming for that matter), so I am
> now stuck with regard to G4.

Running ". firefox" just caused the shell to try to enter the contents of
the script into its environment, which at some point included a terminate
command, which led to the '[Process completed]' message.  At that point,
that particular shell was stopped and can not be restarted.  Apple's
terminal by default doesn't close the window when a shell stops (there's
an option in the preferences to "close the window if the shell exits
cleanly).  That's all academic, however, since once the pkg 'firefox' is
installed, you should be able to just run 'firefox' (meaning
/sw/bin/firefox).

> Then, I tried installing firefox(8) on my MacBook Pro, again so I could
> read the xfig users manual on it from inside xfig.  This resulted in the
> following errors:
> 2 errors generated.make[6]: *** [nsDBusHandlerApp.o] Error 1make[6]:
> Leaving directory
[snip]
> Also include the following system information:Package manager version:
> 0.36.4.1Distribution version: selfupdate-rsync Thu May  8 08:31:22 2014,
> 10.8, x86_64Trees: local/main stable/main unstable/mainXcode.app:
> 5.1.1Xcode command-line tools: 5.0.1.0.1.1377666378Max. Fink build jobs:

Your Xcode.app and commandline tools are out of sync.  You need to update
the commandline tools from within the xcode.app bundle (or download from
https://developer.apple.com/downloads/).

Hanspeter

-- 
More agile than a turtle, stronger than a mouse, nobler than a lettuce


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to