CVS SDL problem on autogen.sh/make process

Hi everyone. I downloaded the last CVS tree (09/28/2001) and after typing
the ./autogen.sh command (as explained on the website), it throws the next
line (besides some others that are not important though):

automake: configure.in: required file ./depcomp' not found automake: src/thread/Makefile.am: Assembler source seen butASFLAGS’ not
defined in `configure.in

I thought that it would not cause problems, but after doing the configure
process, the make fails throwing this error and stoping the process:

…/…/depcomp: …/…/depcomp: No such file or directory

I’m not an expert with automake and autoconf, so I don’t know if this is a
problem with my automake/autoconf version or with the CVS tree. I think
that could be for the first reason, I’m using a LFS (Linux from scratch)
system that uses the version 1.5 of automake and 2.52 of autoconf. On the
manual it’s says that the versions of those two programs are too new for
some programs like for example KDE-CVS, so I guess that the last CVS tree
of SDL does not support this version of those programs.

Anyone knows about it?

Thanks for all and greettings.
Ernesto.

Also, when I do “make distclean” it throws:

make[1]: Entering directory /home/ernesto/src/SDL12/docs' make[1]: *** No rule to make targetdistclean’. Stop.
make[1]: Leaving directory `/home/ernesto/src/SDL12/docs’
make: *** [distclean-recursive] Error 1

That, ofcourse, stop the “make distclean” process. I didn’t check if the
docs directory is the last one on the make chain, but anyway I guess that
it shouldn’t throw this error =)

Greettings.
Ernesto.

Have you tried using an older version of automake (if possible) ? The reason
for the failure probably is because SDL hasnt been tested with newer versions
yet.
You should have a depcomp file which comes with automake (i think) and you
should be able to find it in $PREFIX/share/automake/ (PREFIX is probably /usr
or /usr/local). Maybe trying to copy that to the root directory of the SDL
CVS tree will help, then rerun autogen/configure.

The reason that make distclean failed is because the configure script didnt
create a Makefile in the docs directory, but that may not be related to the
depcomp error :)On Fri, Sep 28, 2001 at 09:22:13PM -0500, Ernesto Domato wrote:

automake: configure.in: required file ./depcomp' not found automake: src/thread/Makefile.am: Assembler source seen butASFLAGS’ not
defined in `configure.in


Adam
@Adam_Feakin
j: superpeach at jabber.org
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20010928/6be23833/attachment-0007.pgp

automake: configure.in: required file ./depcomp' not found automake: src/thread/Makefile.am: Assembler source seen butASFLAGS’ not
defined in `configure.in

Have you tried using an older version of automake (if possible) ? The reason
for the failure probably is because SDL hasnt been tested with newer versions
yet.
You should have a depcomp file which comes with automake (i think) and you
should be able to find it in $PREFIX/share/automake/ (PREFIX is probably /usr
or /usr/local). Maybe trying to copy that to the root directory of the SDL
CVS tree will help, then rerun autogen/configure.

Well, I’ve copied depcomp from /usr/share/automake to the root of the CVS
tree and it worked, thanks =)
So, I’m wondering now why it failed? =P

The reason that make distclean failed is because the configure script didnt
create a Makefile in the docs directory, but that may not be related to the
depcomp error :slight_smile:

I’ve checked and there’s a Makefile on the docs directory, so I don’t know
what is the problem yet.

Greettings.
Ernesto.

At 21:22 Uhr -0500 28.09.2001, Ernesto Domato wrote:

Hi everyone. I downloaded the last CVS tree (09/28/2001) and after typing
the ./autogen.sh command (as explained on the website), it throws the next
line (besides some others that are not important though):

automake: configure.in: required file ./depcomp' not found automake: src/thread/Makefile.am: Assembler source seen butASFLAGS’ not
defined in `configure.in

I thought that it would not cause problems, but after doing the configure
process, the make fails throwing this error and stoping the process:

…/…/depcomp: …/…/depcomp: No such file or directory

I’m not an expert with automake and autoconf, so I don’t know if this is a
problem with my automake/autoconf version or with the CVS tree. I think
that could be for the first reason, I’m using a LFS (Linux from scratch)
system that uses the version 1.5 of automake and 2.52 of autoconf. On the
manual it’s says that the versions of those two programs are too new for
some programs like for example KDE-CVS, so I guess that the last CVS tree
of SDL does not support this version of those programs.

Anyone knows about it?

Yeah I know it, and I actually submitted a patch to sam, but he had
not yet a chance to incorporate it. On my system (Mac OS X) more
things are affected…

  1. you have to generate the “depcomp” file. to do so, do this:
    automake -a

  2. Depending on which system you are on, you have to modify
    configure.in. Change this:

case “$target” in
--beos*)
AC_PROG_CXX
;;
--aix*)
AC_PROG_CXX
;;
# This is stupid, but necessary on some versions of Linux (joysticks)
--linux*)
AC_PROG_CXX
;;
esac

to the simple one line:

AC_PROG_CXX

Actually, I don’t undersstand why the original is so complicated
(AC_PROG_CXX does simply continue, even if it can’t find a C++
compiler). This is needed because in src/main/, automake wants to use
CXXLD, which is set by this autoconf macro.

  1. For OS X only, there is another change necessary, OBJCDEPCOMP has
    to be defined, but I guess that is not interesting for you :slight_smile:

HTH,

Max–

Max Horn
Software Developer

email: mailto:Max_Horn
phone: (+49) 6151-494890