Error on installing Text::Bidi CPAN Module
nolock_cpan[1]> install Text::Bidi
CPAN: Storable loaded ok (v2.20)
CPAN: LWP::UserAgent loaded ok (v5.834)
Warning: no success downloading '/home/saxena/.cpan/sources/authors/01mailrc.txt.gz.tmp6512'. Giving up on it. at /usr/share/perl/5.10/CPAN/Index.pm line 225.
Fetching with LWP:
http://www.perl.org/CPAN/authors/01mailrc.txt.gz
Going to read '/home/saxena/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.052)
............................................................................DONE
Fetching with LWP:
http://www.perl.org/CPAN/modules/02packages.details.txt.gz
Going to read '/home/saxena/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Thu, 01 Nov 2012 06:07:03 GMT
..............
New CPAN.pm version (v1.9800) available.
[Currently running version is v1.9402]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
..............................................................DONE
Fetching with LWP:
http://www.perl.org/CPAN/modules/03modlist.data.gz
Going to read '/home/saxena/.cpan/sources/modules/03modlist.data.gz'
............................................................................DONE
Going to write /home/saxena/.cpan/Metadata
Running install for module 'Text::Bidi'
Running make for K/KA/KAMENSKY/Text-Bidi-0.03.tar.gz
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/K/KA/KAMENSKY/Text-Bidi-0.03.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/K/KA/KAMENSKY/CHECKSUMS
Checksum for /home/saxena/.cpan/sources/authors/id/K/KA/KAMENSKY/Text-Bidi-0.03.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.52)
Text-Bidi-0.03/
Text-Bidi-0.03/README
Text-Bidi-0.03/Changes
Text-Bidi-0.03/MANIFEST
Text-Bidi-0.03/Makefile.PL
Text-Bidi-0.03/lib/
Text-Bidi-0.03/lib/Text/
Text-Bidi-0.03/lib/Text/Bidi/
Text-Bidi-0.03/lib/Text/Bidi/CapRTL.pm
Text-Bidi-0.03/lib/Text/Bidi/private.pm
Text-Bidi-0.03/lib/Text/Bidi/mirrored.pm
Text-Bidi-0.03/lib/Text/Bidi.pm
Text-Bidi-0.03/META.yml
Text-Bidi-0.03/private.c
Text-Bidi-0.03/swig/
Text-Bidi-0.03/swig/fribidi.i
Text-Bidi-0.03/t/
Text-Bidi-0.03/t/CapRTL_implicit.t
Text-Bidi-0.03/t/CapRTL_explicit.t
Text-Bidi-0.03/t/00-load.t
Text-Bidi-0.03/t/pod.t
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build K/KA/KAMENSKY/Text-Bidi-0.03.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Text::Bidi::private
Writing MYMETA.yml and MYMETA.json
cp lib/Text/Bidi.pm blib/lib/Text/Bidi.pm
cp lib/Text/Bidi/CapRTL.pm blib/lib/Text/Bidi/CapRTL.pm
cp lib/Text/Bidi/mirrored.pm blib/lib/Text/Bidi/mirrored.pm
cp lib/Text/Bidi/private.pm blib/lib/Text/Bidi/private.pm
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -ggdb3 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib/perl/5.10/CORE" private.c
private.c:1457:29: error: fribidi/fribidi.h: No such file or directory
private.c:1458: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
private.c: In function ‘_wrap_fribidi_prop_to_type_get’:
private.c:1777: error: ‘fribidi_prop_to_type’ undeclared (first use in this function)
private.c:1777: error: (Each undeclared identifier is reported only once
private.c:1777: error: for each function it appears in.)
private.c: In function ‘_wrap_log2vis’:
private.c:1793: error: ‘FriBidiChar’ undeclared (first use in this function)
private.c:1793: error: ‘arg1’ undeclared (first use in this function)
private.c:1793: error: expected expression before ‘)’ token
private.c:1794: error: ‘FriBidiStrIndex’ undeclared (first use in this function)
private.c:1794: error: expected ‘;’ before ‘arg2’
private.c:1795: error: ‘arg3’ undeclared (first use in this function)
private.c:1795: error: expected expression before ‘)’ token
private.c:1796: error: ‘FriBidiCharType’ undeclared (first use in this function)
private.c:1796: error: ‘arg4’ undeclared (first use in this function)
private.c:1796: error: expected expression before ‘)’ token
private.c:1797: error: ‘arg5’ undeclared (first use in this function)
private.c:1797: error: expected expression before ‘)’ token
private.c:1798: error: ‘arg6’ undeclared (first use in this function)
private.c:1798: error: expected expression before ‘)’ token
private.c:1799: error: ‘FriBidiLevel’ undeclared (first use in this function)
private.c:1799: error: ‘arg7’ undeclared (first use in this function)
private.c:1799: error: expected expression before ‘)’ token
private.c:1800: error: expected ‘;’ before ‘temp4’
private.c:1804: error: ‘_global_p_len’ undeclared (first use in this function)
private.c:1805: error: ‘temp3’ undeclared (first use in this function)
private.c:1806: error: expected ‘;’ before ‘temp40’
private.c:1808: error: ‘temp5’ undeclared (first use in this function)
private.c:1809: error: ‘temp6’ undeclared (first use in this function)
private.c:1810: error: ‘temp7’ undeclared (first use in this function)
private.c:1815: error: ‘temp4’ undeclared (first use in this function)
private.c:1815: error: ‘FRIBIDI_TYPE_ON’ undeclared (first use in this function)
private.c:1820: error: ‘arg2’ undeclared (first use in this function)
private.c:1840: error: expected expression before ‘)’ token
private.c:1848: error: ‘temp40’ undeclared (first use in this function)
private.c:1853: error: expected expression before ‘)’ token
private.c:1855: error: expected expression before ‘)’ token
private.c:1858: error: expected expression before ‘)’ token
private.c:1861: error: expected expression before ‘)’ token
private.c: In function ‘_wrap_fribidi_wcwidth’:
private.c:1984: error: ‘FriBidiChar’ undeclared (first use in this function)
private.c:1984: error: expected ‘;’ before ‘arg1’
private.c:1998: error: ‘arg1’ undeclared (first use in this function)
private.c: In function ‘_wrap_fribidi_wcswidth’:
private.c:2012: error: ‘FriBidiChar’ undeclared (first use in this function)
private.c:2012: error: ‘arg1’ undeclared (first use in this function)
private.c:2012: error: expected expression before ‘)’ token
private.c:2013: error: ‘FriBidiStrIndex’ undeclared (first use in this function)
private.c:2013: error: expected ‘;’ before ‘arg2’
private.c:2017: error: ‘_global_p_len’ undeclared (first use in this function)
private.c:2022: error: ‘arg2’ undeclared (first use in this function)
private.c:2030: error: expected expression before ‘)’ token
private.c: In function ‘_wrap_fribidi_wcswidth_cjk’:
private.c:2046: error: ‘FriBidiChar’ undeclared (first use in this function)
private.c:2046: error: ‘arg1’ undeclared (first use in this function)
private.c:2046: error: expected expression before ‘)’ token
private.c:2047: error: ‘FriBidiStrIndex’ undeclared (first use in this function)
private.c:2047: error: expected ‘;’ before ‘arg2’
private.c:2051: error: ‘_global_p_len’ undeclared (first use in this function)
private.c:2056: error: ‘arg2’ undeclared (first use in this function)
private.c:2064: error: expected expression before ‘)’ token
private.c: In function ‘_wrap_fribidi_type_name’:
private.c:2080: error: ‘FriBidiCharType’ undeclared (first use in this function)
private.c:2080: error: expected ‘;’ before ‘arg1’
private.c:2094: error: ‘arg1’ undeclared (first use in this function)
private.c: In function ‘_wrap_FriBidiRunType_length_set’:
private.c:2108: error: ‘FriBidiRunType’ undeclared (first use in this function)
private.c:2108: error: ‘arg1’ undeclared (first use in this function)
private.c:2108: error: expected expression before ‘)’ token
private.c:2109: error: ‘FriBidiStrIndex’ undeclared (first use in this function)
private.c:2109: error: expected ‘;’ before ‘arg2’
private.c:2124: error: expected expression before ‘)’ token
private.c:2129: error: ‘arg2’ undeclared (first use in this function)
private.c: In function ‘_wrap_FriBidiRunType_length_get’:
private.c:2146: error: ‘FriBidiRunType’ undeclared (first use in this function)
private.c:2146: error: ‘arg1’ undeclared (first use in this function)
private.c:2146: error: expected expression before ‘)’ token
private.c:2147: error: ‘FriBidiStrIndex’ undeclared (first use in this function)
private.c:2147: error: expected ‘;’ before ‘result’
private.c:2160: error: expected expression before ‘)’ token
private.c:2161: error: ‘result’ undeclared (first use in this function)
private.c: In function ‘_wrap_FriBidiRunType_attribute_set’:
private.c:2174: error: ‘FriBidiRunType’ undeclared (first use in this function)
private.c:2174: error: ‘arg1’ undeclared (first use in this function)
private.c:2174: error: expected expression before ‘)’ token
private.c:2189: error: expected expression before ‘)’ token
private.c: In function ‘_wrap_FriBidiRunType_attribute_get’:
private.c:2210: error: ‘FriBidiRunType’ undeclared (first use in this function)
private.c:2210: error: ‘arg1’ undeclared (first use in this function)
private.c:2210: error: expected expression before ‘)’ token
private.c:2224: error: expected expression before ‘)’ token
private.c: In function ‘_wrap_new_FriBidiRunType’:
private.c:2238: error: ‘FriBidiRunType’ undeclared (first use in this function)
private.c:2238: error: ‘result’ undeclared (first use in this function)
private.c:2245: error: expected expression before ‘)’ token
private.c:2245: error: expected ‘;’ before ‘calloc’
private.c: In function ‘_wrap_delete_FriBidiRunType’:
private.c:2256: error: ‘FriBidiRunType’ undeclared (first use in this function)
private.c:2256: error: ‘arg1’ undeclared (first use in this function)
private.c:2256: error: expected expression before ‘)’ token
private.c:2269: error: expected expression before ‘)’ token
private.c: In function ‘_wrap__FriBidiList_data_set’:
private.c:2304: error: dereferencing pointer to incomplete type
private.c: In function ‘_wrap__FriBidiList_data_get’:
private.c:2335: error: dereferencing pointer to incomplete type
private.c: In function ‘_wrap__FriBidiList_next_set’:
private.c:2349: error: ‘FriBidiList’ undeclared (first use in this function)
private.c:2349: error: ‘arg2’ undeclared (first use in this function)
private.c:2349: error: expected expression before ‘)’ token
private.c:2369: error: expected expression before ‘)’ token
private.c:2370: error: dereferencing pointer to incomplete type
private.c: In function ‘_wrap__FriBidiList_next_get’:
private.c:2387: error: ‘FriBidiList’ undeclared (first use in this function)
private.c:2387: error: ‘result’ undeclared (first use in this function)
private.c:2401: error: expected expression before ‘)’ token
private.c:2401: error: dereferencing pointer to incomplete type
private.c: In function ‘_wrap__FriBidiList_prev_set’:
private.c:2415: error: ‘FriBidiList’ undeclared (first use in this function)
private.c:2415: error: ‘arg2’ undeclared (first use in this function)
private.c:2415: error: expected expression before ‘)’ token
private.c:2435: error: expected expression before ‘)’ token
private.c:2436: error: dereferencing pointer to incomplete type
private.c: In function ‘_wrap__FriBidiList_prev_get’:
private.c:2453: error: ‘FriBidiList’ undeclared (first use in this function)
private.c:2453: error: ‘result’ undeclared (first use in this function)
private.c:2467: error: expected expression before ‘)’ token
private.c:2467: error: dereferencing pointer to incomplete type
private.c: In function ‘_wrap_new__FriBidiList’:
private.c:2487: error: invalid application of ‘sizeof’ to incomplete type ‘struct _FriBidiList’
private.c: In function ‘_wrap_fribidi_log2vis_get_embedding_levels’:
private.c:2526: error: ‘FriBidiChar’ undeclared (first use in this function)
private.c:2526: error: ‘arg1’ undeclared (first use in this function)
private.c:2526: error: expected expression before ‘)’ token
private.c:2527: error: ‘FriBidiStrIndex’ undeclared (first use in this function)
private.c:2527: error: expected ‘;’ before ‘arg2’
private.c:2528: error: ‘FriBidiCharType’ undeclared (first use in this function)
private.c:2528: error: ‘arg3’ undeclared (first use in this function)
private.c:2528: error: expected expression before ‘)’ token
private.c:2529: error: ‘FriBidiLevel’ undeclared (first use in this function)
private.c:2529: error: ‘arg4’ undeclared (first use in this function)
private.c:2529: error: expected expression before ‘)’ token
private.c:2530: error: ‘fribidi_boolean’ undeclared (first use in this function)
private.c:2530: error: expected ‘;’ before ‘result’
private.c:2531: error: expected ‘;’ before ‘temp3’
private.c:2535: error: ‘_global_p_len’ undeclared (first use in this function)
private.c:2536: error: expected ‘;’ before ‘temp30’
private.c:2538: error: ‘temp4’ undeclared (first use in this function)
private.c:2543: error: ‘temp3’ undeclared (first use in this function)
private.c:2543: error: ‘FRIBIDI_TYPE_ON’ undeclared (first use in this function)
private.c:2548: error: ‘arg2’ undeclared (first use in this function)
private.c:2559: error: expected expression before ‘)’ token
private.c:2567: error: ‘temp30’ undeclared (first use in this function)
private.c:2573: error: expected expression before ‘)’ token
private.c:2576: error: ‘result’ undeclared (first use in this function)
private.c:2576: error: expected ‘;’ before ‘fribidi_log2vis_get_embedding_levels’
private.c: In function ‘_wrap_fribidi_remove_bidi_marks’:
private.c:2630: error: ‘FriBidiChar’ undeclared (first use in this function)
private.c:2630: error: ‘arg1’ undeclared (first use in this function)
private.c:2630: error: expected expression before ‘)’ token
private.c:2631: error: ‘FriBidiStrIndex’ undeclared (first use in this function)
private.c:2631: error: expected ‘;’ before ‘arg2’
private.c:2632: error: ‘arg3’ undeclared (first use in this function)
private.c:2632: error: expected expression before ‘)’ token
private.c:2633: error: ‘arg4’ undeclared (first use in this function)
private.c:2633: error: expected expression before ‘)’ token
private.c:2634: error: ‘FriBidiLevel’ undeclared (first use in this function)
private.c:2634: error: ‘arg5’ undeclared (first use in this function)
private.c:2634: error: expected expression before ‘)’ token
private.c:2635: error: expected ‘;’ before ‘result’
private.c:2638: error: ‘_global_p_len’ undeclared (first use in this function)
private.c:2645: error: ‘arg2’ undeclared (first use in this function)
private.c:2655: error: expected expression before ‘)’ token
private.c:2663: error: expected expression before ‘)’ token
private.c:2675: error: ‘result’ undeclared (first use in this function)
private.c:2675: error: expected ‘;’ before ‘fribidi_remove_bidi_marks’
private.c: In function ‘_wrap_fribidi_get_type’:
private.c:2729: error: ‘FriBidiChar’ undeclared (first use in this function)
private.c:2729: error: expected ‘;’ before ‘arg1’
private.c:2730: error: ‘FriBidiCharType’ undeclared (first use in this function)
private.c:2730: error: expected ‘;’ before ‘result’
private.c:2743: error: ‘arg1’ undeclared (first use in this function)
private.c:2744: error: ‘result’ undeclared (first use in this function)
private.c:2744: error: expected ‘;’ before ‘fribidi_get_type’
private.c: In function ‘_wrap_fribidi_get_types’:
private.c:2757: error: ‘FriBidiChar’ undeclared (first use in this function)
private.c:2757: error: ‘arg1’ undeclared (first use in this function)
private.c:2757: error: expected expression before ‘)’ token
private.c:2758: error: ‘FriBidiStrIndex’ undeclared (first use in this function)
private.c:2758: error: expected ‘;’ before ‘arg2’
private.c:2759: error: ‘FriBidiCharType’ undeclared (first use in this function)
private.c:2759: error: ‘arg3’ undeclared (first use in this function)
private.c:2759: error: expected expression before ‘)’ token
private.c:2762: error: ‘_global_p_len’ undeclared (first use in this function)
private.c:2763: error: ‘temp3’ undeclared (first use in this function)
private.c:2768: error: ‘arg2’ undeclared (first use in this function)
private.c:2779: error: expected expression before ‘)’ token
private.c:2781: error: expected expression before ‘)’ token
private.c: In function ‘_wrap_fribidi_get_mirror_char’:
private.c:2823: error: ‘FriBidiChar’ undeclared (first use in this function)
private.c:2823: error: expected ‘;’ before ‘arg1’
private.c:2824: error: ‘arg2’ undeclared (first use in this function)
private.c:2824: error: expected expression before ‘)’ token
private.c:2825: error: ‘fribidi_boolean’ undeclared (first use in this function)
private.c:2825: error: expected ‘;’ before ‘result’
private.c:2828: error: expected ‘;’ before ‘temp2’
private.c:2833: error: ‘temp2’ undeclared (first use in this function)
private.c:2841: error: ‘arg1’ undeclared (first use in this function)
private.c:2842: error: ‘result’ undeclared (first use in this function)
private.c:2842: error: expected ‘;’ before ‘fribidi_get_mirror_char’
private.c: In function ‘_wrap_fribidi_set_mirroring’:
private.c:2863: error: ‘fribidi_boolean’ undeclared (first use in this function)
private.c:2863: error: expected ‘;’ before ‘arg1’
private.c:2876: error: ‘arg1’ undeclared (first use in this function)
private.c: In function ‘_wrap_fribidi_set_reorder_nsm’:
private.c:2890: error: ‘fribidi_boolean’ undeclared (first use in this function)
private.c:2890: error: expected ‘;’ before ‘arg1’
private.c:2903: error: ‘arg1’ undeclared (first use in this function)
private.c: In function ‘_wrap_fribidi_char_set_enter_cap_rtl’:
private.c:2917: error: ‘fribidi_boolean’ undeclared (first use in this function)
private.c:2917: error: expected ‘;’ before ‘result’
private.c:2924: error: ‘result’ undeclared (first use in this function)
private.c:2924: error: expected ‘;’ before ‘fribidi_char_set_enter_cap_rtl’
private.c: In function ‘_wrap_fribidi_cap_rtl_to_unicode’:
private.c:2936: error: ‘FriBidiStrIndex’ undeclared (first use in this function)
private.c:2936: error: expected ‘;’ before ‘arg2’
private.c:2937: error: ‘FriBidiChar’ undeclared (first use in this function)
private.c:2937: error: ‘arg3’ undeclared (first use in this function)
private.c:2937: error: expected expression before ‘)’ token
private.c:2941: error: ‘_global_p_len’ undeclared (first use in this function)
private.c:2942: error: ‘temp3’ undeclared (first use in this function)
private.c:2947: error: ‘arg2’ undeclared (first use in this function)
private.c:2959: error: expected expression before ‘)’ token
private.c: In function ‘_wrap_fribidi_unicode_to_cap_rtl’:
private.c:2989: error: ‘FriBidiChar’ undeclared (first use in this function)
private.c:2989: error: ‘arg1’ undeclared (first use in this function)
private.c:2989: error: expected expression before ‘)’ token
private.c:2990: error: ‘FriBidiStrIndex’ undeclared (first use in this function)
private.c:2990: error: expected ‘;’ before ‘arg2’
private.c:2995: error: ‘_global_p_len’ undeclared (first use in this function)
private.c:3001: error: ‘arg2’ undeclared (first use in this function)
private.c:3012: error: expected expression before ‘)’ token
private.c: In function ‘boot_Text__Bidi__private’:
private.c:3750: error: ‘FRIBIDI_TYPES_COUNT’ undeclared (first use in this function)
make: *** [private.o] Error 1
KAMENSKY/Text-Bidi-0.03.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
KAMENSKY/Text-Bidi-0.03.tar.gz : make NO