Install ncurses-5 in CentOS 9 - centos

I'm using a server that is running CentOS 9 and I'm having issue compiling something that uses libncurses.so.5.
I installed the ncurses-devel package, but it is in version 6, and isn't found by the compiler.
I saw that on CentOS 8, it is possible to install ncurses-compat-libs for that purpose, bit it doesn't seem to be available for CentOS 9.
Is there a way to either install ncurses-compat-libs in CentOS 9, or to install the library through another mean?
Thank you

Ok, so per the comment of Thomas Dickey above, I rebuilt the RPM package from the ncurses-compat-libs<version>.src.rpm downloaded from RPM Find.
After that, I ran rpmbuild --rebuild ncurses-compat-libs<version>.src.rpm, which created a bunch of rpm files in ~/rpmbuild/RPMS/<arch>/*.rpm.
I installed all of them at once using the sudo dnf localinstall --allowerasing <list of rpms> to make sure all the dependencies could be resolved.
See the wiki provided by Thomas Dickey for more details.
Thanks for the help!

Related

installation of netcdf in centos 5 or 6

I try to install netcdf in Centos 5 or 6. With Centos 5, I have typed
yum install netcdf-devel
I have the package netcdf-devel-3.6.3-1.i386
I have installed now also gcc gcc-c++ and gcc-gfortran
When I check if NetCDF-4/HDF-5 is enabled in this build, nc-config --has-nc4, it returns "no" and I need a yes
How can I enable it?
To have built-in support for NetCDF-4/HDF-5, you must compile it appropriately. Please, refer to step-by-step instructions here: Building NetCDF with NetCDF-4/HDF-5 support.

glibc 2.11 error on Marklogic 8.0 installation on CentOS 6.6

When I try to install Marklogic 8.0 (MarkLogic-8.0-2.x86_64.rpm) on CentOS6.6 it fails with following error:
error: Failed dependencies:
libc.so.6(GLIBC_2.11) is needed by MarkLogic-8.0-2.x86_64
I checked installed package of glibc and found that GLIB_2.12 is installed.
I tried erasing GLIBC_2.12, but Cent OS doesn't allow because it has dependencies.
I would appreciate if somebody help me how to install Marklogic 8.0 on CentOS6.6 keeping glibc 2.12 or how to downgrade glib version on CentOs
I haven't tested myself with CentOS 6.6, but am running CentOS 6.5 a lot. Did you try running this before the RPM?
yum -y install glibc.i686 gdb.x86_64 redhat-lsb.x86_64
See also Install Marklogic centos virtualbox vm
HTH!
To add to this: you're seeing this message when you attempt to install because a dependent library is unavailable; in the case of this particular message, if you run this beforehand:
yum install glibc.i686
You should get past that particular issue.

4store install: perl(Net::HTTP) is needed by 4store-v1.1.2-1.x86_64

I just followed the instruction at http://4store.org/trac/wiki/Download:
rpm -Uvh http://4store.org/download/linux/centos5/4store-v1.1.2-1.x86_64.rpm http://4store.org/download/linux/centos5/rasqal-0.9.24-1.x86_64.rpm http://4store.org/download/linux/centos5/raptor2-2.0.0-0.x86_64.rpm http://4store.org/download/linux/centos5/mpfr-2.4.1-1.x86_64.rpm http://4store.org/download/linux/centos5/gmp-4.3.1-5.x86_64.rpm
I got errors when installing 4store on CentOS 5.6:
perl(Net::HTTP) is needed by 4store-v1.1.2-1.x86_64
perl(URI::Escape) is needed by 4store-v1.1.2-1.x86_64
But I have already installed those modules:
cpan Net::HTTP
cpan URI::Escape
And I tested it with:
perl -MNet::HTTP -e ';'
But I still got those errors. Any ideas?
CPAN clients do not register modules in the RPM database, so that does not help to satisfy dependencies.
perl-Net-HTTP and perl-URI-Escape are not officially packaged for CentOS 5.6: http://vault.centos.org/5.6/os/x86_64/CentOS/
Find a 3rd party repo that offers them.
Try to force the installation with --nodeps.
You could also bribe Dave Cross to backport his maintained packages from CentOS 6: http://rpm.mag-sol.com/Centos/6/x86_64/
Learn packaging and build them yourself.

GtkMozEmbed module in PyGtk

I'm working on a soloution that needs the gtkMozembed module for python.
I had installed the pygtk2 and genome-python-* packages.
But still i don't have the gtkmozembed module. Can any one tell me how can i install this module.?
I'm also searching for some good repositories for CentOS so that I can update the latest packages. All the repositories now I have, do not maintain the updated packages.
I use CentOs 6.0.
Before continuing, note that gtkmozembed is deprecated, abandoned by the authors and therefore not packaged in CentOS 6 or Ubuntu Oneiric and later:
https://lists.ubuntu.com/archives/ubuntu-devel/2011-May/033229.html
https://groups.google.com/forum/#!topic/mozilla.dev.embedding/c_NMcO-N8wo/discussion
Therefore any use of gtkmozembed is temporary. You may wish to consider the following alternatives which are available as RPM packages on CentOS 6:
pywebkitgtk : Python Bindings for WebKitGTK+
gnome-python2-gtkhtml2 : Python bindings for interacting with gtkhtml2
I managed to download gnome-python2-extras from CentOS 5 and build it on CentOS 6 with the following commands:
rpm -ivh http://vault.centos.org/5.7/os/SRPMS/gnome-python2-extras-2.14.2-7.el5.src.rpm
# edit ~/rpmbuild/SPECS/gnome-python-extras.spec
# comment out the line starting with %patch1
rpmbuild -ba ~/rpmbuild/SPECS/gnome-python-extras.spec

Installing php-devel-5.1.6-27.el5_5.3.x86_64

I'm working on a 64 bit centos 5.5 (Final) server
When I try to install pear it gives a dependency error
php-devel-5.1.6-27.el5_5.3.x86_64 from base has depsolving problems
--> Missing Dependency: php = 5.1.6-27.el5_5.3 is needed by package php-devel-5.1.6-27.el5_5.3.x86_64 (base)
So I try "yum install php-common-5.1.6-27.el5_5.3" it says that this package is already installed
Package matching php-common-5.1.6-27.el5_5.3.x86_64 already installed. Checking for update.
Nothing to do
I don't know what to do anymore
Can anyone give me a tip?
It's driving me crazy
when I try yum remove php-common-5.1.6-27.el5_5.3.x86_64 it gives me the following
Package(s) php-common-5.1.6-27.el5_5.3.x86_64 available, but not installed.
I don't understand what's wrong with yum
Try removing PHP and Pear, then try this from scratch as if your OS was new. It may help. Pear's a pain sometimes...
# yum install php
# yum install php-pear
# pear channel-update pear.php.net
# pear upgrade-all
Good luck!!
to refresh your system, you might try
yum reinstall php-common; yum install php-devel