pkgsrc-Users archive

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

Re: pkgsrc on AIX 7.1



Is gcc in your PATH? 

> On Feb 22, 2016, at 11:06 AM, Rodrigo Garcia <rgarcia%inmegen.gob.mx@localhost> wrote:
> 
> Okay so I fooled around with rpms and such and finally updated gcc to 4.8.3.
> 
> 
> rama:/storage1/pkgsrc/bootstrap# export CC=/opt/freeware/bin/gcc
> rama:/storage1/pkgsrc/bootstrap# $CC --version
> gcc (GCC) 4.8.3
> [...]
> rama:/storage1/pkgsrc/bootstrap# export GCCBASE=/opt/freeware
> 
> 
> Then I ran bootstrap again, no apparent errors.
> 
> I set in mk.conf:
> CC=gcc
> CXX=g++
> 
> 
> Then tried to install nano, failed:
> 
> rama:/storage1/pkgsrc# cd editors/nano/
> 
> rama:/storage1/pkgsrc/editors/nano# bmake
> => Bootstrap dependency digest>=20010302: NOT found
> => Verifying reinstall for ../../pkgtools/digest
> ===> Skipping vulnerability checks.
> WARNING: No /opt/pkg/var/db/pkg/pkg-vulnerabilities file found.
> WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/var/db/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 /storage1/pkgsrc/pkgtools/digest
> *** Error code 1
> 
> Stop.
> bmake[2]: stopped in /storage1/pkgsrc/lang/gcc2
> *** Error code 1
> 
> Stop.
> bmake[1]: stopped in /storage1/pkgsrc/pkgtools/digest
> *** Error code 1
> 
> Stop.
> bmake: stopped in /storage1/pkgsrc/editors/nano
> 
> 
> 
> 
> On 02/20/2016 07:22 AM, Jason Bacon wrote:
>> 
>> 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
>>> 
>> 
>> 
> 



Home | Main Index | Thread Index | Old Index