Using .tar and .tar.gz files

NeXT Computer, Inc. -> NEXTSTEP / OPENSTEP Software

Title: Using .tar and .tar.gz files
Post by: Luca on January 17, 2012, 01:23:53 AM
Good morning all,
I'm new to NextComputers :oops: , I have a Cube with NextStep 2.0 from 2 weeks and I'm having some issue with .tar files.
I've already read some posts about it, but still, I can't use any files.
Let's says I'd like to try Tetris: http://www.nextcomputers.org/NeXTfiles/Software/NEXTSTEP/Apps/Games/Tetris3.0.NI.b.tar.gz.
If doubleclick on it: It opens in text editor.
If I type tar -xvf filename.tar.gz I have a directory checksum error.
If I type gunzip or gzip: command not found.
Execute permissions are denied for all, what sill can I do?  :?

I also tried: http://www.nextcomputers.org/NeXTfiles/Software/NEXTSTEP/Apps/Compression_Utilities/Opener/3.4b/Opener.3.4b.N.b.compressed but don't really know how to manage .compressed files

Can anybody help me ?
Thanks!
Title: Using .tar and .tar.gz files
Post by: pan1k on January 17, 2012, 02:31:59 PM
I think with .compressed files, you need to just double click them and then move the unarchived file somewhere. Then you can drag a .tar.gz onto the opener icon.
Title: Using .tar and .tar.gz files
Post by: gilles on January 17, 2012, 02:36:24 PM
compressing with gzip for next may not be the better option...
just uncompress with another computer (mac, PC...) and type "tar -xvf" with the .tar file as the argument ;)
Title: Using .tar and .tar.gz files
Post by: aragon on January 18, 2012, 01:26:37 AM
You could also try to install GNU tar and open the archives witth the -z option.
Title: Using .tar and .tar.gz files
Post by: gilles on January 18, 2012, 05:20:09 AM
you can also use http://www.nextcomputers.org/NeXTfiles/Software/NEXTSTEP/Apps/Compression_Utilities/gzip_package.2.7.s.tar.gz

but you need to gzip itself to ungzip other packages ;) and you are stuck in a catch 22 loop
(note for nextcomputer admin: please also add gzip as a plain tar file...)
Title: opening files
Post by: Jsmirand on January 18, 2012, 10:24:11 AM
On my Nextstep 4.2, the process that works for me is to open a terminal session and type gunzip [filename], which removes the .gz suffix.  next I type tar -xvf [filename] and the application becomes available.

if you can add the gunzip command to your terminal session i expect you would be all set.  can you use the finder to see if you have gunzip anywhere in your system?
Title: Using .tar and .tar.gz files
Post by: Luca on January 18, 2012, 04:14:27 PM
Thank you all, but I'm still having some issues :?

-Pacman: I successfully unzip with winrar and copied the extracted folder on the Cube HardDisk, but if I double-click the file Pacman.app, nothing happens.

-gzip: If I try to install the extracted gzip from its directory typing "make install", the terminal give me this message: "Make: Don't know how to make gzip_package.sh.  Stop."

-Opener: If I double-click the .compressed file, it opens in text edit

Don't really know what to say...  :cry:
Title: Using .tar and .tar.gz files
Post by: gtnicol on January 18, 2012, 08:35:58 PM
Later versions of the OS have gzip installed. Why not get a disk with OS4.2 on it?
Title: Using .tar and .tar.gz files
Post by: Luca on January 19, 2012, 01:33:27 AM
Quote from: "gtnicol"Later versions of the OS have gzip installed. Why not get a disk with OS4.2 on it?

At the moment I have only 16Mb of RAM, I should have read somewhere that the latest OS version are a bit slower on the old black hardware.
Second, I would really like to know what's wrong with the way I'm doing, and why the application.app doesn't start when doubleclicked.
Title: Using .tar and .tar.gz files
Post by: aragon on January 19, 2012, 04:06:08 AM
Quote from: "Luca"Thank you all, but I'm still having some issues :?

-Pacman: I successfully unzip with winrar and copied the extracted folder on the Cube HardDisk, but if I double-click the file Pacman.app, nothing happens.

-gzip: If I try to install the extracted gzip from its directory typing "make install", the terminal give me this message: "Make: Don't know how to make gzip_package.sh.  Stop."

-Opener: If I double-click the .compressed file, it opens in text edit

Don't really know what to say...  :cry:

Winrar will not set the file permissions correctly, so you will not be able to execute it.

Can you find a binary of gzip, so that you will not have to build it yourself?
Title: Using .tar and .tar.gz files
Post by: mikeboss on January 19, 2012, 06:15:29 AM
get the installer here -> https://public.me.com/bkmoore goto the folder kb7sqi and there you'll find gzip. but there's still the chicken/egg problem since gzip itself is *.tgz

EDIT: i unzipped it on OSX, get it here ->
http://offworld.ch/gzip_1_3.tar

regards,
michael
Title: Using .tar and .tar.gz files
Post by: Luca on January 19, 2012, 01:49:49 PM
Quote from: "mikeboss"...

EDIT: i unzipped it on OSX, get it here ->
http://offworld.ch/gzip_1_3.tar

regards,
michael

Got the file, used tar command, everything fine.
Tried to install gzip.pkg with installer, and got this error message:

"Checking permissions for the files in gzip...
*** can't get size for file /usr/local/.
...errors.
"

I looked inside /usr, but there is no /local folder.
So I created it, but had the same error as above.

I think I'm going to lose my hope :(
Title: Using .tar and .tar.gz files
Post by: pan1k on January 19, 2012, 01:52:28 PM
I think you should do a fresh install of NeXTStep
Title: Using .tar and .tar.gz files
Post by: bkmoore on January 19, 2012, 02:13:18 PM
QuoteI have a Cube with NextStep 2.0 from ...

The reason PacMan.app and others won't run is you're running NeXTSTEP version 2.0. NeXT introduced the .app directory structure for binaries and supporting files in version 3.0.

On another note: Apple will be killing .Me in June. I have no plans to continue hosting kb7sqi's packages beyond that. Somebody else should host the files, or in the best case they should be put in the nextcomputers.org binary archives.
Title: Using .tar and .tar.gz files
Post by: mcdermd on January 19, 2012, 11:41:15 PM
I may be able to do it. Any idea on average how much bandwidth they eat every month?

EDIT: I should already be seeding on the torrent indefinitely.
Title: Using .tar and .tar.gz files
Post by: Luca on January 21, 2012, 02:57:40 AM
In the end I downloaded gzip from the NeXT File Archieve and gzipped with gzip on windows, tar -xvf on the Cube and typed "make install". Now I have two files: /usr/local/bin/gzip_package* and  /usr/local/bin/gunzip_package*.
I tried this:" /usr/local/bin/gzip_package -u /path/filetounzip.gz" no way... it says "filetounzip.gz is not a directory"; and same with gunzip_package.

Anyway, if I decide to follow the suggestion of installing NeXTSTEP 3.x, what's the better way to do this? I found these possibilities:
- Getting a new hard drive with NextStep 3.3 installed
- Buy a NextStep install CD and an external CDRom reader (SCSI-II ?)
- Or maybe can I install NextStep by my self on a hard drive using NextStep/OpenStep running on VMware from my Mac?
- Other choices ?

Thank you very much for your support!
Title: Using .tar and .tar.gz files
Post by: pan1k on January 21, 2012, 02:14:09 PM
You'll need:

-Floppy Drive
-External CDROM


I think Black Hole has drives you can purchase with preinstalled NS 3.3 on them.  --> www.blackholeinc.com
Title: Using .tar and .tar.gz files
Post by: bkmoore on January 21, 2012, 02:56:52 PM
You might be able to get by without a Floppy Drive if you do an upgrade install to your existing HD. But if you already have the Cube, I would recommend investing in a Floppy and CD ROM so you have the flexibility to build a new HD if the need arises.
Title: Using .tar and .tar.gz files
Post by: Luca on January 22, 2012, 11:00:40 AM
Quote from: "bkmoore"... I would recommend investing in a Floppy and CD ROM so you have the flexibility to build a new HD if the need arises.

I already have the floppy drive on the Cube, and thinking about all the answers received, I think I'll go and buy an external CD-Rom drive.

Thank you all :)

Luca

Go to top  Forum index