Kefk Network Home Kefk Network : Kefk Network GNU/Linux GNU/Linux | Über Kefk Network GNU/Linux About | Kefk Network GNU/Linux Wiki Wiki. Changelog | Index | Inhalt | Site Map | Suchen
Administration | Akteure | Anwendungen | Berlin | Business | Chronik | Counter | Desktop | Development | Distributionen | Dokumentation | Hardware | Jobs | Kernel | Lernen | Literatur | Meinung | Microsoft Windows | Netmarks | News | PDA | Praxis | Reviews | Server | Shell | Shopping | Software | Standards | Tagebuch | Theorie | Window Manager | Worldwide | X11.

 

Installation von Bricolage Red Hat Linux 9

Software : Web : Bricolage : Installation : Red Hat Linux : Übersicht
03-Nov-2003/09-Jan-07


Übersicht

Wir nutzen ein Red Hat Linux in Version 9Shrike«) mit Apache 2. Für RHL existiert bisher kein natives und stabiles Paket im RPM- Format; Bricolage kann daher natürlich auch nicht über APT-RPM installiert oder über die nativen Mechanismen der Paketverwaltung von Red Hat Linux aktualisiert werden.

Erster Installationsversuch

Suche nach RPM-Paketen

RPMfind.net kennt leider keine RPM- Pakete für Bricolage:

 www.rpmfind.net.

Auch die deutsche RPM- Suchmaschine RPMseek.com findet nichts:

 www.rpmseek.com.

RPM-Pakete aus dem RPMPAN-Projekt

Das RPMPAN- Projekt ( rpmpan.sourceforge.net) stellt zwei passende Pakete zur Verfügung:

Bundle::Bricolage,
perl-Bundle-Bricolage-1.6.0-8.noarch.rpm
 www.quantumlinux.com/~kevin/rpmpan/rpm/perl-Bundle-Bricolage-1.6.0-8.noarch.rpm.

Bundle::BricolagePlus,
perl-Bundle-BricolagePlus-1.6.0-8.noarch.rpm
 www.quantumlinux.com/~kevin/rpmpan/rpm/perl-Bundle-BricolagePlus-1.6.0-8.noarch.rpm.

Installiert man diese beiden RPM- Pakete, erhält man jedoch folgende Fehlermeldung:

[root@lx /]# rpm -Uvh perl*.rpm
Fehler: Failed dependencies:
perl(:WITHOUT_ITHREADS) is needed by perl-Bundle-Bricolage-1.6.0-8
perl(:WITHOUT_THREADS) is needed by perl-Bundle-Bricolage-1.6.0-8
perl(:WITHOUT_LARGEFILES) is needed by perl-Bundle-Bricolage-1.6.0-8
perl(:WITHOUT_ITHREADS) is needed by perl-Bundle-BricolagePlus-1.6.0-8
perl(:WITHOUT_THREADS) is needed by perl-Bundle-BricolagePlus-1.6.0-8
perl(:WITHOUT_LARGEFILES) is needed by perl-Bundle-BricolagePlus-1.6.0-8

Mit Hilfe von Chuck Moss soll RPMPAN "apt aware" geworden sein; dazu müssen folgende Zeien zur /etc/apt/sources.list hinzugefügt werden:

rpm http://www.quantumlinux.com rpmpan rpmpan

Dies gibt uns ein gültiges neues APT-Repository, dennoch sind die Bricolage- Pakete von RPMPAN nicht installierbar:

[root@lx /]# apt-get install perl-Bundle-Bricolage perl-Bundle-BricolagePlus
Lese Paketlisten... Fertig
Erzeuge Abhängigkeitsbaum... Fertig
Einige Pakete konnten nicht installiert werden. Dies könnte bedeuten,
dass Sie eine unmögliche Situation angefordert haben oder, falls Sie die
instabile Distribution verwenden, dass einige benötigte Pakete noch nicht
erzeugt oder aus 'Incoming' verschoben worden sind.
Die folgende Information könnte helfen die Sitation zu beheben:

Die folgenden Pakete besitzen unerfüllte Abhängigkeiten:
perl-Bundle-Bricolage: Hängt ab von: perl(:WITHOUT_ITHREADS) aber es ist nicht installierbar
Hängt ab von: perl(:WITHOUT_THREADS) aber es ist nicht installierbar
Hängt ab von: perl(:WITHOUT_LARGEFILES) aber es ist nicht installierbar
perl-Bundle-BricolagePlus: Hängt ab von: perl(:WITHOUT_ITHREADS) aber es ist nicht installierbar
Hängt ab von: perl(:WITHOUT_THREADS) aber es ist nicht installierbar
Hängt ab von: perl(:WITHOUT_LARGEFILES) aber es ist nicht installierbar
E: Fehlerhafte Pakete

Diese Vorgehensweise bringt also uns also nur weitere Probleme, da wir uns nun mit dem Debuggen von PRM- Perl- Paketen beschäftigen müssten, anstatt mit der Installation von Bricolage.

Zweiter Installationsversuch

Suche nach Erfahrungsberichten bei Google

Bei  svn.elixus.org findet sich laut Google ein Bricolage Red Hat README; der Link ist jedoch tot und nur noch über den  Google- Cache erreichbar:

Bricolage works well on Red Hat Linux, but installing components from RPM
requires some care. If you are installing Bricolage's requirements from source
you can skip these notes and proceed directly to INSTALL.

RPM Notes
---------

- The RPMs for Apache and mod_perl will not work with Bricolage, because
they use mod_perl as a DSO. You must install Apache from source. See
Bric::Admin for details.

- You must install the PostgreSQL server and devel RPMs in order for
Bricolage to find PostgreSQL. This is because the devel RPMs contain the
pg_config binary that Bricolage uses to find PostgreSQL. For example, for
PostgreSQL version 7.1.3 you would install these RPMs:

postgresql-server-7.1.3-2.i386.rpm
postgresql-devel-7.1.3-2.i386.rpm

Red Hat 8.0 Notes
-----------------

You may find that you get an error message such as this when you attmpt to
install Bricolage on Red Hat 8:

###############################################################################

Unable to set bricolage.conf variable APACHE_BIN to "/usr/local/apache/bin/httpd".
###############################################################################

In fact, a fair number of Perl modules will fail to install or test properly
with Perl 5.8 on Red Hat 8. This is because Red Hat is configured such that it
defaults to a Unicode character set. Bricolage prefers this, of course, since
all Bricolage data is stored in the database in Unicode. However, it does
require that you set the LANG environment variable on Red Hat 8, like this:

export LANG=en_US

From what we've heard, LANG must not include "utf8". Presumably you should set
LANG to a value for your local language. At any rate, you'll need to make sure
that this is set in your shell in order to install Bricolage and all of its
modules, and you may need to include it in your httpd.conf file, as well:

PerlSetEnv LANG en_US

We've also heard that you can set the LANG environment variable globally in
the /etc/sysconfig/i18n file. Then you wouldn't need to worry about it
anywhere else.

Die Hinweise scheinen sich ausschliesslich auf Red Hat Linux 8.0 zu beziehen, und ausserdem wollen wir eigentlich ja auch keinen eigenen Apache bauen und damit die Red Hat- Paketverwaltung unterlaufen, sondern nur Bricolage installieren -- also auch hier eine weitere Sackgasse.

Die Suche nach Hinweisen zu einem Apache mit statische einkompilierten mod_perl führt zu der folgenden Beschreibung:

  • AxKit on Red Hat 9 von Benjamin Boksa - Shows how to install AxKit on a clean installation of Red Hat 9,
     axkit.org/wiki/view/AxKit/AxKitRedHat9 ( Google Cache).
  • AxKit on Red Hat 9, Another Way - Another way to install AxKit on Red Hat 9, without having to rebuild perl

Auch diese Beschreibung ist nicht mehr im Web, aber noch im Google- Cache; allerdings wird auch hier nur eine Eigenbau- Bastellösung beschrieben,

Ein Artikel zu Bricolage findet sich im Linux Journal vom September 2003:

So richtig beruhigend beginnt der Artikel aber leider nicht:

»Installing Bricolage is not a simple process. This situation is not the fault of the Bricolage authors or maintainers but, rather, a result of Bricolage using so many different modules from the Comprehensive Perl Archive Network (CPAN)«.

Und tatsächlich: Bereits der erste Aufruf von perl -MCPAN -e 'shell' führt zu Fehlemeldungen:

[root@lx /]# perl -MCPAN -e 'shell'
Can't locate CPAN.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .).
BEGIN failed--compilation aborted.

Auch Reuven Lerner, der sich als Fan von Perl, mod_perl, Apache und HTML::Mason beschreibt, rannte bei seinen Installationsversuchen in etliche Sackgassen:

»This is a long and involved process, however, and something is bound to go wrong, if you're like me, with CPAN and double-checking that you have installed everything you need by trying one last time to install Bundle::Bricolage.

For example, I installed LWP and Bundle::CPAN using the interactive CPAN shell. I then tried to install Bundle::Bricolage; the installation (on a virtual colocation system running Red Hat Linux 7.3) failed for Cache::Cache the first time around but succeeded the second time.

CPAN dependencies sometimes can be tricky, and not all modules clearly define and indicate theirs. It also failed on DB_File (because the RPM for db3-devel was not installed), causing problems with the installation of Apache::Session, which in turn caused problems with HTML::Mason, on which Bricolage depends.

And, there were problems installing libapreq (because Apache was already running on the same port number) and XML::Parser (because the expat-devel RPM wasn't installed).

Luckily, trying to install a CPAN bundle indicates (at the end) which packages didn't install cleanly. You always can try to re-install the bundle, in which case the CPAN shell tells you which modules already are installed and which still need to be installed«.

Ohne einen gewissen Fanatismus sollte man sich allerdings nicht übermässig mit der Installation von Bricolage quälen; die Nutzung eines Tools, das derartige schlechte Installationsroutinen mitbringt, sollte man Experten überlassen, die sich dazu berufen fühlen. Für Normalsterbliche ergibt sich dabei nur unnötige Frustration -- und die Gewissheit, dass man später, im Falle von Problem bei einer laufenden Installation -- endgültig scheitern würde.

Red Hat Linux:
Nach oben
Wer ist online?
Name: Besucher.
Online: 16 aktive User.
Login | Logout
Monitoring:
Benachrichtigen bei Änderungen:

mi.gif (12x15 -- 70 bytes)Top-Distributionen:
Debian GNU/Linux 3.1 »Sarge«,
mit Debian-Anwenderhandbuch.


DVD-ROM +
Bonus-DVD
amazon_small.gif (55x15 -- 576 bytes)EUR 49,90
(versandkostenfrei)


Debian GNU/Linux Power Pack.
von Peter H. Ganten und Wulf Alex.

3540432507.03.MZZZZZZZ.jpg (93x140 -- 3556 bytes)
946 Seiten, zwei DVDs
amazon_small.gif (55x15 -- 576 bytes)EUR 69,95
(versandkostenfrei)

mi.gif (12x15 -- 70 bytes)Ubuntu:
Ubuntu/Kubuntu 5.10,
mit Handbuch.


amazon_small.gif (55x15 -- 576 bytes)EUR 29,90
(versandkostenfrei)


mi.gif (12x15 -- 70 bytes)SuSE Linux:
SUSE Linux 10.0 deutsch.
von Novell


amazon_small.gif (55x15 -- 576 bytes)EUR 48,95
(versandkostenfrei)


SuSE Linux 9.3 Professional
von Novell.


amazon_small.gif (55x15 -- 576 bytes)EUR 82,99
(versandkostenfrei)


SuSE Linux 9.3 Professional Update.
von Novell


amazon_small.gif (55x15 -- 576 bytes)EUR 59,95
(versandkostenfrei)

mi.gif (12x15 -- 70 bytes)Red Hat Linux:
Red Hat Linux Professional Workstation.

3827207525.03.MZZZZZZZ.jpg (134x150 -- 5811 bytes)
amazon_small.gif (55x15 -- 576 bytes)EUR 99,95
(versandkostenfrei)


Red Hat Linux 9 Personal.
Red Hat Linux 9 Professional.

3827207479.03.MZZZZZZZ.jpg (116x140 -- 3312 bytes)
amazon_small.gif (55x15 -- 576 bytes)ab EUR 39,99
(versandkostenfrei)

mi.gif (12x15 -- 70 bytes)Literaturhinweise:
Linux Administration Handbook
von Evi Nemeth, Garth Snyder u.a.

0130084662.03.MZZZZZZZ.jpg (104x140 -- 6538 bytes)

Englische Originalausgabe - 850 Seiten - 2002
amazon_small.gif (55x15 -- 576 bytes)EUR 49,90 (versandkostenfrei)
Deutsche Ausgabe - 998 Seiten - 2003
amazon_small.gif (55x15 -- 576 bytes)EUR 39,95 (versandkostenfrei)


The Linux Cookbook
von Michael Stutz

1886411484.01.MZZZZZZZ.jpg (110x140 -- 6489 bytes)
Englische Originalausgabe - 306 Seiten - 2001
amazon_small.gif (55x15 -- 576 bytes)EUR 36,50 (versandkostenfrei)

Linux Cookbook
von Carla Schroder
Englische Originalausgabe (O'Reilly)
553 Seiten - 2004
amazon_small.gif (55x15 -- 576 bytes)EUR 40,90 (versandkostenfrei)


Linux Rute User's Tutorial and Exposition
von Paul Sheer

0130333514.01.MZZZZZZZ.jpg (106x140 -- 6836 bytes)
amazon_small.gif (55x15 -- 576 bytes)
Englische Originalausgabe - 630 Seiten - 2001

mi.gif (12x15 -- 70 bytes)Amazon.de:
Suchen in:
Suchbegriffe:
Über Amazon.de
Kefk Network:
Thematisch verwandte Subsites:
Apple, BSD, Hardware, Internet, Microsoft Windows, Networking, Open Content, Open Source & Free Software, Politik, Recht, Safety, Security, Shopping, Software, The Tark, Webworking, Wissen.
Kefk Network Home
Hacker Emblem glider.png (55x55 -- 724 bytes)

 

Zurück ]

URL: http://www.kefk.net/Linux/Software/Web/Bricolage/Installation/Red-Hat/index.asp.
Translate this page to   Service provided by Google.
Website: About | Index | Inhalt | Site Map | Suchen | Wer ist online? | What's new?.
Thematisch verwandte Subsites: Apple | BSD | Open Source | Project »Tark« | Software | UNIX | Windows | Wissen.
Mirrors: Connected | DAHB | Debian-Howto | Jargon File | Linuxfibel | Linux-Buch | RUTE | SelfLinux | TeX.
Ergänzungen, Kommentare und Fragen: Kontakt | Foren | Wiki.
E-Mail: echo "asb at keNOSPAMfk.net"| sed -e "s/ at /@/" -e "s/NOSPAM//".
Registered Linux user: #34377 <http://counter.li.org>.
  Copyright | Credits | Disclaimer | Impressum | Rechtliche Hinweise | Wayback Machine.