Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / January 2005



Tip: Looking for answers? Try searching our database.

Undoing/Fixing an installation of CPAN on Mac OS X 10.2.6

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Josef Herz - 10 Jan 2005 22:26 GMT
Greeting -

I attempted to access CPAN using Terminal (OS 10.2.6) by entering :
perl -MCPAN -e shell

During the long q/a for the installation - I apparently answered one of
the questions incorrectly by answering "yes" - NOW - attempting to
install modules FAILS because it is looking for a "yes" directory that
it can NOT find.

Any suggestions as to how I can reset CPAN - so I can try to go thru
the install process - or WHERE I would need to create a YES directory
to make the installation work?

I am trying to download MySQL components - Bundle::libnet, DBI and
DBD:mysql

Thank you in advance.

Josef
~~~~~~~~~~~~~~~~~~~~
~~Josef A. Herz

It is NOT necessary to change. Survival is NOT mandatory.
--W. Edwards Deming
Sherm Pendley - 10 Jan 2005 22:39 GMT
> I attempted to access CPAN using Terminal (OS 10.2.6) by entering :
> perl -MCPAN -e shell
[quoted text clipped - 5 lines]
>
> Any suggestions as to how I can reset CPAN

Start the CPAN shell and enter:

    o conf init

That will repeat the question & answer session. Pay attention this time
- nuff said about that.

Once you're done, enter:

    o conf commit

> I am trying to download MySQL components - Bundle::libnet, DBI and
> DBD:mysql

Be aware that DBD::mysql needs some additional hand-holding for its
tests to pass, in the form of arguments that need to be supplied to
"Makefile.PL". Have a look in the list archives if you haven't done so
already.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Ken Williams - 11 Jan 2005 00:05 GMT
> Start the CPAN shell and enter:
>
[quoted text clipped - 6 lines]
>
>     o conf commit

Or, you can just do

    o conf

and look at which value you messed up, then do

    o conf foo bar

where 'foo' is the key you messed up on, and 'bar' is the value you
should have entered.  Then

    o conf commit

will make sure your fix persists for your next CPAN session.

 -Ken
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.