pkgsrc-WIP-discuss archive

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

perl issue



Hi,

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/home/pettai/pkgsrc/wip/dnssec-tools/work/dnssec-tools-1.7/validator/include  
-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? 

Thanks,
/P
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index