Re: Configure error on Mac
Kay Schenk: Thank you for helping and I`ve just succeeded to configure. I just simply added the line --with-jdk-home=/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home \ and the configuration passed. It seems the environment variable JAVA_HOME not work for this. Additional: I used to report 2 bugs 1. https://bz.apache.org/ooo/show_bug.cgi?id=125449 2. https://bz.apache.org/ooo/show_bug.cgi?id=125908 And I've succeeded to fix bug 1 using Windows, And now, I attempting to work with bug 2, But I have no experience of developing on Mac using xcode etc. So, could you give me some advise about the bug, or developing with Mac. 2015-06-09 1:30 GMT+09:00 Kay Schenk kay.sch...@gmail.com: On 06/08/2015 12:17 AM, aronsoyol wrote: My directory setup for ant seems kind of different from yours. My setup for 1.9.2 is more like some directory/ant directory/bin/ant This seems like the executable file's path of ant, but Is that we should set the path to the home folder? I need to get back to you on this. I need to see if versions of ant 1.9.2 have the executable piece in something other than /bin from the top level of the ant directory. That would cause a problem in the config file. See my previous comment on structure. ...more below for java info This is the config.log's information. configure:22378: checking for ant configure:22397: found /Users/aron/dev/apache-ant-1.9.4/bin/ant configure:22409: result: /Users/aron/dev/apache-ant-1.9.4/bin/ant configure:22444: checking if /Users/aron/dev/apache-ant-1.9.4/bin/ant works configure:22469: /Users/aron/dev/apache-ant-1.9.4/bin/ant -buildfile conftest.xml 12 Error: JAVA_HOME is not defined correctly. We cannot execute /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java configure:22472: $? = 1 configure: Ant test failed public class conftest { int testmethod(int a, int b) { return a + b; } } project name=conftest default=conftest target name=conftest javac srcdir=. includes=conftest.java /javac /target /project configure:22489: WARNING: Ant does not work - Some Java projects will not build! configure:22543: checking whether ant is = 1.7.0 configure: ant_version not /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java configure: ant_version_major not /System/Library/Frameworks/JavaVM configure: ant_version_minor framework/Versions/CurrentJDK/Home/bin/java configure:22558: error: no, you need at least ant = 1.7.0 The log file shows that the setting of JAVA_HOME is wrong but I've certainly setuped JAVA_HOME like aron-mac-almas:1.9.4 aron$ echo $JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home JAVA_HOME is a very particular environment variable that needs to be set to the top of a jdk, not just a jre location but a jdk location. There are many explanations of this you can research. This said, I do see this page: http://www.mkyong.com/java/how-to-set-java_home-environment-variable-on-mac-os-x/ for Mac OSX systems which is what you seem to have. Honestly, without seeing the actual structure of this area, I couldn't tell you if it was correct or not. See also: http://tech-read.com/2014/03/07/how-to-set-the-java_home-variable-in-mac-os-x-maverick/ It seems finding and setting correct JAVA_HOME is a bit more challenging than what I'm used to. Regards 2015-06-08 6:22 GMT+09:00 Kay Schenk kay.sch...@gmail.com: On 06/05/2015 03:41 PM, aronsoyol wrote: Thanks Kay Schenk. But I've certianly specified ant's home --with-ant-home=/usr/local/Cellar/ant/1.9.4 but the error still there Is there any miss in my configure Or environment settings? What is the information in your config.log starting with checking for ant? Here you should see some lines for -- found your ant home result: should be the same as ant home You've already sent the last line checking if your ant home works My directory setup for ant seems kind of different from yours. My setup for 1.9.2 is more like some directory/ant directory/bin/ant for my executable without the intervening libexec Let us know about the messages and we'll investigate further. 2015/06/06 1:00 Kay Schenk kay.sch...@gmail.com: On 06/04/2015 08:02 PM, aronsoyol wrote: The Source code is cloned from github and the head is on commit ea4c3e19069b2746928af62788be6a65e07c03e9 Author: Kay Schenk ksch...@apache.org Date: Wed Jun 3 22:53:11 2015 + #i126281# Remove HWP as an option to Writer open menu. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1683442 13f79535-47bb-0310-9956-ffa450edef68 2015-06-05 11:56 GMT+09:00 aronsoyol aronso...@gmail.com: Hi I want to build OpenOffice on Mac, But I encountered this
Re: Configure error on Mac
My directory setup for ant seems kind of different from yours. My setup for 1.9.2 is more like some directory/ant directory/bin/ant This seems like the executable file's path of ant, but Is that we should set the path to the home folder? This is the config.log's information. configure:22378: checking for ant configure:22397: found /Users/aron/dev/apache-ant-1.9.4/bin/ant configure:22409: result: /Users/aron/dev/apache-ant-1.9.4/bin/ant configure:22444: checking if /Users/aron/dev/apache-ant-1.9.4/bin/ant works configure:22469: /Users/aron/dev/apache-ant-1.9.4/bin/ant -buildfile conftest.xml 12 Error: JAVA_HOME is not defined correctly. We cannot execute /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java configure:22472: $? = 1 configure: Ant test failed public class conftest { int testmethod(int a, int b) { return a + b; } } project name=conftest default=conftest target name=conftest javac srcdir=. includes=conftest.java /javac /target /project configure:22489: WARNING: Ant does not work - Some Java projects will not build! configure:22543: checking whether ant is = 1.7.0 configure: ant_version not /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java configure: ant_version_major not /System/Library/Frameworks/JavaVM configure: ant_version_minor framework/Versions/CurrentJDK/Home/bin/java configure:22558: error: no, you need at least ant = 1.7.0 The log file shows that the setting of JAVA_HOME is wrong but I've certainly setuped JAVA_HOME like aron-mac-almas:1.9.4 aron$ echo $JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home Regards 2015-06-08 6:22 GMT+09:00 Kay Schenk kay.sch...@gmail.com: On 06/05/2015 03:41 PM, aronsoyol wrote: Thanks Kay Schenk. But I've certianly specified ant's home --with-ant-home=/usr/local/Cellar/ant/1.9.4 but the error still there Is there any miss in my configure Or environment settings? What is the information in your config.log starting with checking for ant? Here you should see some lines for -- found your ant home result: should be the same as ant home You've already sent the last line checking if your ant home works My directory setup for ant seems kind of different from yours. My setup for 1.9.2 is more like some directory/ant directory/bin/ant for my executable without the intervening libexec Let us know about the messages and we'll investigate further. 2015/06/06 1:00 Kay Schenk kay.sch...@gmail.com: On 06/04/2015 08:02 PM, aronsoyol wrote: The Source code is cloned from github and the head is on commit ea4c3e19069b2746928af62788be6a65e07c03e9 Author: Kay Schenk ksch...@apache.org Date: Wed Jun 3 22:53:11 2015 + #i126281# Remove HWP as an option to Writer open menu. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1683442 13f79535-47bb-0310-9956-ffa450edef68 2015-06-05 11:56 GMT+09:00 aronsoyol aronso...@gmail.com: Hi I want to build OpenOffice on Mac, But I encountered this error checking if /usr/local/Cellar/ant/1.9.4/libexec/bin/ant works... configure: WARNING: Ant does not work - Some Java projects will not build! checking whether ant is = 1.7.0... ./configure: line 22551: test: not /System/Library/Frameworks/JavaVM: integer expression expected configure: error: no, you need at least ant = 1.7.0 My system is Mac 10.10.3. and I've installed ANT 1.9.4. and JDK. The complete output is shown in below. Best regards. HI. I'm fairly certain the recent commit to the Writer filters does not have anything to do with your configure error. In the past, I have also gotten the ant error you sent. This was due to an incomplete package of ant without the needed testing setup bits. I'm using 1.9.2 downloaded from http://ant.apache.org/bindownload.cgi You can also try running configure again and specifying your ant location -- --with-ant-home=[path to your complete ant setup, not just binary] aron-mac-almas:main aron$ ./configure --with-dmake-url= http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 --with-epm-url= http://www.msweet.org/files/project2/epm-3.7-source.tar.gz --disable-build-mozilla --without-stlport --enable-verbose --enable-category-b--enable-wiki-publisher --with-ant-home=/usr/local/Cellar/ant/1.9.4 configure: WARNING: unrecognized options: --disable-build-mozilla checking whether configure is up-to-date... yes * * * Apache OpenOffice build configuration. * * * * The configure process checks your platform to see whether * * you can build
Re: Configure error on Mac
On 06/08/2015 12:17 AM, aronsoyol wrote: My directory setup for ant seems kind of different from yours. My setup for 1.9.2 is more like some directory/ant directory/bin/ant This seems like the executable file's path of ant, but Is that we should set the path to the home folder? I need to get back to you on this. I need to see if versions of ant 1.9.2 have the executable piece in something other than /bin from the top level of the ant directory. That would cause a problem in the config file. See my previous comment on structure. ...more below for java info This is the config.log's information. configure:22378: checking for ant configure:22397: found /Users/aron/dev/apache-ant-1.9.4/bin/ant configure:22409: result: /Users/aron/dev/apache-ant-1.9.4/bin/ant configure:22444: checking if /Users/aron/dev/apache-ant-1.9.4/bin/ant works configure:22469: /Users/aron/dev/apache-ant-1.9.4/bin/ant -buildfile conftest.xml 12 Error: JAVA_HOME is not defined correctly. We cannot execute /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java configure:22472: $? = 1 configure: Ant test failed public class conftest { int testmethod(int a, int b) { return a + b; } } project name=conftest default=conftest target name=conftest javac srcdir=. includes=conftest.java /javac /target /project configure:22489: WARNING: Ant does not work - Some Java projects will not build! configure:22543: checking whether ant is = 1.7.0 configure: ant_version not /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java configure: ant_version_major not /System/Library/Frameworks/JavaVM configure: ant_version_minor framework/Versions/CurrentJDK/Home/bin/java configure:22558: error: no, you need at least ant = 1.7.0 The log file shows that the setting of JAVA_HOME is wrong but I've certainly setuped JAVA_HOME like aron-mac-almas:1.9.4 aron$ echo $JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home JAVA_HOME is a very particular environment variable that needs to be set to the top of a jdk, not just a jre location but a jdk location. There are many explanations of this you can research. This said, I do see this page: http://www.mkyong.com/java/how-to-set-java_home-environment-variable-on-mac-os-x/ for Mac OSX systems which is what you seem to have. Honestly, without seeing the actual structure of this area, I couldn't tell you if it was correct or not. See also: http://tech-read.com/2014/03/07/how-to-set-the-java_home-variable-in-mac-os-x-maverick/ It seems finding and setting correct JAVA_HOME is a bit more challenging than what I'm used to. Regards 2015-06-08 6:22 GMT+09:00 Kay Schenk kay.sch...@gmail.com: On 06/05/2015 03:41 PM, aronsoyol wrote: Thanks Kay Schenk. But I've certianly specified ant's home --with-ant-home=/usr/local/Cellar/ant/1.9.4 but the error still there Is there any miss in my configure Or environment settings? What is the information in your config.log starting with checking for ant? Here you should see some lines for -- found your ant home result: should be the same as ant home You've already sent the last line checking if your ant home works My directory setup for ant seems kind of different from yours. My setup for 1.9.2 is more like some directory/ant directory/bin/ant for my executable without the intervening libexec Let us know about the messages and we'll investigate further. 2015/06/06 1:00 Kay Schenk kay.sch...@gmail.com: On 06/04/2015 08:02 PM, aronsoyol wrote: The Source code is cloned from github and the head is on commit ea4c3e19069b2746928af62788be6a65e07c03e9 Author: Kay Schenk ksch...@apache.org Date: Wed Jun 3 22:53:11 2015 + #i126281# Remove HWP as an option to Writer open menu. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1683442 13f79535-47bb-0310-9956-ffa450edef68 2015-06-05 11:56 GMT+09:00 aronsoyol aronso...@gmail.com: Hi I want to build OpenOffice on Mac, But I encountered this error checking if /usr/local/Cellar/ant/1.9.4/libexec/bin/ant works... configure: WARNING: Ant does not work - Some Java projects will not build! checking whether ant is = 1.7.0... ./configure: line 22551: test: not /System/Library/Frameworks/JavaVM: integer expression expected configure: error: no, you need at least ant = 1.7.0 My system is Mac 10.10.3. and I've installed ANT 1.9.4. and JDK. The complete output is shown in below. Best regards. HI. I'm fairly certain the recent commit to the Writer filters does not have anything to do with your configure error. In the past, I have also gotten the ant error you sent. This was due to an incomplete package of ant without the needed testing setup bits. I'm using 1.9.2 downloaded from http://ant.apache.org/bindownload.cgi You can also try running configure again and specifying your
Re: Configure error on Mac
On 06/05/2015 03:41 PM, aronsoyol wrote: Thanks Kay Schenk. But I've certianly specified ant's home --with-ant-home=/usr/local/Cellar/ant/1.9.4 but the error still there Is there any miss in my configure Or environment settings? What is the information in your config.log starting with checking for ant? Here you should see some lines for -- found your ant home result: should be the same as ant home You've already sent the last line checking if your ant home works My directory setup for ant seems kind of different from yours. My setup for 1.9.2 is more like some directory/ant directory/bin/ant for my executable without the intervening libexec Let us know about the messages and we'll investigate further. 2015/06/06 1:00 Kay Schenk kay.sch...@gmail.com: On 06/04/2015 08:02 PM, aronsoyol wrote: The Source code is cloned from github and the head is on commit ea4c3e19069b2746928af62788be6a65e07c03e9 Author: Kay Schenk ksch...@apache.org Date: Wed Jun 3 22:53:11 2015 + #i126281# Remove HWP as an option to Writer open menu. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1683442 13f79535-47bb-0310-9956-ffa450edef68 2015-06-05 11:56 GMT+09:00 aronsoyol aronso...@gmail.com: Hi I want to build OpenOffice on Mac, But I encountered this error checking if /usr/local/Cellar/ant/1.9.4/libexec/bin/ant works... configure: WARNING: Ant does not work - Some Java projects will not build! checking whether ant is = 1.7.0... ./configure: line 22551: test: not /System/Library/Frameworks/JavaVM: integer expression expected configure: error: no, you need at least ant = 1.7.0 My system is Mac 10.10.3. and I've installed ANT 1.9.4. and JDK. The complete output is shown in below. Best regards. HI. I'm fairly certain the recent commit to the Writer filters does not have anything to do with your configure error. In the past, I have also gotten the ant error you sent. This was due to an incomplete package of ant without the needed testing setup bits. I'm using 1.9.2 downloaded from http://ant.apache.org/bindownload.cgi You can also try running configure again and specifying your ant location -- --with-ant-home=[path to your complete ant setup, not just binary] aron-mac-almas:main aron$ ./configure --with-dmake-url= http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 --with-epm-url= http://www.msweet.org/files/project2/epm-3.7-source.tar.gz --disable-build-mozilla --without-stlport --enable-verbose --enable-category-b--enable-wiki-publisher --with-ant-home=/usr/local/Cellar/ant/1.9.4 configure: WARNING: unrecognized options: --disable-build-mozilla checking whether configure is up-to-date... yes * * * Apache OpenOffice build configuration. * * * * The configure process checks your platform to see whether * * you can build Apache OpenOffice on it. * * This process checks all pre-requisites and generates a file* * containing the necessary environment variables.* * Source this file after configure has ended successfully. * * * * Warnings that are generated during the configure process * * must be taken into account since it can be a reason for* * an unsuccessful build of Apache OpenOffice.* * * * * * Checking the platform pre-requisites. * * * checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for awk... /usr/bin/awk checking for sed... /usr/bin/sed checking for solenv environment... default checking for custom pack.lst... no checking build system type... x86_64-apple-darwin14.3.0 checking host system type... x86_64-apple-darwin14.3.0 checking target system type... x86_64-apple-darwin14.3.0 head: /etc/*-release: No such file or directory Darwin aron-mac-almas.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64 configure: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use
Re: Configure error on Mac
On 06/04/2015 08:02 PM, aronsoyol wrote: The Source code is cloned from github and the head is on commit ea4c3e19069b2746928af62788be6a65e07c03e9 Author: Kay Schenk ksch...@apache.org Date: Wed Jun 3 22:53:11 2015 + #i126281# Remove HWP as an option to Writer open menu. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1683442 13f79535-47bb-0310-9956-ffa450edef68 2015-06-05 11:56 GMT+09:00 aronsoyol aronso...@gmail.com: Hi I want to build OpenOffice on Mac, But I encountered this error checking if /usr/local/Cellar/ant/1.9.4/libexec/bin/ant works... configure: WARNING: Ant does not work - Some Java projects will not build! checking whether ant is = 1.7.0... ./configure: line 22551: test: not /System/Library/Frameworks/JavaVM: integer expression expected configure: error: no, you need at least ant = 1.7.0 My system is Mac 10.10.3. and I've installed ANT 1.9.4. and JDK. The complete output is shown in below. Best regards. HI. I'm fairly certain the recent commit to the Writer filters does not have anything to do with your configure error. In the past, I have also gotten the ant error you sent. This was due to an incomplete package of ant without the needed testing setup bits. I'm using 1.9.2 downloaded from http://ant.apache.org/bindownload.cgi You can also try running configure again and specifying your ant location -- --with-ant-home=[path to your complete ant setup, not just binary] aron-mac-almas:main aron$ ./configure --with-dmake-url= http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 --with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz --disable-build-mozilla --without-stlport --enable-verbose --enable-category-b--enable-wiki-publisher --with-ant-home=/usr/local/Cellar/ant/1.9.4 configure: WARNING: unrecognized options: --disable-build-mozilla checking whether configure is up-to-date... yes * * * Apache OpenOffice build configuration. * * * * The configure process checks your platform to see whether * * you can build Apache OpenOffice on it. * * This process checks all pre-requisites and generates a file* * containing the necessary environment variables.* * Source this file after configure has ended successfully. * * * * Warnings that are generated during the configure process * * must be taken into account since it can be a reason for* * an unsuccessful build of Apache OpenOffice.* * * * * * Checking the platform pre-requisites. * * * checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for awk... /usr/bin/awk checking for sed... /usr/bin/sed checking for solenv environment... default checking for custom pack.lst... no checking build system type... x86_64-apple-darwin14.3.0 checking host system type... x86_64-apple-darwin14.3.0 checking target system type... x86_64-apple-darwin14.3.0 head: /etc/*-release: No such file or directory Darwin aron-mac-almas.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64 configure: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray checking for pkg-config... no checking whether to enable crashdump feature... no checking whether to turn warnings to errors... no checking whether to do a debug build... no checking whether to build with additional debug utilities... no, full product build checking whether to include symbols into final build... no checking whether to strip the solver or not yes checking whether to enable category B components... yes: allow modules nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp to be built checking whether to enable the Online Update support... yes checking whether to enable unit tests... yes checking whether to enable native CUPS support... yes checking whether to enable fontconfig support... no checking
Re: Configure error on Mac
Thanks Kay Schenk. But I've certianly specified ant's home --with-ant-home=/usr/local/Cellar/ant/1.9.4 but the error still there Is there any miss in my configure Or environment settings? 2015/06/06 1:00 Kay Schenk kay.sch...@gmail.com: On 06/04/2015 08:02 PM, aronsoyol wrote: The Source code is cloned from github and the head is on commit ea4c3e19069b2746928af62788be6a65e07c03e9 Author: Kay Schenk ksch...@apache.org Date: Wed Jun 3 22:53:11 2015 + #i126281# Remove HWP as an option to Writer open menu. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1683442 13f79535-47bb-0310-9956-ffa450edef68 2015-06-05 11:56 GMT+09:00 aronsoyol aronso...@gmail.com: Hi I want to build OpenOffice on Mac, But I encountered this error checking if /usr/local/Cellar/ant/1.9.4/libexec/bin/ant works... configure: WARNING: Ant does not work - Some Java projects will not build! checking whether ant is = 1.7.0... ./configure: line 22551: test: not /System/Library/Frameworks/JavaVM: integer expression expected configure: error: no, you need at least ant = 1.7.0 My system is Mac 10.10.3. and I've installed ANT 1.9.4. and JDK. The complete output is shown in below. Best regards. HI. I'm fairly certain the recent commit to the Writer filters does not have anything to do with your configure error. In the past, I have also gotten the ant error you sent. This was due to an incomplete package of ant without the needed testing setup bits. I'm using 1.9.2 downloaded from http://ant.apache.org/bindownload.cgi You can also try running configure again and specifying your ant location -- --with-ant-home=[path to your complete ant setup, not just binary] aron-mac-almas:main aron$ ./configure --with-dmake-url= http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 --with-epm-url= http://www.msweet.org/files/project2/epm-3.7-source.tar.gz --disable-build-mozilla --without-stlport --enable-verbose --enable-category-b--enable-wiki-publisher --with-ant-home=/usr/local/Cellar/ant/1.9.4 configure: WARNING: unrecognized options: --disable-build-mozilla checking whether configure is up-to-date... yes * * * Apache OpenOffice build configuration. * * * * The configure process checks your platform to see whether * * you can build Apache OpenOffice on it. * * This process checks all pre-requisites and generates a file* * containing the necessary environment variables.* * Source this file after configure has ended successfully. * * * * Warnings that are generated during the configure process * * must be taken into account since it can be a reason for* * an unsuccessful build of Apache OpenOffice.* * * * * * Checking the platform pre-requisites. * * * checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for awk... /usr/bin/awk checking for sed... /usr/bin/sed checking for solenv environment... default checking for custom pack.lst... no checking build system type... x86_64-apple-darwin14.3.0 checking host system type... x86_64-apple-darwin14.3.0 checking target system type... x86_64-apple-darwin14.3.0 head: /etc/*-release: No such file or directory Darwin aron-mac-almas.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64 configure: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray checking for pkg-config... no checking whether to enable crashdump feature... no checking whether to turn warnings to errors... no checking whether to do a debug build... no checking whether to build with additional debug utilities... no, full product build checking whether to include symbols into final build... no checking whether to strip the solver or not yes
Re: Configure error on Mac
The Source code is cloned from github and the head is on commit ea4c3e19069b2746928af62788be6a65e07c03e9 Author: Kay Schenk ksch...@apache.org Date: Wed Jun 3 22:53:11 2015 + #i126281# Remove HWP as an option to Writer open menu. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1683442 13f79535-47bb-0310-9956-ffa450edef68 2015-06-05 11:56 GMT+09:00 aronsoyol aronso...@gmail.com: Hi I want to build OpenOffice on Mac, But I encountered this error checking if /usr/local/Cellar/ant/1.9.4/libexec/bin/ant works... configure: WARNING: Ant does not work - Some Java projects will not build! checking whether ant is = 1.7.0... ./configure: line 22551: test: not /System/Library/Frameworks/JavaVM: integer expression expected configure: error: no, you need at least ant = 1.7.0 My system is Mac 10.10.3. and I've installed ANT 1.9.4. and JDK. The complete output is shown in below. Best regards. aron-mac-almas:main aron$ ./configure --with-dmake-url= http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 --with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz --disable-build-mozilla --without-stlport --enable-verbose --enable-category-b--enable-wiki-publisher --with-ant-home=/usr/local/Cellar/ant/1.9.4 configure: WARNING: unrecognized options: --disable-build-mozilla checking whether configure is up-to-date... yes * * * Apache OpenOffice build configuration. * * * * The configure process checks your platform to see whether * * you can build Apache OpenOffice on it. * * This process checks all pre-requisites and generates a file* * containing the necessary environment variables.* * Source this file after configure has ended successfully. * * * * Warnings that are generated during the configure process * * must be taken into account since it can be a reason for* * an unsuccessful build of Apache OpenOffice.* * * * * * Checking the platform pre-requisites. * * * checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for awk... /usr/bin/awk checking for sed... /usr/bin/sed checking for solenv environment... default checking for custom pack.lst... no checking build system type... x86_64-apple-darwin14.3.0 checking host system type... x86_64-apple-darwin14.3.0 checking target system type... x86_64-apple-darwin14.3.0 head: /etc/*-release: No such file or directory Darwin aron-mac-almas.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64 configure: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use --disable-systray checking for pkg-config... no checking whether to enable crashdump feature... no checking whether to turn warnings to errors... no checking whether to do a debug build... no checking whether to build with additional debug utilities... no, full product build checking whether to include symbols into final build... no checking whether to strip the solver or not yes checking whether to enable category B components... yes: allow modules nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp to be built checking whether to enable the Online Update support... yes checking whether to enable unit tests... yes checking whether to enable native CUPS support... yes checking whether to enable fontconfig support... no checking whether to use RPATH in shared libraries... yes checking whether to use dicts from external paths... no checking for bash... /bin/bash checking gcc home... /usr checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking