0

我目前正在 gpl 下开发一个单声道应用程序。因此,我想提供一个带有 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 失败?

4

1 回答 1

0

MonoDevelop 中的 Makefile 集成是一个废弃的项目。

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

于 2012-10-24T08:37:51.243 回答