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

[UDUNITS #CZB-868964]: perl dynamic problem



Daniel,

> I send the required info to make a diagnosis of the possible problem i
> encountered. Thanks in advanced for your help

The file "make.log" contained the following:

> making `dynamic' in directory 
> /home/daniel/Escritorio/ncl_install/udunits-1.12.7/src/perl

> make[1]: se ingresa al directorio 
> `/home/daniel/Escritorio/ncl_install/udunits-1.12.7/src/perl'
> /usr/bin/perl5.10.0 /usr/lib/perl5/5.10.0/ExtUtils/xsubpp  -typemap 
> /usr/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap  > UDUNITS.xs > 
> UDUNITS.xsc && mv UDUNITS.xsc UDUNITS.c
> Please specify prototyping behavior for UDUNITS.xs (see perlxs manual)
> make[1]: *** No hay ninguna regla para construir el objetivo 
> `/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/EXTERN.h', necesario para 
> `UDUNITS.o'.  Alto.

The file "EXTERN.h" should be part of the perl(1) installation.  Is it?

If you do not need the perl(1) interface, they you can build the UDUNITS
package without it by 1) executing the command "make distclean"; 2)
setting the environment variables as before; 3) setting the environment
variable PERL to the empty string; and 4) executing the "configure"
script and proceding with the build.

> A
> 
> Linux cvi3137.ugr.es 2.6.24.4-desktop586-1mnb #1 SMP Thu Mar 27 14:20:33
> CET 2008 i686 Genuine Intel(R) CPU           T2080  @ 1.73GHz GNU/Linux
> 
> 
> B
> 
> udunits-1.12.7
> 
> C
> 
> [root@cvi3137 src]# ./configure --prefix=/usr/local
> checking for manual-page index command...
> checking for C compiler... /usr/bin/gcc
> checking type of operating system... linux
> checking for dependency generation mechanism... /usr/bin/gcc -M
> checking for gcc... /usr/bin/gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /usr/bin/gcc accepts -g... yes
> checking for /usr/bin/gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... /usr/bin/gcc -E
> checking the C preprocessor... works
> checking for C const... yes
> checking for C volatile... yes
> checking for C signed... yes
> checking for C function prototypes... yes
> checking for standard C variadic functions... yes
> checking for standard C string generation... yes
> checking for standard C token pasting... yes
> checking C void pointer... yes
> checking for ar... ar
> checking for tar flags... -chof
> checking for ranlib... ranlib
> checking binary distribution
> directory... /home/ftp/pub/binary/dummy_system
> checking the installation prefix... /usr/local
> checking the installation exec-prefix... /usr/local
> checking for neqn... neqn
> checking for tbl... tbl
> checking for ar... (cached) ar
> checking for floor... no
> checking for floor in -lm... yes
> checking style for cfortran.h... Standard
> checking for Fortran integer type equivalent to C pointer... integer*4
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking stddef.h usability... yes
> checking stddef.h presence... yes
> checking for stddef.h... yes
> checking C header file <stddef.h> for typedef size_t... declared
> checking for stddef.h... (cached) yes
> checking C header file <stddef.h> for typedef ptrdiff_t... declared
> checking float.h usability... yes
> checking float.h presence... yes
> checking for float.h... yes
> checking for stdlib.h... (cached) yes
> checking C header file <stdlib.h> for typedef size_t... declared
> checking for atexit... yes
> checking for stdlib.h... (cached) yes
> checking C header file <stdlib.h> for function atexit()... declared
> checking for getenv... yes
> checking for stdlib.h... (cached) yes
> checking C header file <stdlib.h> for function getenv()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for typedef size_t... declared
> checking for strerror... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strerror()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strchr()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strcpy()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strrchr()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strncpy()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strtok()... declared
> checking for strstr... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strstr()... declared
> checking for memmove... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function memmove()... declared
> checking time.h usability... yes
> checking time.h presence... yes
> checking for time.h... yes
> checking C header file <time.h> for typedef time_t... declared
> checking for time.h... (cached) yes
> checking C header file <time.h> for typedef size_t... declared
> checking for difftime... yes
> checking for time.h... (cached) yes
> checking C header file <time.h> for function difftime()... declared
> checking for strftime... yes
> checking for time.h... (cached) yes
> checking C header file <time.h> for function strftime()... declared
> checking search.h usability... yes
> checking search.h presence... yes
> checking for search.h... yes
> checking C header file <search.h> for typedef ENTRY... declared
> checking for search.h... (cached) yes
> checking C header file <search.h> for typedef ACTION... declared
> checking for search.h... (cached) yes
> checking C header file <search.h> for typedef VISIT... declared
> checking for tsearch... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function tsearch()... declared
> checking for tfind... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function tfind()... declared
> checking for tdelete... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function tdelete()... declared
> checking for twalk... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function twalk()... declared
> checking for perl utility... /usr/bin/perl5
> checking for type of perl executable to create... dynamic
> checking for position-independent compilation flags... ''
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating lib/Makefile
> config.status: creating lib/udunits.inc
> config.status: creating udunits/Makefile
> config.status: creating perl/Makefile.PL
> config.status: creating port/master.mk
> config.status: creating port/Makefile
> config.status: creating port/misc/Makefile
> config.status: creating port/cfortran/Makefile
> config.status: creating port/misc/udposix.h
> config.status: executing default commands
> expanding `include's in file `Makefile'
> expanding `include's in file `lib/Makefile'
> expanding `include's in file `lib/udunits.inc'
> expanding `include's in file `udunits/Makefile'
> expanding `include's in file `perl/Makefile.PL'
> expanding `include's in file `port/master.mk'
> expanding `include's in file `port/Makefile'
> expanding `include's in file `port/misc/Makefile'
> expanding `include's in file `port/cfortran/Makefile'
> 
> 
> D
> 
> attached
> 
> E
> 
> /usr/bin/gcc
> 
> F
> 
> attached

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: CZB-868964
Department: Support UDUNITS
Priority: Normal
Status: Closed