LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-01-2015, 10:02 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Thumbs down Alsa Error When compiling.


Hello all.

When I want to compile "alsa-tools-1.0.28" on debian 7.7 via "./gitcompile" it show me below error :

configure.ac:21: warning: macro `AM_PATH_LD10K1' not found in library
configure.ac:21: error: possibly undefined macro: AM_PATH_LD10K1
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
make: *** [all] Error 1

How can I solve it?
 
Old 02-01-2015, 11:02 AM   #2
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
It would help to know why you are compiling a package on Wheezy that is available as a binary in the Sid repo.
 
Old 02-01-2015, 12:31 PM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You need to install devel package/files of ld10k1.

Source Website
 
Old 02-01-2015, 11:58 PM   #4
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
I downloaded "http://sourceforge.net/projects/ld10k1/files/" and install but problem not solved and see same error.
 
Old 02-02-2015, 08:10 AM   #5
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
If you are using alsa-tools-1.0.28 stable why not get a tarball and don't use git.

For a tarball you can do regular:

Code:
./configure --prefix=/usr
make
make install
For git download do as readme or install file says.

Mostly steps are:

Code:
autoreconf -f -i
./configure --prefix=/usr
make
make install
 
Old 02-02-2015, 08:17 AM   #6
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by veerain View Post
If you are using alsa-tools-1.0.28 stable why not get a tarball and don't use git.

For a tarball you can do regular:

Code:
./configure --prefix=/usr
make
make install
For git download do as readme or install file says.

Mostly steps are:

Code:
autoreconf -f -i
./configure --prefix=/usr
make
make install


When you download the Alsa-tools and extract it, its has some directories with a file with the name "gitcompile" and it installed all tools for you automatically.
 
Old 02-02-2015, 10:18 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by hack3rcon View Post
When you download the Alsa-tools and extract it, its has some directories with a file with the name "gitcompile" and it installed all tools for you automatically.
Please, go back to post #2, and read/answer what widget posted.

There is NO REASON to compile any of this, when you can get packages that are pre-built for your system. WHY are you trying to do this, is the best question??? Shoving in bits of Alsa (and WORSE, the ld10k1 libraries), from source is only going to make things MUCH harder to maintain on your system, and may make things not work AT ALL.
 
Old 02-03-2015, 07:51 AM   #8
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
I want to install it myself. Any problem?
 
Old 02-03-2015, 10:14 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by hack3rcon View Post
I want to install it myself. Any problem?
Aside from the ones you're having, you mean?? No, feel free. It's just not a good idea, unless you absolutely NEED some particular function that only the bleeding-edge software can provide you, or isn't compiled in to what you've already got as a package. Having software and libraries that are totally mismatched to what is in your repositories can lead to some...'interesting' things happening, and give you bad results.
 
Old 02-03-2015, 08:23 PM   #10
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
You would be better off if you want to compile packages to use Slackware.

If that is too much like leaping into the deep end of the pool get the book for Linux From Scratch and build it in a chroot "jail" within your Debian install.

Either one will give you plenty of opportunity to compile packages with in a system that is intended for that purpose.

There is nothing at all wrong with compiling to Debian if you need it. However; your system is designed to use a package manager, dpkg, built to keep track of packages, install packages, remove packages and to resolve dependency problems.

This can become very sticky when you have packages built in the system that dpkg knows nothing about. So while it can be done you should be pretty well expert at dealing with dpkg and problems with it before you start compiling packages to Debian.
 
1 members found this post helpful.
Old 02-03-2015, 08:41 PM   #11
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
You should probably also check this post;
http://www.linuxquestions.org/questi...7/#post5311124

The link in it is excellent.
 
1 members found this post helpful.
Old 02-05-2015, 08:16 AM   #12
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
I would still say grab the release tarball and install it. If it does not then try git. Because git uses all that automake/autoconf stuff whose dependency solving would be nightmare to newbies.
 
Old 02-05-2015, 10:10 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by veerain View Post
I would still say grab the release tarball and install it. If it does not then try git. Because git uses all that automake/autoconf stuff whose dependency solving would be nightmare to newbies.
How, exactly, did you come to this conclusion??? The source dependencies are THE SAME, whether you get the source from tar or GIT. The build instructions are the same, along with what is needed to compile/run it.

ALSA from source is ALWAYS to be avoided whenever possible, because it IS a nightmare, and there's typically never a need to do it.
 
Old 02-05-2015, 10:44 PM   #14
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Because I install my whole system by source. Did you overlooked the error he is getting.

Quote:
error: possibly undefined macro: AM_PATH_LD10K1
His system is lacking a automake macro. The upstream have that in their system but it is not present on most users. So automake/autoconf is not able to produce a working Makefile file. That's why you have to install devel files for macros.

By the way you suggesting always prefer binary versions from distros I anticipate that you don't do much building from source.

You can read info pages of automake, autoconf, libtool.
 
Old 02-06-2015, 08:40 AM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by veerain View Post
Because I install my whole system by source. Did you overlooked the error he is getting.
I find it VERY hard to believe you installed Linux from Scratch. And no, I didn't overlook his error.
Quote:
His system is lacking a automake macro. The upstream have that in their system but it is not present on most users. So automake/autoconf is not able to produce a working Makefile file. That's why you have to install devel files for macros.
...or you simply install the automake package, right? And did you overlook the fact that the source tar.gz file has the SAME THINGS in it as the ones from GIT???
Quote:
By the way you suggesting always prefer binary versions from distros I anticipate that you don't do much building from source.
I build quite a bit, thanks, and write LOTS of my own code. AGAIN, since you're missing the point, installing VERY complex things like ALSA, GLIB, or other such libraries:
  • Is VERY complicated
  • Something that newer users shouldn't really do
  • Something that NO ONE should every do, unless they absolutely NEED a cutting edge feature or something that's not in the pre-compiled package
Quote:
You can read info pages of automake, autoconf, libtool.
Yes, and so can you. You can also read the release notes on ALSA and how to build it, along with many other things.
 
  


Reply

Tags
alsa, alsa-tools


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling alsa-driver with slack 10.2 and 2.6.16.2 Kovacs Slackware 3 04-10-2006 09:40 PM
alsa compiling error cselph Linux - Hardware 3 12-17-2005 07:38 AM
error compiling alsa driver 1.0.9b on slackware 10.2 salviadud Slackware 9 11-14-2005 04:36 AM
'make' error compiling alsa driver rickh Debian 3 05-14-2005 12:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration