Nope... I tried to just add -lcl in the linker.... No good.
Right now, I know you are supposed to use all this options:
-D_THREAD_SAFE
-DRWSTD_MULTI_THREAD
-DRW_MULTI_THREAD
-D_POSIX_C_SOURCE=199506L
-DHAS_BOOL
-AA (to force Ansi C++ standard features)
and to add these in the link options:
-lpthread
-lcl
But, even so, I still get that error about a wrong library. IF you use "perl
Makefile.pl LINKTYPE=static" then he complains about some methods he doesnt know
how to resolve... I will try to recompile perl with those options tomorrow, and
I will post the results here.
Is the porting to HP-UX always this painfull? Right now, I am so behind my
schedule in my project (3 days trying to port this) that I will call a c++
program using xerces from a pipe inside my perl scripts.... It is just a
temporary solution, until I can make this port work.
Fernando Cavalcanti Jeronymo
SIAC : (212) 383-5067
email: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Science without religion is lame; religion without science is blind.
Albert Einstein.
|--------+------------------------->
| | jason@openinfor|
| | matics.com |
| | (Jason E. |
| | Stewart) |
| | |
| | 02/27/2002 |
| | 04:04 PM |
| | Please respond |
| | to xerces-p-dev|
| | |
|--------+------------------------->
>----------------------------------------------------------------------------|
| |
| To: [EMAIL PROTECTED] |
| cc: (bcc: Fernando Jeronymo/SIAC) |
| Subject: Re: HP-UX 11 Port |
>----------------------------------------------------------------------------|
"Steven N. Hirsch" <[EMAIL PROTECTED]> writes:
> On Wed, 27 Feb 2002, Fernando Jeronymo wrote:
>
> >
> >
> > Ok. I found something similar for Oracle DBD module, and the answer
> > the guy received is that perl has to be built using both -lcl and
> > -lpthread (libcl and libpthread). Do you think that will work here?
>
> I don't believe that you need Perl itself to be built with thread support.
> This will probably turn out to be something you need to setup when
> building the XML::Xerces extension.
Correct, perl is fine. The issue is the dynamic library (XML::Xerces)
needs to be linked with that library. So just add -lcl to the linker
options of XML::Xerces and you should be fine.
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]