Musepack Forums

Musepack Forums (https://forum.musepack.net/index.php)
-   Development (https://forum.musepack.net/forumdisplay.php?f=11)
-   -   ./configure missing in libmpcdec 1.2.4 (https://forum.musepack.net/showthread.php?t=317)

Zenitram 08 December 2006 01:42 pm

./configure missing in libmpcdec 1.2.4
 
The last version of limpcdec forgot ./configure file.
Edit : ./configure is missing in 1.2.3 too, but is present in 1.2.2
There is ./autogen.sh, but this is not "pretty" for automatic installations without installing autotools.

And if I do ./autogen.sh, I have this error :
Putting files in AC_CONFIG_AUX_DIR, `config'.
include/Makefile.am:5: invalid variable `nobase_include_HEADERS'

Lefungus 08 December 2006 02:46 pm

Configure has been removed on purpose since it can be regenerated automatically with autogen.sh.

However, autogen.sh *should* work. Maybe we need to fix something. Can I ask you your autotools version, and can you check which tool produce this error by calling autotools manually ?

Zenitram 09 December 2006 02:10 pm

I note for ./configure, even if I don't agree : autotools are not often installed, so some people won't easily do "./configure;make" as they does for other softwares. For example, I had to install it for you only ;-)

For autogen.sh :
Zenitram@s01:~$ wget http://files.musepack.net/source/lib...-1.2.4.tar.bz2
15:00:36 (78.57 KB/s) - `libmpcdec-1.2.4.tar.bz2' saved [43735/43735]
Zenitram@s01:~$ bunzip2 libmpcdec-1.2.4.tar.bz2
Zenitram@s01:~$ tar xf libmpcdec-1.2.4.tar
Zenitram@s01:~$ cd libmpcdec-1.2.4/
Zenitram@s01:~/libmpcdec-1.2.4$ ls
AUTHORS autogen.sh ChangeLog configure.ac COPYING docs include INSTALL Makefile.am README src win32
Zenitram@s01:~/libmpcdec-1.2.4$ mkdir config
Zenitram@s01:~/libmpcdec-1.2.4$ libtoolize --copy --force
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, `config'.
Zenitram@s01:~/libmpcdec-1.2.4$ aclocal
Zenitram@s01:~/libmpcdec-1.2.4$ autoheader
Zenitram@s01:~/libmpcdec-1.2.4$ automake --gnu --add-missing --copy
automake: configure.ac: installing `config/install-sh'
automake: configure.ac: installing `config/mkinstalldirs'
automake: configure.ac: installing `config/missing'
include/Makefile.am:5: invalid variable `nobase_include_HEADERS'
Zenitram@s01:~/libmpcdec-1.2.4$

automake version : 1.4-p6-11
Note: when checking for automake version, I noticed that automake 1.9 was available too with my distrib (Ubuntu 6.10, by default apt-get install automake installs v1.4).
With automake 1.9, script is OK.

Lefungus 09 December 2006 04:20 pm

Ok, you have a point and I'll add back configure script into the distributed package so people won't have to guess which autotools package to install. However, svn won't have it as it is unnecessary there.
1.2.4 will be updated soon.

Zenitram 09 December 2006 04:24 pm

Good news, thanks!
(and I agree with you : SVN needn't it, this is a "release specific" file)

Shy 09 December 2006 07:04 pm

Updated on the server. Redownload.

xmixahlx 10 December 2006 03:53 am

i think it is unnecessary.

any developer will have a current autotools version installed.


but, whatever...


All times are GMT. The time now is 04:02 pm.

Powered by vBulletin® Version 3.8.11 Beta 2
Copyright ©2000 - 2020, vBulletin Solutions Inc.