aMule Forum
English => aMule Help => Topic started by: redman2004 on October 09, 2004, 06:54:47 PM
-
I have just downloaded the latest version of aMule and attempted to build it....
It failed with the following:-
[seppuku] /home/blah/amule-install/aMule-2.0.0rc6# ./configure
checking build system type... i386-unknown-freebsd5.2.1
checking host system type... i386-unknown-freebsd5.2.1
checking target system type... i386-unknown-freebsd5.2.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
./configure.lineno: 1902: Syntax error: Bad substitution
Just thought i''d pass this on :rolleyes:
-
Hi,
I have tried the same and I've been more lucky. Here it is what I tried:
/configure --enable-webserver --enable-amule-gui --enable-amule-daemon --enable-optimise --enable-optimize --with-wx-config=/usr/X11R6/bin/wxgtk-2.4-config --with-wxbase-config=/usr/X11R6/bin/wxgtk-2.4-config
and it worked on my FreeBSD 5.2.1 box.
But I had problems afterwards when trying to compile.
So if you manage to do it, it would be very nice to tell me how you did it ;-)
Thanks.
-
I solved the problems with my FBSD 5.2.1 with the following changes
of the configure.in file. Maybe it will help i your case, too.
--- configure.org Sun Oct 3 22:04:26 2004
+++ configure.in Mon Oct 4 19:10:21 2004
@@ -8,8 +8,8 @@
AM_MAINTAINER_MODE
# No -O2 by default, removing -fomit since it causes problems
-CFLAGS=" ${CFLAGS/-fomit-frame-pointer/}"
-CXXFLAGS=" ${CXXFLAGS/-fomit-frame-pointer/}"
+#CFLAGS=" ${CFLAGS/-fomit-frame-pointer/}"
+#CXXFLAGS=" ${CXXFLAGS/-fomit-frame-pointer/}"
# System detection, need AC_CANONICAL_TARGET
case "${target_os}" in
@@ -438,7 +438,7 @@
CFLAGS="$CFLAGS $DEBUG_FLAGS $OPTIMISE_FLAGS $PROFILE_FLAGS"
dnl -lpthread is needed by Debian
-LDFLAGS="$LDFLAGS $PROFILE_FLAGS -lpthread"
+LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
AM_CONDITIONAL(USE_EMBEDDED_CRYPTO, test x$USE_EMBEDDED_CRYPTO = xyes)
AM_CONDITIONAL(WEB, test x$WEB = xyes)
AM_CONDITIONAL(ED2K, test x$ED2K = xyes)