我目前正在开发一个基于gpl的mono应用程序。因此,我想提供一个源包与makefile。
我使用mdtool生成简单的makefile:
mdtool generate-makefiles AudioCuesheetEditor.sln --simple-makefiles在此之后,我可以成功地运行
./configure在那之后
make但如果我想参选
make install它会失败,并显示以下消息:
[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会失败吗?
发布于 2012-10-24 16:37:51
MonoDevelop中的Makefile集成在某种程度上是一个废弃的项目。
我建议您只使用MSBuild文件(.sln、.csproj等),然后在构建时只需在makefile中调用"xbuild“。对于安装,你可能想要创建自定义的“安装”make目标,或者如果你想通过MSBuild/xbuild进行实验安装,那么你可能想看看他们是如何在tasque项目中做到这一点的(源代码here)。
https://stackoverflow.com/questions/13036587
复制相似问题