All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Lock <josh@linux.intel.com>
To: yocto@yoctoproject.org
Subject: Re: package requirements for CentOS
Date: Wed, 11 Apr 2012 08:48:46 -0700	[thread overview]
Message-ID: <4F85A7DE.1090202@linux.intel.com> (raw)
In-Reply-To: <CAEsOVNev-JtaYg9oxKMewu8tWnQL4FF9sxdDttv+VBmMbRL0og@mail.gmail.com>



On 11/04/12 08:43, McClintock Matthew-B29882 wrote:
> On Tue, Apr 10, 2012 at 5:13 PM, Rifenbark, Scott M
> <scott.m.rifenbark@intel.com>  wrote:
>> I have recently added the CentOS distribution to the YP QS.  The list now
>> includes Ubuntu, Fedora, openSUSE, and CentOS.  Further down in the manual
>> there are sections detailing the package requirements for Ubuntu, Fedora,
>> and openSUSE.  I should address CentOS.  Here is the link to the sections
>> currently there.  Does anyone know the package requirements for CentOS?
>>
>>
>>
>> http://www.yoctoproject.org/docs/latest/yocto-project-qs/yocto-project-qs.html#packages
>
> We have some idea. The biggest difference looks to be chrpath is not
> available on CentOS/RHEL 5.x distro's by default. I thought the same
> could be said of python2.6 so I'm not sure at the moment how we handle
> that. (This is for edison so it should still be applicable)

Most likely EPEL https://fedoraproject.org/wiki/EPEL ?

It's listed on the YP wiki page for getting extra dependencies on 
CentOS: https://wiki.yoctoproject.org/wiki/Poky/GettingStarted/Dependencies

Cheers,
Joshua

>
> #!/bin/sh
>
> echo "Install packages needed to build Yocto, please wait, it may take a while"
> PKGS="tetex gawk sqlite-devel vim-common redhat-lsb xz \
>       m4 make wget curl ftp tar bzip2 gzip python-devel \
>       unzip perl texinfo texi2html diffstat openjade zlib-devel \
>       docbook-style-dsssl sed docbook-style-xsl docbook-dtds \
>       docbook-utils bc glibc-devel pcre pcre-devel \
>       groff linuxdoc-tools patch linuxdoc-tools cmake \
>       tcl-devel gettext ncurses apr \
>       SDL-devel mesa-libGL-devel mesa-libGLU-devel gnome-doc-utils \
>       autoconf automake libtool xterm"
> if [ "Fedora" = "$distro" ]; then
>      PKGS="$PKGS hg ccache quilt help2man perl-ExtUtils-MakeMaker connect-proxy"
> fi
> sudo yum -y groupinstall "development tools"
> sudo yum -y install $PKGS
>
> [ -r /etc/redhat-release ]&&  series=`sed -e 's,.*\([0-9]\)\..*,\1,g'
> /etc/redhat-release`
> # chrpath is ONLY availabe on RHEL 6.x
> if [ "Redhat" = "$distro" -a "6" != "$series" ]; then
>      # check if chrpath is installed.
>      if [ -z "$(rpm -qa chrpath)" ]; then
>          echo "chrpath is required. Install it as follows:
>          (1) download the package from
> http://mirror.centos.org/centos/${series}/extras/
>          (2) sudo rpm -Uhv chrpath-0.13-3.el${series}.centos.i386.rpm
>              or
>              sudo rpm -Uhv chrpath-0.13-3.el${series}.centos.x86_64.rpm
>          Then re-run this script."
>      fi
> else
>      sudo yum -y install chrpath
> fi
>
> -M
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
Joshua Lock
         Yocto Project
         Intel Open Source Technology Centre


      parent reply	other threads:[~2012-04-11 15:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10 22:13 package requirements for CentOS Rifenbark, Scott M
2012-04-11 15:43 ` McClintock Matthew-B29882
2012-04-11 15:46   ` Chris Larson
2012-04-11 15:48   ` Joshua Lock [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F85A7DE.1090202@linux.intel.com \
    --to=josh@linux.intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.