Gentoo Archives: gentoo-dev

From: Rene Zbinden <rene.zbinden@××××××.ch>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] where to put *.pm files
Date: Wed, 25 May 2005 15:33:02
Message-Id: 200505251732.54180.rene.zbinden@solnet.ch
In Reply to: Re: [gentoo-dev] where to put *.pm files by Michael Cummings
1 Yes the program looks in @INC for the modules and no the name of the program
2 is not mainprog.pl. How can I put the two modules in the @INC the gentoo way.
3 I saw that there is a perl eclass, but I am not sure how to use it correctly.
4 I will file a Bug when the program works. Or should I already file a bug?
5
6 Until now I have submitted several ebuilds and patches but none made it into
7 the portage tree....
8
9 On Wednesday 25 May 2005 11:12, Michael Cummings wrote:
10 > Well, first off, how does the program look for the perl modules? If it
11 > isn't suggesting that you place them in your @INC, then it is most likely
12 > loading them directly. So it all depends on how the main script (please
13 > tell me it isn't really called mainprog.pl) tries to load those modules as
14 > to the best place to put them.
15 >
16 > /me waits for the bug report for this one
17 >
18 > On Wednesday 25 May 2005 02:06 am, Rene Zbinden wrote:
19 > > Hi
20 > >
21 > > I am writing a new ebuild. The program contains a perlscript
22 > > (mainprog.pl) which needs two perl modules like (module1.pm module2.pm)
23 > >
24 > > I will put mainprog.pl in /usr/bin but where do I put the two modules.
25 > > Shall I put them in /usr/share/programename and put that to the perl
26 > > path?
27 > >
28 > > --
29 > > cheers,
30 > > reen
31
32 --
33 cheers,
34 reen
35 --
36 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] where to put *.pm files Michael Cummings <mcummings@g.o>