problem for getting on-line quote

John Ralls jralls at ceridwen.us
Sun Mar 23 23:31:25 EDT 2014


On Mar 23, 2014, at 5:26 PM, Stephen Ni <stephenni2000 at yahoo.com> wrote:

I'd normally chide you for not copying the list, but since the capture was several thousand lines long, I won't this time. I've trimmed out most of the repetitive errors, so this is a bit more digestible.

> hanks, John.  Here is the screen dump after I issued install Finance::Quote in cpan client window
> 
> Stephen
> 
> cpan> install Finance::Quote
> Database was generated on Mon, 24 Mar 2014 00:17:06 GMT
> Running install for module 'Finance::Quote'
> Running make for E/EC/ECOCODE/Finance-Quote-1.28.tar.gz
> Checksum for C:\strawberry\cpan\sources\authors\id\E\EC\ECOCODE\Finance-Quote-1.
> 28.tar.gz ok
> Scanning cache C:\strawberry\cpan\build for sizes
> ............................................................................DONE
> 
>   CPAN.pm: Building E/EC/ECOCODE/Finance-Quote-1.28.tar.gz
> 
> Checking if your kit is complete...
> Looks good
> Warning: prerequisite Date::Calc 0 not found.
> Generating a dmake-style Makefile
> Writing Makefile for Finance::Quote
> Writing MYMETA.yml and MYMETA.json
> ---- Unsatisfied dependencies detected during ----
> ----     ECOCODE/Finance-Quote-1.28.tar.gz    ----
>     Date::Calc [requires]
> Running make test
>   Delayed until after prerequisites
> Running make install
>   Delayed until after prerequisites
> Running install for module 'Date::Calc'
> Running make for S/ST/STBEY/Date-Calc-6.3.tar.gz
> Checksum for C:\strawberry\cpan\sources\authors\id\S\ST\STBEY\Date-Calc-6.3.tar.
> gz ok
>   CPAN.pm: Building S/ST/STBEY/Date-Calc-6.3.tar.gz
> 
> *************************************************************
> ****** BEWARE: Use "make install UNINST=1" to install! ******
> *************************************************************
> Checking if your kit is complete...
> Looks good
> Warning: prerequisite Bit::Vector 7.1 not found.
> Generating a dmake-style Makefile
> Writing Makefile for Date::Calc
> Writing MYMETA.yml and MYMETA.json
> ---- Unsatisfied dependencies detected during ----
> ----        STBEY/Date-Calc-6.3.tar.gz        ----
>     Bit::Vector [requires]
> Running make test
>   Delayed until after prerequisites
> Running make install
>   Delayed until after prerequisites
> Running install for module 'Bit::Vector'
> Running make for S/ST/STBEY/Bit-Vector-7.3.tar.gz
> Checksum for C:\strawberry\cpan\sources\authors\id\S\ST\STBEY\Bit-Vector-7.3.tar
> .gz ok
>   CPAN.pm: Building S/ST/STBEY/Bit-Vector-7.3.tar.gz
> Checking if your kit is complete...
> Looks good
> Generating a dmake-style Makefile
> Writing Makefile for Bit::Vector
> Writing MYMETA.yml and MYMETA.json
> Writing patchlevel.h for C:\strawberry\perl\bin\perl.exe (5.018002)
> cp Vector.pod blib\lib\Bit\Vector.pod
> cp lib/Bit/Vector/String.pod blib\lib\Bit\Vector\String.pod
> cp lib/Bit/Vector/Overload.pod blib\lib\Bit\Vector\Overload.pod
> cp Vector.pm blib\lib\Bit\Vector.pm
> cp lib/Bit/Vector/Overload.pm blib\lib\Bit\Vector\Overload.pm
> cp lib/Bit/Vector/String.pm blib\lib\Bit\Vector\String.pm
> Running Mkbootstrap for Bit::Vector ()
> C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Vector.bs
> gcc -c          -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -D
> PERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms
> -bitfields -s -O2         -DVERSION=\"7.3\"     -DXS_VERSION=\"7.3\"  "-IC:\stra
> wberry\perl\lib\CORE"   BitVector.c
> C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp  -typemap
>  C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap  Vector.xs > Vector.xs
> c && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e mv -- Vector.xsc Vec
> tor.c
> gcc -c          -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -D
> PERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms
> -bitfields -s -O2         -DVERSION=\"7.3\"     -DXS_VERSION=\"7.3\"  "-IC:\stra
> wberry\perl\lib\CORE"   Vector.c
> In file included from C:/strawberry/perl/lib/CORE/hv.h:593,
>                  from C:/strawberry/perl/lib/CORE/perl.h:3480,
>                  from Vector.xs:15:
> C:/strawberry/perl/lib/CORE/hv_func.h: In function `S_perl_hash_murmur3':
> C:/strawberry/perl/lib/CORE/hv_func.h:391: warning: cast from pointer to integer
>  of different size
> Vector.xs: In function `XS_Bit__Vector_Create':
> Vector.xs:251: warning: cast from pointer to integer of different size

[Removed several hundred more lines of "cast from pointer to integer of different size]

> C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \
>      -e "Mksymlists('NAME'=>\"Bit::Vector\", 'DLBASE' => 'Vector', 'DL_FUNCS' =>
>  {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
> dlltool --def Vector.def --output-exp dll.exp
> g++ -o blib\arch\auto\Bit\Vector\Vector.dll -Wl,--base-file -Wl,dll.base -mdll -
> s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" BitVector.o   Vector.o
>    C:\strawberry\perl\lib\CORE\libperl518.a -lmoldname -lkernel32 -luser32 -lgdi
> 32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luu
> id -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
> Vector.o:Vector.c:(.text+0x7f): undefined reference to `_imp__Perl_newSVpv'
> Vector.o:Vector.c:(.text+0x94): undefined reference to `_imp__Perl_sv_2mortal'
> Vector.o:Vector.c:(.text+0x9c): undefined reference to `_imp__Perl_get_context'
> Vector.o:Vector.c:(.text+0xcc): undefined reference to `_imp__Perl_stack_grow'
> Vector.o:Vector.c:(.text+0xdd): undefined reference to `_imp__Perl_croak_noconte
> xt'
> Vector.o:Vector.c:(.text+0x110): undefined reference to `_imp__Perl_croak_nocont
> ext'Vector.o:Vector.c:(.text+0x17a): more undefined references to `_imp__Perl_get_co
> ntext' follow
> Vector.o:Vector.c:(.text+0x1c7): undefined reference to `_imp__Perl_sv_setiv'
> Vector.o:Vector.c:(.text+0x1d8): undefined reference to `_imp__Perl_get_context'
> Vector.o:Vector.c:(.text+0x1e0): undefined reference to `_imp__Perl_get_context'
> Vector.o:Vector.c:(.text+0x1f7): undefined reference to `_imp__Perl_get_context'
> Vector.o:Vector.c:(.text+0x200): undefined reference to `_imp__Perl_sv_newmortal
> '
> Vector.o:Vector.c:(.text+0x20a): undefined reference to `_imp__Perl_get_context'
> Vector.o:Vector.c:(.text+0x217): undefined reference to `_imp__Perl_mg_set'
> Vector.o:Vector.c:(.text+0x248): undefined reference to `_imp__Perl_croak_nocont
> ext'Vector.o:Vector.c:(.text+0x2aa): more undefined references to `_imp__Perl_get_co
> ntext' follow
> Vector.o:Vector.c:(.text+0x2f7): undefined reference to `_imp__Perl_sv_setiv'
> Vector.o:Vector.c:(.text+0x330): undefined reference to `_imp__Perl_sv_newmortal
> '
> Vector.o:Vector.c:(.text+0x33a): undefined reference to `_imp__Perl_get_context'
> Vector.o:Vector.c:(.text+0x347): undefined reference to `_imp__Perl_mg_set'
> Vector.o:Vector.c:(.text+0x378): undefined reference to `_imp__Perl_croak_nocont
> ext'Vector.o:Vector.c:(.text+0x44f): undefined reference to `_imp__Perl_croak_nocont
> ext'
> Vector.o:Vector.c:(.text+0x455): undefined reference to `_imp__Perl_get_context'
> Vector.o:Vector.c:(.text+0x46b): undefined reference to `_imp__Perl_sv_2iv_flags
> '

[ And so on for many thousand more lines.]
> collect2: ld returned 1 exit status
> dmake.exe:  Error code 129, while making 'blib\arch\auto\Bit\Vector\Vector.dll'
>   STBEY/Bit-Vector-7.3.tar.gz
>   C:\strawberry\c\bin\dmake.exe -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   Make had returned bad status, install seems impossible
> Stopping: 'install' failed for 'Bit::Vector'.
> Failed during this command:
>  STBEY/Bit-Vector-7.3.tar.gz                  : make NO
> 
> cpan>

Wow. As a first guess I'd have to say that there's an architecture mismatch -- the installed perl is 32-bit and cpan is trying to build 64-bit, or vice-versa. But I have no idea how you might have gotten there.

Erik, do have any ideas?

Regards,
John Ralls




More information about the gnucash-user mailing list