pkgsrc-WIP-discuss archive

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

perl issue


I'm currently trying to create some new packages (and update some old ones).
One of the new packages is dnssec-tools. I get a error during compilation of 
the perl modules enclosed in the packages:

/usr/pkg/bin/perl /usr/pkg/lib/perl5/5.10.0/ExtUtils/xsubpp -noprototypes 
-typemap /usr/pkg/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap  
Validator.xs > Validator.xsc && mv Validator.xsc Validator.c
cc -c  
-I../../../validator/include -O2 -I/usr/include -Unetbsdelf 
-Dnetbsdelf=netbsdelf -Unetbsdelf -Dnetbsdelf=netbsdelf -I/usr/include -I. 
-I/usr/pkg/include/validator -O2 -pthread -I/usr/include    -DVERSION=\"1.40\"  
-DXS_VERSION=\"1.40\" -DPIC -fPIC 
"-I/usr/pkg/lib/perl5/5.10.0/i386-netbsd-thread-multi/CORE"   Validator.c
Validator.xs:13:20: error: EXTERN.h: No such file or directory
Validator.xs:14:18: error: perl.h: No such file or directory
Validator.xs:15:18: error: XSUB.h: No such file or directory
Validator.xs:132: error: expected ')' before '*' token
Validator.xs:171: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token

...and several lines of errors before failing...

This is strange to me, because the correct path to EXTERN.h and the other are 
given right after -fPIC -I/...
So why doesn't it look in 
/usr/pkg/lib/perl5/5.10.0/i386-netbsd-thread-multi/CORE ?

Any suggestions what else to check or how to debug this? 

This email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit --
pkgsrc-wip-discuss mailing list

Home | Main Index | Thread Index | Old Index