我目前正在開發一個項目,該項目還應該提供一個要打包到Linux系統中的源代碼包。由於我使用的是monodevelop,我用Makefile安裝目標有時可以正常工作,有時不需要
mdtool generate-makefiles AudioCuesheetEditor.sln --simple-makefiles
來生成makefile等。但是有一個小問題。在某些系統上,當運行最後一步時,一切正常。
make install
但有時不。輸出然後說
[[email protected] 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: omitting directory `bin/Release'
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
這是在安裝了KDE的Fedora 17 Linux上運行。在另一個Fedora 17 KDE上,一切都變得完美了。
有人能幫助我,哪裏出錯?
Makefile文件可以在這裏找到:http://sourceforge.net/p/audiocuesheet/code/140/tree/trunk/Quellcode/AudioCuesheetEditor.make
感謝您的幫助!
沒有人有任何想法嗎?我真的被這個問題困住了,因爲我不知道從哪裏開始尋找問題?! – Sven