Page 1 of 1

Linux Make error

Posted: Fri Sep 27, 2002 7:00 am
by Simon Constable
Hi, I've recently installed SuSE 8.0 and attempted to compile the latest Exult source, but although ./configure worked ok I get the following error message when running make:-

automake: configure.in: required file './depcomp' not found
/usr/share/automake/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL

and it stops at this point with an error.

So any ideas whats going wrong? I've tried compiling an older version and I got the same results.

Cheers,
simcon

Re: Linux Make error

Posted: Fri Sep 27, 2002 7:02 am
by wjp
Did you run ./autogen.sh before configure? Did that give any errors?

Also, which versions of automake and autoconf are you using?

I think it's a SuSE problem

Posted: Fri Sep 27, 2002 10:36 am
by Simon Constable
I have the following installed:

automake 1.5-151
autoconf 2.52-230

I am compiling 99.1rc2 not the CVS so I don't need to run ./autogen.sh.

Seeing as I've just installed SuSE 8.0 I decided to reinstall it and select everything so that there would be nothing missing. I then tried to compile the game 'lgeneral' and I got exactly the same error message as above.

I believe that there is an issue with SuSE 8.0 so I shall look elsewhere for a solution.

Weird though eh? Has anyone else here successfully compiled it on SuSE 8.0?

Re: Linux Make error

Posted: Fri Sep 27, 2002 10:51 am
by wjp
Try running autogen.sh anyway :-)

You probably have a different autoconf/automake version than the ones we used for the 0.99.1rc2 source release, which is probably causing problems. Running autogen.sh should fix them.

Oh, btw, CVS has quite a lot of improvements over 0.99.1rc2, so I'd really recommend building that if you're going to compile exult from source anyway. If you do decide to get the CVS, make sure to get the devel-1-00 branch.

Re: Linux Make error

Posted: Sat Sep 28, 2002 5:59 am
by Simon Constable
There is no file in 99.1rc2 called 'autogen.sh' so I can't run it.

I will get the cvs tonight and try that.

Just one more note: if I run ./configure again immediately after I get the first error from my original post I get this:-

Makefile:487:xxx missing seperator. Stop.

So if I look in 'makefile' on line 487 I find this:-

@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/actions.Po@am__quote@

with approximately another 15 or so similar lines with different filename.Po names.

Maybe this means something or maybe it doesn't :D

Re: Linux Make error

Posted: Sun Sep 29, 2002 1:23 am
by Simon Constable
Ok I'm almost there now.

I ran sh ./autogen.sh, ./configure and then make with the 1.0 CVS and then got an error someway through the operation:-

/usr/i486-suse-linux/bin/ld: cannot find -laa
collect2: ld returned 1 exit status.

What is -laa? Is it an option of ld that's not supported?

My ld version is:-

GNU ld version 2.11.92.0.10 20011021 (SuSE)

Any help would be appreciated before I smash the SuSE discs into tiny pieces and bin them.

Re: Linux Make error

Posted: Sun Sep 29, 2002 3:21 am
by wjp
Hm, libaa? I wonder why it wants that. I think the easiest way around this is just to install libaa and libaa-devel packages.

(It's an Ascii-Art rendering library, btw, for creating ascii art from graphics)

Re: Linux Make error

Posted: Sun Sep 29, 2002 6:05 am
by Stuart
Doesn't SDL support AA output?

Re: Linux Make error

Posted: Sun Sep 29, 2002 6:19 am
by wjp
Yeah, it does.

I've fixed it :D:D:D

Posted: Mon Sep 30, 2002 11:45 am
by Simon Constable
Thank you guys and girls.

I installed aalib-devel and I am now fully functioning :D

Nice GM too on my Audigy.

I was one of those people who had a Roland LAPC-1 and Adlib in my 386DX25 so it brings back memories :P In fact I've still got it in it's original box: full length ISA card chock full of chips.

Cheers,
Simon Constable