无法在MacOS上安装PG Partman-返回错误`丢失分隔符'
我正在尝试安装 pg_partman 在我的Mac上。我尝试过M1 Mac和Intel Mac。当我运行make install
:makefile:27:***丢失分隔符时,他们俩都会返回以下错误。停止。
第27行包含:
sql/$(EXTENSION)--$(EXTVERSION).sql: $(sort $(wildcard sql/types/*.sql)) $(sort $(wildcard sql/tables/*.sql)) $(sort $(wildcard sql/functions/*.sql)) $(sort $(wildcard sql/procedures/*.sql))
此错误通常是由于空格而不是标签引起的。但是,当我运行时,我会遇到此错误,然后在上进行pg_partman版本的任何上的任何。我打开了问题与PG_PARTMAN团队一起安装
,但我相信他们正在Linux计算机上运行它。
我认为这可能是由于我的M1 Mac造成的,但是当我在Intel Mac上运行时,我会遇到相同的错误。我完全亏损了。 下方的机器详细信息
MACOS MONTEREY
:12.3.1 哪个制造
:/usr/bin/make
make -version
:
GNU制造3.81版权(C)2006 Free Software Foundation,Inc。 是免费软件;请参阅复制条件的来源。没有 保修单;甚至不是针对特定的适销性或健身 目的。
这个为i386-Apple-darwin11.3.0
构建的程序
I am trying to install pg_partman on my Mac. I have tried both my M1 mac and Intel mac. Both of them return the following error when I run make install
: Makefile:27: *** missing separator. Stop.
Line 27 contains:
sql/$(EXTENSION)--$(EXTVERSION).sql: $(sort $(wildcard sql/types/*.sql)) $(sort $(wildcard sql/tables/*.sql)) $(sort $(wildcard sql/functions/*.sql)) $(sort $(wildcard sql/procedures/*.sql))
This error is usually due to spaces instead of tabs. However I get this error when I run make install
on any of the released versions of pg_partman. I opened an Issue with the pg_partman team and they have no issues running make install
, but I believe they are running it on a Linux machine.
I thought it might be due to my M1 mac but when I run on my Intel mac I get the same error. I'm at a complete loss. Machine details below
MacOS Monterey: 12.3.1
which make
: /usr/bin/make
make --version
:
GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This
is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.This program built for i386-apple-darwin11.3.0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在
中使用
修复了我的问题。sudo
sudo make installUsing
sudo
insudo make install
fixed my issue.