[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: Compiling WML with Perl5.6

Hi Denis -

Denis Barbier wrote:
> I have access to a similar box, and did not experience your problems:
>   gcc - 2.8.1
>   OS  - Solaris 5.6
>   perl - 5.6.1
> I have attached 'perl -V' output, maybe it could give some clue.
> And also config_ac.h and config_sc.h from wml_backend/p3_eperl

I have tracked down the problem.  In p3_eperl, the script eperl_perl5_sm.pl
generates the following define when run.

newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);\
newXS("attrs::bootstrap", boot_attrs, file);\
newXS("re::bootstrap", boot_re, file);

I take it that this fragment is supposed to load up the dynamic modules on
which eperl depends.  In my version of perl dynamic support is enabled, but
both the attrs or re modules are staticly linked.  

As soon as I take away the last two lines I am able to compile things perfectly.
So it looks like as if modifications to the perl script to detect things properly
are needed.  Unfortunately, I don't know enough about this bit of perl to be able
to suggest a fix.

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com