develooper Front page | perl.perl5.porters | Postings from April 2018

Perl 5.26.* Ccompiling 3 modules with a similar (looking) problem...

Thread Next
From:
NormW
Date:
April 9, 2018 13:55
Subject:
Perl 5.26.* Ccompiling 3 modules with a similar (looking) problem...
Message ID:
5ACB72B8.9090700@gknw.net
GM,
Excuse the noise if this problem is mine or belongs in another forum...

> Storable.xs(1291): Error! E1009: Expecting ')' but found '2.62'
> Storable.xs(1291): Error! E1147: Too many errors: compilation aborted
> make[1]: *** [Storable.obj] Error 1
> make[1]: Target 'all' not remade because of errors.
> threads.xs(271): Error! E1009: Expecting ')' but found '2.15'
> threads.xs(271): Error! E1147: Too many errors: compilation aborted
> make[1]: *** [threads.obj] Error 1
> make[1]: Target 'all' not remade because of errors.
> DBI.c(6413): Error! E1009: Expecting ')' but found '1.641'
> DBI.c(6413): Error! E1147: Too many errors: compilation aborted
> make[1]: *** [DBI.obj] Error 1
> make[1]: Target 'all' not remade because of errors.

The numbers are the XS_VERSION; If I comment out the XS_VERSION_DEFINE 
in the Makefile, then 'XS_VERSION' appears in the error message. What 
mechanism determines 'what to expect' elludes me. Despite the similarity 
of the error message, they occur in different looking code. Based on 
reported line numbers:
> Storable.xs 1291      INIT_STCXT;
> threads.xs   271      dMY_POOL;
> DBI.c       6413      dVAR; dXSBOOTARGSXSAPIVERCHK;
I've successfully compiled these three in earlier Perls, and compiled 
130+ modules with 5.26.1 & 2, but these 3 are playing hardball.

Storable and threads are supplied with 5.26., DBI I built in earlier 
days with no problem.
Norm

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About