David Newman wrote:
> On 8/3/08 4:24 PM, Martin Costabel wrote:
>> David Newman wrote:
>> []
>>> Creating fink... Creating fink-virtual-pkgs... Creating
>>> fink-instscripts... Creating fink-scanpackages... Creating
>>> pathsetup.sh... Creating FinkVersion.pm... Creating Fink.pm... Creating
>>> man pages... Can't locate Time/Local.pm in @INC (@INC contains:
>>> /sw/lib/perl5/5.8.8/darwin-thread-multi-2level /sw/lib/perl5/5.8.8
>>> /sw/lib/perl5/darwin-thread-multi-2level /sw/lib/perl5
>>> /sw/lib/perl5/darwin
>>> /System/Library/Perl/5.8.8/darwin-thread-multi-2level
>>> /System/Library/Perl/5.8.8
>> [etc]
>>
>> Don't you have the file /System/Library/Perl/5.8.8/Time/Local.pm?
>> Normally, this is installed by the Essentials.pkg from the system DVD.
> 
> No, it seems to be missing.
> 
> Sorry for the OT question, but how to reinstall it? Mr. Google is not 
> much help on restoring files from packages.

There exist utilities on the web for extracting files from packages, but
you can also do it on the command line. Like this, for example:

   mkdir ~/TMP
   cd ~/TMP
   xar -xf /path/to/Essentials.pkg
   ditto -x Payload ./

This extracts the whole content into the directory ~/TMP. You will then
find your file in a subdirectory of ~/TMP/System, and you can copy it
over to /System. If /path/to/Essentials.pkg contains spaces, don't
forget to escape them, like in
/Volumes/Mac\ OS\ X\ Install\ Disc\
1/System/Installation/Packages/Essentials.pkg
or enclose it in quotes.

Note that this package is BIG (2.6GB expanded), so the xar and ditto
commands above will take a minute or two.

You can also simply run

   sudo open /path/to/Essentials.pkg

or double-click it when you find it in the Finder. But this will only
let you install all of it, possibly overwriting updated things,
including "essential" parts of your system, by older versions. I
wouldn't recommend it.

Another possibility is to reinstall your system from the DVD, then
install the latest MacOSXUpdCombo10.5.4.dmg from Apple's download site
and finish by running SoftwareUpdate.

-- 
Martin


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to