skip to Main Content

I have installed Postgres v16beta1 and while installing that I got an issue that
while configuring that using

./configure --prefix=$(pwd) -enable-debug

it shows that:

checking for icu-uc icu-i18n... no
configure: error: ICU library not found
If you have ICU already installed, see config.log for details on the
failure.  It is possible the compiler isn't looking in the proper directory.
Use --without-icu to disable ICU support.

While I have already that ICU installed.

sudo apt-get install libicu-dev

And the config.log has no useful logs. so that it led me to use the flag –without-icu
and it get installed successfully. Then when I went to install AGE PG16 branch I got into the following issue:

ERROR: `bison' is missing on your system. It is needed to create the
file `src/backend/parser/cypher_gram.c'. You can either get bison from a GNU mirror site
or download an official distribution of PostgreSQL, which contains
pre-packaged bison output.

WHILE having bison already installed, any idea?

OS: Ubuntu 22.04.2 LTS


2

Answers


  1. Chosen as BEST ANSWER

    For the AGE issue it was related to the bison version installed in the system, Postgresql requires a new version of Bison so upgrading it solving the problem.


  2. You need to install pkg-config for that. On Ubuntu Linux, that is done with

    apt-get install pkgconf
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search