It didn't work. Here is the new output I got from the cpan command (my
user name is zxcv)...
Going to read '/home/zxcv/.cpan/Metadata'
Database was generated on Mon, 30 Apr 2012 04:07:03 GMT
Running install for module 'Finance::TA'
Running make for K/KM/KMX/Finance-TA-v0.4.0.tar.gz
Checksum for
/home/zxcv/.cpan/sources/authors/id/K/KM/KMX/Finance-TA-v0.4.0.tar.gz ok
CPAN.pm: Going to build K/KM/KMX/Finance-TA-v0.4.0.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Finance::TA
Writing MYMETA.yml and MYMETA.json
cp TA.pm blib/lib/Finance/TA.pm
cp TA.pod blib/lib/Finance/TA.pod
cc -c -I/include/ta-lib -DHAVE_CONFIG_H -D_REENTRANT -D_GNU_SOURCE
-DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"v0.4.0\"
-DXS_VERSION=\"v0.4.0\" -fPIC "-I/usr/lib/perl/5.14/CORE" ta_libc_wrap.c
Running Mkbootstrap for Finance::TA ()
chmod 644 TA.bs
rm -f blib/arch/auto/Finance/TA/TA.so
cc -shared -O2 -g -L/usr/local/lib -fstack-protector ta_libc_wrap.o -o
blib/arch/auto/Finance/TA/TA.so \
-L/lib -lpthread -ldl \
chmod 755 blib/arch/auto/Finance/TA/TA.so
cp TA.bs blib/arch/auto/Finance/TA/TA.bs
chmod 644 blib/arch/auto/Finance/TA/TA.bs
Manifying blib/man3/Finance::TA.3pm
KMX/Finance-TA-v0.4.0.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/ta_abstract.t .. Can't load
'/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/arch/auto/Finance/TA/TA.so'
for module Finance::TA:
/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/arch/auto/Finance/TA/TA.so:
undefined symbol: TA_HT_DCPHASE_Lookback at
/usr/lib/perl/5.14/DynaLoader.pm line 184.
at /home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/lib/Finance/TA.pm
line 11.
Compilation failed in require at t/ta_abstract.t line 11.
BEGIN failed--compilation aborted at t/ta_abstract.t line 11.
Undefined subroutine &Finance::TA::TA_Shutdown called at
/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/lib/Finance/TA.pm line
981.
END failed--call queue aborted at t/ta_abstract.t line 11.
t/ta_abstract.t .. Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 79/79 subtests
t/ta_common.t .... Can't load
'/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/arch/auto/Finance/TA/TA.so'
for module Finance::TA:
/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/arch/auto/Finance/TA/TA.so:
undefined symbol: TA_HT_DCPHASE_Lookback at
/usr/lib/perl/5.14/DynaLoader.pm line 184.
at /home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/lib/Finance/TA.pm
line 11.
Compilation failed in require at t/ta_common.t line 11.
BEGIN failed--compilation aborted at t/ta_common.t line 11.
Undefined subroutine &Finance::TA::TA_Shutdown called at
/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/lib/Finance/TA.pm line
981.
END failed--call queue aborted at t/ta_common.t line 11.
t/ta_common.t .... Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 17/17 subtests
t/ta_defs.t ...... Can't load
'/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/arch/auto/Finance/TA/TA.so'
for module Finance::TA:
/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/arch/auto/Finance/TA/TA.so:
undefined symbol: TA_HT_DCPHASE_Lookback at
/usr/lib/perl/5.14/DynaLoader.pm line 184.
at /home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/lib/Finance/TA.pm
line 11.
Compilation failed in require at t/ta_defs.t line 11.
BEGIN failed--compilation aborted at t/ta_defs.t line 11.
Undefined subroutine &Finance::TA::TA_Shutdown called at
/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/lib/Finance/TA.pm line
981.
END failed--call queue aborted at t/ta_defs.t line 11.
t/ta_defs.t ...... Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 38/38 subtests
t/ta_func.t ...... Can't load
'/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/arch/auto/Finance/TA/TA.so'
for module Finance::TA:
/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/arch/auto/Finance/TA/TA.so:
undefined symbol: TA_HT_DCPHASE_Lookback at
/usr/lib/perl/5.14/DynaLoader.pm line 184.
at /home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/lib/Finance/TA.pm
line 11.
Compilation failed in require at t/ta_func.t line 11.
BEGIN failed--compilation aborted at t/ta_func.t line 11.
Undefined subroutine &Finance::TA::TA_Shutdown called at
/home/zxcv/.cpan/build/Finance-TA-v0.4.0-HyMcb5/blib/lib/Finance/TA.pm line
981.
END failed--call queue aborted at t/ta_func.t line 11.
t/ta_func.t ...... Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 38/38 subtests
Test Summary Report
-------------------
t/ta_abstract.t (Wstat: 5632 Tests: 0 Failed: 0)
Non-zero exit status: 22
Parse errors: Bad plan. You planned 79 tests but ran 0.
t/ta_common.t (Wstat: 5632 Tests: 0 Failed: 0)
Non-zero exit status: 22
Parse errors: Bad plan. You planned 17 tests but ran 0.
t/ta_defs.t (Wstat: 5632 Tests: 0 Failed: 0)
Non-zero exit status: 22
Parse errors: Bad plan. You planned 38 tests but ran 0.
t/ta_func.t (Wstat: 5632 Tests: 0 Failed: 0)
Non-zero exit status: 22
Parse errors: Bad plan. You planned 38 tests but ran 0.
Files=4, Tests=0, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.10 cusr 0.00
csys = 0.16 CPU)
Result: FAIL
Failed 4/4 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 22
KMX/Finance-TA-v0.4.0.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports KMX/Finance-TA-v0.4.0.tar.gz
Running make install
make test had returned bad status, won't install without force
On Mon, Apr 30, 2012 at 1:08 PM, kmx via RT <bug-Finance-TA@rt.cpan.org>wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=76897 >
>
>
> > [you@ubuntu ~]$ export TALIB_CFLAGS='-I/include/ta-lib -DHAVE_CONFIG_H'
> > [you@ubuntu ~]$ export TALIB_LIBS='-L/lib -lpthread -ldl -lta_lib'
> > [you@ubuntu ~]$ cpan -i TA::Finance
>
> Sorry, the last line should be:
>
> [you@ubuntu ~]$ cpan -i Finance::TA
>
>
>
>