something wrong when i buiding on xubuntu 12
Hi, tatsuhiro
i want to budild aria2-1.16.1 in my xubuntu-12.04.1-desktop-i386 system. xubuntu have run "2. sudo apt-get install autoconf automake libcppunit-dev autopoint openssl libtool sphinx-common sphinxsearch libgcrypt11-dev libxml2-dev pkg-config" before i build.
I download aria2-master.zip from your web ,then i relase aria2-master.zip in xubuntu. after that i run the below command
mv aria2-master aria2-1.16.1
cd aria2-1.16.1
autoreconf –i
"autoreconf -i" show the below wrong infromation:
autoreconf: configure.ac' orconfigure.in' is required
would you please advise me how to deal with this? i want to add the newest aria2 to openwrt which i buid on xubuntu 12.04? many thanks.
It is indeed very strange. Did you check that configure.ac exists in aria2-1.16.1 directory? Installing autotools-dev, gettext and make packages might help.
Hi tatsuhiro-t:
configure.ac exists in aria2-1.16.1 directory.as the below pictrue
I have install autotools-dev, geittext,autoconf automake libcppunit-dev autopoint openssl libtool sphinx-common sphinxsearch libgcrypt11-dev libxml2-dev pkg-config on xubuntu.
when i run "autoreconf –i", it show like this
and when i run "autoconf", feedback as below
feedback information
[code]david@david:~/aria2-1.16.1$ autoconf
configure.ac:12: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:13: error: possibly undefined macro: AM_PATH_CPPUNIT
configure.ac:68: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:112: error: possibly undefined macro: AM_PATH_XML2
configure.ac:123: error: possibly undefined macro: AM_PATH_LIBEXPAT
configure.ac:207: error: possibly undefined macro: AM_PATH_LIBGCRYPT
configure.ac:411: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:412: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
david@david:~/aria2-1.16.1$
[/code]
Have you tried release version of aria2 1.16.1 tar ball?
I just want get aria2 1.16.tar.ba2 from your aira2 master.zip. for this aim, i must do the above order.
Just clarify: Can you build aria2 using aria2-1.16.1.tar.bz2 from http://sourceforge.net/projects/aria2/files/stable/aria2-1.16.1/ without autoreconf stuff?
yes, using aria2-1.16.1.tar.bz2 from http://sourceforge.net/projects/aria2/files/stable/aria2-1.16.1/ without autoreconf. but your aria2 is the newest edition than any other. i can get aria2-1.16.1.tar.bz2 from your aria2 master.zip on Ubuntu 12 04, but can't successfully on xubuntu 12 04.
Can you use autoreconf for other source programs on xubuntu? If not, then it is the xubuntu issue.
maybe you need to install the -dev packages for libxml2 etc?
installing libxml2-dev and such will solve this.
Reopen if you still have a problem.