code listing 3.1 on this page says to "emerge -vp =libxml2-2.5.8 =libxslt-1.0.33 =AxKit-1.6.1 =XML-XPath-1.13 =XML-LibXML-1.54-r1 =XML-LibXSLT-1.53 =XML-Parser-2.31-r1 =apache-1.3.29-r1" when this happens, i get: smithj ~ # emerge -vp =libxml-2-2.5.8 =libxslt-1.0.33 =AxKit-1.6.1 =XML-XPath-1.13 =XML-LibXML-1.54-r1 =XML-LibXSLT-1.53 =XML-Parser-2.31-r1 =apache-1.3.29-r1 These are the packages that I would merge, in order: Calculating dependencies emerge: there are no ebuilds to satisfy "=libxml-2-2.5.8". Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 21 2005, 07:49:53)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.5, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r4 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X aalib acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dba doc dvd emboss encode esd f77 fam flac fluxbox font-server foomaticdb fortran ftp gd gd-external gdbm gif gnome gpm gstreamer gtk gtk2 icq imagemagick imap imlib java jikes jpeg junit libg++ libwww mad mbox mikmod mmx mmx2 motif mozilla mp3 mpeg ncurses nls nptl nptlonly oggvorbis opengl pam pcmcia pdflib perl php png posix python qt quicktime readline samba sdl spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vim xml2 xmms xprint xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
oops. i posted the wrong code. here's what i actually ran (verbatim what was in the guide): smithj ~ # emerge -vp =libxml2-2.5.8 =libxslt-1.0.33 =AxKit-1.6.1 =XML-XPath-1.13 \ > =XML-LibXML-1.54-r1 =XML-LibXSLT-1.53 =XML-Parser-2.31-r1 =apache-1.3.29-r1 These are the packages that I would merge, in order: Calculating dependencies emerge: there are no ebuilds to satisfy "=libxml2-2.5.8".
Right, some ebuilds have been removed since this was published. Sorry. Please try the following: emerge -vp =dev-libs/libxml2-2.6.17 =dev-libs/libxslt-1.1.12 \ =dev-perl/AxKit-1.6.1 =dev-perl/XML-XPath-1.13 =dev-perl/XML-LibXML-1.58 \ =dev-perl/XML-LibXSLT-1.57 =dev-perl/XML-Parser-2.34 =net-www/apache-1.3.33 Please use /etc/portage/package.{use,mask} if you don't want portage to upgrade packages automatically for you. Please confirm it worked for you and I'll update the page. Our current xsl *needs* libxslt-1.1.12 btw. FYI, the above setup is still being used on one of our web nodes but we are leaving AxKit behind in favour of my little gorg. It's not properly documented, yet. I suppose I'll have to get my hands dirty and write a proper chapter about it once it's been officially adopted :) It's known to work on current ~x86 and ~amd64 and it can be used with apache2 as a cgi or fastcgi module, or as a stand-alone web server. The current page at http://dev.gentoo.org/~neysx/gorg/gorg.html mentions using mod_fastcgi but I've moved to mod_fcgid which has much better process management. Not yet in portage though, see http://bugs.gentoo.org/show_bug.cgi?id=79313 Hth
well, at least now portage can find all the packages, but now i can't get one of them to compile: ------------------ PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basic........ok t/02dromeds......ok t/03input........ok 4/12file:///etc/xml/catalog:15: at t/03input.t line 45. t/03input........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 5-12 Failed 8/12 tests, 33.33% okay t/04params.......ok t/05quick........ok t/06output.......ok t/07blankdoc.....ok 3/5file:///etc/xml/catalog:15: at t/07blankdoc.t line 44. t/07blankdoc.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-5 Failed 2/5 tests, 60.00% okay t/08literal......ok t/09exslt........ok t/10functions....ok 6/14Use of uninitialized value in concatenation (.) or string at t/10functions.t line 9. t/10functions....ok 7/14Use of uninitialized value in concatenation (.) or string at t/10functions.t line 9. t/10functions....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/03input.t 255 65280 12 16 133.33% 5-12 t/07blankdoc.t 255 65280 5 4 80.00% 4-5 Failed 2/10 test scripts, 80.00% okay. 10/94 subtests failed, 89.36% okay. make: *** [test_dynamic] Error 255 !!! ERROR: dev-perl/XML-LibXSLT-1.57 failed. !!! Function perl-module_src_compile, Line 69, Exitcode 2 !!! test failed !!! If you need support, post the topmost build error, NOT this status message.
Checked the versions, they match and they emerge properly. Document has been updated. If you can't emerge the required packages on your box, you might want to file a bug against whatever does not work for you.