Thank you Janek! In fact, I can't write to any folders except my own. The admin won't do it for me. So, I changed the Makefile. I changed: INSTALLPRIVLIB INSTALLARCHLIB INSTALLSITELIB INSTALLSITEARCH INSTALLBIN INSTALLSCRIPT INSTALLMAN1DIR INSTALLMAN3DIR
After I changed all those folders, I can install the Heap module succssfully. But when I use it by: use Heap "/mz/hd/liuyi/local/Heap-0.50" It said: Can't locate Heap/Fibonacci.pm in @INC (@INC contains: /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .) at Heap.pm line 24. BEGIN failed--compilation aborted at Heap.pm line 24. BEGIN failed--compilation aborted at t.pl line 3. So, how to change the @INC or let Perl know the position? Thank you very much! Ying On Tue, 3 Jun 2003, Janek Schleicher wrote: > Ying Liu wrote at Fri, 30 May 2003 10:48:06 -0500: > > > When I install Heap module, I don't have the superuser permission and set > > the install location by run: > > %perl Makefile.PL PREFIX=/mz/hd/liuyi/local/Heap-0.50 > > %make > > %make test > > > > The above three commands run OK, but after I run '%make install', it told > > me: > > Warning: You do not have permissions to install into > > /usr/perl5/site_perl/5.005/sun4-solaris at > > /usr/perl5/5.00503/ExtUtils/Install.pm line 61. > > mkdir /usr/perl5/5.00503/man: Permission denied at > > /usr/perl5/5.00503/ExtUtils/Install.pm line 57 > > make: *** [pure_site_install] Error 2 > > > > Is there someone can help me? What's the matter at the last step? > > Your admin. > > You need usually root privileges to write to that directories. > > > Greetings, > Janek > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
