Re: failing to compile v. 9.0.1 on debian squeeze with readline

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Imre Oolberg <imre(at)auul(dot)pri(dot)ee>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: failing to compile v. 9.0.1 on debian squeeze with readline
Date: 2010-12-06 19:38:31
Message-ID: 1291664311.10677.32.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On mån, 2010-12-06 at 00:29 +0200, Imre Oolberg wrote:
> 4. compile
>
> $ make
> ...
> gcc -O2 -Wall -Wmissing-prototypes ...
> ...
> postmaster/postmaster.o: In function `PostmasterMain':
> postmaster.c:(.text+0x420c): undefined reference to `optreset'
> tcop/postgres.o: In function `process_postgres_switches':
> postgres.c:(.text+0x122b): undefined reference to `optreset'
> utils/misc/ps_status.o: In function `set_ps_display':
> ps_status.c:(.text+0xd6): undefined reference to `setproctitle'
> collect2: ld returned 1 exit status
> make[2]: *** [postgres] Error 1
> make[2]: Leaving directory
> `/opt/postgres/tmp/postgresql-9.0.1/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/postgres/tmp/postgresql-9.0.1/src'
> make: *** [all] Error 2
>
> A workaround seems to ./configure with '--without-readline' (and the
> above mentioned parameter values get st to 'no') but I would like to
> ask

I compile PostgreSQL on Debian squeeze about 10 times a day and I have
never seen that.

Could you show the output of

dpkg -l \*readline\*

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Isabella Ghiurea 2010-12-06 20:03:58 monitor SQL activity in db
Previous Message Szymon Guz 2010-12-06 19:11:49 Re: COPY statement for linux server from windows client