I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  • kytv's avatar
    c97f0f3d
    OpenBSD compilation fix: set JAVAC in bundle targets if javac not found and... · c97f0f3d
    kytv authored
    OpenBSD compilation fix: set JAVAC in bundle targets if javac not found and require.gettext is set to true
    
    This solves the following problem which was found on OpenBSD:
    
    bundle:
         [exec] Generating net.i2p.desktopgui.messages_ar ResourceBundle...
         [exec] ERROR - msgfmt failed on locale/messages_ar.po, not updating translations
         [exec] msgfmt: Java compiler not found, try installing gcj or set $JAVAC
         [exec] msgfmt: compilation of Java class failed, please try --verbose or set $JAVAC
         [exec] 9 translated messages.
    
    
    In OpenBSD 5.4, neither java nor javac are in the PATH.
    c97f0f3d
    History
    OpenBSD compilation fix: set JAVAC in bundle targets if javac not found and...
    kytv authored
    OpenBSD compilation fix: set JAVAC in bundle targets if javac not found and require.gettext is set to true
    
    This solves the following problem which was found on OpenBSD:
    
    bundle:
         [exec] Generating net.i2p.desktopgui.messages_ar ResourceBundle...
         [exec] ERROR - msgfmt failed on locale/messages_ar.po, not updating translations
         [exec] msgfmt: Java compiler not found, try installing gcj or set $JAVAC
         [exec] msgfmt: compilation of Java class failed, please try --verbose or set $JAVAC
         [exec] 9 translated messages.
    
    
    In OpenBSD 5.4, neither java nor javac are in the PATH.