| Summary: | axkit guidexml method fails on tips and tricks document | ||
|---|---|---|---|
| Product: | [OLD] Docs-developer | Reporter: | Jonathan Smith (RETIRED) <smithj> |
| Component: | Other | Assignee: | Xavier Neys (RETIRED) <neysx> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | docs-team |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://www.gentoo.org/proj/en/gdp/doc/doc-tipsntricks.xml | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Jonathan Smith (RETIRED)
2005-03-08 17:00:09 UTC
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. |