Click here to get back home

Customizing include path with CPAN install

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Customizing include path with CPAN install Alain 11-22-2004
Posted by Alain on November 22, 2004, 9:46 am
Please log in for more thread options
Hi,

I'm trying to install some module using the install command in CPAN.
The module requires some external .h file which I just added to a new
directory (/usr/local2/include). However I can't find any
documentation on how to get the make program to look in this directory
as well as the default /usr/local/include. Anyone knows where perl
looks for this information, and how to modify it?

Thanks,

Alain


Posted by Jim Keenan on November 23, 2004, 4:28 am
Please log in for more thread options
Alain wrote:

> Hi,
>
> I'm trying to install some module using the install command in CPAN.

I take it you mean the CPAN shell ... which is used to install modules
from CPAN.

> The module requires some external .h file

Which module? Modules uploaded to CPAN which require C-code usually
have that as part of their distribution. *You*, the user shouldn't have
to install anything separate from the distribution ... unless the
distribution itself is defective (which would probably be revealed by
test failures at testers.cpan.org) ... or unless you're using the shell
to install from someplace other than CPAN.

I have installed many modules from CPAN via the shell and manually ...
but have never had to separately install any C-header files. So I don't
understand why you have to do so in this instance. Can you elaborate?

Jim Keenan


Similar ThreadsPosted
Install Picks Wrong Dir for Include Files February 17, 2005, 8:13 pm
proper way to include constants; as module or include file? October 24, 2004, 10:50 pm
only want to install one module and the depended ones, but CPAN always install the whole Perl. September 14, 2007, 5:23 pm
Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails May 10, 2005, 9:51 pm
Use CPAN or CPAN::Shell for LOCAL ONLY install from tarballs? May 9, 2008, 1:04 pm
install whole CPAN ? April 19, 2006, 10:39 am
CPAN install issues February 21, 2007, 6:48 pm
XML::Parser CPAN install error with Expat.o October 1, 2004, 4:36 pm
XML::Parser CPAN install error with Expat.o October 1, 2004, 4:36 pm
install Bundle::CPAN in Cygwin failed October 17, 2004, 9:09 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap