You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by Steven Sodt <st...@rowe.com> on 2001/09/20 19:41:18 UTC
Unable to write Handler Makefile
Apologies if this question has already been addressed in the list - I'm new
to it and the archives appear to be unavailable at the moment. I've been
unsuccessful in trying to install XML-Xerces-1.5.6 on a Sun server running
SunOS 5.6. The problem appears to occur when "perl Makefile.PL" executes
and writes the Makefile for Handler (the XML::Xerces::DOMParse and
XML::Xerces Makefiles appear to get written without difficulty). The error
messages written to the console outside of debug mode indicate the use of
uninitialized values at lines 89, 74, 75, 76, & 80. I've made no edits to
any of the Makefiles or to the root Makefile.PL script itself.
Makefile.PL does complete execution, but when I then run "make", an extended
series of "'PL_na' undeclared (first use this function)" error messages
appear, and it ultimately exits with an "Error 1".
I'd certainly welcome and be grateful for any suggestions.
Steven Sodt
RoweCom, Inc. / Information Quest
steve.sodt@rowe.com
781-329-3350 x 3503
Re: Unable to write Handler Makefile
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Steven Sodt" <st...@rowe.com> writes:
> Apologies if this question has already been addressed in the list - I'm new
> to it and the archives appear to be unavailable at the moment.
Use http://marc.theaimsgroup.com/
The old archives have been out for a millenium ;-)
> I've been unsuccessful in trying to install XML-Xerces-1.5.6 on a
> Sun server running SunOS 5.6. The problem appears to occur when
> "perl Makefile.PL" executes and writes the Makefile for Handler (the
> XML::Xerces::DOMParse and XML::Xerces Makefiles appear to get
> written without difficulty). The error messages written to the
> console outside of debug mode indicate the use of uninitialized
> values at lines 89, 74, 75, 76, & 80. I've made no edits to any of
> the Makefiles or to the root Makefile.PL script itself.
The full message would be useful. The issue is lines 89, etc. of
*which* file.
> Makefile.PL does complete execution, but when I then run "make", an
> extended series of "'PL_na' undeclared (first use this function)"
> error messages appear, and it ultimately exits with an "Error 1".
This means you have an old version of Perl. The code *should* work
anyway, so since it doesn't I must have broken it. I'd seriously
recommend upgrading, but if you don't want to, here's a temporary fix:
in Handler/PerlExceptionHandler.hpp
there is a line:
#if !defined(PERL_REVISION) || ((PERL_REVISION >= 5) && ((PERL_VERSION < 5) || ((PERL_VERSION == 5) && (PERL_SUBVERSION < 50))))
change it to
#if 1
That should force all occurrences PL_* to the old variable values.
If that *doesn't* work, send the output of perl -V (capital 'V').
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org