[porting-issues] [Issue 57565] New - qadevOOo gcj build fails: jar command not found

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[porting-issues] [Issue 57565] New - qadevOOo gcj build fails: jar command not found

To comment on the following update, log in, then open the issue:
                  Issue #:|57565
                  Summary:|qadevOOo gcj build fails: jar command not found
        Status whiteboard:|
               Issue type:|DEFECT
              Assigned to:|mh
              Reported by:|sparcmoz

------- Additional comments from [hidden email] Wed Nov  9 03:08:38 -0800 2005 -------
Building with gcj on linux sparc, there is no jar command but gcc provides
command fastjar. There is need for an environment variable like $JAR which in my
case would be set to /usr/local/bin/fastjar. Something similar is already done

jar cfm ../unxlngs.pro/class/OOoRunnerLight.jar manifest -C ../unxlngs.pro/class
util -C ../unxlngs.pro/class share -C ../unxlngs.pro/class stats -C
../unxlngs.pro/class lib -C ../unxlngs.pro/class complexlib -C
../unxlngs.pro/class helper -C ../unxlngs.pro/class basicrunner -C
../unxlngs.pro/class base -C ../unxlngs.pro/class org/openoffice -C
../unxlngs.pro/class convwatch
jar: Command not found.
dmake:  Error code 1, while making 'LIGHT'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /home/jim/ooo680/qadevOOo/runner

This works for me:
export JAR=/usr/local/bin/fastjar
and patch runner/makefile.mk as attached

-    +jar cfm $(CLASSDIR)$/$(TARGET).jar manifest -C $(PRJ) objdsc
+    +$(JAR) cfm $(CLASSDIR)$/$(TARGET).jar manifest -C $(PRJ) objdsc

Also need something in configure to set the JAR environemnt variable.

Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]