Skip Menu |

This queue is for tickets about the XML-Parser CPAN distribution.

Report information
The Basics
Id: 75158
Status: resolved
Priority: 0/
Queue: XML-Parser

People
Owner: Nobody in particular
Requestors: jhandschu [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.41
Fixed in: (no value)



I'm trying to install XML::Simple on a Mac running Lion OS X. following is the echo of my CPAN session: cpan[6]> cpan[6]> install XML::Simple Going to read '/Users/josephhandschu/.cpan/sources/authors/01mailrc.txt.gz' ............................................................................DONE Going to read '/Users/josephhandschu/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Mon, 13 Feb 2012 00:12:32 GMT .............. New CPAN.pm version (v1.9800) available. [Currently running version is v1.9456] 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 Going to read '/Users/josephhandschu/.cpan/sources/modules/03modlist.data.gz' ............................................................................DONE Going to write /Users/josephhandschu/.cpan/Metadata XML::Simple is up to date (2.18). cpan[11]> exit Terminal does not support GetHistory. Lockfile removed. Josephs-MacBook-Air-2:/ josephhandschu$ cd ~/.cpan/build/XML-Parser* Josephs-MacBook-Air-2:XML-Parser-2.41-2ew4TC josephhandschu$ perl^C Josephs-MacBook-Air-2:XML-Parser-2.41-2ew4TC josephhandschu$ perl Makefile.PL Couldn't find your C compiler Compilation failed in require at Makefile.PL line 5. BEGIN failed--compilation aborted at Makefile.PL line 5. When trying to install the XML::Parser I get an error message saying my C compiler couldn't been found. This is the information of my perl version: Summary of my perl5 (revision 5 version 12 subversion 3) configuration: Platform: osname=darwin, osvers=11.0, archname=darwin-thread-multi-2level uname='darwin doublemagnum.apple.com 11.0 darwin kernel version 11.0.0: wed dec 22 11:00:23 pst 2010; root:xnu-1699.18.1~1release_x86_64 x86_64 ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags= -Dman3ext=3pm - Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=llvm-gcc-4.2' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='llvm-gcc-4.2', ccflags ='-arch x86_64 -arch i386 -g -pipe -fno-common - DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include', optimize='-Os', cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector - I/usr/local/include' ccversion='', gccversion='4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='llvm-gcc-4.2 -mmacosx-version-min=10.7', ldflags ='-arch x86_64 -arch i386 -fstack- protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -bundle -undefined dynamic_lookup - L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Locally applied patches: /Library/Perl/Updates/<version> comes before system perl directories installprivlib and installarchlib points to the Updates directory Built under darwin Compiled at May 25 2011 17:53:29 @INC: /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 I'll be glad to provide any further information if needed. Thanks.
Subject: no C compiler
On Mon Feb 20 09:08:30 2012, joe0867 wrote: Is C compiler installed? Your Perl was compiled with llvm-gcc-4.2 . Is it available? Show quoted text
> I'm trying to install XML::Simple on a Mac running Lion OS X. > > following is the echo of my CPAN session: > > > cpan[6]> cpan[6]> install XML::Simple > Couldn't find your C compiler > Compilation failed in require at Makefile.PL line 5. > BEGIN failed--compilation aborted at Makefile.PL line 5. > > When trying to install the XML::Parser I get an error message saying > my C compiler couldn't > been found.
-- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #75158] no C compiler
Date: Wed, 14 Mar 2012 22:46:30 -0400
To: bug-XML-Parser [...] rt.cpan.org
From: Joseph Handschu <jhandschu [...] gmail.com>
Well I'm trying to installed in a MAC running LION 10.7 where the default GCC is 4.2.1, I really don't know how is it that the installation package does not work in the platform. Any suggestions? Thanks. On Wed, Mar 14, 2012 at 5:05 AM, Alexandr Ciornii via RT < bug-XML-Parser@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=75158 > > > On Mon Feb 20 09:08:30 2012, joe0867 wrote: > > Is C compiler installed? > > Your Perl was compiled with llvm-gcc-4.2 . Is it available? >
> > I'm trying to install XML::Simple on a Mac running Lion OS X. > > > > following is the echo of my CPAN session: > > > > > > cpan[6]> cpan[6]> install XML::Simple > > Couldn't find your C compiler > > Compilation failed in require at Makefile.PL line 5. > > BEGIN failed--compilation aborted at Makefile.PL line 5. > > > > When trying to install the XML::Parser I get an error message saying > > my C compiler couldn't > > been found.
> > -- > Alexandr Ciornii, http://chorny.net > >
-- Show quoted text
______________________________________________ Joseph M Handschu Phone: (919) 601-3612 Fax: (208)493-7058
On Wed Mar 14 22:46:39 2012, joe0867 wrote: Show quoted text
> Well I'm trying to installed in a MAC running LION 10.7 where the default > GCC is 4.2.1, I really don't know how is it that the installation package > does not work in the platform. >
It sounds like you're trying to install modules against the distro's perl. This should be easy for you to do once you have gcc. gcc does not come with Lion by default. If in the terminal when you run "gcc", you get command not found, then you have not yet installed "Xcode". This is a free but LARGE (1.5GB) download via the mac app store. Once you download it, you'll have to run it in order to actually install it. Happy cpanning
Subject: Re: [rt.cpan.org #75158] no C compiler
Date: Thu, 15 Mar 2012 20:37:27 -0400
To: bug-XML-Parser [...] rt.cpan.org
From: Joseph Handschu <jhandschu [...] gmail.com>
I'm so sorry to keep bugging you with my questions but it's until now that I cannot get to install the XML::Simple correctly. I have installed XCODE latest version Now when I get to CPAN I get: cpan[1]> get XML::Simple Going to read '/Users/josephhandschu/.cpan/Metadata' Database was generated on Thu, 15 Mar 2012 00:11:35 GMT Running get for module 'XML::Simple' Checksum for /Users/josephhandschu/.cpan/sources/authors/id/G/GR/GRANTM/XML-Simple-2.18.tar.gz ok Scanning cache /Users/josephhandschu/.cpan/build for sizes .......................................................................-----DONE DEL(1/9): /Users/josephhandschu/.cpan/build/Math-BigInt-1.997-Y4KcmO DEL(2/9): /Users/josephhandschu/.cpan/build/Math-BigRat-0.2602-kRq6Yq DEL(3/9): /Users/josephhandschu/.cpan/build/Math-Complex-1.59-dbuVe_ DEL(4/9): /Users/josephhandschu/.cpan/build/Memoize-1.02-KAwr9w DEL(5/9): /Users/josephhandschu/.cpan/build/Module-CoreList-2.60-BOjxPk DEL(6/9): /Users/josephhandschu/.cpan/build/Module-Load-0.22-IYz13H DEL(7/9): /Users/josephhandschu/.cpan/build/Module-Loaded-0.08-bdY2Wc DEL(8/9): /Users/josephhandschu/.cpan/build/Module-Load-Conditional-0.46-GT93Uv DEL(9/9): /Users/josephhandschu/.cpan/build/Module-Pluggable-4.0-PRa4el cpan[3]> make XML::Simple Running make for module 'XML::Simple' Running make for G/GR/GRANTM/XML-Simple-2.18.tar.gz CPAN.pm: Going to build G/GR/GRANTM/XML-Simple-2.18.tar.gz Checking installed modules ... XML::SAX is installed, it will be used by the test suite Checking if your kit is complete... Looks good Writing Makefile for XML::Simple Can't exec "make": No such file or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026. GRANTM/XML-Simple-2.18.tar.gz make -- NOT OK 'YAML' not installed, will not store persistent state Failed during this command: GRANTM/XML-Simple-2.18.tar.gz : make NO cpan[5]> install XML::Simple XML::Simple is up to date (2.18). Any suggestion? Thanks in advance? Joseph. On Thu, Mar 15, 2012 at 2:05 AM, Todd Rinaldo via RT < bug-XML-Parser@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=75158 > > > On Wed Mar 14 22:46:39 2012, joe0867 wrote:
> > Well I'm trying to installed in a MAC running LION 10.7 where the default > > GCC is 4.2.1, I really don't know how is it that the installation package > > does not work in the platform. > >
> It sounds like you're trying to install modules against the distro's perl. > This should be easy for > you to do once you have gcc. gcc does not come with Lion by default. If in > the terminal when > you run "gcc", you get command not found, then you have not yet installed > "Xcode". This is a > free but LARGE (1.5GB) download via the mac app store. Once you download > it, you'll have to run > it in order to actually install it. > > Happy cpanning >
-- Show quoted text
______________________________________________ Joseph M Handschu Phone: (919) 601-3612 Fax: (208)493-7058
On Thu Mar 15 20:37:37 2012, joe0867 wrote: Show quoted text
> I'm so sorry to keep bugging you with my questions but it's until now > that > I cannot get to install the XML::Simple correctly. > > I have installed XCODE latest version > > Now when I get to CPAN I get: > > cpan[1]> get XML::Simple > Going to read '/Users/josephhandschu/.cpan/Metadata' > Database was generated on Thu, 15 Mar 2012 00:11:35 GMT > Running get for module 'XML::Simple' > Checksum for > /Users/josephhandschu/.cpan/sources/authors/id/G/GR/GRANTM/XML-Simple- > 2.18.tar.gz > ok > Scanning cache /Users/josephhandschu/.cpan/build for sizes > .......................................................................----- > DONE > DEL(1/9): /Users/josephhandschu/.cpan/build/Math-BigInt-1.997-Y4KcmO > DEL(2/9): /Users/josephhandschu/.cpan/build/Math-BigRat-0.2602-kRq6Yq > DEL(3/9): /Users/josephhandschu/.cpan/build/Math-Complex-1.59-dbuVe_ > DEL(4/9): /Users/josephhandschu/.cpan/build/Memoize-1.02-KAwr9w > DEL(5/9): /Users/josephhandschu/.cpan/build/Module-CoreList-2.60- > BOjxPk > DEL(6/9): /Users/josephhandschu/.cpan/build/Module-Load-0.22-IYz13H > DEL(7/9): /Users/josephhandschu/.cpan/build/Module-Loaded-0.08-bdY2Wc > DEL(8/9): > /Users/josephhandschu/.cpan/build/Module-Load-Conditional-0.46-GT93Uv > DEL(9/9): /Users/josephhandschu/.cpan/build/Module-Pluggable-4.0- > PRa4el > > cpan[3]> make XML::Simple > Running make for module 'XML::Simple' > Running make for G/GR/GRANTM/XML-Simple-2.18.tar.gz > > CPAN.pm: Going to build G/GR/GRANTM/XML-Simple-2.18.tar.gz > > Checking installed modules ... > XML::SAX is installed, it will be used by the test suite > Checking if your kit is complete... > Looks good > Writing Makefile for XML::Simple > Can't exec "make": No such file or directory at > /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026. > GRANTM/XML-Simple-2.18.tar.gz > make -- NOT OK > 'YAML' not installed, will not store persistent state > Failed during this command: > GRANTM/XML-Simple-2.18.tar.gz : make NO > > cpan[5]> install XML::Simple > XML::Simple is up to date (2.18). > > Any suggestion? >
Joseph, your problem is not with XML::Simple. Your problem is with how to install modules. This is really not the ideal place to help you with this. I would encourage you to try: 1. Perl Mongers (Local perl user groups): http://www.pm.org/ 2. Perl Monks ( a great online location to post questions): http://www.perlmonks.org/ 3. IRC (A more real time way to ask for help online): irc.freenode.net -- #perl
Subject: Re: [rt.cpan.org #75158] no C compiler
Date: Mon, 19 Mar 2012 08:19:04 -0400
To: bug-XML-Parser [...] rt.cpan.org
From: Joseph Handschu <jhandschu [...] gmail.com>
Thanks. I'll try that. I have the environment working on Linux but for some reason wouldn't work on my mac. Thanks again, Joseph. On Mon, Mar 19, 2012 at 12:52 AM, Todd Rinaldo via RT < bug-XML-Parser@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=75158 > > > On Thu Mar 15 20:37:37 2012, joe0867 wrote:
> > I'm so sorry to keep bugging you with my questions but it's until now > > that > > I cannot get to install the XML::Simple correctly. > > > > I have installed XCODE latest version > > > > Now when I get to CPAN I get: > > > > cpan[1]> get XML::Simple > > Going to read '/Users/josephhandschu/.cpan/Metadata' > > Database was generated on Thu, 15 Mar 2012 00:11:35 GMT > > Running get for module 'XML::Simple' > > Checksum for > > /Users/josephhandschu/.cpan/sources/authors/id/G/GR/GRANTM/XML-Simple- > > 2.18.tar.gz > > ok > > Scanning cache /Users/josephhandschu/.cpan/build for sizes > >
> .......................................................................-----
> > DONE > > DEL(1/9): /Users/josephhandschu/.cpan/build/Math-BigInt-1.997-Y4KcmO > > DEL(2/9): /Users/josephhandschu/.cpan/build/Math-BigRat-0.2602-kRq6Yq > > DEL(3/9): /Users/josephhandschu/.cpan/build/Math-Complex-1.59-dbuVe_ > > DEL(4/9): /Users/josephhandschu/.cpan/build/Memoize-1.02-KAwr9w > > DEL(5/9): /Users/josephhandschu/.cpan/build/Module-CoreList-2.60- > > BOjxPk > > DEL(6/9): /Users/josephhandschu/.cpan/build/Module-Load-0.22-IYz13H > > DEL(7/9): /Users/josephhandschu/.cpan/build/Module-Loaded-0.08-bdY2Wc > > DEL(8/9): > > /Users/josephhandschu/.cpan/build/Module-Load-Conditional-0.46-GT93Uv > > DEL(9/9): /Users/josephhandschu/.cpan/build/Module-Pluggable-4.0- > > PRa4el > > > > cpan[3]> make XML::Simple > > Running make for module 'XML::Simple' > > Running make for G/GR/GRANTM/XML-Simple-2.18.tar.gz > > > > CPAN.pm: Going to build G/GR/GRANTM/XML-Simple-2.18.tar.gz > > > > Checking installed modules ... > > XML::SAX is installed, it will be used by the test suite > > Checking if your kit is complete... > > Looks good > > Writing Makefile for XML::Simple > > Can't exec "make": No such file or directory at > > /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026. > > GRANTM/XML-Simple-2.18.tar.gz > > make -- NOT OK > > 'YAML' not installed, will not store persistent state > > Failed during this command: > > GRANTM/XML-Simple-2.18.tar.gz : make NO > > > > cpan[5]> install XML::Simple > > XML::Simple is up to date (2.18). > > > > Any suggestion? > >
> > Joseph, your problem is not with XML::Simple. Your problem is with how to > install modules. > This is really not the ideal place to help you with this. I would > encourage you to try: > 1. Perl Mongers (Local perl user groups): http://www.pm.org/ > 2. Perl Monks ( a great online location to post questions): > http://www.perlmonks.org/ > 3. IRC (A more real time way to ask for help online): irc.freenode.net -- > #perl >
-- Show quoted text
______________________________________________ Joseph M Handschu Phone: (919) 601-3612 Fax: (208)493-7058
Ticket migrated to github as https://github.com/toddr/XML-Parser/issues/78