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: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.

--
Earth is a beta site.


Home | Main Index | Thread Index | Old Index