Yes the program looks in @INC for the modules and no the name of the program 
is not mainprog.pl. How can I put the two modules in the @INC the gentoo way. 
I saw that there is a perl eclass, but I am not sure how to use it correctly.
I will file a Bug when the program works. Or should I already file a bug?

Until now I have submitted several ebuilds and patches but none made it into 
the portage tree....

On Wednesday 25 May 2005 11:12, Michael Cummings wrote:
> Well, first off, how does the program look for the perl modules? If it
> isn't suggesting that you place them in your @INC, then it is most likely
> loading them directly. So it all depends on how the main script (please
> tell me it isn't really called mainprog.pl) tries to load those modules as
> to the best place to put them.
>
> /me waits for the bug report for this one
>
> On Wednesday 25 May 2005 02:06 am, Rene Zbinden wrote:
> > Hi
> >
> > I am writing a new ebuild. The program contains a perlscript
> > (mainprog.pl) which needs two perl modules like (module1.pm module2.pm)
> >
> > I will put mainprog.pl in /usr/bin but where do I put the two modules.
> > Shall I put them in /usr/share/programename and put that to the perl
> > path?
> >
> > --
> > cheers,
> > reen

-- 
cheers,
reen
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to