Jason,
Thanks. I managed to recompile Xerces Perl 1.5.7 and Xerces C++ 1_5_5
build 10-05-2001. I'd be happy to hear when someone else gets this
working on Solaris using CC. I've spent so much time on this I need
to take a break. For now I can get by using Xerces C to validate
my XML. When Xerces Perl is known to run I'll get back to it.
Thanks again for the help. If there is any other information I
can provide please let me know. To summarize I can compile and
install both of the above yet still get the error below when using
Xerces Perl (Xerces C++ works fine as far as I can tell).
David
--------------
perl DOMCount.pl
Can't load
'/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/XML/Xerces/Xerces.so'
for module XML::Xerces: ld.so.1: perl: fatal: relocation error: file
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/XML/Xerces/Xerces.so:
symbol __0FK__rtbany_fv: referenced symbol not found at
/usr/local/lib/perl5/5.6.0/sun4-solaris/DynaLoader.pm line 200.
at /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/XML/Xerces.pm line 7
Compilation failed in require at DOMCount.pl line 67.
BEGIN failed--compilation aborted at DOMCount.pl line 67.
--------------
No biggy but the HAS_BOOL hint doesn't work for the Xerces.C
compile below. It seems to get ignored.
---------------
Manifying ../blib/man3/XML::Xerces::DOMParse.3
make[1]: Leaving directory `/digital/local/src/XML-Xerces-1.5.7/DOMParse'
CC -c -I. -IHandler -I/opt/SUNWspro/SC4.2/include/CC
-I/usr/local/src/xerces-c-src_2001-10-05/include -D_REENTRANT -HAS_BOOL -O
-DVERSION=\"1.5.7\" -DXS_VERSION=\"1.5.7\" -KPIC
-I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE Xerces.C
CC: Warning: Option -HAS_BOOL passed to ld, if ld is invoked, ignored otherwise
Running Mkbootstrap for XML::Xerces ()
chmod 644 Xerces.bs
LD_RUN_PATH="/lib:/usr/local/lib" cc -o blib/arch/auto/XML/Xerces/Xerces.so
-R/lib -R/usr/local/lib -G -L/usr/local/lib -L/opt/SUNWspro/SC4.2/lib Xerces.o
blib/arch/auto/Handler/Handler.a -lpthread -L/usr/local/lib -lxerces-c1_5_1
chmod 755 blib/arch/auto/XML/Xerces/Xerces.so
cp Xerces.bs blib/arch/auto/XML/Xerces/Xerces.bs
chmod 644 blib/arch/auto/XML/Xerces/Xerces.bs
Manifying blib/man3/XML::DOMParse::DOMParse.3
----------------
David
>To: David Fielding <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Re: Installing Xerces Perl on Solaris 2.8
>From: [EMAIL PROTECTED] (Jason E. Stewart)
>Date: 11 Oct 2001 16:57:31 -0600
>User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
>MIME-Version: 1.0
>
>"David Fielding" <[EMAIL PROTECTED]> writes:
>
>> Jason,
>>
>> FYI: There appears to be a file missing "util/XMLUri.hpp". This is
>> not in the 5.1.6 version so I am assuming this is something you
>> are working on.
>
>Hi David,
>
>This is from the Xerces-C distribution and was added on 08/10/2001,
>what version are you using? There were huge memory problems that were
>recently fixed (as well as new functionality added), and so I
>recommend that everyone upgrade Xerces-C to the latest nightly-build.
>
>> Also note that the HAS_BOOL is still being added to this statement
>> below.
>
>I believe I've fixed this now in hints/solaris_2.pl, it only adds
>HAS_BOOL on solaris if you're using gcc.
>
>Thanks,
>jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]