Jump to content
The Dark Mod Forums

Linux updater binary is broken


PranQster

Recommended Posts

I tried running tdm_update.linux (after making sure it was executable) and I only got 'cannot execute binary file'.

 

I downloaded the updater again, from 2 different sources, replacing the original one and doing 'chmod +x tdm_update.linux' and I still get the same error when trying to run the binary. I can launch TDM 1.00 with './tdmlauncher.linux' just fine, and 'tdm_update.linux' has the same permissions and executable set.

 

Has anyone successfully run the linux updater?

 

I'm downloading the new TDM via bittorrent, but it is excruciatingly slow with only 1 seed :(

 

 

 

 

Looking for a solution...

 

 

 

 

PranQster

 

 

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

I tried running tdm_update.linux (after making sure it was executable) and I only got 'cannot execute binary file'.

 

I downloaded the updater again, from 2 different sources, replacing the original one and doing 'chmod +x tdm_update.linux' and I still get the same error when trying to run the binary. I can launch TDM 1.00 with './tdmlauncher.linux' just fine, and 'tdm_update.linux' has the same permissions and executable set.

 

Has anyone successfully run the linux updater?

 

I'm downloading the new TDM via bittorrent, but it is excruciatingly slow with only 1 seed :(

 

 

 

 

Looking for a solution...

 

 

 

 

PranQster

 

 

 

Just run it and its working fine for me.

 

what does

 

ls -la tdm_update.linux

 

give?

Link to comment
Share on other sites

You can try downloading the perl version (rename it to .pl, for some reason my server dislikes linking to a .pl file):

 

http://bloodgate.com/mirrors/tdm/pub/tdm_update.txt

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Once Mandriva releases 2010.1 Powerpack, I'll get that and install the 64bit version from DVD. Their "One" release (live CD w/ installer) is 32bit only. Their "Free" version has a 64bit .iso, but lacks the proprietary video drivers, flash, java, etc... I prefer their "One" or "Powerpack" releases for the reason that all of the proprietary software is installed automatically. That saves me the hassle of configuring the non-free .rpm repositories and installing all that stuff myself.

Though I still wonder why they don't offer a 64bit version of their "One" release... maybe I need to dig into their FTP and see if there is such an .iso

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

Looks like there needs to be a tdm_update.linux.x86 made... and a rename of the current updater to tdm_update.linux.x86_64 or something like that.

 

Ah, yes, the last time we made a x32 binary and it was running well on 32 and 64bit. This time we barfed it. Should update it, but I need to compile it on my laptop.

 

(Actually, we could just tell people to run the .pl script, linux always should have Perl..)

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

  • 3 weeks later...

Ah, yes, the last time we made a x32 binary and it was running well on 32 and 64bit. This time we barfed it. Should update it, but I need to compile it on my laptop.

 

(Actually, we could just tell people to run the .pl script, linux always should have Perl..)

 

I tried to update today and i have the same failure. It's there a 32bit compiled updater for linux downloadable from somewhere?

 

Thanks in advance:D

Edited by Ladro
Link to comment
Share on other sites

Try this one: http://www.bloodgate...dm_update.linux (3.6 MB, be sure to chmod it after downloading).

 

It works perfectly, thanks a lot Greebo!B)

 

The problem now is: the update replaced another time the updater itself with the broken one.

 

But no problem, next time i'll re-use the updater linked here by you! :D

Link to comment
Share on other sites

So THANKS TELS! :D

 

Don't thank me, after all I was the one who accidentily put in the 64bit version in v1.01 ;)

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

  • 3 weeks later...

The 32 bit version replaces itself with the 64 bit version and a mirrors list and nothing else on my system. TDM is still unplayable on my 32 bit distros :(

 

Sorry, the tdm_updater will always first "update" itself, but it doesn't know that the version on the server is newer. We need to fix that for the next version. (which will have a 32bit updater, anyway).

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Sorry, the tdm_updater will always first "update" itself, but it doesn't know that the version on the server is newer. We need to fix that for the next version. (which will have a 32bit updater, anyway).

No problem, it's working fine with 64bit Sabayon anyways. Do you have a rough timeline on the next version, so that I know when to update my 32bit distros ?

Edited by peispud
Link to comment
Share on other sites

No problem, it's working fine with 64bit Sabayon anyways. Do you have a rough timeline on the next version, so that I know when to update my 32bit distros ?

 

Next update is currently betatested, so should be out soon, but can't tell specifics.

 

Btw Download this:

 

http://bloodgate.com/mirrors/tdm/pub/tdm_update.txt

 

Rename it to tdm_update.pl, place it in your TDM directory and run it via the shell like:

 

perl tdm_update.pl

 

That should work on 32bit and do the trick. You might need to do install libconfig-tiny-perl, tho, I am not sure about your distribution.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

  • 3 weeks later...

Next update is currently betatested, so should be out soon, but can't tell specifics.

 

Btw Download this:

 

http://bloodgate.com.../tdm_update.txt

 

Rename it to tdm_update.pl, place it in your TDM directory and run it via the shell like:

 

perl tdm_update.pl

 

That should work on 32bit and do the trick. You might need to do install libconfig-tiny-perl, tho, I am not sure about your distribution.

 

I have this error:

me@me_desktop:~/.doom3/darkmod$ perl tdm_update.pl

Can't locate Archive/Zip.pm in @INC (@INC contains: lib devel/lib /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at tdm_update.pl line 11.
BEGIN failed--compilation aborted at tdm_update.pl line 11.

 

I'm on Ubuntu (10.4 32bit LTS), i presume my Perl path is different.

 

I tried also the old 32 bit compiled (cfr. http://www.bloodgate...dm_update.linux ), but this binary it's not working too.

 

This is the shell reply if i use it:

 

me@me_desktop:~/.doom3/darkmod$ ./tdm_update.linux
IO object version 1.25 does not match bootstrap parameter 1.23_01 at /usr/lib/perl/5.10/DynaLoader.pm line 219.
Compilation failed in require at /usr/lib/perl/5.10/IO/Handle.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/IO/Handle.pm line 9.
Compilation failed in require at /usr/lib/perl/5.10/IO/Seekable.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/IO/Seekable.pm line 9.
Compilation failed in require at /usr/lib/perl/5.10/IO/File.pm line 11.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/IO/File.pm line 11.
Compilation failed in require at -e line 352.

Any suggestion? :D

Edited by Ladro
Link to comment
Share on other sites

I think you just need to install some missing perl libraries:

 

perl-config-tiny,

perl-archive-zip and

perl-libwww

 

I don't know what they are called on ubuntu but it should be something similar to the package names above.

Link to comment
Share on other sites

I think you just need to install some missing perl libraries:

 

perl-config-tiny,

perl-archive-zip and

perl-libwww

 

I don't know what they are called on ubuntu but it should be something similar to the package names above.

 

Thank you.

 

I solved by installing this library that was not present on my machine:

 

libarchive-zip-perl

 

(on Ubuntu i found this name for archive manager in Perl library... tipically the prefix "perl" it's postponed, but with aptitude i easy found it :-) )

 

Now the script it's working well and i can update my TDM to 1.02 :-)

 

(and finally now i can play the GREAT mission by Goldchocobo and Mortem Desino "No honor among thief" B) )

 

Suggestion: maybe this problem with the updater (and the solution to use the right script) for Linux users, should be on sticky notes for some time (until next release)?

 

Really thanks to all involved for this update (and the updater :-) ) ;-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
×
×
  • Create New...