X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <6910a60807140701l4647d840k914faa8a58f909b5@mail.gmail.com> Date: Mon, 14 Jul 2008 16:01:48 +0200 From: "Reini Urban" To: cygwin AT cygwin DOT com Subject: Re: installing DBI from cpan and getting this... In-Reply-To: <4879A52F.5050509@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48799A1C DOT 8070705 AT gmail DOT com> <4879A52F DOT 5050509 AT users DOT sourceforge DOT net> X-Google-Sender-Auth: 68d0afb514333fe2 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 2008/7/13 Yaakov (Cygwin Ports): > thefinn wrote: > | what the hell is it trying to do to /usr/bin anyhow? should it not just > | install into /usr/lib/perl/site/blah ??? > > Some perl modules install scripts into /usr/bin. In this case, perl-DBI > installs dbilogstrip, dbiprof, and dbiproxy. BTW: I'm just considering switching from /usr/bin/ to sitebin='/usr/local/bin' sitescript='/usr/local/bin' For now I'm testing it with -Dusedevel configurations, but the maint 5.10.0.-6 package could use it as well. What do you think? cpan bin's and scripts would then go into /usr/local/bin/ > | Is there not a package I can install for this apart from compiling the > | cpan one? > > You could use cygport, or get the package from Cygwin Ports. But the > simplest thing to do would be to fix your permissions on /usr/bin, > providing that you have the right to do so. Indeed, using cpan is the simpliest solution. If you have no /usr/bin/ write permissions you have to use a private prefix in your ~/.cpan/CPAN/MyConfig.pm: 'makepl_arg' => q[PREFIX=/home//perl] And add /home//perl/lib to your PERL5LIB environment and /home//perl/bin to your path. If you don't have a ~/.cpan/CPAN/MyConfig.pm, you can create it with perl -MCPAN -e'mkmyconfig' Answer the first question with 'no' and use PREFIX=~/perl at All these are basic perl questions and not related to cygwin. -- Reini Urban -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/