RobinV has asked for the wisdom of the Perl Monks concerning the following question:
Hello All, I am learning perl now and thus far I like it. Though I noticed that cpan is not as pretty as I thought it was..
I noticed that cpan tries to compile a package doing make, make install and thus need root privs. Though, I run cpan in User all the time and thus can't build. After looking around, I found out that most people use sudo. But since of security reasons I don't want to use sudo (I wrote a sudoWorm to demostrade the dangers of sudo and thus I would be a bit of a Hypocrite to use sudo myself heh)
Anyway isn't there a way to run su -c "make install" instead? I don't mind I have to enter my root passwd for the install of a Module. I tried to run cpan as root. But that didnt really work nice either. Since I got quite a lot of rubbish. I have to configure it all the time every time I want to use it..
Oh and I build some packages myself with just going to the Folder and do make install myself. But I forgot to do the Deps. and now I am stuck with a package that doesnt work not wants to resolve it deps for me.. Any tips for me? Thanks!
But besides this big annoyance Perl give me a lot of spare time. Everything I used to do in C or ASM that took me like 20 Minutes take 2 Minutes now :) Thanks Perl ^^
Found it thanks !
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Cpan Question
by moritz (Cardinal) on Feb 08, 2009 at 21:33 UTC | |
|
Re: Perl Cpan Question
by Anonymous Monk on Feb 08, 2009 at 21:54 UTC | |
|
Re: Perl Cpan Question
by Anonymous Monk on Feb 08, 2009 at 21:56 UTC | |
|
Re: Perl Cpan Question
by locked_user sundialsvc4 (Abbot) on Feb 09, 2009 at 06:23 UTC | |
|
Re: Perl Cpan Question
by missingthepoint (Friar) on Feb 09, 2009 at 03:30 UTC | |
|
Re: Perl Cpan Question
by tinita (Parson) on Feb 09, 2009 at 13:56 UTC | |
|
Re: Perl Cpan Question
by leocharre (Priest) on Feb 09, 2009 at 13:55 UTC |