About installing gettext on MAC OS X 10.5

Ryan Schmidt ryandesign at macports.org
Sun Apr 26 13:32:16 PDT 2009

On Apr 26, 2009, at 14:56, ShaoYuanzheng wrote:

> Hi there,?
> I try to install gettext on my MAC OS X 10.5 by MacPort.
> The following is the detailed message:
> -------------------------------------------------------------------
> g204:~ root# port install gettext
> ---> ?Fetching gettext
> ---> ?Verifying checksum(s) for gettext
> ---> ?Extracting gettext
> ---> ?Applying patches to gettext
> ---> ?Configuring gettext
> -------------------------------------------------------------------
> Then the install stop here...
> After I step into the following directory?
> /opt/local/var/macports/distfiles/gettext/gettext-0.17
> Then I run the ./configure
> The install stop here:?
> checking for Java compiler...?
> So I think I found the porblem, that is the installation try to use  
> GCJ to compile the gettext, right? But I really do not know how to  
> resolve this problem.
> Can you help me?

Hello. I'm not sure if I can help. I suggest we continue this  
discussion on macports-users, which I have Cc'd on this message, so  
that others can also see the discussion and add their input. You  
should subscribe so you can follow the discussion there, and use  
Reply All when you reply.

I was not aware that gettext made use of gcj, but apparently it does.  
 From the DEPENDENCIES document:

* A Java runtime and compiler (e.g. GNU gcj or kaffe).
   + Recommended.
     Needed for building libintl.jar.  Also needed for 'msgfmt' and
     'msgunfmt', so that they can handle Java classes and properties  

Note it says recommended, not required. I do not have "gcj" or  
"kaffe" on my system. Yet, libintl.jar appears to have been built. I  
do not know how.

Do you have "gcj" or "kaffe" on your system? If so, where are they,  
and where did they come from?

What version of Mac OS X and Xcode do you have, on what computer?

More information about the macports-users mailing list