delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/22/11:22:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_GF,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTinfO9ihI1pgewFGmpDgi6_2oeooms1LduHcgXm4@mail.gmail.com>
References: <AANLkTinfO9ihI1pgewFGmpDgi6_2oeooms1LduHcgXm4 AT mail DOT gmail DOT com>
Date: Thu, 22 Jul 2010 11:22:15 -0400
Message-ID: <AANLkTilf_99M0_oqdg6UMzO_lNWkRTxamuwiEjss81Gt@mail.gmail.com>
Subject: gettext util msgfmt error (javac: subprocess failed)
From: Arian <armyofda12mnkeys AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hey everyone,

I have a .po file I created and I wanted to translate that into a java
ResourceBundle properties file.
There is a util to do that via something like:
msgfmt --java2 -d . messages_fr_FR.po

But i got an error saying to set JAVAC or install gcj...

javac is in my java/bin PATH env variable, and in cygwin I can
standalone call javac fine... just seems like cygwin's msgfmt has
trouble calling it...

I read this tutorial http://xmlguru.cz/2006/10/saxon-gettext which is
only webpage i see related to my problem so i did as the steps said.
I created a wrapper javac.sh file like state and exported JAVAC in my
.bashrc ... I re-ran and got the following message:
msgfmt: /home/ahojat/bin/javac.sh subprocess failed

Not sure whats wrong, i tried pointing to my 1.5 and 1.6 jdk javac.

Anyone can help to get this function working?

Thanks!,
Arian

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019