Re: Fw: configure error with krb5 - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Fw: configure error with krb5
Date
Msg-id 200301180339.h0I3d2u18315@candle.pha.pa.us
Whole thread Raw
In response to Re: Fw: configure error with krb5  ("kanchana" <pkkanchana@gmx.net>)
List pgsql-general
For tget, you need -ltermcap or -lcurses on the link line of psql.

---------------------------------------------------------------------------

kanchana wrote:
> Hello Bruce Momjian,
>
> Thanks for your response. I planned to compile without any options like ssl
> and krb5.
>
> just
> ./configure --prefix=/opt/postgres --with-libraries=/usr/local/lib --with-in
> cludes=/usr/local/include/readli
> ne
>       gmake and gmake install
>
> It compiles and installed.
>
> But while doing basic testing , it gives following error ........
> i thinkproblem is in readline. (i have tried with hp-ux readline (from depot
> too), same probelm.
>
> i.e...
> while testing:-
>
> $ /opt/postgres/bin/psql test2
> Welcome to psql 7.3.1, the PostgreSQL interactive terminal.
>
> Type:  \copyright for distribution terms
>        \h for help with SQL commands
>        \? for help on internal slash commands
>        \g or terminate with semicolon to execute query
>        \q to quit
>
> /usr/lib/dld.sl: Unresolved symbol: tgetent (code)  from
> /usr/local/lib/libreadline.sl
> Abort(coredump)
>
> Test logfile:-
>
> LOG:  database system was shut down at 2003-01-17 05:58:00 PST
> LOG:  checkpoint record is at 0/83B1A8
> LOG:  redo record is at 0/83B1A8; undo record is at 0/0; shutdown TRUE
> LOG:  next transaction id: 480; next oid: 16976
> LOG:  database system is ready
>
> LOG:  pq_recvbuf: unexpected EOF on client connection
>
>
> Plz tell me how to overcome this.? I'm using HP-UX11.11
> Once its ok, then i can try with krb5.
>
>
> Advance thanks and regards,
> -Kanchana
>
>
> >
> > Uh, you can look in config.log and see how it is looking for that
> > function.  You can then modify configure to test a different way or
> > figure out a way so configure finds what it needs.
> >
> > If you send over the part of config.log dealing with that test, it may
> > help.
> >
> >
> > --------------------------------------------------------------------------
> -
> >
> > kanchana wrote:
> > > Hello all,
> > >
> > > Since there is no reply, i'm forwarding it again.
> > > hope someone will help me to overcome this.
> > >
> > > advance thanks,
> > > -kanchana
> > >
> > > > Hello all,
> > > >
> > > >     I'm using postgresql-latest version. I'm not able to configure
> with
> > > > kerberos5(latest).
> > > > While configuring postgresql, i got the following error.
> > > >
> > > > $./configure --with-openssl --with-krb5=/usr/local/krb5
> > > > :
> > > > :
> > > > checking for inflate in -lz... yes
> > > > checking for library containing com_err... -lcom_err
> > > > checking for library containing krb5_encrypt... -lk5crypto
> > > > checking for library containing krb5_sendauth... no
> > > > configure: error: could not find function 'krb5_sendauth' required for
> > > > Kerberos 5
> > > >
> > > >
> > > > how to avoid this.? plz help me asap.
> > > >
> > > > OS: HP-UX 11i
> > > >
> > > > Advance thanks,
> > > > -Kanchana
> > > >
> > >
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 3: if posting/reading through Usenet, please send an appropriate
> > > subscribe-nomail command to majordomo@postgresql.org so that your
> > > message can get through to the mailing list cleanly
> > >
> >
> > --
> >   Bruce Momjian                        |  http://candle.pha.pa.us
> >   pgman@candle.pha.pa.us               |  (610) 359-1001
> >   +  If your life is a hard drive,     |  13 Roberts Road
> >   +  Christ can be your backup.        |  Newtown Square, Pennsylvania
> 19073
> >
>
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: temporary tables
Next
From: "Carmen Wai"
Date:
Subject: Re: Support for unicode