pkgsrc-Users archive

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

Re: Can't bootstrap pkgsrc on Solaris 10



Hi,
I added /usr/ccs/bin to my PTAH, seems good. But here again stuck with the circular depedency...

===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Installing dependencies for digest-20160304
=> Build dependency gcc2>=2.95.3nb7: NOT found
=> Verifying package-install for ../../lang/gcc2
=> Bootstrap dependency digest>=20010302: NOT found
=> Verifying package-install for ../../pkgtools/digest
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
*** Error code 255

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

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

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

Stop.

It seems pkgsrc want to compile gcc2 and digest... 

Well I already have gcc3 or gcc5 installed and configured in my /usr/pkg/etc/mk.comf and in my PATH. Why does it still wants gcc2 ?

[root@zone6 compiler]$ which gcc
/usr/sfw/bin/gcc
[root@zone7 digest]$ which gcc
/opt/csw/bin//gcc

Same think for digest. I's already in my PATH...

[root@zone6 compiler]$ which digest
/usr/bin/digest
[root@zone7 digest]$ which digest
/usr/bin/digest
[root@zone7 digest]$ echo $PATH
/usr/sbin:/usr/bin:/opt/csw/bin/:/usr/sfw/bin:/usr/pkg/bin:/usr/pkg/sbin:/opt/csw/bin/:/usr/sfw/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/ccs/bin



On Sun, Sep 17, 2017 at 2:47 PM, Jonathan Perkin <jperkin%joyent.com@localhost> wrote:
* On 2017-09-17 at 19:45 BST, Jonathan Perkin wrote:

> * On 2017-09-17 at 08:39 BST, Julien Savard wrote:
>
> > bash: line 2: cr: command not found
>
> This means that ar(1) cannot be found in $PATH.

Sorry, I should have also said that on Solaris 10 the compiler tools
can be found in /usr/ccs/bin, so add that to $PATH and you should be
good.

--
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com



Home | Main Index | Thread Index | Old Index