I'm trying to install git on AIX on a closed network.
After resolving the necessary dependencies, I installed it with rpm.
However, when I clone git, I get the following error:
$ sudo git clone http://~~
Cloning into '~~'...
Username for '~~':
Password for '~~':
remote: Enumerating objects: 755, done.
remote: Counting objects: 100% (755/755), done.
remote: Compressing objects: 100% (500/500), done.
remote: Total 755 (delta 236), reused 686 (delta 183), pack-reused 0
Receiving objects: 100% (755/755), 31.54 MiB | 11.34 MiB/s, done.
Resolving deltas: 100% (236/236), done.
fatal: could not open '/dev/null' for reading and writing: A system call received a parameter that is not valid.
$ oslevel -s
7100-03-08-1642
$ lslpp -l | grep -i rpm
rpm.rte 4.13.0.3 COMMITTED RPM Package Manager
$ rpm -qa
expect-5.42.1-3.ppc
sudo-1.9.5-3.ppc
tk-8.4.7-3.ppc
glib2-2.48.1-2.ppc
perl-5.30.1-1.ppc
perl5.34-5.34.0-1.ppc
sqlite-libs-3.34.1-1.ppc
bash-5.1.8-1.ppc
vim-common-8.2-1.ppc
less-481-1.ppc
gmp-6.2.1-1.ppc
vim-enhanced-8.2-1.ppc
AIX-rpm-7.1.3.45-10.ppc
cpio-2.13-1.ppc
zlib-1.2.11-6.ppc
git-core-doc-2.33.1-2.noarch
bzip2-1.0.8-4.ppc
gdbm-1.22-1.ppc
libffi-3.2.1-2.ppc
libgcc10-10.3.0-6.ppc
libssh2-1.10.0-1.ppc
libstdc++10-10.3.0-6.ppc
libunistring-0.9.10-4.ppc
openldap-2.4.59-1.ppc
xz-libs-5.2.5-1.ppc
tcl-8.4.7-3.ppc
libstdc++8-8.5.0-2.ppc
db-5.3.28-1.ppc
libxml2-2.9.10-1.ppc
expat-2.4.1-1.ppc
sqlite-3.34.1-1.ppc
libcurl-7.80.0-1.ppc
python3-3.8.6-2.ppc
gettext-0.21-1.ppc
git-core-2.33.1-2.ppc
git-2.33.1-2.ppc
cyrus-sasl-2.1.27-3.ppc
gdbm-libs-1.22-1.ppc
info-6.8-3.ppc
libgcc-10-1.ppc
libiconv-1.16-5.ppc
libstdc++-10-1.ppc
libtextstyle-0.21-1.ppc
ncurses-6.3-1.ppc
readline-8.0.4-1.ppc
There was no problem until git-core installation, and there is nothing other than a forced installation because a perl dependency error occurred when installing git.
Actual perl version 5.30 is installed, so I proceeded with the nodeps option.
$ sudo rpm -ivh git-2.33.1-2.aix7.1.ppc.rpm
error: Failed dependencies:
perl(perl) >= 5.30.0 is needed by git-2.33.1-2.ppc
$ perl -v
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LC_CTYPE = "en_US",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
This is perl 5, version 30, subversion 1 (v5.30.1) built for ppc-aix-thread-multi-64all
Copyright 1987-2019, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
I can't even guess the cause.
Any assistance/suggestions are much appreciated.
------------------------------
gyurim Lee
------------------------------
#AIXOpenSource