Thread: Order of checking for readline support libraries

Order of checking for readline support libraries

From
Tom Lane
Date:
Currently, configure checks for the readline support packages in the
order-ltermcap -lncurses -lcurses
I would like to change this to-lncurses -ltermcap -lcurses
The reason is that Fedora is deprecating termcap and planning to remove
it (see attached).  Comments?  Anyone know of a platform this would
produce bad results on?
        regards, tom lane

------- Forwarded Message

Date:    Thu, 30 Nov 2006 15:45:15 +0100
From:    Miroslav Lichvar <mlichvar@redhat.com>
To:      fedora-maintainers@redhat.com
Subject: libtermcap => libncurses

Hi,

here is the list of packages that are now depending on
libtermcap.so.2. These packages need to be rebuilt against libncurses,
as we would like to have termcap and libtermcap dropped since FC7.

Please change BuildRequires to ncurses-devel and link with -lncurses
instead of -ltermcap. If the package needs to include termcap.h, the
file is in /usr/include/ncurses.

Drop me an email if you don't have time to do this, and I will take
care of your packages.

Thanks.

Core packages:

amanda
amanda-client
amanda-server
bash
bc
festival
gnupg
gnuplot
gnutls-utils
guile
lv
pilot-link
postgresql
postgresql-contrib
postgresql-devel
postgresql-server
procinfo
python
quagga
ruby-libs
tcsh
util-linux
xfsprogs
zsh

Extras:

abiword
clips
clisp
cyphesis
darcs
genius
ghc66
ginac-utils
gnome-genius
gnucap
gnupg2
gpsim
grads
hugs98
js
koffice-kexi
ktechlab
lash
maxima-runtime-clisp
mono-debugger
ngspice
nmh
octave-forge
opensc
pari-gp
php-readline
pl
q
q-devel
R
rlwrap
ucblogo
yafc
yap
yaz

-- 
Miroslav Lichvar

--
Fedora-maintainers mailing list
Fedora-maintainers@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-maintainers

------- End of Forwarded Message



Re: Order of checking for readline support libraries

From
Martijn van Oosterhout
Date:
On Thu, Nov 30, 2006 at 11:33:11AM -0500, Tom Lane wrote:
> Currently, configure checks for the readline support packages in the
> order
>     -ltermcap -lncurses -lcurses
> I would like to change this to
>     -lncurses -ltermcap -lcurses
> The reason is that Fedora is deprecating termcap and planning to remove
> it (see attached).  Comments?  Anyone know of a platform this would
> produce bad results on?

On debian libtermcap.so is a symlink to libncurses.so, so it will
change the link line but other than that have no effect.

The real termcap was deprecated in debian sometime around the libc6
transition.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Re: Order of checking for readline support

From
Bruce Momjian
Date:
Sounds fine.  The only question is whether we want to do this during RC.
I suppose the build farm has enough coverage to allow it.

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

Tom Lane wrote:
> Currently, configure checks for the readline support packages in the
> order
>     -ltermcap -lncurses -lcurses
> I would like to change this to
>     -lncurses -ltermcap -lcurses
> The reason is that Fedora is deprecating termcap and planning to remove
> it (see attached).  Comments?  Anyone know of a platform this would
> produce bad results on?
> 
>             regards, tom lane
> 
> ------- Forwarded Message
> 
> Date:    Thu, 30 Nov 2006 15:45:15 +0100
> From:    Miroslav Lichvar <mlichvar@redhat.com>
> To:      fedora-maintainers@redhat.com
> Subject: libtermcap => libncurses
> 
> Hi,
> 
> here is the list of packages that are now depending on
> libtermcap.so.2. These packages need to be rebuilt against libncurses,
> as we would like to have termcap and libtermcap dropped since FC7.
> 
> Please change BuildRequires to ncurses-devel and link with -lncurses
> instead of -ltermcap. If the package needs to include termcap.h, the
> file is in /usr/include/ncurses.
> 
> Drop me an email if you don't have time to do this, and I will take
> care of your packages.
> 
> Thanks.
> 
> Core packages:
> 
> amanda
> amanda-client
> amanda-server
> bash
> bc
> festival
> gnupg
> gnuplot
> gnutls-utils
> guile
> lv
> pilot-link
> postgresql
> postgresql-contrib
> postgresql-devel
> postgresql-server
> procinfo
> python
> quagga
> ruby-libs
> tcsh
> util-linux
> xfsprogs
> zsh
> 
> Extras:
> 
> abiword
> clips
> clisp
> cyphesis
> darcs
> genius
> ghc66
> ginac-utils
> gnome-genius
> gnucap
> gnupg2
> gpsim
> grads
> hugs98
> js
> koffice-kexi
> ktechlab
> lash
> maxima-runtime-clisp
> mono-debugger
> ngspice
> nmh
> octave-forge
> opensc
> pari-gp
> php-readline
> pl
> q
> q-devel
> R
> rlwrap
> ucblogo
> yafc
> yap
> yaz
> 
> -- 
> Miroslav Lichvar
> 
> --
> Fedora-maintainers mailing list
> Fedora-maintainers@redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-maintainers
> 
> ------- End of Forwarded Message
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
> 
>                 http://www.postgresql.org/about/donate

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


Re: Order of checking for readline support libraries

From
Tom Lane
Date:
Bruce Momjian <bruce@momjian.us> writes:
> Sounds fine.  The only question is whether we want to do this during RC.
> I suppose the build farm has enough coverage to allow it.

Actually I changed my mind: this is just a transient requirement for
Fedora, because once libtermcap is gone, the existing configure code
will do fine.  So I'm thinking of handling it through a temporary RPM
patch, rather than risking breaking any other platforms.
        regards, tom lane


Re: Order of checking for readline support libraries

From
Zdenek Kotala
Date:
Martijn van Oosterhout wrote:
> On Thu, Nov 30, 2006 at 11:33:11AM -0500, Tom Lane wrote:
>> Currently, configure checks for the readline support packages in the
>> order
>>     -ltermcap -lncurses -lcurses
>> I would like to change this to
>>     -lncurses -ltermcap -lcurses
>> The reason is that Fedora is deprecating termcap and planning to remove
>> it (see attached).  Comments?  Anyone know of a platform this would
>> produce bad results on?
> 
> On debian libtermcap.so is a symlink to libncurses.so, so it will
> change the link line but other than that have no effect.

On solaris 8,9,10... it is also symlink to libncurses.


Zdenek