Skip to contentSkip to conversation

automake error

Bluez-devel Luca Capello 3 participants 4 messages Jan 18, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I'm new to the list, so hello to everyone :-)

I just bought a Bluetake i-Phono and I was trying to test it (Debian unstable, kernel 2.6.10, ALSA 1.0.8), but I got an automake error:
=====

luca@gismo:~/src/kernel/bluetooth$ cvs
- -d:pserver:[email protected]:/cvsroot/bluetooth-alsa login
Logging in to :pserver:[email protected]:2401/cvsroot/bluetooth-alsa
CVS password:
luca@gismo:~/src/kernel/bluetooth$ cvs
- -d:pserver:[email protected]:/cvsroot/bluetooth-alsa co btsco
cvs checkout: Updating btsco
<cut>
U btsco/sbc/sbcinfo.c
luca@gismo:~/src/kernel/bluetooth$ cd btsco/
luca@gismo:~/src/kernel/bluetooth/btsco$ ./bootstrap
automake: unrecognized option -- `--ignore-deps'
Try `automake --help' for more information.
luca@gismo:~/src/kernel/bluetooth/btsco$ automake --help | grep ignore
luca@gismo:~/src/kernel/bluetooth/btsco$ automake --version | grep automake
automake (GNU automake) 1.4-p6
=====

So, the attached patch check for automake-1.7 during the bootstrap process and add an info in the README.

But I still have some compilation problems... (new post, IMHO it's better).

Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFB7R1mVAp7Xm10JmkRAsS6AJ0cJCqjyaxxDdVW2HafWJFWwJbatQCdF002 OXtjJYOo4mfeYcpDZyGT9Y0=
=eIey
-----END PGP SIGNATURE-----

bootstrap +9 -1
diff -Naur btsco_cvs-20050118-1520/bootstrap btsco/bootstrap
@@ -1,2 +1,10 @@
 #! /bin/sh
-aclocal && autoheader && automake --add-missing --copy --ignore-deps && autoconf
+
+if [ ! `which automake-1.7` ]; then
+    echo -e "\n*** You need automake-1.7 to compile this software ***\n"
+    exit 1
+elif [ ! `automake --version | grep -q 1.7` ]; then
+    AUTOMAKE_VERSION="-1.7"
+fi
+ 
+aclocal$AUTOMAKE_VERSION && autoheader && automake$AUTOMAKE_VERSION --add-missing --copy --ignore-deps && autoconf
README +1 -1
diff -Naur btsco_cvs-20050118-1520/README btsco/README
@@ -37,7 +37,7 @@
     1. The CVS repository must be checked out:
         cvs -d:pserver:[email protected]:/cvsroot/bluetooth-alsa login
         cvs -d:pserver:[email protected]:/cvsroot/bluetooth-alsa co btsco
-    2. After that it must be compiled, you need automake1.7 to do it:
+    2. After that it must be compiled:
         ./bootstrap
         ./configure
         make
#1 lore raw

thanks Luca. keep those patches coming :)

Quoted 68 lines · Luca Capello

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I'm new to the list, so hello to everyone :-)

I just bought a Bluetake i-Phono and I was trying to test it (Debian unstable, kernel 2.6.10, ALSA 1.0.8), but I got an automake error:
=====

luca@gismo:~/src/kernel/bluetooth$ cvs
- -d:pserver:[email protected]:/cvsroot/bluetooth-alsa login
Logging in to :pserver:[email protected]:2401/cvsroot/bluetooth-alsa
CVS password:
luca@gismo:~/src/kernel/bluetooth$ cvs
- -d:pserver:[email protected]:/cvsroot/bluetooth-alsa co btsco
cvs checkout: Updating btsco
<cut>
U btsco/sbc/sbcinfo.c
luca@gismo:~/src/kernel/bluetooth$ cd btsco/
luca@gismo:~/src/kernel/bluetooth/btsco$ ./bootstrap
automake: unrecognized option -- `--ignore-deps'
Try `automake --help' for more information.
luca@gismo:~/src/kernel/bluetooth/btsco$ automake --help | grep ignore
luca@gismo:~/src/kernel/bluetooth/btsco$ automake --version | grep automake
automake (GNU automake) 1.4-p6
=====

So, the attached patch check for automake-1.7 during the bootstrap process and add an info in the README.

But I still have some compilation problems... (new post, IMHO it's better).

Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFB7R1mVAp7Xm10JmkRAsS6AJ0cJCqjyaxxDdVW2HafWJFWwJbatQCdF002 OXtjJYOo4mfeYcpDZyGT9Y0=
=eIey
-----END PGP SIGNATURE-----

------------------------------------------------------------------------

diff -Naur btsco_cvs-20050118-1520/bootstrap btsco/bootstrap

bootstrap +9 -1
@@ -1,2 +1,10 @@
 #! /bin/sh
-aclocal && autoheader && automake --add-missing --copy --ignore-deps && autoconf
+
+if [ ! `which automake-1.7` ]; then
+    echo -e "\n*** You need automake-1.7 to compile this software ***\n"
+    exit 1
+elif [ ! `automake --version | grep -q 1.7` ]; then
+    AUTOMAKE_VERSION="-1.7"
+fi
+ 
+aclocal$AUTOMAKE_VERSION && autoheader && automake$AUTOMAKE_VERSION --add-missing --copy --ignore-deps && autoconf

diff -Naur btsco_cvs-20050118-1520/README btsco/README

README line 43

Quoted 8 lines
README +1 -1
@@ -37,7 +37,7 @@
     1. The CVS repository must be checked out:
         cvs -d:pserver:[email protected]:/cvsroot/bluetooth-alsa login
         cvs -d:pserver:[email protected]:/cvsroot/bluetooth-alsa co btsco
-    2. After that it must be compiled, you need automake1.7 to do it:
+    2. After that it must be compiled:
         ./bootstrap
         ./configure
         make

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#2 lore raw

Hi Brad,

Quoted 1 line

thanks Luca. keep those patches coming :)

the Debian users should consider to use update-alternatives to choose their prefered automake. The CVS is for developers and they should know what they are doing. In a released tarball this doesn't matter anymore. On the other hand you can simply remove --ignore-deps from the bootstrap file. I personally don't like this depend stuff and so I don't use it.

Regards

Marcel

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#3 lore raw
In reply to Brad Midgley

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Brad,

Quoted 1 line · Brad Midgley

thanks Luca. keep those patches coming :)

sure, I'd like to stream music from my IBM ThinkPad T42p to the Bluetake i-Phono, changing the song with my SE K700i ;-)

So, I'll do my best, which is a bit limited if we speak about programming skills.

Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFB7W0jVAp7Xm10JmkRAkbaAJ9tiRvHo+EXMg1gPynoJKebP7vOcwCfRRzC dqiqdWHyK5hNVyWKZopxbEI=
=l04J
-----END PGP SIGNATURE-----

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel