Author Topic: Self-extracting archive  (Read 4506 times)

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: Self-extracting archive
« Reply #15 on: 8 March 2006, 04:49 »
Yeah ... I forgot about that ... well you can imagine that it takes a shitload more time on Window$ than installing stuff on Linux.

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: Self-extracting archive
« Reply #16 on: 21 March 2006, 03:27 »
I just installed Fedora Core 5 and the script doesn't work anymore ... it gives me these errors in connection to the tail and tar commands:

tail: cannot open `+21' for reading: No such file or directory

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

Are the environment variables screwed ? How do I fix it ? :(

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: Self-extracting archive
« Reply #17 on: 21 March 2006, 21:36 »
I've found out a bit more ...

Quote
> tail: cannot open `+7` for reading: No such file or directory.
 > Error in check sum 1640625506 1987377779
 > Problem with either License Agreement or j2sdk bianry.

The tail problem has been located, tail will not work with +/-
if its compiled with NLS and linked to glibc 2.3.3 (it checks posix
version to invalidate old style options).

A global fix for this is in the works... no need to go sedit on makefiles.



http://foo-projects.org/pipermail/lunar/2004-August/004505.html

Aloone_Jonez

  • Administrator
  • Member
  • ***
  • Posts: 4,090
  • Kudos: 954
Re: Self-extracting archive
« Reply #18 on: 21 March 2006, 23:06 »
Huh?
Don't get it, I'm a nube to all this scripting stuff.

Does this mean you've fixed it then?

Quote from: mobrien_12
You forgot the fact where you have to reboot after running most windows installers.

What installers on which Windows version?

I've never had to reboot after installing software on any modern (post 2k) OS unless it requires special drivers.
This is not a Windows help forum, however please do feel free to sign up and agree or disagree with our views on Microsoft.

Oh and FUCKMicrosoft! :fu:

piratePenguin

  • VIP
  • Member
  • ***
  • Posts: 3,027
  • Kudos: 775
    • http://piratepenguin.is-a-geek.com/~declan/
Re: Self-extracting archive
« Reply #19 on: 22 March 2006, 01:46 »
Quote from: Aloone_Jonez

What installers on which Windows version?

I've never had to reboot after installing software on any modern (post 2k) OS unless it requires special drivers.
Install any software, and it'll ask you to reboot. Dunno why, probably because the people who wrote the installer software were retards, and were writing for retards.

Then there's DirectX and other shit which will tell you you HAVE TO reboot and not give you a cancel/later option. What's next? A 1 second timer so you can save your work?

When something's already loaded in RAM, updating it can bring bad news. So you update it before the system starts, after a reboot... That's the only time you should need to reboot for installing software, really.
Quote
Huh?
Don't get it, I'm a nube to all this scripting stuff.
There's a bug in the setup and a fix is in the works.
"What you share with the world is what it keeps of you."
 - Noah And The Whale: Give a little love



a poem by my computer, Macintosh Vigilante
Macintosh amends a damned around the requested typewriter. Macintosh urges a scarce design. Macintosh postulates an autobiography. Macintosh tolls the solo variant. Why does a winter audience delay macintosh? The maker tosses macintosh. Beneath female suffers a double scum. How will a rat cube the heavier cricket? Macintosh calls a method. Can macintosh nest opposite the headache? Macintosh ties the wrong fairy. When can macintosh stem the land gang? Female aborts underneath macintosh. Inside macintosh waffles female. Next to macintosh worries a well.

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
Re: Self-extracting archive
« Reply #20 on: 22 March 2006, 02:46 »
Penguin in right.  I have to use XP pro at work and it's install-reboot install-reboot.
In brightest day, in darkest night, no evil shall escape my sight....

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: Self-extracting archive
« Reply #21 on: 22 March 2006, 05:14 »
Actually ... I'll probably have to rewrite the script ... in a more universal fashion. But I guess that's one of the problems with scripts ... it may work well today ... but not tomorrow. Maybe I'll try doing it in python ... or maybe just stay away from specialized commands like tail and sed etc.

piratePenguin

  • VIP
  • Member
  • ***
  • Posts: 3,027
  • Kudos: 775
    • http://piratepenguin.is-a-geek.com/~declan/
Re: Self-extracting archive
« Reply #22 on: 22 March 2006, 05:38 »
Quote from: H_TeXMeX_H
Actually ... I'll probably have to rewrite the script ... in a more universal fashion. But I guess that's one of the problems with scripts ... it may work well today ... but not tomorrow. Maybe I'll try doing it in python ... or maybe just stay away from specialized commands like tail and sed etc.

"specialized" ?
tail and sed are pretty standard on UNIXes..

That bug is pretty shit. Bugs like that don't really happen alot, though.
"What you share with the world is what it keeps of you."
 - Noah And The Whale: Give a little love



a poem by my computer, Macintosh Vigilante
Macintosh amends a damned around the requested typewriter. Macintosh urges a scarce design. Macintosh postulates an autobiography. Macintosh tolls the solo variant. Why does a winter audience delay macintosh? The maker tosses macintosh. Beneath female suffers a double scum. How will a rat cube the heavier cricket? Macintosh calls a method. Can macintosh nest opposite the headache? Macintosh ties the wrong fairy. When can macintosh stem the land gang? Female aborts underneath macintosh. Inside macintosh waffles female. Next to macintosh worries a well.

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: Self-extracting archive
« Reply #23 on: 22 March 2006, 19:40 »
Well ... yeah, I guess ... it certainly could be done without the use of tail and sed ... then if any bugs pop up (rare as they may be) it won't affect the script ... so I don't have to rewrite it. But, ok, maybe sed won't have any future bugs :D