Unable to install Perl module via CPAN


 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Unable to install Perl module via CPAN
# 1  
Old 12-27-2010
Unable to install Perl module via CPAN

Hi,

I am trying to install Unicode::String from the cpan shell, and here is what I get:

Code:
Checking if your kit is complete...
Looks good
Writing Makefile for Unicode::String
cp String.pm blib/lib/Unicode/String.pm
cp lib/Unicode/CharName.pm blib/lib/Unicode/CharName.pm
/usr/local/ActivePerl-5.12/bin/perl /usr/local/ActivePerl-5.12/lib/ExtUtils/xsubpp  -typemap /usr/local/ActivePerl-5.12/lib/ExtUtils/typemap  String.xs > String.xsc && mv String.xsc String.c
gcc -c   -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.4 -DUSE_SITECUSTOMIZE -fno-merge-constants -fno-strict-aliasing -pipe -O3   -DVERSION=\"2.09\" -DXS_VERSION=\"2.09\"  "-I/usr/local/ActivePerl-5.12/lib/CORE"   String.c
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:594,
                 from String.xs:13:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: no include path in which to search for stdarg.h
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:1822,
                 from String.xs:13:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/float.h:8:24: error: no include path in which to search for float.h
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:1844,
                 from String.xs:13:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/float.h:8:24: error: no include path in which to search for float.h
String.xs: In function ‘XS_Unicode__String_ucs4':
String.xs:162: warning: format ‘%08x' expects type ‘unsigned int', but argument 2 has type ‘U32'
String.xs: In function ‘XS_Unicode__String_utf8':
String.xs:224: warning: format ‘%04x' expects type ‘unsigned int', but argument 2 has type ‘U32'
String.xs:253: warning: format ‘%08X' expects type ‘unsigned int', but argument 2 has type ‘U32'
String.xs:324: warning: format ‘%08X' expects type ‘unsigned int', but argument 2 has type ‘U32'
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:594,
                 from String.xs:13:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: no include path in which to search for stdarg.h
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:1822,
                 from String.xs:13:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/float.h:8:24: error: no include path in which to search for float.h
In file included from /usr/local/ActivePerl-5.12/lib/CORE/perl.h:1844,
                 from String.xs:13:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/float.h:8:24: error: no include path in which to search for float.h
String.xs: In function ‘XS_Unicode__String_ucs4':
String.xs:162: warning: format ‘%08x' expects type ‘unsigned int', but argument 2 has type ‘U32'
String.xs: In function ‘XS_Unicode__String_utf8':
String.xs:224: warning: format ‘%04x' expects type ‘unsigned int', but argument 2 has type ‘U32'
String.xs:253: warning: format ‘%08X' expects type ‘unsigned int', but argument 2 has type ‘U32'
String.xs:324: warning: format ‘%08X' expects type ‘unsigned int', but argument 2 has type ‘U32'
lipo: can't open input file: /var/folders/7n/7nf-iZSCFKaiIWaY-oS0Kk+++TI/-Tmp-//ccl7lBBt.out (No such file or directory)
make: *** [String.o] Error 1
  GAAS/Unicode-String-2.09.tar.gz
  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:
 GAAS/Unicode-String-2.09.tar.gz              : make NO

any idea how to fix this? i'd really appreciate it.
psych
# 2  
Old 12-27-2010
Oops, wrong thread!

I did find this: http://www.mail-archive.com/dev@perl.../msg11913.html
# 3  
Old 12-28-2010
thanks for the link DGPickett. Unfortunately, I don't understand how to connect it with my case, i.e. how to proceed.
# 4  
Old 12-28-2010
I guess for some less compatible upgrades you need to explicitly provide an include path. comp.lang.perl.modules: Re: Customizing include path with CPAN install
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl : unable to frame code with Business:Hours module with example

Hi all , There are two datetimes in the below format $datetime1="2007-12-31 16:50:00"; $datetime2="2008-1-1 04:24:00"; I need to calculate time in minutes only in between the office hours.(08:00 to 18:00 ). in PERL. For the above requirement I found a module Business::Hours that... (4 Replies)
Discussion started by: scriptscript
4 Replies

2. Shell Programming and Scripting

Unable to install module using cpan

Hi, I am unable to install module using cpan. It says 407 Proxy Authentication Required I did setup proxy server and given username and password in .bashrc file and apt.conf file. export http_proxy=http://username:password@proxyserver:portno/ However, still unable to install... (1 Reply)
Discussion started by: Anjan1
1 Replies

3. Solaris

perl module install issue

Hi, I've been trying to install the perl module DateTime-0.72 onto Solaris 10 server. # uname -a SunOS 5.10 Generic_142910-17 i86pc i386 i86pc but I'm getting the following error: /export/home/perl-modules/DateTime-0.72/> perl Build.PL Can't locate Module/Build.pm in @INC (@INC... (4 Replies)
Discussion started by: keatingb
4 Replies

4. Shell Programming and Scripting

Unable to Install "Devel-Profile" perl module in windows.

Hi, I want to install 'Devel-Profile' in windows but i am not able to install. Here is the error. PPM> install Devel-Profile Install package 'Devel-Profile?' (y/N): y Installing package 'Devel-Profile'... Error installing package 'Devel-Profile': Could not locate a PPD file for... (3 Replies)
Discussion started by: vanitham
3 Replies

5. Solaris

Trying to install perl module

Here's the deal: I'm trying to install perl's DBI Module in my Solaris 11 express ( ALSO TRYING IN SOLARIS 10 ) but I'm getting these errors/warnings when using the respective commands perl Makefile.PL Warning: prerequisite ExtUtils::MakeMaker 6.48 not found. We have 6.42. Warning:... (3 Replies)
Discussion started by: alvaradogunner
3 Replies

6. Shell Programming and Scripting

Error while trying to install from CPAN

Hi i was trying to install Text::CSV from cpan... it seemed to have downloaded everythign properly but was not able to run the make file... do u have any idea as to why this happened?? Install: ============================= If you install Text::CSV_XS v.0.70, it makes Text::CSV faster. ... (5 Replies)
Discussion started by: VGR
5 Replies

7. Shell Programming and Scripting

[Perl] How to install with CPAN specified version of module

Hello all, i am searching how to install a module but the question is : howto specify CPAN to install a determined version of the module ? In my case i want to install DBD:Oracle1.14 and not version 1.23 proposed ! Any idea welcome ! :rolleyes: Thanks ! (1 Reply)
Discussion started by: sun_cracker
1 Replies

8. Shell Programming and Scripting

Perl - problem with CPAN module XML::Simple

Hi All, I am trying to run the following program #!/usr/bin/perl # use module use XML::Simple; use Data::Dumper; # create object $xml = new XML::Simple; # read XML file $data = $xml->XMLin("dump.xml"); # print output print Dumper($dump); At first i had the error mesage saying... (5 Replies)
Discussion started by: userscript
5 Replies

9. Solaris

Install Perl Module

Hi Every one, I am suing solaris 5.10. i want install perl modules, how insall cn any body help me to install perl Module.. Thank you for your Help Thanks, Hari.A. (1 Reply)
Discussion started by: hari.jnvc90
1 Replies

10. Shell Programming and Scripting

PERL DBI module install

We ran into an issue trying to install DBI and DB2 modules for perl for AIX from the link http://www-306.ibm.com/software/data/db2/perl/ We tried to install the DBI module using bash# perl -MCPAN -e 'install DBI' command. However we ended up with the following error. Stop. ... (3 Replies)
Discussion started by: jerardfjay
3 Replies
Login or Register to Ask a Question