Ubuntu linux编译alsa-lib报错 automake-1.16: command not found 的解决方案

Redhat7.4下安装nginx-1.14 1)yum直接安装依赖包 yum install pcre-devel pcre gcc gcc-c++ zlib-devel zlib openssl* -y (安装依赖) tar -zxvf nginx-1.14.1.tar.gz cd /software/nginx-1.14.1 adduser nginx (添加系统用户) ./configure --prefix=/sof... 阅读详情
AI摘要

本文讲述了在编译alsa遇到version mismatch错误,如何通过检查automake版本、更新到最新版本、使用autoscan和aclocal等步骤来解决问题的过程,适合alsa开发者参考。

在编译alsa的时候报错,config完毕后,make错误如下: line 81: automake-1.16: command not found

root@sw-desktop:/home/libalsa/src/alsa-lib-1.2.3.2/alsa-lib-1.2.3.2# make
 cd . && /bin/bash /home/libalsa/src/alsa-lib-1.2.3.2/alsa-lib-1.2.3.2/missing automake-1.16 --foreign
/home/libalsa/src/alsa-lib-1.2.3.2/alsa-lib-1.2.3.2/missing: line 81: automake-1.16: command not found
WARNING: 'automake-1.16' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
Makefile:357: recipe for target 'Makefile.in' failed
make: *** [Makefile.in] Error 1

而我的automke的版本为1.15

 $automake --version
automake (GNU automake) 1.15
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.

于是卸载了这个automake后,http://ftp.gnu.org/gnu/automake/下载了最新的1.16,然后安装,然后继续编译alsa,报错:

error: version mismatch.  This is Automake 1.16,

root@sw-desktop:/home/libalsa/src/alsa-lib-1.2.3.2/alsa-lib-1.2.3.2# make
 cd . && /bin/bash /home/libalsa/src/alsa-lib-1.2.3.2/alsa-lib-1.2.3.2/missing automake-1.16 --foreign
configure.ac:16: error: version mismatch.  This is Automake 1.16,
configure.ac:16: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:16: comes from Automake 1.16.1.  You should recreate
configure.ac:16: aclocal.m4 with aclocal and run automake again.
WARNING: 'automake-1.16' is probably too old.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
Makefile:357: recipe for target 'Makefile.in' failed
make: *** [Makefile.in] Error 1

解决方案是:

1 、autoscan 用 autoscan 产生一个 configure.in 的原型,执行autoscan 后会产生一个configure.scan 的文件,可以用它作为 configure.in文件的蓝本。
2、 执行 aclocal 和 autoconf ,分別会产生 aclocal.m4 及 configure 两个文件 
3、然后执行: automake --add-missing
4、 最后执行: ./configure

其实不要重新安装automake,在此记录一下,后面学习alsa会用到!

automake-1.16.1.tar.gz libtool-2.4.6.tar.gz 手动安装包 ①./configure ②make ③make install 立即下载

相关推荐

STM32 使用rtthread的DMA 串口发送失败

在一次使用RTthread的DMA 串口发送时,持续性通过DMA 发送串口数据时,偶发发送过程中后续数据包无法正常发送出去,后经查,发现为RT-Thread的串口中断处理有瑕疵,后做出修改。另,为了更方便的排查为题,建议修改。左为修改前,右为修改后。

qq_39294918的博客 1110

p4est使用时遇到“ automake-1.16: command not found”问题的解决办法

解决此问题的方法:并没有像其所说的那样升级automake的版本,而是注意到各种解决方法中都提到了不要改变源程序,于是发现在编译自己的程序时不要动makefile.am文件就不会报错。

weixin_44811528的博客 934

YOLO详解

本文参考知乎 https://zhuanlan.zhihu.com/p/25236464 1. YOLO的创新点 YOLO将物体检测作为回归问题求解。基于一个单独的end-to-end网络,完成从原始图像的输入到物体位置和类别的输出。 从网络设计上,YOLO与two steps的目标检测方法如RCNN、Fast RCNN和Faster RCNN的区别如下: YOLO训练和检测均是在一个单独网...

UnknownPlayer的博客 9960

ubuntu18 automake-1.16: command not found

但是ubuntu 18的automake是1.15的。其实不需要重新安装automake,直接跑下面的命令重新配置即可 autoscan aclocal autoconf automake --add-missing ./configure 然后make就不会报这个错了。 原理见:https://blog.csdn.net/hubbybob1/article/details/109244833 反正我没看懂 ...

已迁移至 https://seekstar.github.io/ 3161

win11本地部署openclaw实操第1集

OpenClaw 是一款开源、本地优先、可自托管的 AI 智能体(AI Agent)网关 / 自动化框架,核心是让 AI 从 “只聊天、给建议” 变成 “能在你电脑上真做事” 的数字助手。

weixin_44626085的博客 7129

2024年淘宝平板电脑销售数据分析

本项目的目标是从淘宝电商平台上自动化爬取商品信息,并通过数据分析帮助了解价格、销量等相关指标,为商业决策提供支持。使用Selenium实现数据爬取,结合Python的数据处理与可视化工具,进一步分析和展示结果。

2301_76728517的博客 1474

源码安装automake1.16遇到的问题

基于coreutils-8.32, 修改了linux系统命令head、tail的源码, 引入了一个自定义的.a文件,需重新编译。 但是编译时报错了: configure.ac:38: error: version mismatch. This is Automake 1.15.1, configure.ac:38: but the definition used by this AM_INIT_AUTOMAKE configure.ac:38: comes from Automake 1.16...

frockee的专栏 8700

Win10文件夹只读属性自动恢复?彻底解决方法解析

Win10文件夹只读属性自动恢复?彻底解决方法解析在Windows系统使用过程中,文件权限管理常会遇到棘手问题。最近多位用户反馈:取消文件夹只读属性后,系统却自动恢复该设置,导致无法正常复制或修改文件。本文将深入分析该现象的产生原因,并提供多种解决方案,帮助开发者彻底摆脱权限困扰。

mmoo_python的博客 7534

关于 WARNING: 'automake-1.15' is missing on your system.的解决

编译jffs2_tool时报错 WARNING: 'automake-1.15' is missing on your system. 本以为下载了对应的源码包装上就行了,没想到后面牵涉了好多问题,总结一下。 1.automake -v一下 版本太旧了,apt-get autoremove automake 删除 automake -v The program 'automak...

yyyljw的博客 1万+

Avellaneda & Stoikov’s market-making strategy 工程化处理

前2篇文章详细介绍了AS存货模型的做市策略,这次对于这些公式里面一些希腊字母的取值是如何计算的,如何做工程化并应用到生产环境中做一些说明。这个里面有一些重要参数:很直观,可以直接取值的有:s = current market mid price (中间价,也就是【最佳卖价+最佳买价】/2)q = quantity of assets in inventory of base asset (也就是买入多少价值的股票数量)

weixin_42480337的博客 7070

智能车八邻域图像算法

智能车八邻域图像算法

技术缝合怪的博客 4万+

linux下编译libuv库

 最近使用新版本的libuv源码进行编译。 从http://libuv.org/dist下载,

月上纱窗的专栏 5870

【计算机视觉 | 目标检测】目标检测常用数据集及其介绍(十一)

【计算机视觉 | 目标检测】目标检测常用数据集及其介绍(十一)

wzk4869的博客 739

automake 编译提示版本报错 解决高版本不兼容低版本

-add-missing 参数告诉 automake 自动添加任何缺失的标准 Makefile 规则或者辅助文件,如 install-sh、missing 等,这些通常是构建、安装或测试过程中需要的。编译时提示需要使用1.15 但是实际运行的是1.16.5 按理来说,高版本都会默认对低版本的兼容,但是这个强制提示需要1.15就很奇怪,所以不用着急去更新当前的版本,而是看下编译的脚本的中指向的参数进行就跟即可。修改路径下的Makefile文件中的automake的版本修改。

daisy.skye的博客 3037

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

移植strongswan出现missing: line 81: automake-1.14: command not found

最近在嵌入式系统需实现ipsec,采用strongswan,发现移植中出现automake版本不一致 make[3]: Entering directory `xxx/strongswan/strongswan-5.3.2' cd . && xxx/strongswan/strongswan-5.3.2/missing automake-1.14 --gnuxxx/strongs...

weixin_30530523的博客 1656

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

基于centos7.9安装 imagemagick7.1.0

imagemagick已发布7.1.0-4版本, 官方提供的 rpm 安装包基于 centos8.x 构建, 奈何我们生产环境是 centos7.9版本, 只能源码安装了 安装过程依赖较多, 折腾了四天才搞定 docker 镜像, 这里记录下安装编译过程 我这里需要 gif, png, jpeg, webp, avif, heic 等格式 所以依赖多, 不需要可以酌情减少 #设置环境变量 PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib64/pkgconfig:/usr/l

jeevi的博客 1948

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

AFL自带安装脚本build_qemu_support.sh修改至新版本qemu

AFL依赖QEMU实现了无源码的fuzzing功能,在其qemu_mode目录下自带了安装脚本build_qemu_support.sh,但是这个脚本版本极老,完全无法正常使用,在其基础上进行修改,安装新版的qemu

qq_40796848的博客 1594

autoreconf: not found

在执行shell脚本时, 提示 autoreconf: not found。

weixin_42268192的博客 1047

LS1028A make 错误 sudo apt update 错误: Error in `appstreamcli‘

在安装LS1028A的 OpenIL(open industry linux) 环境时遇到错误, NXP官方的操作流程: $ git clone https://github.com/openil/openil.git $ cd openil $ git checkout OpenIL-201908 -b OpenIL-201908 $ make nxp_ls1028ardb-64b_ubuntu_defconfig $ make 遇到这个错误 ./bootstrap: 4: ./bootstrap: a

malcolm_110的博客 885

WARNING: ‘automake-1.14‘ is missing on your system.

在 Ubuntu 18 上面编译的时候碰到了下面的错误信息: WARNING: 'automake-1.14' is missing on your system. You should only need it if you modified 'Makefile.am' or 'configure.ac' or m4 files included by ...

rainforest_c的博客 1万+

openwrt源码编译复盘

编译openwrt源码开启多拨复盘,编译项目的心酸过程

qq_51796970的博客 2104

automake创建Makefile

autoconf/automake主要用于创建makefile,本文主要介绍一下automake的简单用法。 Ubuntu下安装automake: sudo apt-get install automake 即可安装automake的相关工具。 使用automake主要会用到aclocal、autoscan、autoconf、autoheader和automake这几个命令。...

weixin_30319097的博客 898
上一篇: 解決APP启动短暂白屏或者黑屏的问题
下一篇: 推荐好用的ssh远程连接 linux的工具
葫芦娃二娃
博客等级 码龄15年 1850粉丝 69原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值