[LON-CAPA-admin] CentOS 5 perl problem

Stuart Raeburn raeburn at msu.edu
Fri Aug 15 15:22:19 EDT 2008


Todd,

rpms for perl-ExtUtils-ParseXS and perl-ExtUtils-CBuilder have now  
been added  to the LON-CAPA yum repositories on install.loncapa.org  
for centOS 5, RHEL 5,
and Scientific Linux 5.

Those are the last hitherto unsatisfied dependencies, so you will not  
need to use the EPEL repository.  That said, I would not anticipate  
problems if you did use packages from EPEL in place of corresponding  
packages from install.loncapa.org.

Use of a custom gnuplot package for LON-CAPA was eliminated in  
December 2007 (with LON-CAPA 2.6); the standard gnuplot 4.2 is used  
currently.  The only rpms for these distros which include  
modifications from those that might be expected from a standard build  
are:

perl-HTML-Parser_loncapa (replaces perl-HTML-Parser)
perl-Authen-Krb4
perl-Authen-Krb5
perl-Math-Random (default package behavior changed after version 0.67  
breaking backwards compatibility; the LON-CAPA version persists with  
the pre-0.68 default).

If additional future customizations are needed for other packages I  
expect to use the approach adopted for HTML-Parser (i.e., append  
_loncapa and use Obsoletes and Replaces directives in the rpm  - these  
are both supported by yum).

In general, the preference is to use packages from standard  
repositories when possible to minimize the number of packages which  
need to be built and served from install.loncapa.org.  To date, the  
EPEL repository has not been included in the yum.conf provided for  
LON-CAPA installation on Red Hat 5Server, CentOS 5 and Scientific  
Linux 5, so I have continued to build packages to satisfy any package   
depedencies which are unmet from the base repositories for the  
corresponding distributions.

It is possible in Centos 5 to set up priorities in yum to ensure that  
packages from a particular repository have precedence over packages  
with the same name from other repositories. You'll need to install  
yum-priorities to take advantage of this, and modify your yum.conf file.

See: http://wiki.centos.org/PackageManagement/Yum/Priorities

Stuart Raeburn
MSU LON-CAPA group

Quoting Todd Ruskell <truskell at mines.edu>:

> Stuart,
>
> Thanks to the iterative process, here are two more missing dependencies
>
> Error: Missing Dependency: perl(ExtUtils::ParseXS) >= 1.02 is needed by
> package perl-Module-Build
> Error: Missing Dependency: perl(ExtUtils::CBuilder) >= 0.15 is needed by
> package perl-Module-Build
>
> The good news is the EPEL repositories had these (and perhaps others),
> so after adding those repositories to the list, all dependencies seem to
> be resolved.
>
> However, it seems like several packages are being installed from the
> epel repositories rather than the loncapa-updates repository.  "Problem"
> packages that I know about, like gnuplot, are coming from
> loncapa-updates, but I'm not sure if there are other possible gotcha's
> as a result.  I've appended the list of packages being installed below.
>
> Thanks,
>
> Todd
>
> =============================================================================
>  Package                 Arch       Version          Repository        Size
> =============================================================================
> Installing:
>  LONCAPA-prerequisites   i386       1-12.centos5
> loncapa-updates-basearch  4.5 k
> Installing for dependencies:
>  ImageMagick             i386       6.2.8.0-4.el5_1.1  base
>  3.3 M
>  ImageMagick-perl        i386       6.2.8.0-4.el5_1.1  base
>  145 k
>  bison                   i386       2.3-2.1          base              535 k
>  dialog                  i386       1.0.20051107-1.2.2  base
>   162 k
>  flex                    i386       2.5.4a-41.fc6    base              124 k
>  gcc                     i386       4.1.2-42.el5     base              5.2 M
>  gd                      i386       2.0.33-9.4.el5_1.1  base
>   157 k
>  ghostscript             i386       8.15.2-9.3.el5   updates           5.9 M
>  ghostscript-fonts       noarch     5.50-13.1.1      base              801 k
>  git-core                i386       1.5.3.6-1.el5    epel              4.2 M
>  glibc-devel             i386       2.5-24           base              2.0 M
>  glibc-headers           i386       2.5-24           base              610 k
>  gnuplot                 i386       4.2.0-2.0.centos5.lc
> loncapa-updates-basearch  1.3 M
>  kernel-headers          i386       2.6.18-92.1.10.el5  updates
>   847 k
>  lcms                    i386       1.15-1.2.2       base              168 k
>  libcroco                i386       0.6.1-2.1        base              127 k
>  libgomp                 i386       4.1.2-42.el5     base               82 k
>  libgsf                  i386       1.14.1-6.1       base              116 k
>  librsvg2                i386       2.16.1-1.el5     base              178 k
>  libwmf                  i386       0.2.8.4-10.1     base              821 k
>  maxima                  i386       5.14.0-4.el5     epel               14 M
>  maxima-runtime-sbcl     i386       5.14.0-4.el5     epel               13 M
>  memcached               i386       1.2.5-2.el5      epel               58 k
>  mod_perl                i386       2.0.2-6.3.el5    base              4.0 M
>  mysql                   i386       5.0.45-7.el5     base              4.1 M
>  mysql-server            i386       5.0.45-7.el5     base              9.7 M
>  netpbm                  i386       10.35-6.fc6      base              141 k
>  netpbm-progs            i386       10.35-6.fc6      base              2.0 M
>  perl-Algorithm-Diff     noarch     1.1902-2.el5     epel               45 k
>  perl-Authen-Captcha     noarch     1.023-2.el5      epel              108 k
>  perl-Authen-Krb4        i386       1.1-1.0.el5.centos.lc
> loncapa-updates-basearch   62 k
>  perl-Authen-Krb5        i386       1.6-1.0.el5.centos.lc
> loncapa-updates-basearch  111 k
>  perl-Authen-PAM         i386       0.16-1.0.el5.centos.lc
> loncapa-updates-basearch   65 k
>  perl-BSD-Resource       i386       1.28-1.fc6.1     base               29 k
>  perl-Cache-Memcached    noarch     1.23-1.0.el5.centos.lc
> loncapa-updates-noarch   21 k
>  perl-Class-Singleton    noarch     1.4-1.0.centos5.lc
> loncapa-updates-noarch   15 k
>  perl-Compress-Zlib      i386       1.42-1.fc6       base               52 k
>  perl-Crypt-DES          i386       2.05-3.el5       epel               18 k
>  perl-Crypt-IDEA         i386       1.08-1.0.el5.centos.lc
> loncapa-updates-basearch   33 k
>  perl-Crypt-SSLeay       i386       0.51-11.el5      base               45 k
>  perl-DBD-MySQL          i386       3.0007-1.fc6     base              147 k
>  perl-DBI                i386       1.52-1.fc6       base              605 k
>  perl-DateManip          noarch     5.44-1.2.1       base              144 k
>  perl-DateTime           i386       1:0.41-1.0.centos5.lc
> loncapa-updates-basearch  636 k
>  perl-Event              i386       1.09-1.0.el5.centos.lc
> loncapa-updates-basearch  182 k
>  perl-Expect             noarch     1.20-1.0.el5.centos.lc
> loncapa-updates-noarch   73 k
>  perl-File-MMagic        noarch     1.27-2.el5       epel               29 k
>  perl-GD                 i386       2.35-2.el5       epel              197 k
>  perl-GD-Barcode         noarch     1.15-1.0.el5.centos.lc
> loncapa-updates-noarch  1.7 M
>  perl-GDGraph            noarch     1:1.44-1.el5     epel              133 k
>  perl-GDGraph3d          noarch     0.63-6.el5       epel               26 k
>  perl-GDTextUtil         noarch     0.86-8.el5       epel               76 k
>  perl-Git                i386       1.5.3.6-1.el5    epel               21 k
>  perl-HTML-Parser_loncapa  i386       3.56-1.0.el5.centos.lc
> loncapa-updates-basearch  145 k
>  perl-HTML-Tagset        noarch     3.10-2.1.1       base               15 k
>  perl-HTML-Tree          noarch     1:3.23-2.el5     epel              207 k
>  perl-IO-Socket-SSL      noarch     1.01-1.fc6       base               49 k
>  perl-IO-Tty             i386       1.07-2.el5.1     epel               45 k
>  perl-IO-stringy         noarch     2.110-5.el5      epel               70 k
>  perl-Image-Base         noarch     1.07-7.el5       epel               11 k
>  perl-Image-Info         noarch     1.28-1.0.centos5.lc
> loncapa-updates-noarch  234 k
>  perl-Image-Size         noarch     3.1.1-1.0.centos5.lc
> loncapa-updates-noarch   35 k
>  perl-Image-Xbm          noarch     1.08-6.el5       epel               15 k
>  perl-Image-Xpm          noarch     1.09-6.el5       epel               16 k
>  perl-MIME-Lite          noarch     3.01_05-1.0.el5.centos.lc
> loncapa-updates-noarch   82 k
>  perl-MIME-Types         noarch     1.20-1.0.el5.centos.lc
> loncapa-updates-noarch   24 k
>  perl-MailTools          noarch     2.00_01-1.0.el5.centos.lc
> loncapa-updates-noarch   87 k
>  perl-Math-Cephes        i386       0.44-1.0.el5.centos.lc
> loncapa-updates-basearch  1.0 M
>  perl-Math-Random        i386       0.69-2.0.el5.centos.lc
> loncapa-updates-basearch   96 k
>  perl-Net-PH             noarch     2.21-1.0.el5.centos.lc
> loncapa-updates-noarch   15 k
>  perl-Net-SSLeay         i386       1.30-4.fc6       base              195 k
>  perl-OLE-Storage_Lite   noarch     0.14-9.el5       epel               25 k
>  perl-Params-Validate    i386       0.89-1.0.centos5.lc
> loncapa-updates-basearch  102 k
>  perl-Parse-RecDescent   noarch     1.94-6.el5       epel              164 k
>  perl-Pod-POM            noarch     0.17-6.el5       epel               57 k
>  perl-PostScript-Simple  noarch     0.07-1.0.el5.centos.lc
> loncapa-updates-noarch   41 k
>  perl-RTF-HTMLConverter  i386       0.051-1.0.centos5.lc
> loncapa-updates-basearch  127 k
>  perl-Safe-Hole          i386       0.10-1.0.el5.centos.lc
> loncapa-updates-basearch   35 k
>  perl-Spreadsheet-WriteExcel  noarch     2.18-1.0.el5.centos.lc
> loncapa-updates-noarch  565 k
>  perl-String-Similarity  i386       1.03-1.0.el5.centos.lc
> loncapa-updates-basearch   33 k
>  perl-Text-Aspell        i386       0.09-1.el5       epel               33 k
>  perl-Text-Query         noarch     0.07-1.0.el5.centos.lc
> loncapa-updates-noarch   47 k
>  perl-TimeDate           noarch     1:1.16-5.el5     base               32 k
>  perl-URI                noarch     1.35-3           base              116 k
>  perl-XML-DOM            noarch     1.44-2.el5       epel              138 k
>  perl-XML-Parser         i386       2.34-6.1.2.2.1   base              210 k
>  perl-XML-RegExp         noarch     0.03-2.el5       epel              8.2 k
>  perl-XML-Simple         noarch     2.18-1.0.centos5.lc
> loncapa-updates-noarch   71 k
>  perl-libwww-perl        noarch     5.805-1.1.1      base              376 k
>  perl-suidperl           i386       4:5.8.8-10.el5_2.3  updates
>    57 k
>  psutils                 i386       1.17-26.1        base               85 k
>  sbcl                    i386       1.0.13-1.el5     epel              9.3 M
>  swig                    i386       1.3.29-2.el5     base              2.9 M
>  tetex                   i386       3.0-33.2.el5_1.2  base
>  13 M
>  tetex-dvips             i386       3.0-33.2.el5_1.2  base
> 586 k
>  tetex-fonts             i386       3.0-33.2.el5_1.2  base
>  29 M
>  tetex-latex             i386       3.0-33.2.el5_1.2  base
> 5.4 M
>  tetex-unicode           noarch     0-4.20041017.centos5.lc
> loncapa-updates-noarch  755 k
>
>
>
>
> Stuart Raeburn wrote:
>> Todd,
>>
>> Thanks for reporting the perl-Module-Build dependency.
>>
>> I've added perl-Module-Build rpms (required by perl-Error) to the
>> LON-CAPA yum repositories on install.loncapa.org for centOS 5, RHEL 5,
>> and Scientific Linux 5.
>>
>> You may find the EPEL repository (see
>> http://fedoraproject.org/wiki/EPEL) a useful source of packages for Red
>> Hat Enterprise Linux (RHEL) and the compatible CentOS and Scientific
>> Linux spinoffs if you encounter future dependency issues.
>>
>> EPEL 5 packages are available from:
>> http://mirrors.fedoraproject.org//mirrorlists/publiclist/EPEL/5/
>>
>> Stuart Raeburn
>> MSU LON-CAPA group
>>
>> Quoting Todd Ruskell <truskell at mines.edu>:
>>
>>> Thanks Stuart,
>>>
>>> No problems with the delay.  I hope you enjoyed your time away.  It
>>> looks like there's another overlooked dependency:
>>>
>>> Error: Missing Dependency: perl(Module::Build) is needed by package
>>> perl-Error
>>>
>>> Todd
>>>
>>> Stuart Raeburn wrote:
>>>> Todd,
>>>>
>>>> Sorry for the delay in replying - I've been without access to e-mail for
>>>> a few days.
>>>>
>>>> I've now added perl-Error-0.17014-1.0.centos5.lc.noarch.rpm to the
>>>> centos5 repository on install.loncapa.org
>>>>
>>>> The equivalent package was available in the RHEL5 and Scientific Linux 5
>>>> repos on install.loncapa.org, but apparently was overlooked when copying
>>>> rpms from the centos5 build environment- sorry about that.
>>>>
>>>> yum install LONCAPA-prerequisites
>>>>
>>>> should no longer report the missing dependency on perl-Error.
>>>>
>>>> As RHEL5, Centos 5 and Scientific Linux 5 share the same base source
>>>> rpms, rpms  from any one of the three repositories on
>>>> install.loncapa.org should work with the other two distros should a
>>>> particular package have been overlooked in one of them.
>>>>
>>>> Stuart Raeburn
>>>> MSU LON-CAPA group
>>>>
>>>>
>>>> Quoting Todd Ruskell <truskell at mines.edu>:
>>>>
>>>>> Hi,
>>>>>
>>>>> We're upgrading servers to CentOS 5 from SUSE.
>>>>>
>>>>> I've grabbed
>>>>> http://install.loncapa.org/versions/centos/5/centos5_loncapa_yum.conf
>>>>>
>>>>> But
>>>>>> yum install LONCAPA-prerequisites
>>>>> Gives me this:
>>>>> Error: Missing Dependency: perl(Error) is needed by package
>>>>> perl-RTF-HTMLConverter
>>>>>
>>>>> What package do I need to install to satisfy this dependency, and where
>>>>> can I find it?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Todd
>>>>>
>>>>> --
>>>>> Dr. Todd Ruskell
>>>>> Senior Lecturer, Department of Physics       Office:  Meyer Hall 326
>>>>> Colorado School of Mines                     Phone: 303-384-2080
>>>>> 1523 Illinois Street                         Fax: 303-273-3919
>>>>> Golden, CO 80401
>>>>> _______________________________________________
>>>>> LON-CAPA-admin mailing list
>>>>> LON-CAPA-admin at mail.lon-capa.org
>>>>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> LON-CAPA-admin mailing list
>>>> LON-CAPA-admin at mail.lon-capa.org
>>>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>>>
>>> --
>>> Dr. Todd Ruskell
>>> Senior Lecturer, Department of Physics       Office:  Meyer Hall 326
>>> Colorado School of Mines                     Phone: 303-384-2080
>>> 1523 Illinois Street                         Fax: 303-273-3919
>>> Golden, CO 80401
>>> _______________________________________________
>>> LON-CAPA-admin mailing list
>>> LON-CAPA-admin at mail.lon-capa.org
>>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>>>
>>
>>
>> _______________________________________________
>> LON-CAPA-admin mailing list
>> LON-CAPA-admin at mail.lon-capa.org
>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>
> --
> Dr. Todd Ruskell
> Senior Lecturer, Department of Physics       Office:  Meyer Hall 326
> Colorado School of Mines                     Phone: 303-384-2080
> 1523 Illinois Street                         Fax: 303-273-3919
> Golden, CO 80401
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>





More information about the LON-CAPA-admin mailing list