pkgsrc-Users archive

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

Re: Install pkgsrc in jailshell linux (RHEL)



* Jason Bacon (bacon4000%gmail.com@localhost) wrote:
> What version/distro of Linux is this?
lim@jailtcsh:~% uname -a
Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-673.26.1.lve1.4.30.el6.x86_64 #1 SMP Wed Jun 21 19:37:37 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
lim@jailtcsh:~% 

> What does "gcc --version" output?
lim@jailtcsh:~% gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
lim@jailtcsh:~% 
I don't know if it is RHEL, though.
(Only know it is Red Hat, normally I don't use Linux.)

> What's in your etc/mk.conf?
lim@jailtcsh:~% cat etc/mk.conf
ACCEPTABLE_LICENSES+=vim-license
ALLOW_VULNERABLE_PACKAGES=yes
PKG_OPTIONS.vim=python
PKG_OPTIONS.msmtp=ssl
PKG_OPTIONS.irssi=perl
I was trying to install mutt first. So ./etc/mk.conf should not be related.
(I simply copied this file from NetBSD.)

> 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.
Hmm, I shall try later and let you know.
Now I'm very busy.

> 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.
2-3 days ago, I fetched auto-pkgsrc-setup from http://acadix.biz/pkgsrc.php .
Do you mean I have to re-fetch it?

-- 
Gua Chung Lim
 
If you desire knowledges, learn one thing everyday.
If you desire wisdom, leave one thing everyday.
-- Lao Tzu


Home | Main Index | Thread Index | Old Index