Thanks Dave!
With your hint, I found the solution. It seems to be apple's fault as someone said.
Here is what I did.
First, I verified that the developer tools are installed by replacing ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc'
with
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc' in file "/System/Library/Perl/5.8.1/darwin-thread-multi-2level/Config.pm".
Second, I run
sudo ln -s /Developer/SDKs/MacOSX10.3.0.sdk/usr/lib/bundle1.o /usr/lib
This will create a symbolic link between where apple has installed that file and where they were supposed to install the file. Presumably the MACOS_DEPLOYMENT_TARGET environment variable was supposed to address that, but actually it hasn't.
Then I began to install the SWISH::stemmer perl module and got no error. After the stemmer module was installed successfully. The error "Can't locate loadable object for module SWISH::Stemmer in @INC" is gone.
Thanks again!
Huamin(Michael)
---- Original message ----
>Date: Fri, 12 Jan 2007 23:41:38 -0800 (PST)
>From: David L Norris <dave@webaugur.com>
>Subject: [SWISH-E] Re: Need help on installing SWISH::Stemmer perl
>To: Multiple recipients of list <swish-e@sunsite3.berkeley.edu>
>
>On Fri, 2007-01-12 at 20:09 -0800, hyuan3@uiuc.edu wrote:
>> I have spent several days on finding the cause of the error but got nothing. I am going mad with it. Does anybody can help me on this?
>
>Is this maybe a PowerPC Mac (OS X Panther or so)? If so, your problem
>might be with Apple Xcode not properly installing bundle1.o. This seems
>to be a very common problem looking around Google. You might try
>reinstalling DevSDK and all the other development tools. You might
>want/need to grab a newer version of Xcode (1.5 or newer?) from
>connect.apple.com.
>
>--
> David L Norris
> http://webaugur.com/
> ICQ - 412039
>
Received on Sat Jan 13 10:46:35 2007