makefile:15:***缺少分隔符。停止

问题描述 投票:1回答:1

我知道有人对“缺少分隔符。请停止。”在SE上使用过,但我无法弄清楚我的makefile出了什么问题。

虽然我的程序安装正在运行,但出现在终端中:

*     Executing: 'make all -f makefile install INSTALL_DIR=/home/leomr/mcell_workspace/mcell_tools/work/build_cellblender' ['make', 'all', '-f', 'makefile', 'install', 'INSTALL_DIR=/home/leomr/mcell_workspace/mcell_tools/work/build_cellblender'] in '/home/leomr/mcell_workspace/cellblender'
makefile:15: *** missing separator.  Stop.
* Exit code: 2
* Error: Error: command 'make all -f makefile install INSTALL_DIR=/home/leomr/mcell_workspace/mcell_tools/work/build_cellblender' failed, terminating.

当我在cellblender目录中“ vi makefile”时,我得到了:

UNAME_S := $(shell uname -s)
#ifeq ($(UNAME_S),Linux)
#       INSTALL_DIR = ~/.config/blender/2.78/scripts/addons/
##      INSTALL_DIR = ~/src/blender/Blender-2.78c-CellBlender-linux/2.78/scripts/addons/
#else
#       INSTALL_DIR = /Applications/Blender-2.78c-CellBlender/blender.app/Contents/Resources/2.78/scripts/addons/
#endif

# CellBlender will be installed here. This should typically be a link to the desired location on your platform.
# For example, on a Linux machine it might be done with: ln -s ~/.config/blender/2.78/scripts/addons/ ~/my_cellblender_link
# For example, on a MacOSX machine it might be done with: ln -s ~/Library/Application\ Support/Blender/2.78/scripts/addons/ ~/my_cellblender_link
# For example, for a link pointing into a Linux bundle: ln -s ~/src/blender/Blender-2.78c-CellBlender-linux/2.78/scripts/addons/ ~/my_cellblender_link
# For example, for a link pointing into a MacOSX bundle: ln -s /Applications/Blender-2.78c-CellBlender/blender.app/Contents/Resources/2.78/scripts/addons/ ~/my_cellblender_link

<<<<<<< HEAD
INSTALL_DIR ?= ~/my_cellblender_link/
=======
INSTALL_DIR = ~/my_cellblender_link/
>>>>>>> refs/remotes/origin/master

# Linux:
<<<<<<< HEAD
#INSTALL_DIR = ~/.config/blender/2.78/scripts/addons/
=======
#INSTALL_DIR = ~/.config/blender/2.76/scripts/addons/
>>>>>>> refs/remotes/origin/master
.
.
. (this continues for a while)

第15行是第一个“ <<<<<<< HEAD”。

这里发生了什么?哪里应该有一个标签页?

我正在通过virtualbox使用Debian 10。有人告诉我我正在安装的程序可用于Debian 10,尽管它是为Debian 9编写的。

我知道有人对“缺少分隔符。请停止。”在SE上使用过,但我无法弄清楚我的makefile出了什么问题。当我的程序安装正在运行时,会出现...

makefile separator
1个回答
1
投票

如果您看到类似这样的内容:

© www.soinside.com 2019 - 2024. All rights reserved.