首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >生成makefile的Mdtool

生成makefile的Mdtool
EN

Stack Overflow用户
提问于 2012-10-24 02:11:00
回答 1查看 969关注 0票数 0

我目前正在开发一个基于gpl的mono应用程序。因此,我想提供一个源包与makefile。

我使用mdtool生成简单的makefile:

代码语言:javascript
复制
mdtool generate-makefiles AudioCuesheetEditor.sln --simple-makefiles

在此之后,我可以成功地运行

代码语言:javascript
复制
./configure

在那之后

代码语言:javascript
复制
make

但如果我想参选

代码语言:javascript
复制
make install

它会失败,并显示以下消息:

代码语言:javascript
复制
[sven@Sven Downloads]$ make install
make[1]: Entering directory `/home/sven/Downloads'
make[1]: Leaving directory `/home/sven/Downloads'
make[1]: Entering directory `/home/sven/Downloads'
make pre-install-local-hook prefix=/usr/local
make[2]: Entering directory `/home/sven/Downloads'
make[2]: Leaving directory `/home/sven/Downloads'
make install-satellite-assemblies prefix=/usr/local
make[2]: Entering directory `/home/sven/Downloads'
mkdir -p '/usr/local/lib'
cp   bin/Release /usr/local/lib/audiocuesheeteditor
cp: Directory „bin/Release“ left out
make[2]: *** [/usr/local/lib/audiocuesheeteditor] Error 1
make[2]: Leaving directory `/home/sven/Downloads'
make[1]: *** [install-local] Error 2
make[1]: Leaving directory `/home/sven/Downloads'
make: *** [install-recursive] Error 1

如果你想检查构建,这里有一个包:http://sourceforge.net/projects/audiocuesheet/files/0.1.0/Audio%20Cuesheet%20Editor-src.tar.gz/download

有人知道为什么make install会失败吗?

EN

回答 1

Stack Overflow用户

发布于 2012-10-24 16:37:51

MonoDevelop中的Makefile集成在某种程度上是一个废弃的项目。

我建议您只使用MSBuild文件(.sln、.csproj等),然后在构建时只需在makefile中调用"xbuild“。对于安装,你可能想要创建自定义的“安装”make目标,或者如果你想通过MSBuild/xbuild进行实验安装,那么你可能想看看他们是如何在tasque项目中做到这一点的(源代码here)。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/13036587

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档