The result of trying to install the NDF module (source downloaded from
github); for this I'm using kapuahi:
[Quote]
> starperl Build.PL
ExtUtils::F77: Version 1.17
Loaded ExtUtils::F77 version 1.17
Found compiler gfortran
ExtUtils::F77: Using system=Linux compiler=GNU
Runtime: -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib -lgfortran -lm
ExtUtils::F77: Validating -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib
-lgfortran -lm [ok]
ExtUtils::F77: Compiler: gfortran
ExtUtils::F77: Cflags:
Overriding local Starlink configuration using $STARLINK_DIR
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'NDF' version '1.52'
> ./Build
Building NDF
gcc -Isrc -I/star-kapuahi/Perl/lib/perl5/5.14.2/i686-linux/CORE
-DXS_VERSION="1.52" -DVERSION="1.52" -fPIC -I/star/include -c
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o lib/NDF.o lib/NDF.c
lib/NDF.xs: In function ‘XS_NdgProvenancePtr_GetProv_’:
lib/NDF.xs:4792:3: warning: passing argument 3 of ‘ndgGetProv’ from
incompatible pointer type [enabled by default]
/star/include/star/ndg.h:86:12: note: expected ‘struct HDSLoc **’ but
argument is of type ‘ndfint *’
lib/NDF.xs:4792:3: error: too few arguments to function ‘ndgGetProv’
/star/include/star/ndg.h:86:12: note: declared here
lib/NDF.xs: In function ‘XS_NdgProvenancePtr_ModifyProv_’:
lib/NDF.xs:4813:3: warning: passing argument 4 of ‘ndgModifyProv’ from
incompatible pointer type [enabled by default]
/star/include/star/ndg.h:111:6: note: expected ‘struct HDSLoc *’ but
argument is of type ‘ndfint *’
lib/NDF.xs:4813:3: error: too few arguments to function ‘ndgModifyProv’
/star/include/star/ndg.h:111:6: note: declared here
error building lib/NDF.o from 'lib/NDF.c' at
/star-kapuahi/Perl/lib/perl5/5.14.2/ExtUtils/CBuilder/Base.pm line
175.
[Unquote]
--
Eduardo Unda-Sanzana
Research (in English): http://research.almagesto.org
Personal (in Spanish): http://eduardo.almagesto.org
"Solamente lo barato se compra con el dinero" (A. Cortez)
|