[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] Compiling swarm on debian/unstable
From: |
John Leuner |
Subject: |
Re: [Swarm-Support] Compiling swarm on debian/unstable |
Date: |
06 Sep 2003 01:08:23 +0200 |
On Fri, 2003-09-05 at 23:27, Paul E Johnson wrote:
> If you take swarm-2.1.147, you don't need automake etc. It is made already.
One would think so. I run configure
CC=gcc-3.3 ./configure --with-tcldir=/usr/lib/tcl8.4
--with-tclscriptdir=/usr/lib/tcl8.4
--with-tkincludedir=/usr/include/tk8.4 --with-tkscriptdir=/usr/lib/tk8.4
--with-jdkdir=/usr/local/j2sdk1.4.1
and it completes fine, but when I run make:
make
~/dev/swarm-2.1.147.20030812
cd . && /bin/sh /home/jewel/dev/swarm-2.1.147.20030812/missing --run
autoconf
configure.in:11: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
configure.in:353: warning: do not use m4_regexp: use regexp or
m4_bregexp
configure:24047: error: do not use LIBOBJS directly, use AC_LIBOBJ (see
section `AC_LIBOBJ vs LIBOBJS'
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
WARNING: `autoconf' is missing on your system. You should only need it
if
you modified `configure.in'. You might want to install the
`Autoconf' and `GNU m4' packages. Grab them from any GNU
archive site.
/bin/sh ./config.status --recheck
running /bin/sh ./configure --with-tcldir=/usr/lib/tcl8.4
--with-tclscriptdir=/usr/lib/tcl8.4
--with-tkincludedir=/usr/include/tk8.4 --with-tkscriptdir=/usr/lib/tk8.4
--with-jdkdir=/usr/local/j2sdk1.4.1 CC=gcc-3.3 --no-create
--no-recursion
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Now it is running autoconf (version 2.57 on my machine) and
config.status recheck.
This seems to progress ok, it compiles some stuff, then it dies in the
src directory:
make[2]: Entering directory `/home/jewel/dev/swarm-2.1.147.20030812/src'
cd .. && \
/bin/sh /home/jewel/dev/swarm-2.1.147.20030812/missing --run automake
--gnu src/Makefile
configure.in:11: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
configure.in:353: warning: do not use m4_regexp: use regexp or
m4_bregexp
configure.in:5: your implementation of AM_INIT_AUTOMAKE comes from an
configure.in:5: old Automake version. You should recreate aclocal.m4
configure.in:5: with aclocal and run automake again.
/usr/share/automake-1.7/am/depend2.am: am__fastdepOBJC does not appear
in AM_CONDITIONAL
WARNING: `automake' is missing on your system. You should only need it
if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd .. && \
CONFIG_HEADERS= CONFIG_LINKS= \
CONFIG_FILES=src/Makefile /bin/sh ./config.status
config.status: creating src/Makefile
config.status: executing default-1 commands
make[2]: Leaving directory `/home/jewel/dev/swarm-2.1.147.20030812/src'
make[2]: Entering directory `/home/jewel/dev/swarm-2.1.147.20030812/src'
Makefile:378: *** missing separator. Stop.
make[2]: Leaving directory `/home/jewel/dev/swarm-2.1.147.20030812/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jewel/dev/swarm-2.1.147.20030812'
make: *** [all] Error 2
The line in question (378) looks like this in the generated Makefile:
.m.o:
@am__fastdepOBJC_TRUE@ if $(OBJCCOMPILE) -MT $@ -MD -MP -MF
"$(DEPDIR)/$*.Tpo" \
@am__fastdepOBJC_TRUE@ -c -o $@ `test -f '$<' || echo
'$(srcdir)/'`$<; \
@am__fastdepOBJC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
@am__fastdepOBJC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
@am__fastdepOBJC_TRUE@ fi
@am__fastdepOBJC_FALSE@ source='$<' object='$@' libtool=no \
@am__fastdepOBJC_FALSE@ depfile='$(DEPDIR)/$*.Po'
tmpdepfile='$(DEPDIR)/$*.TPo' \
@am__fastdepOBJC_FALSE@ $(OBJCDEPMODE) $(depcomp) \
@am__fastdepOBJC_FALSE@ $(OBJCCOMPILE) -c -o $@ `test -f '$<' || echo
'$(srcdir)/'`$<
Here a tab (or a substitution) is missing, causing this to fail.
I suspect the am_fastdepOBJC is not being substituted because of a
problem with automake 1.7.
/usr/share/automake-1.7/am/depend2.am: am__fastdepOBJC does not appear
in AM_CONDITIONAL
WARNING: `automake' is missing on your system. You should only need it
if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
John Leuner
> If you have gcc-3.3, it will build, assuming you have tcl-8.3, blt-2.4g
> or better, gperf, emacs, and libtool-1.5. gcc-3.2 is a known problem
> and won't work, don't bother with it.
> 2
> I don't know any Debian users, but I feel confident if we find the
> mismatch in the toolchain, we will solve this.
>
> John Leuner wrote:
> > I have tried to compile swarm 2.1.147.20030812 and a CVS checkout on my
> > debian/unstable machine but I keep running into all sorts of build
> > problems.
> >
> > A lot of these seem related to autoconf and automake (and version
> > problems with them).
> >
> > Is swarm meant to build on this platform? Is there a list of required
> > software? Can I post specific problems I have to this list?
> >
> > Thanks
--
John Leuner <address@hidden>