pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc on AIX 7.1
I remember hitting this problem, but I can’t remember for sure how I got around it.
Try adding these lines to mk.conf:
CC=gcc
CXX=g++
Also, gcc 4.2 is somewhat old. I think you’re going to have problems building some things. Try 4.9 if you can.
> On Feb 19, 2016, at 5:41 PM, Rodrigo Garcia <rgarcia%inmegen.gob.mx@localhost> 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
>
Home |
Main Index |
Thread Index |
Old Index