[OPEN-ILS-DEV] installing prerequistes on FC6
Peter Newman
Peter.Newman at cdu.edu.au
Thu Apr 26 21:03:29 EDT 2007
Hi
This mailing list sure works strange. I can see your emails in the
Archive (now that I've looked there) but I never received them in my
Inbox?? Seems that I started my email by replying to your memcached
thread but then thought my email should have it's own Subject because it
was about all prerequisites. Somehow it's remained attached to your
thread and then gargled my email address. Anyway I didn't get your
responses but continued to receive other emails from the list!? I've
noticed that there are a few emails in the lists like mine with the
sender email address gargled as well. maybe a problem with pipermail?
Anyway I'll try answer your questions so far:
Q1 No easy answer. Generally there are some issues with different
repositories and RPMs might be incompatible and conflict. If you find
RPMs in other repositories that are also in mine then I'm very
interested in information about those repositories. Initially my
preference would be to add those repositories and test against them and
remove the RPMs from the one on Darlug. However the other thing to
consider is that if a repository releases an update of that RPM then
will it be compatible with Evergreen? I don't want to setup a
repository system using other non-fedora repositories where all
libraries that might use it are exposed to untested (with Evergreen) RPM
updates! Which is why maybe using only the fedora core - updates -
extras repositories and then creating a single repository for the RPMs
which aren't included in those fedora repositories has merit for
production environments (if we get to that stage).
Q2 I'd recommend either using cpan or the perl cpan RPM packages but not
both. Although the RPMs will just overwrite the CPAN installed modules
without complaining. Essentially the RPM build process uses the CPAN
build process but using RPMs is more efficient on redhat systems for
managing the dependencies. Maybe this is duplicating what the open-ils
bundles already do so probably isn't compatible with those bundles. The
main advantage I see is being able to manage dependencies of the cpan
modules with non-perl dependencies.
Q3 If you use "rpm -ql perl-MARC-XML" you'll see that
/usr/lib/perl5/vendor_perl/5.8.8/MARC/File/XML.pm is included.
Similarly with the other packages the required files are included with
them.
Q4 I forgot to mention that the evergreen-prep rpm installs a
/usr/sbin/test-evergreen-setup.sh file. This queries the rpm db and
lists all the prerequisites pacakges including perl-libwww-perl,
libxml2-devel, libxslt-devel, gd-devel, mod_perl, postgresl-server. It
should be extended to include yaz, ncurses, ncurses-devel which are also
included as dependencies. I have seemed to have missed
perl-XML-LibXSLT, DateTime::TimeZone (for some reason I had thought this
was now included in the main perl RPM but was mistaken) and
readline/readline-devel. For some reason I started to work with
ejabberd but then didn't finish that part. Hopefully I can make an
updated evergreen-prep over the weekend. I have also found some other
RPMs required (something like libdbd-drivers and libdbi-pgsql but have
the notes at home). Thanks for testing this out - it really helps to
have someone test this :-)
Regards
Pete
-----Original Message-----
From:
Sent: Thursday, 19 April 2007 4:12 AM
Subject: [OPEN-ILS-DEV] installing prerequistes on FC6
Hi again,
I have two more questions for you, Peter. This time they are in regard
to RPMs that may (or may not) be missing from your repository.
Q3: In the following three cases, the DocuWiki list of Perl modules,
<http://open-ils.org/dokuwiki/doku.php?id=perl_modules
<http://open-ils.org/dokuwiki/doku.php?id=perl_modules> >, differs
slightly from your listed packages. Are these the same, or different?
If the latter, should the modules listed on DocuWiki be built into RPMs?
Package DocuWiki
perl-MARC-XML MARC::File::XML <File::XML>
perl-Net-Server Net::Server::PreFork
perl-Template-Toolkit Template
Q4: And in these cases, something documented on the wiki (or mentioned
on the list or required as a dependency) isn't in your list and wasn't
in the FC6 install. At least, not my very basic FC6 install. Should
the corresponding RPM be put on your repository (if nothing else but for
newbies like me)?
(perl) DateTime::TimeZone
(perl) XML::LibXSLT
(perl) libwww-perl
(perl) Net::Z3950
libxml2-devel
libxslt-devel
yaz-2.0x
gd-devel
ejabberd
mod-perl
postgresql-server
readline
readline-devel
ncurses
ncurses-devel
I think I'm going to forge ahead and come back to these modules if/when
I find I need them (or an updated version). Thanks so much for making
this kind of resource available!
Natasha
> -----Original Message-----
> Q1: In cases where you have a newer version of a package than I do,
> from a different repository or author, should I uninstall the older
> version before I install yours?
>
> Q2: In cases where you have a package containing a Perl module, and I
> installed that module from CPAN, how do I determine which is newer?
And
> if yours is newer, do I follow the same procedure (uninstall older
> before I install yours)?
>
> Thanks,
> Natasha
>
> > -----Original Message-----
> > From: open-ils-dev-bounces at list.georgialibraries.org
> [mailto:open-ils-dev- <mailto:open-ils-dev->
> > bounces at list.georgialibraries.org] On Behalf Of Peter Newman
> > Sent: Tuesday, April 17, 2007 11:25 PM
> > To: open-ils-dev at list.georgialibraries.org
> > Subject: [OPEN-ILS-DEV] installing prerequistes on FC6
> >
> > Hi
> >
> > I have just collated some rpms - built others which are missing and
> > created a repository for them on a server darlug (Darwin Linux
User's
> > Group).
> >
> > I've been plugging along like everyone else trying to get the
> > prerequistes in order on FC6 before starting the compilation of the
> > openils stable code base. Hopefully this helps people and we can
> build
> > further on this??
> >
> > These rpms are made to be compatible with freshrpms, Dag Wieers'
dries
> > repository and with fedora extras. I have put copies of the yum
> > repository config files that I am using on the Darlug webserver:
> > http://www2.darlug.org/BlackFriday/dries.repo
<http://www2.darlug.org/BlackFriday/dries.repo> and
> > http://www2.darlug.org/BlackFriday/freshrpms.repo
<http://www2.darlug.org/BlackFriday/freshrpms.repo> . You'll also need
> to
> > get http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
<http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt> and put
it
> in
> > the /etc/pki/rpm-gpg directory (remove the .txt from the name) and
> also
> > put http://freshrpms.net/RPM-GPG-KEY-freshrpms
<http://freshrpms.net/RPM-GPG-KEY-freshrpms> in the same place
> > directory.
> >
> > Then if you install
> >
>
http://www2.darlug.org/BlackFriday/core/fedora/6/i386/RPMS/BlackFriday-F
<http://www2.darlug.org/BlackFriday/core/fedora/6/i386/RPMS/BlackFriday-
F>
> > edora-Repo-0.1-1.fc6.bf.noarch.rpm and run this command as root:
> > # sudo yum --enablerepo=blackfriday-testing install evergreen-prep
> >
> > Then all the prerequistes (for compiling and running evergreen)
should
> > be installed (and SHOULD is the key word here).
> >
> > I haven't started on compiling the source code for evergreen but the
> > evergreen-prep rpm could be expanded to do the installation of the
> > openils components (that is the aim anyway). Any tips or help would
> be
> > appreciated with both testing the evergreen-prep to make sure the
> > prerequistes are complete and that the RPMs in the repository work
> > properly as well as compiling evergreen on FC6.
> >
> > I'll also build rpms for RHEL4 and RHEL5 soon or you can use the
> SRPMs.
> >
> > The source RPMs are here
> > http://www2.darlug.org/BlackFriday/testing/fedora/6/SRPMS/
<http://www2.darlug.org/BlackFriday/testing/fedora/6/SRPMS/> so if
> people
> > at Georgia feel it is more approriate that the repository is held
> > somewhere else (this is a start)...
> >
> > When you run the yum command above you should see something like
(more
> > or less depending on what you already have installed):
> >
> >
>
========================================================================
> > =====
> > Package Arch Version Repository
> > Size
> >
>
========================================================================
> > =====
> > Installing:
> > evergreen-prep noarch 0.1-1.fc6.bf
> blackfriday-testing
> > 3.2 k
> > Installing for dependencies:
> > memcached i386 1.2.1-4.rf
> blackfriday-testing
> > 65 k
> > perl-AppConfig noarch 1.64-1.fc6.rf dries
> > 89 k
> > perl-Cache-Memcached noarch 1.18-1.fc6.bf
> blackfriday-testing
> > 20 k
> > perl-Class-Accessor noarch 0.30-1.fc6.rf dries
> > 24 k
> > perl-Class-DBI noarch 3.0.16-1.fc6 extras
> > 128 k
> > perl-Class-DBI-AbstractSearch i386 0.07-1.2.fc6.rf dries
> > 7.8 k
> > perl-Class-Data-Inheritable noarch 0.06-1.fc6.rf dries
> > 8.4 k
> > perl-Class-Factory-Util noarch 1.7-1.fc6 extras
> > 15 k
> > perl-Class-Inspector noarch 1.16-2.fc6 extras
> > 25 k
> > perl-Class-Singleton i386 1.03-1.2.fc6.rf dries
> > 14 k
> > perl-Class-Trigger noarch 0.10-2.fc6 extras
> > 11 k
> > perl-Clone i386 0.22-1.fc6.rf dries
> > 13 k
> > perl-DBD-Pg i386 1.49-1.fc6 core
> > 114 k
> > perl-DBI i386 1.52-1.fc6 core
> > 605 k
> > perl-DBIx-ContextualFetch noarch 1.03-2.fc6 extras
> > 9.2 k
> > perl-DateManip noarch 5.44-2.fc6 updates
> > 143 k
> > perl-DateTime i386 1:0.34-3.fc6 extras
> > 577 k
> > perl-DateTime-Format-Builder noarch 0.7807-4.fc6 extras
> > 73 k
> > perl-DateTime-Format-ISO8601 noarch 0.0403-1.2.fc6.rf dries
> > 16 k
> > perl-Email-Address noarch 1.886-1.fc6 extras
> > 36 k
> > perl-Email-Send noarch 2.183-1.fc6.rf dries
> > 35 k
> > perl-Email-Simple noarch 1.999-1.fc6 extras
> > 27 k
> > perl-Error noarch 1:0.17007-1.fc6 extras
> > 25 k
> > perl-File-HomeDir noarch 0.62-1.fc6.rf dries
> > 31 k
> > perl-GD i386 2.35-2.fc6 extras
> > 198 k
> > perl-GDGraph noarch 1.4308-1.fc6 extras
> > 130 k
> > perl-GDGraph3d noarch 0.63-6.fc6 extras
> > 26 k
> > perl-GDTextUtil noarch 0.86-8.fc6 extras
> > 75 k
> > perl-IO-Multiplex noarch 1.08-5.fc6 extras
> > 20 k
> > perl-IO-stringy noarch 2.110-4.fc6 extras
> > 70 k
> > perl-IPC-Shareable noarch 0.60-3.fc6 extras
> > 39 k
> > perl-Ima-DBI noarch 0.34-2.fc6 extras
> > 22 k
> > perl-JavaScript-SpiderMonkey noarch 0.17-1.fc6.bf
> > blackfriday-testing 69 k
> > perl-Log-Dispatch noarch 2.15-2.fc6 extras
> > 77 k
> > perl-Log-Dispatch-FileRotate noarch 1.16-1.fc6.rf dries
> > 23 k
> > perl-Log-Log4perl noarch 1.09-1.fc6 extras
> > 365 k
> > perl-MARC-Charset noarch 0.96-1.fc6.bf
> blackfriday-testing
> > 12 M
> > perl-MARC-Record noarch 2.0.0-1.fc6.bf
> blackfriday-testing
> > 97 k
> > perl-MARC-XML noarch 0.84-1.fc6.bf
> blackfriday-testing
> > 20 k
> > perl-MIME-Lite noarch 3.01-5.fc6 extras
> > 72 k
> > perl-Mail-Sender noarch 0.8.13-2.fc6 extras
> > 52 k
> > perl-Mail-Sendmail noarch 0.79-9.fc6 extras
> > 27 k
> > perl-MailTools noarch 1.74-3.fc6 extras
> > 88 k
> > perl-Module-Pluggable noarch 3.10-2.fc6 extras
> > 22 k
> > perl-Net-Server noarch 0.94-2.fc6 extras
> > 145 k
> > perl-Params-Validate i386 0.88-1.fc6 extras
> > 72 k
> > perl-Pod-POM noarch 0.17-6.fc6 extras
> > 57 k
> > perl-Return-Value noarch 1.302-1.fc6.rf dries
> > 12 k
> > perl-SQL-Abstract noarch 1.22-1.fc6.rf dries
> > 27 k
> > perl-SQL-Abstract-Limit noarch 0.12-3.fc6 extras
> > 20 k
> > perl-TeX-Hyphen noarch 0.140-5.fc6 extras
> > 34 k
> > perl-Template-Toolkit i386 2.18-1.fc6 extras
> > 1.4 M
> > perl-Text-Aspell noarch 0.07-1.bf
> blackfriday-testing
> > 57 k
> > perl-Text-Autoformat noarch 1.13-4.fc6 extras
> > 29 k
> > perl-Text-Reform noarch 1.11-6.fc6 extras
> > 35 k
> > perl-TimeDate noarch 1:1.16-3.2.1 core
> > 32 k
> > perl-UNIVERSAL-moniker noarch 0.08-4.fc6 extras
> > 7.7 k
> > perl-UNIVERSAL-require noarch 0.11-1.fc6 extras
> > 8.5 k
> > perl-Unix-Syslog i386 0.100-8.fc6 extras
> > 28 k
> > perl-XML-DOM noarch 1.44-2.fc6 extras
> > 138 k
> > perl-XML-LibXML i386 1.58-2.2.2.1 core
> > 230 k
> > perl-XML-LibXML-Common i386 0.13-8.2.2 core
> > 16 k
> > perl-XML-NamespaceSupport noarch 1.09-1.2.1 core
> > 15 k
> > perl-XML-Parser i386 2.34-6.1.2.2.1 core
> > 209 k
> > perl-XML-RegExp noarch 0.03-2.fc6 extras
> > 8.2 k
> > perl-XML-SAX noarch 0.14-2 core
> > 75 k
> > perl-rrdtool i386 1.2.15-1.fc6.rf dries
> > 33 k
> > perl-version i386 1:0.69-1.fc6 extras
> > 45 k
> > rrdtool i386 1.2.15-1.fc6.rf dries
> > 648 k
> > spidermonkey i386 1.60-1.fc6.bf
> blackfriday-testing
> > 486 k
> >
> > Transaction Summary
> >
>
========================================================================
> > =====
> > Install 71 Package(s)
> > Update 0 Package(s)
> > Remove 0 Package(s)
> >
> > Total download size: 19 M
> > Is this ok [y/N]:
> >
> > [Please note I disappear tomorrow for a wedding in outback Aus so
will
> > be offline until mid next week]
> >
> > Regards
> > Peter Newman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20070427/371d150d/attachment-0001.html
More information about the Open-ils-dev
mailing list