The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   UNIX - General (http://hintsforums.macworld.com/forumdisplay.php?f=16)
-   -   Netscape on Xfree86 (http://hintsforums.macworld.com/showthread.php?t=89)

xchanyazy 01-21-2002 06:03 PM

Netscape on Xfree86
 
Has anyone been able to get netscape running through xdarwin? I've got Xfree86 4.1.0 installed, running gnome on my g4/500 AGP. I tried ./netscape-install, but I just got pages upon pages of garbage. Any one have any luck?

Benad 01-21-2002 06:26 PM

Mozilla with Fink?
 
Have you tried the mozilla package with Fink?

Mozilla is usually more up-to-date than Netscape 6 anyways...

- Benad

xchanyazy 01-21-2002 06:35 PM

Hmm.. how would one do that? I've used fink for a few things (GIMP, etc.), but they were all on the list from sudo fink list. I don't know how to install a package that isn't on that list.

Thanks.

EDIT: I don't know how to install a package that isn't on that list hrough fink, that is.

Benad 01-21-2002 06:43 PM

If you read here, it says what to do to be able to install "unstable" fink packages (the "Read this:" paragraph). The best part is that once you've done that, you'll have access to tons of other packages that you normally wouldn't see with "sudo dselect" or "sudo fink list".

It's not very user friendly, but it works. Good luck!

- Benad

xchanyazy 01-22-2002 02:06 AM

Hmmm..
I tried that, and, since it was taking a while, I went to a movie (Black Hawk Down, pretty good). When I came back, I noticed that it had exited with an error of no more space left on the device. Somehow, the 11 meg or so file I downloaded expanded into 450 some odd MB of stuff. Did you have to do anything other than sudo fink install mozilla?

Thanks

Craig R. Arko 01-22-2002 07:22 AM

If the install went OK, you should be able to type 'mozilla &' in an xterm and it should go.

Did you add 'source /sw/bin/init.csh' to your .cshrc file?

sao 01-22-2002 11:26 AM

Mozilla install
 
More information, please...

What version of Fink do you have ?:
type in terminal : /sw/bin/fink --version

Which MAC OS version you are running ?

After you configured fink to use "unstable"

did you make a "fink selfupdate" and "fink update-all" ?

I'm running Mozilla 0.9.7 and it works very well.

(Fink Package manager version: 0.9.6a
Distribution version: 0.3.1)
XDarwin 1.05
XFree86

MAC OS 10.1.2

Cheers...

xchanyazy 01-22-2002 12:34 PM

source /sw/bin/init.csh is in my .cshrc file. I typed rehash, and then mozilla &, and it said
Code:

[12:29][brandg /Users/brandg] %mozilla &
mozilla: Command not found.
[1] 18311
[1]    Exit 1                        mozilla

Fink 0.9.7 (from a self-update)
Dist. 0.3.2a.cvs
OS 10.1.2
XDarwin 1.6
Xfree86 4.1.0

EDIT: When I try to do a fink update-all, one of the packages won't download, and it just exits without doing anything.

sao 01-22-2002 02:05 PM

Mozilla install
 
When you type in terminal:

which mozilla

What's the answer?

If installed correctly should be /sw/bin/mozilla

Please check...

For the missing file when you do a "fink update-all" :

Do a search with Google and try to download the same missing file from another server to your Desktop.

Then cp or mv the file to /sw/src

Fink will recognize it when you do again fink update-all

Cheers...

xchanyazy 01-22-2002 05:59 PM

When I type which mozilla, I get mozilla: command not found. I tried to install by hand, but the .tar file was 230.6 MB, and I didn't have enough space to finish untarring it. Anyone know why the .tar file is that large?

On a good note, the google search worked perfectly, thanks. I had no idea one could do that.

sao 01-22-2002 11:31 PM

Mozilla install
 
Do a sudo fink list...

Is mozilla listed as already installed ?

( i mozilla 0.9.7-1 Web browser and mail reader )

If appears on the list, as not installed :

( mozilla 0.9.7-1 Web browser and mail reader )

do then, a "fink install mozilla"


Cheers...

xchanyazy 01-23-2002 09:43 PM

Ok, I got all of my OS X files from a 5 GB partition to my former OS 9 partition (10 GB). Then, I used fink to redownload the package and install it... After 3 hours (and 500 MB of space taken up), I went to sleep. Sometime while I was sleeping, it finished (best estimate, about 6 hours) and removed most of the files, meaning my drive only went down 20 or 30 MB in. I still don't understand why it needed so much space to install, or why it took so long (G4 500 AGP, 896 MB RAM), but I now have a fully functional Xwindows Mozilla install, and am damned happy with it, in fact I am using it as we speak.

Thanks for all the hints, everyone.

uhhh...Clem 01-27-2002 01:00 AM

Re: Mozilla install
 
Quote:

Originally posted by sao
Do a sudo fink list...

Is mozilla listed as already installed ?

( i mozilla 0.9.7-1 Web browser and mail reader )

If appears on the list, as not installed :

( mozilla 0.9.7-1 Web browser and mail reader )

do then, a "fink install mozilla"

I was with you right up to here ... but after fink retrieved the package, it thrashed, grepped, sedded, built, linked and made for several hours and ended up with a simple "can't install mozilla -0.9.7-1" message.

I did a "fink selfupdate" (was current) and a "fink update-all" (updated pine, which is irrelevant here), then tried again:

-----
[localhost:~] egon% fink install mozilla
sudo /sw/bin/fink install mozilla
Reading package info...
Information about 680 packages read in 11 seconds.
pkg mozilla version ###
pkg mozilla version 0.9.7-1
The following package will be installed or updated:
mozilla
dpkg -i /sw/fink/dists/unstable/main/binary-darwin-powerpc/web/mozilla_0.9.7-1_darwin-powerpc.deb
Selecting previously deselected package mozilla.
(Reading database ... 26797 files and directories currently installed.)
Unpacking mozilla (from .../mozilla_0.9.7-1_darwin-powerpc.deb) ...
Setting up mozilla (0.9.7-1) ...
dpkg: error processing mozilla (--install):
subprocess post-installation script returned error exit status 138
Errors were encountered while processing:
mozilla
### dpkg failed, exit code 1
Failed: can't install package mozilla-0.9.7-1
-----

Any ideas about where to start fixing things would be appreciated.

mervTormel 01-27-2002 01:36 AM

i suspect insufficient disk space, or whacky user name :D

let us know

uhhh...Clem 01-27-2002 04:00 AM

22.7Gb free. Username: egon.

The system is an almost-brand-new G4 Powerbook with OS X 10.1.2.

I did no work on the Unix fs from a shell until I discovered Xfree86, which I installed manually from Xfree86.org. Then I discovered fink and have used them ever since, starting with their system-libgl and system-xfree placeholders.

I have never touched a line of source code from either Xfree86 or Fink, and every package I've retrieved has installed and performed flawlessly until now.

Update: The Debian dselect package handling frontend identified mozilla as a "Broken Unclassified package without a section", so I accepted its recommendation to purge it, which it did.

mervTormel 01-27-2002 01:48 PM

can you grep thru that post-installation scriptage and look for that exit 138 error?

perhaps that will lead to what it gakked on.

sao 01-27-2002 02:06 PM

mozilla install
 
Please check in sw/src :

Do you have "mozilla-source-0.9.7.tar.bz2" ?

Cheers...

uhhh...Clem 01-27-2002 03:23 PM

Mozilla install
 
Here's what I have left after the failed install:

[localhost:~] egon% ls -al /sw/src | grep mozil
-rw-r--r-- 1 root admin 27159136 Jan 25 23:51 mozilla-source-0.9.7.tar.bz2

As for grepping through the post-installation script ... where would that script be, to grep through? The output from the linking, building etc. ran on for hours, and when I checked in on it occasionally I did see the kinds of compiler messages ("variable X set but not used", "setting Y undefined assuming Z" etc.) that I have with other builds. I've assumed that they were nonfatal errors (since pine, lynx, pan etc. all run fine after exhibiting them) and that fink would terminate on a fatal error in there. It's the fact that it ran through all that, seemed to think the build went O.K. and then crapped out during the install that's puzzling.

sao 01-28-2002 03:23 AM

mozilla install
 
Please try:

"Fink rebuild mozilla"

If this doesn't make it, then please check:

"which make"

It should say: "/usr/bin/make"

and "make --version" It should start with: "GNU Make version 3.79"

Try and let me know.

Cheers...

uhhh...Clem 01-28-2002 11:01 AM

Re: mozilla install
 
Quote:

Originally posted by sao
Please try:

"Fink rebuild mozilla"

Did that. It ran all night and seemed to finish without errors:

[...]
install -c -m 644 build/package/rpm/SOURCES/mozilla-compose-icon.gif /sw/src/root-mozilla-0.9.7-1/sw/share/pixmaps/mozilla-mail-composer.gif
install -d -m 755 /sw/src/root-mozilla-0.9.7-1/sw/share/doc/mozilla
install -c -p -m 644 LEGAL LICENSE /sw/src/root-mozilla-0.9.7-1/sw/share/doc/mozilla/
rm -f /sw/src/root-mozilla-0.9.7-1/sw/info/dir /sw/src/root-mozilla-0.9.7-1/sw/info/dir.old /sw/src/root-mozilla-0.9.7-1/sw/share/info/dir /sw/src/root-mozilla-0.9.7-1/sw/share/info/dir.old
rm -rf mozilla-0.9.7-1
Writing control file...
Writing package script postinst...
Writing package script postrm...
dpkg-deb -b root-mozilla-0.9.7-1 /sw/fink/dists/unstable/main/binary-darwin-powerpc/web
dpkg-deb: building package `mozilla' in `/sw/fink/dists/unstable/main/binary-darwin-powerpc/web/mozilla_0.9.7-1_darwin-powerpc.deb'.
ln -sf /sw/fink/dists/unstable/main/binary-darwin-powerpc/web/mozilla_0.9.7-1_darwin-powerpc.deb /sw/fink/debs/
rm -rf /sw/src/root-mozilla-0.9.7-1
[localhost:~] egon%


I now have these unstaable main web .debs:

[localhost:~] egon% ls -al /sw/fink/dists/unstable/main/binary-darwin-powerpc/web/
total 33000
drwxr-xr-x 5 root admin 264 Jan 26 03:11 .
drwxr-xr-x 11 root admin 330 Jan 24 17:29 ..
-rw-r--r-- 1 root admin 420744 Jan 24 16:08 dillo_0.6.3-1_darwin-powerpc.deb
-rw-r--r-- 1 root admin 16144564 Jan 28 07:59 mozilla_0.9.7-1_darwin-powerpc.deb
-rw-r--r-- 1 root admin 326884 Jan 24 17:29 wget_1.8.1-1_darwin-powerpc.deb


Two of these have previously installed O.K.:

[localhost:~] egon% which dillo
/sw/bin/dillo
[localhost:~] egon% which wget
/sw/bin/wget


... but not mozilla:

[localhost:~] egon% which mozilla
mozilla: Command not found.
Quote:

If this doesn't make it, then please check:

"which make"

It should say: "/usr/bin/make"

and "make --version" It should start with: "GNU Make version 3.79"

Correct in both cases. So should I try "sudo fink install mozilla" again?


All times are GMT -5. The time now is 05:28 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.