pg_pathman
pg_pathman copied to clipboard
Makefile:83: /usr/pgsql-12/lib/pgxs/src/makefiles/pgxs.mk: 没有那个文件或目录 make: *** 没有规则可以创建目标“/usr/pgsql-12/lib/pgxs/src/makefiles/pgxs.mk”。 停止。
Problem description
when make USE_PGXS=1 ==> Makefile:83: /usr/pgsql-12/lib/pgxs/src/makefiles/pgxs.mk: 没有那个文件或目录 make: *** 没有规则可以创建目标“/usr/pgsql-12/lib/pgxs/src/makefiles/pgxs.mk”。 停止。
Environment
Problem description
when make USE_PGXS=1 ==> Makefile:83: /usr/pgsql-12/lib/pgxs/src/makefiles/pgxs.mk: 没有那个文件或目录 make: *** 没有规则可以创建目标“/usr/pgsql-12/lib/pgxs/src/makefiles/pgxs.mk”。 停止。
Environment
说明你的postgresql环境变量不对,看看有没有将bin目录添加到PATH中.
你可以试试在终端中输入pg_confi 然后按 tab 看看能否自动补全,不能的话需要配置环境变量