* package requirements for CentOS
@ 2012-04-10 22:13 Rifenbark, Scott M
2012-04-11 15:43 ` McClintock Matthew-B29882
0 siblings, 1 reply; 4+ messages in thread
From: Rifenbark, Scott M @ 2012-04-10 22:13 UTC (permalink / raw)
To: Yocto discussion list
[-- Attachment #1: Type: text/plain, Size: 574 bytes --]
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
Scott
Scott Rifenbark
Intel Corporation
Yocto Project Documentation
503.712.2702
503.341.0418 (cell)
[-- Attachment #2: Type: text/html, Size: 3644 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: package requirements for CentOS
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
0 siblings, 2 replies; 4+ messages in thread
From: McClintock Matthew-B29882 @ 2012-04-11 15:43 UTC (permalink / raw)
To: Rifenbark, Scott M; +Cc: Yocto discussion list
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)
#!/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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: package requirements for CentOS
2012-04-11 15:43 ` McClintock Matthew-B29882
@ 2012-04-11 15:46 ` Chris Larson
2012-04-11 15:48 ` Joshua Lock
1 sibling, 0 replies; 4+ messages in thread
From: Chris Larson @ 2012-04-11 15:46 UTC (permalink / raw)
To: McClintock Matthew-B29882; +Cc: Yocto discussion list
On Wed, Apr 11, 2012 at 8:43 AM, McClintock Matthew-B29882
<B29882@freescale.com> 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)
We handle python 2.6 by adding the fedora EL yum repository and
installing python2.6 from there (incidentally, other useful things
like git are in that repo).
--
Christopher Larson
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: package requirements for CentOS
2012-04-11 15:43 ` McClintock Matthew-B29882
2012-04-11 15:46 ` Chris Larson
@ 2012-04-11 15:48 ` Joshua Lock
1 sibling, 0 replies; 4+ messages in thread
From: Joshua Lock @ 2012-04-11 15:48 UTC (permalink / raw)
To: yocto
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-04-11 15:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.