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

Re: Compilation problem



Hello Alvise Belotti, in a previous mail you wrote:

> when I tried to compile the 1.5.1 version I had some troubles.
> In the make process the eperl executable wasn't create.
> Here is a brief excerpt from the make messages:
> --------------
> eperl_main.o(.text+0x1f02): undefined reference to `perl_init_i18nl14n'
> make[1]: *** [eperl] Error 1
> make[1]: Leaving directory `/home/alvise/src/wml-1.5.1/wml_p3_eperl'
> <=== wml_p3_eperl
> -------------
> I've solved the problem with a dirty trick:
> I commented out the if...endif statement in 
> wml-1.5.1/wml_p3_eperl/eperl_main.c
> 
>     /*  initialise the Perl Locale environment  */
> /*    #if AC_perl_vnum < 500400 */
> /*    perl_init_i18nl14n(1); /* Perl 5.003 or lower */
> /*    #else */
> /*    perl_init_i18nl10n(1); /* Perl 5.004 or higher */
> /*    #endif */
> 
> and all seems to go fine (I hope, I haven't tested it yet;-)
> 
> My system is a Linux box running GNU/Debian 1.3.1r6 (bo)
> with perl 5.0037 (<-is this the problem?)

Hmmmm... seems like the developer snapshot 5.003_07 already has the function
name changed from perl_init_i18nl14n to perl_init_i18nl10n. Hmmm... seems like
I had to make the check better: Instead of checking the Perl version I have to
compile and try it out in GNU autoconf. Hmmm... I'll add this to my ePerl todo
list. Thanks for reporting.

Greetings,
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com