[trixbox1.localdomain Transmission]# ./autogen.sh && make -s
creating libtransmission/version.h
configure.ac:330: warning: AC_CANONICAL_HOST invoked multiple times
configure.ac:330: warning: AC_CANONICAL_HOST invoked multiple times
configure.in:30: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Running ./configure --enable-maintainer-mode
./autogen.sh: line 44: ./configure: No such file or directory
Now type 'make' to compile Transmission.
make: *** No targets specified and no makefile found. Stop.
[trixbox1.localdomain transmission-1.76+]# ./configure -q && make -s
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
configure: error: Package requirements (libcurl >= 7.16.3) were not met:
Requested 'libcurl >= 7.16.3' but version of libcurl is 7.15.5
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBCURL_CFLAGS
and LIBCURL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[trixbox1.localdomain transmission-1.76+]#
Looks like you have two verions of curl installed in /usr from yum and /usr/local from source/
You should not use in-system curl as it's simply too old, just uninstall it with "yum erase curl"
DL latest sources from upstream, make and install it. There are two ways to do it:
1) ./configure --prefix=/usr
2) install it into /usr/local by-default, but then in your build environment export PKG_CONFIG_PATH as "/usr/lib/pkgconfig:/usr/local/lib/pkgconfig". After this check "pkg-config --list-all | grep libcurl"
I've done the second way, and have no problems building transmission @all.
1. "Alternatively, you may set the environment variables LIBCURL_CFLAGS
and LIBCURL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.", ie:
export LIBCURL_LIBS="-L/usr/local/lib/ -lcurl"
export LIBCURL_CXXFLAGS="-I/usr/local/include/"
and then at run time:
LD_LIBRARY_PATH="/usr/local/lib" transmission-daemon
2. Manually cleanup old curl (libs, includes, bianries, mans, docs, etc - see Makefile) and install new version into /usr
3. Install new version over existing into /usr overwriting older versions. Can leave garbage.
Well I have a clean install of CentOS 5.4 I removed curl which also removes php. I installed curl from the source which is the newest version 7.19.7 however then when I try to compile Transmission it gives me an error saying it cant find libcurl the solution to this is to install the curl-devel package however once you install that it's for 7.15 and thus Transmission errors again saying that the curl version is outdated.
CentOS 5.4 have an outdated curl in the package-manager(Enterprise systems usually do since they focus more on stability). So what I did was first to compile curl from http://curl.haxx.se. Make install uses /usr/local as prefix path as usual.
My issue I guess I'm having with the optional stuff is I'm lost as to what exactly I'd enter to configure transmission with the install from source. So that command you listed what would I enter exactly to configure it?
This is what I have in .bashrc to compile transmission (I use only custom built curl in /usr/local/lib):
export CFLAGS="-O2 -march=core2 -pipe -fstack-protector"
export CXXFLAGS=$CFLAGS
export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/lib/pkgconfig"
Also you will have to have newer intltool. And it should be installed in /usr/share unless you want do deal with the mess of aclocal's dirs.
gettext-devel pulls lots of useless X-related stuff. If you are fine with it, install. If not (headless machine), install gettext package, download source tar.gz and copy "nls.m4" into /usr/share/aclocal-1.9/
With all of these autogen.sh should not generate any errors. If ./configure does, and errors are due to unstripped prefixes, open libtool.sh and replace ECHO="echo -n" with echo="echo -n"