Compile the IPC::ShareLite module
Feb 19, '04 10:39:00AM
Contributed by: crogman
I was able to compile IPC::ShareLite version 0.09 by doing this. Hopefully, the module's author fixes the problem (see Note 2) in the next version. Here are the steps to get it working:
- Open Disk Utility, found in Applications > Utilities. You will need to use Disk Copy if you don't have OS 10.3.
- Create a new disk image by clicking the "New Image" button; name it sharelite.
- The new image will appear in the Disk Utility window. You should see "sharelite.dmg" with the mounted "sharelite" disk below it. Click on the "sharelite" disk.
- In the right pane, click on the "Erase" lozenge and choose "UNIX File System" next to "Volume Format"
- IMPORTANT!! Verify that you are erasing "sharelite" and not your hard drive!
- Click "Erase"
- Go to http://www.cpan.org/modules/by-module/IPC/ and download the most recent version of IPC-ShareLite-*.tar.gz -- it was IPC-ShareLite-0.09.tar.gz when I wrote this.)
- Move the gz file to the mounted "sharelite" disk
- In Terminal:
% cd /Volumes/sharelite
% tar -xzvf IPC-ShareLite-0.09.tar.gz
% cd IPC-ShareLite-0.09
% perl Makefile.PL # just use the defaults for all questions
% make
% make test
% sudo make install
- You're done! Eject the mounted image and either save the DMG file or trash it.
Note 1: You should try installing the module via cpan before doing this since it may be updated.
Note 2: The problem is that the author used files with the names "ShareLite.c" and "sharelite.c" -- something that the HFS disk format cannot handle.
Comments (1)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20040211223313379