Hi matus,
When issuing *make accessibility.all* command, it actually building the
whole source code. Right now I come to build 46 of 62, module ridljar, and
the build was stop on this build. From the stack trace I see this
*javac: invalid source release: 1.7*
I am currently using JAVA version 1.7 in my machine. It seems that JAVA 1.7
doesn't fit well. May I know which JAVA version should I use for the build?
And is there a possibility that to set the specific JAVA version for the
build without downgrading the system's JAVA version?
*Here is the full stack trace*
=============
(46/62) Building module ridljar
=============
Entering /home/kokhoe/workspace/LibreOffice/core/offapi/prj
gbuild module /home/kokhoe/workspace/LibreOffice/core/offapi: make -f
Makefile -j1 -rs all slowcheck gb_PARTIALBUILD=T
Entering /home/kokhoe/workspace/LibreOffice/core/ridljar/prj
gbuild module /home/kokhoe/workspace/LibreOffice/core/ridljar: make -f
Makefile -j1 -rs all slowcheck gb_PARTIALBUILD=T
[build JVM] CustomTarget/ridljar/javamaker/done
[build CUS] ridljar/javamaker
[build JCS] Jar/ridl
javac: invalid source release: 1.7
Usage: javac <options> <source files>
use -help for a list of possible options
make[2]: *** [/home/kokhoe/workspace/LibreOffice/core/workdir/
unxlngx6.pro/JavaClassSet/Jar/ridl/done] Error 2
[build DEP] IDL:offapi
[build IDL] offapi/com/sun/star/animations/idl
make[2]: *** No rule to make target
`/home/kokhoe/workspace/LibreOffice/core/offapi/com/sun/star/auth/SSOExceptions.idl',
needed by `/home/kokhoe/workspace/LibreOffice/core/workdir/
unxlngx6.pro/UnoApiPartTarget/offapi/com/sun/star/auth/SSOManagerFactory.urd'.
Stop.
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 512 occurred while making
/home/kokhoe/workspace/LibreOffice/core/offapi/prj
ERROR: error 512 occurred while making
/home/kokhoe/workspace/LibreOffice/core/ridljar/prj
ERROR: error 512 occurred while making
/home/kokhoe/workspace/LibreOffice/core/l10ntools/prj
ERROR: error 65280 occurred while making
/home/kokhoe/workspace/LibreOffice/core/tomcat
it seems you are using a threaded build, which means that the
actual compile error is probably hidden far above, and could be
inside any of these other modules:
l10ntools ridljar offapi
please re-run build inside each one to isolate the problem.
build_error.log should contain the captured output of the failed module(s)
-----------------------------------------------------------------------
To rebuild a specific module:
make tomcat.clean # optional
make tomcat
when the problem is isolated and fixed, re-run 'make'
make[1]: *** [accessibility.all] Error 1
make[1]: Leaving directory `/home/kokhoe/workspace/LibreOffice/core'
make: *** [accessibility.all] Error 2
THanks @!
On Wed, Sep 19, 2012 at 10:08 PM, Matúš Kukan <matus.kukan@gmail.com> wrote:
On 19 September 2012 16:01, LOH KOK HOE <huahsin68@gmail.com> wrote:
I am trying to compile accessibility module by using following command
make accessibility
If you didn't run full make before or somehow you have removed files,
you need to run
make accessibility.all
HTH,
Matus
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.