DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.