开发者

Cannot find PGXS for Postgresql 8.4 on Ubuntu

I am trying to install the contrib/unaccent package for Postgresql 8.4 on my Ubuntu box. But I got the error m开发者_高级运维essage when I typed make:

/usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory

Apparently PGXS is Postgresql's infrastructure for installing extensions, but I could not find the file pgxs.mk at all on my ubuntu box.

Following some leads on the Internet, I tried installing libpq-dev. Nonetheless, I couldn't find any pgxs.mk even after installing libpq-dev.

What's really frustrating is that I can't even find an example of pgxs.mk anywhere on the Internet. How do I install the PGXS infrastructure?


Probably you need to install postgresql-server-dev-8.4 package, which contains your missing makefile:

/usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜