-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I need to install the perl-XML-libXML packages but it isn't included in the SuSE 8.1 discs and I am unsure what package provides it or if I can find it as a independent/stand-alone packages. Does anyone know where/how I can find this lib? TIA, Curtis. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+sIfL7WVLiDrqeksRAttfAJ93PgfIRQVUKD3r4vNI3nV1ryyoYgCeJFZP n0oY0c6n5Q2iYUQZamL0f58= =NSrD -----END PGP SIGNATURE-----
* Curtis Rey
I need to install the perl-XML-libXML packages but it isn't included in the SuSE 8.1 discs and I am unsure what package provides it or if I can find it as a independent/stand-alone packages.
Does anyone know where/how I can find this lib?
google.com/linux www.perl.org search.cpan.org www.cpan.org rpmfind.net there may be a few more, but .... -- Patrick Shanahan Please avoid TOFU and trim >quotes< http://wahoo.no-ip.org Registered Linux User #207535 icq#173753138 @ http://counter.li.org Linux, a continuous *learning* experience
I need to install the perl-XML-libXML packages but it isn't included in the SuSE 8.1 discs and I am unsure what package provides it or if I can find it as a independent/stand-alone packages.
Does anyone know where/how I can find this lib?
The problem is that the Perl XML scene has become very complicated. Vendors - including SuSE - are confused about which XML packages to install these days. Most still go for the trusty old expat based stuff. I've used the libxml stuff because it works under AIX and I've needed compatibility. I downloaded, compiled and installed it from CPAN last year. It was quite straightforward, IIRC. Make sure you don't have any "competing" Perl/XML packages installed when you build libxml. The namespaces are obviously very similar. I do most of my XML scripting in Tcl these days, although the same problem is happening there too. These days there are at least 3 Tcl parsers to choose from. -- "...our desktop is falling behind stability-wise and feature wise to KDE ...when I went to Mexico in December to the facility where we launched gnome, they had all switched to KDE3." - Miguel de Icaza, March 2003
On Wed, 30 Apr 2003 21:34:47 -0500
Curtis Rey
I need to install the perl-XML-libXML packages ... Does anyone know where/how I can find this lib?
http://search.cpan.org/author/PHISH/XML-LibXML-1.53/ Charles -- "All language designers are arrogant. Goes with the territory..." (By Larry Wall)
Op donderdag 1 mei 2003 04:34, schreef Curtis Rey:
I need to install the perl-XML-libXML packages but it isn't included in the SuSE 8.1 discs and I am unsure what package provides it or if I can find it as a independent/stand-alone packages.
Does anyone know where/how I can find this lib?
TIA, Curtis.
Shortest possible answer include the component funktronics in your sources.list file, and run apt-get ;) Here is stated; http://apt4rpm.sourceforge.net/dl-instruction.html, that they are available at: ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/8.1-i386/RPMS.funktronics -- Richard Bos Without a home the journey is endless
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 30 April 2003 21:34 pm, Curtis Rey wrote:
I need to install the perl-XML-libXML packages but it isn't included in the SuSE 8.1 discs and I am unsure what package provides it or if I can find it as a independent/stand-alone packages.
Does anyone know where/how I can find this lib?
TIA, Curtis.
The reason I'm looking for this particular brand of perl xml libs is because the latest version of apt-get (v0.64) requires it and won't install - complaining about this not meeting the dependencies. After reading Dereks post I am a bit concern and don't want to kludge other progs by confusing them or breaking their dependencies. I will give Patricks suggestion a try though, so at least I have some knowledge as to where I would find these should I proceed. Thx, Curtis. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+sKCb7WVLiDrqeksRAiGNAJ0R3nlan3rz1zJxQrel3gQ1d6Y4BQCggXVh xUIqWHqqQ2hqynv1R0CT2wQ= =zWUc -----END PGP SIGNATURE-----
After reading Dereks post I am a bit concern and don't want to kludge other progs by confusing them or breaking their dependencies. I will give Patricks suggestion a try though, so at least I have some knowledge as to where I would find these should I proceed.
To the best of my knowledge, the Perl XML handling is not a vital part of the distro. It's not even installed on this 8.1 box I'm currently looking at. I think you could remove the expat based stuff using YaST, install the libxml2 development stuff if you don't already have it, then compile the libxml Perl package from CPAN in the usual way. AFAICS, that would work, and if it doesn't it'd be fairly easy to back out. If it were me, I'd give it a go. But it ain't me - no warranty with this advice! -- "...our desktop is falling behind stability-wise and feature wise to KDE ...when I went to Mexico in December to the facility where we launched gnome, they had all switched to KDE3." - Miguel de Icaza, March 2003
Op woensdag 30 april 2003 08:47, schreef Derek Fountain:
I think you could remove the expat based stuff using YaST,
I personnaly would not do it, see the list of pkgs that will be removed, if expat is removed.... pilchard:~ # apt-get -s remove expat Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: 3ddiag CheckHardware FlightGear MPlayer OpenOffice_org OpenOffice_org-en OpenOffice_org-en-help RealPlayer SDL SDL_image SDL_mixer WindowMaker WindowMaker-applets WindowMaker-themes XFree86 XFree86-GLX XFree86-libs aalib acroread alsa-tools arts capi4linux cdbakeoven circuslinux clanlib cups cups-drivers cups-drivers-stp ethereal expat flash-plugin freetype fvwm2 gamix ghostscript-library ghostscript-x11 gimp gtk gtk-gnutella gtk2 gv gxmhtml i4l-base i4lfirm ifnteuro imlib imwheel itcl java2-jre k3b kdeaddons3-kate kdeaddons3-kicker kdeaddons3-konqueror kdeaddons3-sound kdeartwork3 kdebase3 kdebase3-SuSE kdebase3-kdm kdebase3-nsplugin kdegames3 kdegames3-arcade kdegames3-board kdegames3-card kdegames3-tactic kdegraphics3 kdegraphics3-extra kdegraphics3-kamera kdegraphics3-postscript kdelibs3 kdelibs3-cups kdemultimedia3-midi kdemultimedia3-sound kdemultimedia3-video kdenetwork3-chat kdepim-kontact kdetoys3 kdeutils3 kdeutils3-laptop kdeutils3-printing kinternet koffice koffice-wordprocessing koncd libdv libglade2 libstroke libungif lirc listexec mesa mesaglu mesaglut mesasoft mozilla mtools openmotif openssh-askpass pacman pango perl-Tk pingus qt3 sax2 saxtools smpeg susehelp susehelp_en susewm susewm-kcmyast taskjuggler tix tk tuxkart tuxracer unclutter w3m-inline-image wine xanim xaw3d xbanner xdmbgrd xearth xf86tools xfine xlock xmms xpenguins yast2-control-center yast2-qt -- Richard Bos Without a home the journey is endless
I think you could remove the expat based stuff using YaST,
I personnaly would not do it, see the list of pkgs that will be removed, if expat is removed....
That's "expat based stuff", not expat! expat is the defacto standard pre-libxml XML parser and is, as you say, important. The Perl library interface to expat isn't particularly improtant, and could be replaced with the libxml2 interface without apparent problems. I did it on SuSE-7.1 and can't see any reason why it should cause problems on 8.x. -- "...our desktop is falling behind stability-wise and feature wise to KDE ...when I went to Mexico in December to the facility where we launched gnome, they had all switched to KDE3." - Miguel de Icaza, March 2003
* Curtis Rey;
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I need to install the perl-XML-libXML packages but it isn't included in the SuSE 8.1 discs and I am unsure what package provides it or if I can find it as a independent/stand-alone packages.
Does anyone know where/how I can find this lib?
type the following in a term (console Xterm mlterm) $ perl -MCPAN -e shell; ( if you have not configured CPAN it will ask couple of questions if you answer prerequisites_policy "follow" CPAN will get the necessary packages for you. ) type cpan> i XML::LibXML this will give you the information about the package cpan> make XML::LibXML will get the package along with the missing parts also if you look to CPAN documentation "man CPAN" you can have other info as howto install packages as user. Alternatively get cpan2rpm from ftp://dinamizm.ath.cx so you can build RPMS of the packages (note that cpan2rpm also depends on your cpan configuration) Hope this helps -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 01 May 2003 16:32, Togan Muftuoglu wrote:
* Curtis Rey;
on 30 Apr, 2003 wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I need to install the perl-XML-libXML packages but it isn't included in the SuSE 8.1 discs and I am unsure what package provides it or if I can find it as a independent/stand-alone packages.
Does anyone know where/how I can find this lib?
type the following in a term (console Xterm mlterm)
$ perl -MCPAN -e shell;
( if you have not configured CPAN it will ask couple of questions if you answer prerequisites_policy "follow" CPAN will get the necessary packages for you. ) type
cpan> i XML::LibXML
this will give you the information about the package
cpan> make XML::LibXML
will get the package along with the missing parts also if you look to CPAN documentation "man CPAN" you can have other info as howto install packages as user.
Alternatively get cpan2rpm from ftp://dinamizm.ath.cx so you can build RPMS of the packages (note that cpan2rpm also depends on your cpan configuration)
Ok, Looks like this program could seriously rock. However, I ran across this when doing a cpan> install XML::LibXML t/19encoding.....skipped all skipped: no reason given t/20extras.......ok t/22iterator.....ok Failed Test Stat Wstat Total Fail Failed List of Failed - ------------------------------------------------------------------------------- t/08findnodes.t 0 11 18 13 72.22% 6-18 2 tests skipped. Failed 1/21 test scripts, 95.24% okay. 13/563 subtests failed, 97.69% okay. make: *** [test_dynamic] Error 29 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force cpan> When I follow the instructions you gave me it created a dir "/root/.cpan" and put the files there. So, of course, using the "install" flag for the libs went straight to the .cpan dir and found what it was looking for. So, question. Do I try re-get and then install (due to possible bad download) or use the "force" flag? Cheers, Curtis :) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+szPW7WVLiDrqeksRAhrMAJ9FiKGFblLIdmw5cWLJffgogRvoPgCeJuui vN+udEjk8zdg6YepCjQLbpk= =+g7h -----END PGP SIGNATURE-----
When I follow the instructions you gave me it created a dir "/root/.cpan" and put the files there. So, of course, using the "install" flag for the libs went straight to the .cpan dir and found what it was looking for. So, question. Do I try re-get and then install (due to possible bad download) or use the "force" flag?
Install with force. If it's 97.7% happy, then it'll do what you want. :o) The main reason Perl modules fail their tests, in my experience, is because the tests are run as root, and the testcases bail out of doing unsafe things when run with full priviledges. I'm not sure if this is the case here - I suspect not since finding nodes is merely a tree lookup. The 2.3% of failed tests are more likely to be borderline cases where the test and code aren't quite in sync. Remember, you're dealing with 2 very different packages here: libxml2 and Perl. Just force the install and try it. I bet it works. -- "...our desktop is falling behind stability-wise and feature wise to KDE ...when I went to Mexico in December to the facility where we launched gnome, they had all switched to KDE3." - Miguel de Icaza, March 2003
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 01 May 2003 23:28, Derek Fountain wrote:
When I follow the instructions you gave me it created a dir "/root/.cpan" and put the files there. So, of course, using the "install" flag for the libs went straight to the .cpan dir and found what it was looking for. So, question. Do I try re-get and then install (due to possible bad download) or use the "force" flag?
Install with force. If it's 97.7% happy, then it'll do what you want. :o)
The main reason Perl modules fail their tests, in my experience, is because the tests are run as root, and the testcases bail out of doing unsafe things when run with full priviledges.
I'm not sure if this is the case here - I suspect not since finding nodes is merely a tree lookup. The 2.3% of failed tests are more likely to be borderline cases where the test and code aren't quite in sync. Remember, you're dealing with 2 very different packages here: libxml2 and Perl. Just force the install and try it. I bet it works.
Yep the force got it to go. And you were correct in that 97.60% happy on the fail so, if your right then I shouldn't have any real problems. I be back it something crops up. Thanks all, and very cool to use CPAN, this feature rocks. Cheers, Curtis :) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+s1KV7WVLiDrqeksRAtGEAJ0eBPIgs96qCcJ0sJEc8s3qTjJKFACghzLk JRrzW4tkQI0Z14MaZMydExI= =p6gf -----END PGP SIGNATURE-----
* Curtis Rey;
When I follow the instructions you gave me it created a dir "/root/.cpan" and
I normally run it as a normal user and for for building rpms if I am not using "build" package of SuSE I have defined in my ".rpmmacros %_topdir /home/toganm/devel/Builder/packages so my rpms are in my $HOME environment
put the files there. So, of course, using the "install" flag for the libs went straight to the .cpan dir and found what it was looking for. So, question. Do I try re-get and then install (due to possible bad download) or use the "force" flag?
force should do yet YMMV -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 02 May 2003 00:17, Togan Muftuoglu wrote:
* Curtis Rey;
on 02 May, 2003 wrote: When I follow the instructions you gave me it created a dir "/root/.cpan" and
I normally run it as a normal user and for for building rpms if I am not using "build" package of SuSE I have defined in my ".rpmmacros
%_topdir /home/toganm/devel/Builder/packages
so my rpms are in my $HOME environment I think I'll run it next time under my user account to try as you suggest.
put the files there. So, of course, using the "install" flag for the libs went straight to the .cpan dir and found what it was looking for. So, question. Do I try re-get and then install (due to possible bad download) or use the "force" flag?
force should do yet YMMV
Ya, it was 97.67% happy on fail so I don't think too much should kludge. I apprectiate the heads up about his - it rocks. Thanks again Togan! :-) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+s1fe7WVLiDrqeksRAtJRAJoCxitsjKYwfQA2fmZUkLp/aZKGuACfVCug g00jN+Y2TRZkjfb+dQ6kIck= =ZIen -----END PGP SIGNATURE-----
participants (6)
-
Charles Philip Chan
-
Curtis Rey
-
Derek Fountain
-
Patrick Shanahan
-
Richard Bos
-
Togan Muftuoglu