pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc on AIX 7.1




As a heads-up, even if you get it to recognize your GCC 4.2 base, you will probably still run into the need to
install a GCC package.  E.g. boost requires GCC 4.5 or later.

I'd look for a newer GCC to use as a base compiler.

Regards,

    Jason

On 02/19/16 17:41, Rodrigo Garcia wrote:
Hi all,

We have a nice Power7 machine, 200G RAM, 56 cores, large storage. But it
has AIX 7.1 installed.

I absentmindedly installed a couple of rpms from here:

http://www.perzl.org/aix/index.php?n=Main.HomePage

Anyway I got gcc 4.2 running and then downloaded pkgsrc and now I seem
to have bootstraped it. I used /opt/pkg for prefix.

I then go to any pkgsrc directory, say pkgsrc/nano and try bmake. It fails!

Output of bmake command bellow. Thanks!

Rodrigo



rama:/storage2/pkgsrc/editors/nano# echo $CC
/opt/freeware/bin/gcc

rama:/storage2/pkgsrc/editors/nano# $CC --version
gcc (GCC) 4.2.0

rama:/storage2/pkgsrc/editors/nano# echo $PATH
/opt/pkg/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin




rama:/storage2/pkgsrc/editors/nano# bmake
=> Bootstrap dependency digest>=20010302: NOT found
=> Verifying reinstall for ../../pkgtools/digest
===> Skipping vulnerability checks.
WARNING: No /var/opt/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /var/opt/pkg
fetch-pkg-vulnerabilities'.
===> Installing dependencies for digest-20121220
=> Build dependency gcc2>=2.95.3nb7: NOT found
=> Verifying reinstall for ../../lang/gcc2
=> Bootstrap dependency digest>=20010302: NOT found
=> Verifying reinstall for ../../pkgtools/digest
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
*** Error code 1

Stop.
bmake[3]: stopped in /storage2/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
bmake[2]: stopped in /storage2/pkgsrc/lang/gcc2
*** Error code 1

Stop.
bmake[1]: stopped in /storage2/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
bmake: stopped in /storage2/pkgsrc/editors/nano



--
All wars are civil wars, because all men are brothers ... Each one owes
infinitely more to the human race than to the particular country in
which he was born.
                -- Francois Fenelon



Home | Main Index | Thread Index | Old Index