[31915] in Perl-Users-Digest
Perl-Users Digest, Issue: 3178 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Oct 16 21:09:28 2010
Date: Sat, 16 Oct 2010 18:09:11 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Sat, 16 Oct 2010 Volume: 11 Number: 3178
Today's topics:
Re: where to install cpan modules <john@example.invalid>
Re: where to install cpan modules <sherm.pendley@gmail.com>
Re: where to install cpan modules <ben@morrow.me.uk>
Re: where to install cpan modules <ben@morrow.me.uk>
Re: where to install cpan modules <john@example.invalid>
Re: where to install cpan modules <john@example.invalid>
Re: where to install cpan modules <john@example.invalid>
Re: where to install cpan modules <jurgenex@hotmail.com>
Re: where to install cpan modules <john@example.invalid>
Re: where to install cpan modules <ben@morrow.me.uk>
Re: where to install cpan modules <ben@morrow.me.uk>
Re: where to install cpan modules <john@example.invalid>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sat, 16 Oct 2010 14:18:40 -0600
From: John Smith <john@example.invalid>
Subject: Re: where to install cpan modules
Message-Id: <maqdna9ZctQ9lSfRnZ2dnUVZ5hednZ2d@giganews.com>
Sherm Pendley wrote:
[warning: long post]
[might be a little OT with some python talk]
[I promise not to dwell on it.]
> At a shell prompt, type:
>
> $ sudo cpan Module::Name
>
> And you're done.
Thanks for your comment, Sherm.
I did
# cpan Wiki::Gateway
. It was *definitely* on a roll. You get warnings here and there, but
where I think this process jumped the shark was when it couldn't find
headers for python.
After that, I got into a loop that was always asking me about my python
install, which is almost certainly equivalent to whatever is untouched
out of the ubuntu jaunty box for python.
The terminal session went on so long that I can't capture it. I can
capture the parts where things were going wrong repetatively and
circularly. I include the terminal session from an approximate midpoint
to the end after the sig of this message.
Whatever software I invoked was pretty specific:
...
This python's configuration files are messed up. You'll have have to
answer the questions yourself. Here is what Python said:
....
I think everyone agrees with me, that the notion of me going in unawares
and "fixing it," would all but guarantee a ten-fold setback.
I would a appreciate a couple opinions on how I might proceed.
What a great day to be putzing around at one's own house. I'm planting
a tree. What could go wrong?
--
John Smith
Begin terminal output where I think I began to err:
Running install for module 'Inline::Python'
'YAML' not installed, falling back to Data::Dumper and Storable to read
prefs '/root/.cpan/prefs'
Running make for N/NI/NINE/Inline-Python-0.37.tar.gz
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/N/NI/NINE/Inline-Python-0.37.tar.gz
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/N/NI/NINE/CHECKSUMS
Checksum for
/root/.cpan/sources/authors/id/N/NI/NINE/Inline-Python-0.37.tar.gz ok
Inline-Python-0.37/
Inline-Python-0.37/t/
Inline-Python-0.37/t/09bind.t
Inline-Python-0.37/t/08ipyobj.t
Inline-Python-0.37/t/19testref.t
Inline-Python-0.37/t/02testpl.t
Inline-Python-0.37/t/00init.t
Inline-Python-0.37/t/21arrayref.t
Inline-Python-0.37/t/28exception.t
Inline-Python-0.37/t/12evnodd.t
Inline-Python-0.37/t/30floats.t
Inline-Python-0.37/t/06dict.t
Inline-Python-0.37/t/29named_params.t
Inline-Python-0.37/t/27pyattrs.t
Inline-Python-0.37/t/22int.t
Inline-Python-0.37/t/14study.t
Inline-Python-0.37/t/05JAxH.t
Inline-Python-0.37/t/26undef.t
Inline-Python-0.37/t/24getitem.t
Inline-Python-0.37/t/10pyeval.t
Inline-Python-0.37/t/01testpl.t
Inline-Python-0.37/t/20unicode.t
Inline-Python-0.37/t/25py_sub.t
Inline-Python-0.37/t/17once.t
Inline-Python-0.37/t/07nherit.t
Inline-Python-0.37/t/11factor.t
Inline-Python-0.37/t/31stringification.t
Inline-Python-0.37/t/16evalpy.t
Inline-Python-0.37/t/18newclass.t
Inline-Python-0.37/t/15anon.t
Inline-Python-0.37/t/13fibbon.t
Inline-Python-0.37/t/23getattr.t
Inline-Python-0.37/t/04func.t
Inline-Python-0.37/t/03parse.t
Inline-Python-0.37/py2pl.h
Inline-Python-0.37/TESTED
Inline-Python-0.37/perlmodule.h
Inline-Python-0.37/ToDo
Inline-Python-0.37/Python.pm
Inline-Python-0.37/Python.xs
Inline-Python-0.37/Makefile.pre.in
Inline-Python-0.37/py2pl.c
Inline-Python-0.37/README
Inline-Python-0.37/META.yml
Inline-Python-0.37/Setup.in
Inline-Python-0.37/Changes
Inline-Python-0.37/Makefile.PL
Inline-Python-0.37/MANIFEST
Inline-Python-0.37/util.c
Inline-Python-0.37/perlmodule.c
Inline-Python-0.37/util.h
Inline-Python-0.37/Python.pod
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
CPAN.pm: Going to build N/NI/NINE/Inline-Python-0.37.tar.gz
Found these python executables on your PATH:
1. /usr/bin/python
2. /usr/X11R6/bin/python
Use which? [1] 1
Using /usr/bin/python
This python's configuration files are messed up. You'll have have to
answer the questions yourself. Here is what Python said:
Extra Libs: -lpthread -ldl -lutil
Python Library: /usr/lib/python2.6/config/libpython2.6.a
Include Path: /usr/include/python2.6
1. LIBS option. I need to know what extra libraries, if any,
are required by this build of python. I recommend this:
-lpthread -ldl -lutil
Enter extra libraries (e.g. -lfoo -lbar) [-lpthread -ldl -lutil]
2. LIBRARY option. The location of the python library.
Inline::Python needs to link against it to use Python.
Here are the libraries I know about:
Which? Or enter another. [1] 1
3. INCLUDE option. The location of the python include files.
Inline::Python needs these to compile.
Here are the locations I know about:
1) /usr/include/python2.5
2) /usr/include/python2.6
Which? Or enter another. [1] 1
Could not find Python.h in include path. make will not work at
Makefile.PL line 44, <STDIN> line 4.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
NINE/Inline-Python-0.37.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Running make for B/BS/BSHANKS/Wiki-Gateway-0.001991.tar.gz
Has already been unwrapped into directory
/root/.cpan/build/Wiki-Gateway-0.001991-rHVn1N
CPAN.pm: Going to build B/BS/BSHANKS/Wiki-Gateway-0.001991.tar.gz
Warning: Prerequisite 'Inline::Python => 0' for
'B/BS/BSHANKS/Wiki-Gateway-0.001991.tar.gz' failed when processing
'N/NI/NINE/Inline-Python-0.37.tar.gz' with 'writemakefile => NO
'/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512'.
Continuing, but chances to succeed are limited.
/usr/bin/perl -Iinc Makefile.PL --config= --installdeps=Inline::Python,0
*** Installing dependencies...
[MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources
[MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources
[MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources
*** Installing Inline::Python...
Running [/usr/bin/perl /usr/bin/cpanp-run-perl
/root/.cpanplus/5.10.0/build/Inline-Python-0.37/Makefile.PL ]...
Found these python executables on your PATH:
1. /usr/bin/python
2. /usr/X11R6/bin/python
Use which? [1] 2
Using /usr/X11R6/bin/python
This python's configuration files are messed up. You'll have have to
answer the questions yourself. Here is what Python said:
Extra Libs: -lpthread -ldl -lutil
Python Library: /usr/lib/python2.6/config/libpython2.6.a
Include Path: /usr/include/python2.6
1. LIBS option. I need to know what extra libraries, if any,
are required by this build of python. I recommend this:
-lpthread -ldl -lutil
Enter extra libraries (e.g. -lfoo -lbar) [-lpthread -ldl -lutil]
2. LIBRARY option. The location of the python library.
Inline::Python needs to link against it to use Python.
Here are the libraries I know about:
Which? Or enter another. [1] 2
3. INCLUDE option. The location of the python include files.
Inline::Python needs these to compile.
Here are the locations I know about:
1) /usr/include/python2.5
2) /usr/include/python2.6
Which? Or enter another. [1] 2
Could not find Python.h in include path. make will not work at
/root/.cpanplus/5.10.0/build/Inline-Python-0.37/Makefile.PL line 44,
<STDIN> line 4.
[ERROR] Could not run '/usr/bin/perl Makefile.PL': Found these python
executables on your PATH:
1. /usr/bin/python
2. /usr/X11R6/bin/python
Use which? [1] Using /usr/X11R6/bin/python
This python's configuration files are messed up. You'll have have to
answer the questions yourself. Here is what Python said:
Extra Libs: -lpthread -ldl -lutil
Python Library: /usr/lib/python2.6/config/libpython2.6.a
Include Path: /usr/include/python2.6
1. LIBS option. I need to know what extra libraries, if any,
are required by this build of python. I recommend this:
-lpthread -ldl -lutil
Enter extra libraries (e.g. -lfoo -lbar) [-lpthread -ldl -lutil]
2. LIBRARY option. The location of the python library.
Inline::Python needs to link against it to use Python.
Here are the libraries I know about:
Which? Or enter another. [1]
3. INCLUDE option. The location of the python include files.
Inline::Python needs these to compile.
Here are the locations I know about:
1) /usr/include/python2.5
2) /usr/include/python2.6
Which? Or enter another. [1] Could not find Python.h in include path.
make will not work at
/root/.cpanplus/5.10.0/build/Inline-Python-0.37/Makefile.PL line 44,
<STDIN> line 4.
-- cannot continue
[ERROR] Unable to create a new distribution object for 'Inline::Python'
-- cannot continue
Key 'ok' () is of invalid type for 'CPANPLUS::Backend::RV::new' provided
by CPANPLUS::Backend::__ANON__ at
/usr/share/perl/5.10/CPANPLUS/Backend.pm line 395
*** Inline::Python installation cancelled.
*** ExtUtils::AutoInstall installation finished.
cp lib/Wiki/Gateway.pm blib/lib/Wiki/Gateway.pm
Manifying blib/man3/Wiki::Gateway.3pm
BSHANKS/Wiki-Gateway-0.001991.tar.gz
/usr/bin/make -- OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
Running make test
/usr/bin/perl -Iinc Makefile.PL --config= --installdeps=Inline::Python,0
*** Installing dependencies...
[MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources
*** Installing Inline::Python...
Running [/usr/bin/perl /usr/bin/cpanp-run-perl
/root/.cpanplus/5.10.0/build/Inline-Python-0.37/Makefile.PL ]...
Found these python executables on your PATH:
1. /usr/bin/python
2. /usr/X11R6/bin/python
Use which? [1] 2
Using /usr/X11R6/bin/python
This python's configuration files are messed up. You'll have have to
answer the questions yourself. Here is what Python said:
Extra Libs: -lpthread -ldl -lutil
Python Library: /usr/lib/python2.6/config/libpython2.6.a
Include Path: /usr/include/python2.6
1. LIBS option. I need to know what extra libraries, if any,
are required by this build of python. I recommend this:
-lpthread -ldl -lutil
Enter extra libraries (e.g. -lfoo -lbar) [-lpthread -ldl -lutil] 1
2. LIBRARY option. The location of the python library.
Inline::Python needs to link against it to use Python.
Here are the libraries I know about:
Which? Or enter another. [1] 1
3. INCLUDE option. The location of the python include files.
Inline::Python needs these to compile.
Here are the locations I know about:
1) /usr/include/python2.5
2) /usr/include/python2.6
Which? Or enter another. [1] 1
Could not find Python.h in include path. make will not work at
/root/.cpanplus/5.10.0/build/Inline-Python-0.37/Makefile.PL line 44,
<STDIN> line 4.
[ERROR] Could not run '/usr/bin/perl Makefile.PL': Found these python
executables on your PATH:
1. /usr/bin/python
2. /usr/X11R6/bin/python
Use which? [1] Using /usr/X11R6/bin/python
This python's configuration files are messed up. You'll have have to
answer the questions yourself. Here is what Python said:
Extra Libs: -lpthread -ldl -lutil
Python Library: /usr/lib/python2.6/config/libpython2.6.a
Include Path: /usr/include/python2.6
1. LIBS option. I need to know what extra libraries, if any,
are required by this build of python. I recommend this:
-lpthread -ldl -lutil
Enter extra libraries (e.g. -lfoo -lbar) [-lpthread -ldl -lutil]
2. LIBRARY option. The location of the python library.
Inline::Python needs to link against it to use Python.
Here are the libraries I know about:
Which? Or enter another. [1]
3. INCLUDE option. The location of the python include files.
Inline::Python needs these to compile.
Here are the locations I know about:
1) /usr/include/python2.5
2) /usr/include/python2.6
Which? Or enter another. [1] Could not find Python.h in include path.
make will not work at
/root/.cpanplus/5.10.0/build/Inline-Python-0.37/Makefile.PL line 44,
<STDIN> line 4.
-- cannot continue
[ERROR] Unable to create a new distribution object for 'Inline::Python'
-- cannot continue
Key 'ok' () is of invalid type for 'CPANPLUS::Backend::RV::new' provided
by CPANPLUS::Backend::__ANON__ at
/usr/share/perl/5.10/CPANPLUS/Backend.pm line 395
*** Inline::Python installation cancelled.
*** ExtUtils::AutoInstall installation finished.
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/main.t
t/main....Can't locate Inline/Python.pm in @INC (@INC contains:
/root/.cpan/build/Wiki-Gateway-0.001991-rHVn1N/inc
/root/.cpan/build/Wiki-Gateway-0.001991-rHVn1N/blib/lib
/root/.cpan/build/Wiki-Gateway-0.001991-rHVn1N/blib/arch /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . ./t)
at
/root/.cpan/build/Wiki-Gateway-0.001991-rHVn1N/blib/lib/Wiki/Gateway.pm
line 87.
BEGIN failed--compilation aborted at
/root/.cpan/build/Wiki-Gateway-0.001991-rHVn1N/blib/lib/Wiki/Gateway.pm
line 87.
Compilation failed in require at t/testWikiGatewayDuringInstall.pm line 11.
BEGIN failed--compilation aborted at t/testWikiGatewayDuringInstall.pm
line 11.
Compilation failed in require at (eval 15) line 1.
t/main....dubious
Test returned status 2 (wstat 512, 0x200)
FAILED--1 test script could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2
BSHANKS/Wiki-Gateway-0.001991.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports BSHANKS/Wiki-Gateway-0.001991.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
Running make install
make test had returned bad status, won't install without force
Could not read '/root/.cpan/build/Inline-Python-0.37-T6uZD4/META.yml'.
Falling back to other methods to determine prerequisites
#
------------------------------
Date: Sat, 16 Oct 2010 16:30:43 -0400
From: Sherm Pendley <sherm.pendley@gmail.com>
Subject: Re: where to install cpan modules
Message-Id: <m2tykl3moc.fsf@sherm.shermpendley.com>
John Smith <john@example.invalid> writes:
> Could not find Python.h in include path. make will not work at
> Makefile.PL line 44, <STDIN> line 4.
Many Linux distros split things into separate -dev and sometimes -doc
packages for development & documentation related files, respectively.
So even though your system has enough of Python installed to run .py
scripts, it may not have enough to compile C extensions for it. Use your
package manager to see what package provides Python.h, and to make
sure that package has been installed.
sherm--
--
Sherm Pendley
<http://camelbones.sourceforge.net>
Cocoa Developer
------------------------------
Date: Sat, 16 Oct 2010 21:59:31 +0100
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: where to install cpan modules
Message-Id: <jagpo7-6jh2.ln1@osiris.mauzo.dyndns.org>
Quoth John Smith <john@example.invalid>:
> Ben Morrow wrote:
> >
> > You have also taken the other-execute bit off. Do you know what that
> > does?
>
> Yeah, it causes the perl interpreter to be unable to find the meaning of
> strict, which is the most fundamental of pragmata.
I meant more generally. The execute bit on a directory means 'you can
lookup files within this directory'. If you take the execute bit off all
files under that directory become inaccessible.
> > Wipe out all that and reinstall it with your package manager. Then see
> > if you can install what you want with said package manager. If not, read
> > the docs for local::lib on search.cpan.org and use that.
>
> I'm gonna see if I can do it off the command line first.
You will find you have a chicken-and-egg problem here: in order to set
up a private module directory, you need to install local::lib; in order
to install local::lib, you need somewhere to install it. local::lib has
a bootstrap procedure for getting around this, which is documented in
its docs. Until you have the module installed, it's easier to read them
on search.cpan.org than by poking around in the tarball.
> Thanks for your help, Ben. I like to think that my screw-ups with
> permissions don't evidence of the same mistake because the underlying
> task is usually different.
IMHO you keep making the same mistake: you go at something without any
understanding of how it works, and blunder around doing random things
until something appears to do what you wanted. This is not a sensible
way to use a computer: they are designed to make sense, so if things
aren't making sense you're using them wrong.
Ben
------------------------------
Date: Sat, 16 Oct 2010 22:01:49 +0100
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: where to install cpan modules
Message-Id: <tegpo7-6jh2.ln1@osiris.mauzo.dyndns.org>
Quoth John Smith <john@example.invalid>:
>
> Running install for module 'Inline::Python'
Start with something simpler. Inline and Inline::Python are both deep
magic.
Ben
------------------------------
Date: Sat, 16 Oct 2010 15:16:33 -0600
From: John Smith <john@example.invalid>
Subject: Re: where to install cpan modules
Message-Id: <NLOdnaHT95asiyfRnZ2dnUVZ5hudnZ2d@giganews.com>
John Smith wrote:
> $ pwd
> /usr/share/perl
> $ cd ..
> $ ls -ald perl
> drwxr-xr-x 3 root root 4096 2009-04-20 07:59 perl
> $ sudo chmod o=rw perl
> [sudo] password for ron:
> $ ls -ald perl
> drwxr-xrw- 3 root root 4096 2009-04-20 07:59 perl
> $
>
> So now I have write priveleges, but now that I do, when I run perl -V,
> my interpreter can't discover the meaning of strict, so I think this
> evidences of the above eluded-to pooch-screw:
>
> $ perl -V
> Can't locate strict.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
> /usr/local/lib/site_perl .) at /usr/lib/perl/5.10/Config.pm line 5.
> BEGIN failed--compilation aborted at /usr/lib/perl/5.10/Config.pm line 5.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
> $
>
> So, what great thing have I done here?
I believe I have changed the one thing I did back to its original state:
pwd
/usr/share
# ls -ald perl
drwxr-xr-x 3 root root 4096 2009-04-20 07:59 perl
(compares to:)
> drwxr-xr-x 3 root root 4096 2009-04-20 07:59 perl
So Ben asks me what happened when I changed this permission. I've got a
bit of a learning curve here, and I've been trying to figure of what my
OS is telling me, but I have trouble with some of it.
First, how am I too understand the output of this command?
# ls -a perl
. .. 5.10 5.10.0
# man ls
(yes I manned it already)
Second, what is the difference between these two?
# ls -l perl
total 12
lrwxrwxrwx 1 root root 6 2009-12-13 18:06 5.10 -> 5.10.0
drwxr-xr-x 50 root root 12288 2010-10-08 23:11 5.10.0
--
John Smith
------------------------------
Date: Sat, 16 Oct 2010 16:33:00 -0600
From: John Smith <john@example.invalid>
Subject: Re: where to install cpan modules
Message-Id: <cNKdnQDyYJKBtSfRnZ2dnUVZ5vCdnZ2d@giganews.com>
Ben Morrow wrote:
> Quoth John Smith <john@example.invalid>:
>> Running install for module 'Inline::Python'
>
> Start with something simpler. Inline and Inline::Python are both deep
> magic.
I already started, Ben, so there's no turning the dial back there.
$ pwd
/home/ron/perl/local-lib-1.006007
$ perl Makefile.PL --bootstrap
Dispatching deprecated method 'CPAN::Config::load' to CPAN::HandleConfig
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- ExtUtils::MakeMaker ...loaded. (6.42 >= 6.31)
- ExtUtils::Install ...loaded. (1.44 >= 1.43)
- ExtUtils::CBuilder ...loaded. (0.21)
- ExtUtils::ParseXS ...loaded. (2.18_02)
- Module::Build ...loaded. (0.280801 >= 0.28)
- CPAN ...loaded. (1.9205 >= 1.82)
*** Module::AutoInstall configuration finished.
Writing Makefile for local::lib
$ make test && make install
cp lib/POD2/PT_BR/local/lib.pod blib/lib/POD2/PT_BR/local/lib.pod
cp lib/lib/core/only.pm blib/lib/lib/core/only.pm
cp lib/local/lib.pm blib/lib/local/lib.pm
cp lib/POD2/DE/local/lib.pod blib/lib/POD2/DE/local/lib.pod
PERL_DL_NONLAZY=1 /usr/bin/perl
-I/home/ron/perl5/lib/perl5/i486-linux-gnu-thread-multi
-I/home/ron/perl5/lib/perl5 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/classmethod.t
t/coderefs_in_inc.t t/de-dup.t t/install.t t/lib-core-only.t t/pipeline.t
t/classmethod........Name "File::Spec::rel2abs" used only once: possible
typo at t/classmethod.t line 20.
t/classmethod........ok 1/0Attempting to create directory t/var/splat
Attempting to create file t/var/splat/.modulebuildrc
t/classmethod........ok
t/coderefs_in_inc....Attempting to create file
/home/ron/perl/local-lib-1.006007/t/test_local_lib-vDG4q/.modulebuildrc
t/coderefs_in_inc....ok
t/de-dup.............Attempting to create file
/home/ron/perl/local-lib-1.006007/t/test_local_lib-wx9KH/.modulebuildrc
t/de-dup.............ok
t/install............skipped
all skipped: Install Capture::Tiny to test installation
t/lib-core-only......ok
t/pipeline...........ok
All tests successful, 1 test skipped.
Files=6, Tests=11, 0 wallclock secs ( 0.36 cusr + 0.06 csys = 0.42 CPU)
Manifying blib/man3/POD2::PT_BR::local::lib.3pm
Manifying blib/man3/lib::core::only.3pm
Manifying blib/man3/local::lib.3pm
Manifying blib/man3/POD2::DE::local::lib.3pm
Installing /home/ron/perl5/lib/perl5/lib/core/only.pm
Installing /home/ron/perl5/lib/perl5/POD2/PT_BR/local/lib.pod
Installing /home/ron/perl5/lib/perl5/POD2/DE/local/lib.pod
Installing /home/ron/perl5/lib/perl5/local/lib.pm
Installing /home/ron/perl5/man/man3/lib::core::only.3pm
Installing /home/ron/perl5/man/man3/local::lib.3pm
Installing /home/ron/perl5/man/man3/POD2::DE::local::lib.3pm
Installing /home/ron/perl5/man/man3/POD2::PT_BR::local::lib.3pm
Writing
/home/ron/perl5/lib/perl5/i486-linux-gnu-thread-multi/auto/local/lib/.packlist
Appending installation info to
/home/ron/perl5/lib/perl5/i486-linux-gnu-thread-multi/perllocal.pod
$ echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >>~/.bashrc
$
The way I read it, I was done here.
http://search.cpan.org/~getty/local-lib-1.006007/lib/local/lib.pm
What more must I do, because it fails 751 out of 752 tests every time?
------------------------------
Date: Sat, 16 Oct 2010 16:49:22 -0600
From: John Smith <john@example.invalid>
Subject: Re: where to install cpan modules
Message-Id: <t-idnYnompNvtifRnZ2dnUVZ5gidnZ2d@giganews.com>
Sherm Pendley wrote:
> John Smith <john@example.invalid> writes:
>
>> Could not find Python.h in include path. make will not work at
>> Makefile.PL line 44, <STDIN> line 4.
>
> Many Linux distros split things into separate -dev and sometimes -doc
> packages for development & documentation related files, respectively.
> So even though your system has enough of Python installed to run .py
> scripts, it may not have enough to compile C extensions for it. Use your
> package manager to see what package provides Python.h, and to make
> sure that package has been installed.
I think I made some good choices here, but I didn't succeed:
http://i53.tinypic.com/158850p.png
http://i55.tinypic.com/24zgd2f.png
http://i56.tinypic.com/f9f9mx.png
--
John Smith
------------------------------
Date: Sat, 16 Oct 2010 16:00:07 -0700
From: Jürgen Exner <jurgenex@hotmail.com>
Subject: Re: where to install cpan modules
Message-Id: <tgbkb6l9b50p0rokq3tlk0g5vq5l1th0p1@4ax.com>
Ben Morrow <ben@morrow.me.uk> wrote:
>[...] computer [...] are designed to make sense
Ohhhh, I know many many people who would strongly disagree with this
statement ;-)
jue
------------------------------
Date: Sat, 16 Oct 2010 17:15:28 -0600
From: John Smith <john@example.invalid>
Subject: Re: where to install cpan modules
Message-Id: <wYmdnbTBZpGNryfRnZ2dnUVZ5gidnZ2d@giganews.com>
Ben Morrow wrote:
> Quoth John Smith <john@example.invalid>:
>> Ben Morrow wrote:
>>> You have also taken the other-execute bit off. Do you know what that
>>> does?
>> Yeah, it causes the perl interpreter to be unable to find the meaning of
>> strict, which is the most fundamental of pragmata.
>
> I meant more generally. The execute bit on a directory means 'you can
> lookup files within this directory'. If you take the execute bit off all
> files under that directory become inaccessible.
Ok. I semi-understood that, already. The
ls -ald perl
command challenged my understanding here. I'm all but completely
unaware of what happens when the perl interpreter is invoked on linux.
On my previous operating system, it was a topic not worth pursuing.
> IMHO you keep making the same mistake: you go at something without any
> understanding of how it works, and blunder around doing random things
> until something appears to do what you wanted. This is not a sensible
> way to use a computer: they are designed to make sense, so if things
> aren't making sense you're using them wrong.
I disagree with your crystal ball output for my thought process, my
development ethic, and my history of being able to communicate very well
with computers.
As for me, I'm more hermetic; if I drill as a first, best guess, I
usually find metal. It only gets worse if I try to run away from this
tendency.
--
John Smith
------------------------------
Date: Sun, 17 Oct 2010 01:09:07 +0100
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: where to install cpan modules
Message-Id: <3erpo7-p2k2.ln1@osiris.mauzo.dyndns.org>
Quoth Jürgen Exner <jurgenex@hotmail.com>:
> Ben Morrow <ben@morrow.me.uk> wrote:
> >[...] computer [...] are designed to make sense
>
> Ohhhh, I know many many people who would strongly disagree with this
> statement ;-)
Me too, but such people should not attempt to become programmers :).
Ben
------------------------------
Date: Sun, 17 Oct 2010 01:15:40 +0100
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: where to install cpan modules
Message-Id: <cqrpo7-p2k2.ln1@osiris.mauzo.dyndns.org>
Quoth John Smith <john@example.invalid>:
> Ben Morrow wrote:
> > Quoth John Smith <john@example.invalid>:
> >> Running install for module 'Inline::Python'
> >
> > Start with something simpler. Inline and Inline::Python are both deep
> > magic.
>
> I already started, Ben, so there's no turning the dial back there.
>
> $ pwd
> /home/ron/perl/local-lib-1.006007
> $ perl Makefile.PL --bootstrap
<snip>
> Writing
> /home/ron/perl5/lib/perl5/i486-linux-gnu-thread-multi/auto/local/lib/.packlist
> Appending installation info to
> /home/ron/perl5/lib/perl5/i486-linux-gnu-thread-multi/perllocal.pod
> $ echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >>~/.bashrc
> $
>
> The way I read it, I was done here.
>
> http://search.cpan.org/~getty/local-lib-1.006007/lib/local/lib.pm
Yes. You should now have a successful installation of local::lib, and if
you try to install something straightforward (like, say, an upgrade of
Scalar::Util) it should go into your ~/perl5/lib directory.
> What more must I do, because it fails 751 out of 752 tests every time?
Given your other post, I presume you mean Inline::Python fails these
tests? I can't tell what's going wrong here without seeing the test
output from Inline::Python. Since the installation got as far as 'make
test', it sounds like you've installed all the right headers, but
something else important is going wrong.
Ben
------------------------------
Date: Sat, 16 Oct 2010 18:31:07 -0600
From: John Smith <john@example.invalid>
Subject: Re: where to install cpan modules
Message-Id: <l-qdnbwPwJxX3ifRnZ2dnUVZ5s2dnZ2d@giganews.com>
Jürgen Exner wrote:
> Ben Morrow <ben@morrow.me.uk> wrote:
>> [...] computer [...] are designed to make sense
>
> Ohhhh, I know many many people who would strongly disagree with this
> statement ;-)
Na, jue, I'm prettymuch just throwing up the rest of the garbage at the
rim now, in the interest of full disclosure:
http://i54.tinypic.com/vzcy89.png
http://i54.tinypic.com/ftp3o.png
Maybe I'm misunderstanding my own language:
http://www.youtube.com/watch?v=875bfgkCCGc
(Das hoert sich aber doll an. Was man am Radio bei uns normalaweise is
polishes my hamster.)
Vieleciht auch noch das aber:
http://www.youtube.com/watch?v=VqMTkJjeqbI
Tja.
--
John Smith
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
Back issues are available via anonymous ftp from
ftp://cil-www.oce.orst.edu/pub/perl/old-digests.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V11 Issue 3178
***************************************