Re: Building Xercesperl on Tru64 5.1a

Christian Orsatti <[email protected]>
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>

Jason E. Stewart wrote:

>Christian Orsatti <[email protected]> writes:
>
>  
>
>>ar cr tmp.a Xerces.o
>>: tmp.a
>>    
>>
>
>Ah, so it makes a temp archive from Xerces.o, how strange.
>
>  
>
>>LD_RUN_PATH="/usr/shlib:/usr/packages/lib" g++ -o
>>blib/arch/auto/XML/Xerces/Xerces.so  -shared  -expect_unresolved -msym
>>-std -s  -L/usr/local/lib -all tmp.a  blib/arch/auto/Handler/Handler.a
>>-lpthread -L/usr/packages/lib -lxerces-c
>>
>>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
>>
>>Xerces.so still empty.
>>    
>>
>
>That is very odd.
>
>  
>
>>But I manage create a correct Xerces.so lib.  to make it so, I take
>>all the tmp.a and Handler.a I de-assemble then (ar x) to get all .o
>>file Then I run ld by hand will the following command: ld -o
>>Xerces.so *.o -shared -lpthread
>>/usr/packages/lib/libxerces-c.so.23.0 I had some stderr output but
>>it created a Xerces.so that seems to work (at least with my code)
>>    
>>
>
>Good, thanks for posting your success. I wish I could find a way to
>make it work out-of-the box, but I don't have access to any Tru64 machines.
>
If I figure out how to make it work out-of-the box, I will let you know.
But I don't have a lot of time to go futher with this problem.
I need to write XML file with Xerces.pm

Christian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.