develooper Front page | perl.macosx | Postings from November 2005

Re: Can't install DBI for Apple Perl or build own Perl

Thread Previous | Thread Next
From:
Sherm Pendley
Date:
November 30, 2005 17:12
Subject:
Re: Can't install DBI for Apple Perl or build own Perl
Message ID:
E65A3A18-BC48-49B5-A30C-95855A836642@dot-app.org
On Nov 30, 2005, at 5:57 PM, James Harvard wrote:

> Attempting to either install DBI (using cpan or running make etc  
> myself) or build my own copy of Perl from source (when running  
> Configure) I get an error from the ld tool.
>
> I've applied the "env MACOSX_DEPLOYMENT_TARGET=10.3" patch to / 
> System/Library/Perl/5.8.1/darwin-thread-multi-2level/Config.pm ,  
> which seemed to fix the DBI installation problem for many people.
>
> Mac OS 10.3.9, with Apple's developer tools installed (default  
> installation - assume I don't need the other stuff).

The full explanation can be found in the archives:

	<http://www.mail-archive.com/macosx@perl.org/msg07563.html>

In a nutshell, some files may be missing if you do a "clean" install  
of Panther & its bundled developer tools. There a variety of upgrade  
paths that can result in these files still being present from an  
older install, so the problem doesn't bite everyone.

The solution is to go to Apple's developer site <http:// 
developer.apple.com> and download the latest Panther Xcode package.

> To install from source I was following the instructions at http:// 
> developer.apple.com/internet/opensource/perl.html

Those instructions are *way* outdated, and not very useful even for  
Jaguar. Simply following the standard build instructions and  
accepting all of the defaults is the best way to a trouble-free install.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About