pkgsrc-Users archive

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

Re: Install pkgsrc in jailshell linux (RHEL)



On 12/12/17 11:38, Jason Bacon wrote:
On 12/12/17 11:34, Jason Bacon wrote:
On 12/11/17 10:00, Gua Chung Lim wrote:
* Tru Huynh (tru%pasteur.fr@localhost) wrote:
imho, you need to add the path to the newly produced bmake executable
before using it ;P.

setenv PATH ~/usr/pkgsrc/pkg-2017Q3/bin:$PATH
setenv MANPATH ~/usr/pkgsrc/pkg-2017Q3/man:$MANPATH

my 2 cents
* Tru Huynh (tru%pasteur.fr@localhost) wrote:
ooops one needs the sbin path too:
setenv PATH ~/usr/pkgsrc/pkg-2017Q3/bin:~/usr/pkgsrc/pkg-2017Q3/sbin:$PATH
setenv MANPATH ~/usr/pkgsrc/pkg-2017Q3/man:$MANPATH
or just
source  ~/usr/pkgsrc/pkg-2017Q3/etc/pkgsrc.csh
Ooops, "source ~/usr/pkgsrc/pkg-2017Q3/etc/pkgsrc.csh" was instructed during installation, but I did not scroll back to read it. My bad!
But I still got some errors...

https://pastebin.com/VqcHqGzB

Thanks,

What version/distro of Linux is this?

What does "gcc --version" output?

What's in your etc/mk.conf?

It should contain something like this to head off the circular dependency issue:

.if empty(PKGPATH:Mlang/gcc48) && \
    empty(PKGPATH:Mpkgtools/cwrappers) && \
    empty(PKGPATH:Mdevel/nbpatch) && \
    empty(PKGPATH:Mpkgtools/digest) && \
    empty(PKGPATH:Msysutils/checkperms) && \
    empty(PKGPATH:Mlang/perl5) && \
    empty(PKGPATH:Mdevel/p5-gettext) && \
    empty(PKGPATH:Mconverters/help2man) && \
    empty(PKGPATH:Mdevel/autoconf) && \
    empty(PKGPATH:Mconverters/p5-Unicode-EastAsianWidth) && \
    empty(PKGPATH:Mdevel/libtool-base) && \
    empty(PKGPATH:Marchivers/pax) && \
    empty(PKGPATH:Mlang/gcc48-libs) && \
    empty(PKGPATH:Mdevel/ncurses) && \
    empty(PKGPATH:Mmisc/p5-Locale-libintl) && \
    empty(PKGPATH:Mtextproc/p5-Text-Unidecode) && \
    empty(PKGPATH:Mdevel/gtexinfo) && \
    empty(PKGPATH:Mdevel/gettext-tools) && \
    empty(PKGPATH:Mdevel/gettext-lib) && \
    empty(PKGPATH:Mdevel/gmp) && \
    empty(PKGPATH:Mmath/mpfr) && \
    empty(PKGPATH:Mmath/cloog) && \
    empty(PKGPATH:Mmath/isl) && \
    empty(PKGPATH:Mmath/mpcomplex)

GCC_REQD+=4.8

.endif  # GCC_REQD

If this is all there, you could try inserting

empty(PKGPATH:Mpkgtools/pkg_install-info) && \

Maybe this dependency was added since the last auto-pkgsrc-setup update.

Here's the problem:


Linux sciprog2.ceas bacon ~ 406: (pkgsrc): more Pkgsrc/pkgsrc-2017-12-12/pkgtools/pkg_install-info/DESCR
This package provides a standalone GNU install-info utility.  It
used by pkgsrc on systems that do not provide a native install-info
utility.

An install-info tool and documentation is also available in the
devel/gtexinfo package.
Linux sciprog2.ceas bacon ~ 408: (pkgsrc): which install-info
/sbin/install-info

Your jailshell image is apparently missing /sbin/install-info.

I've added pkgtools/pkg_install-info to the long list of exemptions for the gcc dependency.

The new, permanent home for auto-pkgsrc-setup is https://netbsd.org/~bacon.

Links at http://uwm.edu/hpc/software-management/ and http://acadix.biz/pkgsrc.php have been updated.

--
Earth is a beta site.


Home | Main Index | Thread Index | Old Index