AGS Linux 2.62 Binaries Available

Started by EvilTypeGuy, Mon 08/11/2004 03:11:29

Previous topic - Next topic

EvilTypeGuy

 Moderators, please sticky this topic, unsticky all existing 'AGS Linux' topics if possible.

AGS 2.62 Final runtime has been posted the Linux AGS website here:

http://drevil.warpcore.org/ags/

As far as progress on AGS Launch? Disaster has struck, during my recent move to a new home I failed to backup my code and everything I had done for it. This means that when I have time (I hope soon) I have to start all over. This will set me back by a few weeks unfortunately.

A reminder that the Linux version does NOT support plugins or movie playback (except FLC), and that you must have Allegro installed on your system to use it: http://alleg.sf.net/

A final note is that the ags-setup program has been statically linked to libglade based on user feedback so those of you who were having problems running the setup program shouldn't anymore. AGS Launch will fulfill the role of game browser, installer, and setup program in the future.

Have fun!

ernesti

Good work , but it does NOT work.  ::)

Since you started dynamically linking to the allegro library, i've had problems that aren't easy to overcome. 

1. All sorts of segfaults, undefined symbols rgb_colorconv, accel_driver problem

2. Harder to distribute games to linux, and get them to work on some other distro without compiling the right version of allegro.

2.62 binaries don't work with Allegro v. 4.1.6  rpm from your website , nor does compiling it from source rpm.  The problem is libjgmod,  it is not provided with allegro, not provided with the rpms..   I can't find that library anywhere, its site is down. KAPUT!

./ags: error while loading shared libraries: /usr/local/lib/libjgmod.a: cannot open shared object file: No such file or directory

Distribution is Mandrake 9.2

There's nothing wrong with its configuration...  And it doesn't help if i tell you what game i'm
trying to run, because it gives the same error on every game, even with my game.

Please please please! Link to it statically, that's what they're doing with the Windows engine! Thank you.

ernesti

sorry. Allegro 4.1.16 was the version

ernesti

I solved the problem!

I found libjgmod

http://games.linux.sk/files/jgmod-0.99.tar.gz

go to the libs dir in it, choose unix

then copy libjgmod.so  to /usr/local/lib/,
then link it in the same directory to libjgmod.so with a name libjgmod.a.


Then it works!!!!!

Bob Vila

Hello. I am running Slackware 9.1 on my laptop.  I tried downloading AGS Linux 2.62. I did not have Allegro installed, but i downloaded that and compiled it.  But when I tryed to run it, it gave me the following error...
relocation error: ./ags: undefined symbol: _colorconv_rgb_scale_5x35
What can i do about this?  Any help would be great.

Thanks,
Bob


Bob Vila

--edit--
I have Allegro 4.1.6 installed. And when I try to run ags-setup I get the following error...
error while loading shared libraries: libxml.so.1: cannot open shared object file: No such file or directory
I believe that I have libxml2, should I downgrade?

Thanks again,
Bob

EvilTypeGuy

Quote from: ernesti on Thu 11/11/2004 14:36:50
Good work , but it does NOT work.  ::)

Since you started dynamically linking to the allegro library, i've had problems that aren't easy to overcome. 

1. All sorts of segfaults, undefined symbols rgb_colorconv, accel_driver problem

But, the problem is I can't statically link Allegro because it causes segfaults for others, I'm stuck! I'm researching other solutions.

Quote2. Harder to distribute games to linux, and get them to work on some other distro without compiling the right version of allegro.

I know, it's been a real headache for me.

Quote2.62 binaries don't work with Allegro v. 4.1.6  rpm from your website , nor does compiling it from source rpm.  The problem is libjgmod,  it is not provided with allegro, not provided with the rpms..   I can't find that library anywhere, its site is down. KAPUT!

./ags: error while loading shared libraries: /usr/local/lib/libjgmod.a: cannot open shared object file: No such file or directory

Huh? Weirdness, jgmod is supposed to be statically linked into the binary, why this is suddenly not working anymore is confusing to me ???

I will post an updated binary when I find a fix for it.

QuotePlease please please! Link to it statically, that's what they're doing with the Windows engine! Thank you.

Unfortunately, I can't. In the grand wisdom of the Allegro people, they architect the library build for the Linux version completely different than the Windows version. They split Allegro into one static library and several dynamic libraries, which means that when I statically link Allegro, support for several important pieces of code are no longer present because they only exist in thos modules on my system. It's such a pain in the buttocks. I know it's a real pain, and I know it's inconvenient, but try as I might, I have not yet found a good solution. It really stinks. The other thing that is bad when static linking allegro is an incraese of almost a megabyte in filesize. I've been waiting on the

EvilTypeGuy

Ok, I've posted an updated binary that has jgmod properly statically linked in as well as fixing a font bug I let slip by.

As far as the allegro problems, all I can do is to point you to the Allegro site:

http://alleg.sf.net/

And make sure you install 4.1.16 if the binary I provide on the downloads page doesn't work.

Gilbert

Okay I had merged 2 topics into one single thread, and edited some stuff to make it more readable. :)

Hinders

Quote from: ernesti on Thu 11/11/2004 14:36:50

2.62 binaries don't work with Allegro v. 4.1.6  rpm from your website , nor does compiling it from source rpm.  The problem is libjgmod,  it is not provided with allegro, not provided with the rpms..   I can't find that library anywhere, its site is down. KAPUT!

./ags: error while loading shared libraries: /usr/local/lib/libjgmod.a: cannot open shared object file: No such file or directory

Distribution is Mandrake 9.2


When are you gonna get a proper distro that is NOT bugged and does NOT use RPM's? :-P

Get Debian if you need a dist with a package manager, at least it works.

and yeah!
i hope these binaries will work for me, i'll find that out tomorrow when i get my new game packaged and tested >:D
----

Monsieur OUXX

I also have the "libxml.so" problem.

Aaargh, i think i shall give up, i never manage to make anything work on Linux  ::)
No, more seriously, i'd really like to be able to make AGS work on my system, and i don't understand these library problems... I solved the allegro one, but not the libxml one

Monsieur OUXX

Quote from: Monsieur OUXX on Thu 18/11/2004 13:43:32
I also have the "libxml.so" problem.

I managed to solve this particular problem :
- i downloaded the latest version of libXML 1 at ftp://xmlsoft.org/old/libxml-1.8.9.tar.gz
- i unzipped it, configured it (./configure) and built it (make)
- then i copied the ".so" files from the "<libxml's directory>/.lib" directory to the "/usr/lib/" directory

the result of this is to add version 1 of libxml library to your system.
I didn't try to add an alias named "libxwm1.so.1" that would point toward libxml2, maybe it works...

After having done this, ags-setup runs with (almost) no errors, but after that ags itself won't run : it displays the following allegro-related error message : "relocation error: /usr/local/lib/liballeg.so.4.1: undefined symbol: _accel_bank_stub"

I don't know if this is caused by a wrong compilation, or if it is caused by my hardware... maybe it's because I have a non-accelerated graphics card?

Pumaman

I imagine that could be due to having the wrong version of allegro. Make sure it's the same one as is mentioned on the AGS Linux website.

Monsieur OUXX

Quote from: Pumaman on Thu 18/11/2004 19:02:02
I imagine that could be due to having the wrong version of allegro.

I tried with :
- allegro 4.1.11 (the one recomanded)
- allegro 4.0.3  (the last stable version of allegro)
- even with allegro 4.1.16 (the disrecommanded one =))

It worked with neither... But i found something more interesting at http://people.debian.org/~dirson/shlibs/per-maint.txt

Here is an extract of this page :

-----------------
"The following libs have been reported to have undefined symbols.
For all those libs, one missing symbol was extracted and is listed
within parentheses.

Sam Hocevar (Debian packages) <sam+deb@zoy.org>:
liballegro4a:
  /usr/lib/liballeg.so.4.0 (_accel_bank_stub)
liballegro4a-dbg:
  /usr/lib/liballd.so.4.0 (_accel_bank_stub)"
------------------

This page might prove that the problem doesnt come from AGS, nor from Allegro, but directly from Debian (unlucky me!!!  :'( As a matter of fact I'm using the Knoppix distribution (=> almost a Debian)

I think the opinion of a linux-geek would be welcome... what is the opinion of the coder in charge of the linux-port of AGS?  ::)

bobvila2003

out of curiosity, will ags in linux run the old quest for glory series (the VGA versions, not the original 1 and 2) and if not, is there any way that i can without DOSBox?

Pumaman

Nope ... AGS Linux runs AGS games, not Sierra games.

You could check out FreeSCI who are developing a linux interpreter for the sierra games.

EvilTypeGuy

Quote from: Monsieur OUXX on Thu 18/11/2004 13:43:32
I also have the "libxml.so" problem.

Aaargh, i think i shall give up, i never manage to make anything work on Linux  ::)
No, more seriously, i'd really like to be able to make AGS work on my system, and i don't understand these library problems... I solved the allegro one, but not the libxml one

libxml? Uh, ags doesn't use libxml at all as far as I know. What executable are you running that is throwing a libxml error?

EvilTypeGuy

#17
Quote from: Monsieur OUXX on Fri 19/11/2004 13:56:57
"The following libs have been reported to have undefined symbols.
For all those libs, one missing symbol was extracted and is listed
within parentheses.

<snip>

This page might prove that the problem doesnt come from AGS, nor from Allegro, but directly from Debian (unlucky me!!!  :'( As a matter of fact I'm using the Knoppix distribution (=> almost a Debian)

No, that error is irrelevant is only valid for Allegro 4.0.x which is all Debian includes.

I would link AGS against Allegro 4.0.3 stable, but the 4.1.x series is required for AGS I think, and I know for a fact that there is a boatload of bug fixes in the 4.1.x series for Linux.

QuoteI think the opinion of a linux-geek would be welcome... what is the opinion of the coder in charge of the linux-port of AGS?  ::)

My opinion is that Allegro sucks on Linux  ;D

Oi. This weekend I'll see if I can shave some time off somewhere and generate a special version of AGS. I *really* didn't want go back to creating both a dynamic and static version of Allegro because it means I have to maintain two completely differently compiled versions on my system of both AGS and Allegro itself, but it's looking more and more like I don't have a choice :(

I'll see what I can do, fear not fellow Penguin tamers.

bobvila2003

QuoteNope ... AGS Linux runs AGS games, not Sierra games.

You could check out FreeSCI who are developing a linux interpreter for the sierra games.
k. i have FreeSCI, but it dosent run anything but the original QFG, not the VGA ones.
QuoteWhat executable are you running that is throwing a libxml error?
ags-setup. i got it working bt following the directions that Monsieur OUXX gave. after that, i oculd run the ags-setup program, but i was still getting the relocation error: ./ags: undefined symbol: _colorconv_rgb_scale_5x35 error, so i downloaded the 2.60.693 version of AGs, and it seems to work, but when i run KQ1VGA remake, it says that i have the wrong version?? i get the same error with KQ2VGA. any suggestions? btw, i have allegro 4.1.11

EvilTypeGuy

Quote from: bobvila2003 on Sat 20/11/2004 00:15:36
k. i have FreeSCI, but it dosent run anything but the original QFG, not the VGA ones.

For ega, cga and older sierra games:
http://www.agidev.com/projects/nagi/
http://sarien.sourceforge.net/

Beggin' your pardon, but freesci does indeed support many of the vga games and more are coming:
http://freesci.linuxgames.com/?page=games

Quoteags-setup. i got it working bt following the directions that Monsieur OUXX gave.

:-X I don't even use libxml in ags-setup, I'm baffled. I'll have to find out what is.

Quoteafter that, i oculd run the ags-setup program, but i was still getting the relocation error: ./ags: undefined symbol: _colorconv_rgb_scale_5x35 error, so i downloaded the 2.60.693 version of AGs, and it seems to work, but when i run KQ1VGA remake, it says that i have the wrong version?? i get the same error with KQ2VGA. any suggestions? btw, i have allegro 4.1.11

Have you tried 4.1.16 from http://alleg.sf.net ?

SMF spam blocked by CleanTalk