Re: compile error
Hi Peter, Am 16.10.2018 um 07:01 schrieb Peter Kovacs: > It is not there. > > I did a build --from solenv --prepare in order to start over. Did not > know how to reset the process. > > There is no make clean. So I thought if I take the first module then I > can go. seems that I did not take the first module. Maybe this helps: https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Start_building Regards, Matthias > > On 10/15/18 11:49 PM, Damjan Jovanovic wrote: >> Is there a main/solver/420//inc/sal/config.h? >> >> If not, main/sal didn't deliver. Did you do a rebuild from scratch? >> >> On Mon, Oct 15, 2018 at 10:57 PM Peter Kovacs wrote: >> >>> I get the following error while trying to build on Linux: >>> >>> >>> /home/legine/workspace/ApacheOpenOffice/svn/main/codemaker/source/commonjava/commonjava.cxx:27:10: >>> >>> >>> fatal error: sal/config.h: No such file or directory >>> #include "sal/config.h" >>> ^~ >>> >>> Is there some todo here? I do not understand why the compiler can not >>> find sal/config.h >>> >>> Thanks any pointers. >>> >>> >>> - >>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>> For additional commands, e-mail: dev-h...@openoffice.apache.org >>> >>> > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > smime.p7s Description: S/MIME Cryptographic Signature
Re: compile error
It is not there. I did a build --from solenv --prepare in order to start over. Did not know how to reset the process. There is no make clean. So I thought if I take the first module then I can go. seems that I did not take the first module. On 10/15/18 11:49 PM, Damjan Jovanovic wrote: Is there a main/solver/420//inc/sal/config.h? If not, main/sal didn't deliver. Did you do a rebuild from scratch? On Mon, Oct 15, 2018 at 10:57 PM Peter Kovacs wrote: I get the following error while trying to build on Linux: /home/legine/workspace/ApacheOpenOffice/svn/main/codemaker/source/commonjava/commonjava.cxx:27:10: fatal error: sal/config.h: No such file or directory #include "sal/config.h" ^~ Is there some todo here? I do not understand why the compiler can not find sal/config.h Thanks any pointers. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: compile error
Is there a main/solver/420//inc/sal/config.h? If not, main/sal didn't deliver. Did you do a rebuild from scratch? On Mon, Oct 15, 2018 at 10:57 PM Peter Kovacs wrote: > I get the following error while trying to build on Linux: > > > /home/legine/workspace/ApacheOpenOffice/svn/main/codemaker/source/commonjava/commonjava.cxx:27:10: > > fatal error: sal/config.h: No such file or directory > #include "sal/config.h" >^~ > > Is there some todo here? I do not understand why the compiler can not > find sal/config.h > > Thanks any pointers. > > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > >
compile error
I get the following error while trying to build on Linux: /home/legine/workspace/ApacheOpenOffice/svn/main/codemaker/source/commonjava/commonjava.cxx:27:10: fatal error: sal/config.h: No such file or directory #include "sal/config.h" ^~ Is there some todo here? I do not understand why the compiler can not find sal/config.h Thanks any pointers. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
compile error in main/vcl/unx/headless/svptext.cxx
A while back FreeBSD upgraded to Clang 6.0 which defaults to C++14 instead of GNU++98/C++98 like earlier versions of Clang and GCC. This triggered some new compile errors in the OpenOffice source that probably had just previously been warnings. One of the new errors was a integer constant getting assigned to a pointer in SvpGlyphPeer::RemovingGlyph(), which lives in main/vcl/unx/headless/svptext.cxx. When I looked more closely at this code to try to figure out the proper fix, I discovered that this code is more broken than is immediately obvious. There are two classes defined in main/vcl/inc/glyphcache.hxx that each have a pair of similar members. The GlyphData class contains the private struct ExtGlyphData, which in turn contains "int meInfo" and "void* mpData". The ServerFont class contains the private members "int mnExtInfo" and "void* mpExtData". The GlyphData members are set in X11GlyphPeer::RemovingGlyph(), X11GlyphPeer::PrepareForMultiscreen(), X11GlyphPeer::SetRenderGlyph(), X11GlyphPeer::SetRawBitmap(), and X11GlyphPeer::SetPixmap() in main/vcl/unx/generic/gdi/gcach_xpeer.cxx, where the meInfo value is one of the INFO_* enum values in gcach_xpeer.cxx, and mpData can point to various different types of objects. The ServerFont members are set in X11GlyphPeer::RemovingFont() and X11GlyphPeer::GetGlyphSet() in main/vcl/unx/generic/gdi/gcach_xpeer.cxx, where the mnExtInfo value is a subset of the enum containing INFO_* values in gcach_xpeer.cxx, and the mpExtData value is a GlyphSet. Over on the headless side, GlyphData meInfo and mpData values are examined in in SvpGlyphPeer::GetGlyphBmp() and SvpGlyphPeer::RemovingGlyph(), but they are never set. The expected meInfo values come from the basebmp Format values in main/basebmp/inc/basebmp/scanlineformats.hxx. Instead,the headless code sets the ServerFont members in SvpGlyphPeer::GetGlyphBmp() with the mnExtInfo value coming from the basebmp Format values and the mpExtData value being a SvpGcpHelper* fetched from mpData. The ServerFont members are not examined on the headless side. The attached patch is my attempt at a fix. It builds, but I don't know how to do a meaningful test of headless mode. Index: vcl/unx/headless/svptext.cxx === --- vcl/unx/headless/svptext.cxx (revision 1838294) +++ vcl/unx/headless/svptext.cxx (working copy) @@ -136,7 +136,8 @@ pGcpHelper->maBitmapDev = createBitmapDevice( aSize, true, nBmpFormat, aRawPtr, aDummyPAL ); } -rServerFont.SetExtended( nBmpFormat, (void*)pGcpHelper ); +rGlyphData.ExtDataRef().meInfo = sal::static_int_cast(nBmpFormat); +rGlyphData.ExtDataRef().mpData = (void*)pGcpHelper; } rTargetPos += B2IPoint( pGcpHelper->maRawBitmap.mnXOffset, pGcpHelper->maRawBitmap.mnYOffset ); @@ -154,7 +155,7 @@ void SvpGlyphPeer::RemovingGlyph( ServerFont&, GlyphData& rGlyphData, sal_GlyphId /*aGlyphId*/ ) { -if( rGlyphData.ExtDataRef().mpData != Format::NONE ) +if( rGlyphData.ExtDataRef().meInfo != Format::NONE ) { // release the glyph related resources DBG_ASSERT( (rGlyphData.ExtDataRef().meInfo <= Format::MAX), "SVP::RG() invalid alpha format" ); @@ -161,6 +162,7 @@ SvpGcpHelper* pGcpHelper = (SvpGcpHelper*)rGlyphData.ExtDataRef().mpData; delete[] pGcpHelper->maRawBitmap.mpBits; delete pGcpHelper; +rGlyphData.ExtDataRef().meInfo = Format::NONE; } } - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: SvpGlyphPeer::RemovingGlyph() compile error
No, I think there are consistency problems with what members of the object are used for what purpose. On 5 Feb, Peter Kovacs wrote: > If you speak for underlying Issues, you might refer to this? > I have stashed this change in > /main/basebmp/inc/basebmp/scanlineformats.hxx and I do not like the > existing implementation. > > namespace basebmp { >/* Current implementation */ > namespace Format { > static const sal_Int32 NONE = 0; > static const sal_Int32 ONE_BIT_MSB_GREY = > (sal_Int32)0x01; > static const sal_Int32 ONE_BIT_LSB_GREY = > (sal_Int32)0x02; > static const sal_Int32 ONE_BIT_MSB_PAL = > (sal_Int32)0x03; > static const sal_Int32 ONE_BIT_LSB_PAL = > (sal_Int32)0x04; > static const sal_Int32 FOUR_BIT_MSB_GREY= > (sal_Int32)0x05; > static const sal_Int32 FOUR_BIT_LSB_GREY= > (sal_Int32)0x06; > static const sal_Int32 FOUR_BIT_MSB_PAL = > (sal_Int32)0x07; > static const sal_Int32 FOUR_BIT_LSB_PAL = > (sal_Int32)0x08; > static const sal_Int32 EIGHT_BIT_PAL= > (sal_Int32)0x09; > static const sal_Int32 EIGHT_BIT_GREY = > (sal_Int32)0x0A; > static const sal_Int32 SIXTEEN_BIT_LSB_TC_MASK = > (sal_Int32)0x0B; > static const sal_Int32 SIXTEEN_BIT_MSB_TC_MASK = > (sal_Int32)0x0C; > static const sal_Int32 TWENTYFOUR_BIT_TC_MASK = > (sal_Int32)0x0D; > static const sal_Int32 THIRTYTWO_BIT_TC_MASK= > (sal_Int32)0x0E; > static const sal_Int32 THIRTYTWO_BIT_TC_MASK_ARGB = > (sal_Int32)0x0F; > static const sal_Int32 MAX = > (sal_Int32)0x0F; > } > > /* what it should be > enum class Format : sal_Int32 > { NONE = 0 > , ONE_BIT_MSB_GREY = 0x01 > , ONE_BIT_LSB_GREY = 0x02 > , ONE_BIT_MSB_PAL = 0x03 > , ONE_BIT_LSB_PAL = 0x04 > , FOUR_BIT_MSB_GREY= 0x05 > , FOUR_BIT_LSB_GREY= 0x06 > , FOUR_BIT_MSB_PAL = 0x07 > , FOUR_BIT_LSB_PAL = 0x08 > , EIGHT_BIT_PAL= 0x09 > , EIGHT_BIT_GREY = 0x0A > , SIXTEEN_BIT_LSB_TC_MASK = 0x0B > , SIXTEEN_BIT_MSB_TC_MASK = 0x0C > , TWENTYFOUR_BIT_TC_MASK = 0x0D > , THIRTYTWO_BIT_TC_MASK= 0x0E > , THIRTYTWO_BIT_TC_MASK_ARGB = 0x0F > , MAX = 0x0F > }; > */ > } > > I do not feel well with the test options. > The basic Idea I wanted to go with was to write a specific test, compile > it on CentOS 6 (where old and new stuff should work.) > And make sure possible out put is the same (Blackbox testing) > > Locate all Uses would be also necessary in order to check. Thats where I got > stuck on this topic. > > Please note that enumn class is pretty new. So I do not know if it works on > CentOS 6. I just thought I do write the best code for me and worry about > Compiler Version issue as a later step. > > Also another Idea could be to cut out the code and replace it with a general > better design. But then we need to find the user story to it. Which is a lot > of digging. > And I dont think the code is that bad on first glance. > > On 05.02.2018 19:34, Don Lewis wrote: >> There is at least one other place in this code that uses the >> rGlyphData.ExtDataRef().meInfo to Format::NONE comparision. >> >> I think there are some deeper problems in this code. Unfortunately >> I won't have another chance to dig into it until the end of this week. >> >> Something else to think about is how to test this code. >> >> On 2 Feb, Peter Kovacs wrote: >>> It does also not compile on gcc 7.xx >>> >>> So I did change the code and it compiles >>> >>> if( rGlyphData.ExtDataRef().mpData != NULL ) >>> >>> But I think it has to be >>> >>> if( rGlyphData.ExtDataRef().mpData != NULL && >>> rGlyphData.ExtDataRef().mpData != Format::NONE) >>> >>> >>> You can work around this issue in gcc by setting some flags that allows >>> the use of Format::NONE directly. But i concider this as not so good. >>> >>>
Re: SvpGlyphPeer::RemovingGlyph() compile error
If you speak for underlying Issues, you might refer to this? I have stashed this change in /main/basebmp/inc/basebmp/scanlineformats.hxx and I do not like the existing implementation. namespace basebmp { /* Current implementation */ namespace Format { static const sal_Int32 NONE = 0; static const sal_Int32 ONE_BIT_MSB_GREY = (sal_Int32)0x01; static const sal_Int32 ONE_BIT_LSB_GREY = (sal_Int32)0x02; static const sal_Int32 ONE_BIT_MSB_PAL = (sal_Int32)0x03; static const sal_Int32 ONE_BIT_LSB_PAL = (sal_Int32)0x04; static const sal_Int32 FOUR_BIT_MSB_GREY= (sal_Int32)0x05; static const sal_Int32 FOUR_BIT_LSB_GREY= (sal_Int32)0x06; static const sal_Int32 FOUR_BIT_MSB_PAL = (sal_Int32)0x07; static const sal_Int32 FOUR_BIT_LSB_PAL = (sal_Int32)0x08; static const sal_Int32 EIGHT_BIT_PAL= (sal_Int32)0x09; static const sal_Int32 EIGHT_BIT_GREY = (sal_Int32)0x0A; static const sal_Int32 SIXTEEN_BIT_LSB_TC_MASK = (sal_Int32)0x0B; static const sal_Int32 SIXTEEN_BIT_MSB_TC_MASK = (sal_Int32)0x0C; static const sal_Int32 TWENTYFOUR_BIT_TC_MASK = (sal_Int32)0x0D; static const sal_Int32 THIRTYTWO_BIT_TC_MASK= (sal_Int32)0x0E; static const sal_Int32 THIRTYTWO_BIT_TC_MASK_ARGB = (sal_Int32)0x0F; static const sal_Int32 MAX = (sal_Int32)0x0F; } /* what it should be enum class Format : sal_Int32 { NONE = 0 , ONE_BIT_MSB_GREY = 0x01 , ONE_BIT_LSB_GREY = 0x02 , ONE_BIT_MSB_PAL = 0x03 , ONE_BIT_LSB_PAL = 0x04 , FOUR_BIT_MSB_GREY= 0x05 , FOUR_BIT_LSB_GREY= 0x06 , FOUR_BIT_MSB_PAL = 0x07 , FOUR_BIT_LSB_PAL = 0x08 , EIGHT_BIT_PAL= 0x09 , EIGHT_BIT_GREY = 0x0A , SIXTEEN_BIT_LSB_TC_MASK = 0x0B , SIXTEEN_BIT_MSB_TC_MASK = 0x0C , TWENTYFOUR_BIT_TC_MASK = 0x0D , THIRTYTWO_BIT_TC_MASK= 0x0E , THIRTYTWO_BIT_TC_MASK_ARGB = 0x0F , MAX = 0x0F }; */ } I do not feel well with the test options. The basic Idea I wanted to go with was to write a specific test, compile it on CentOS 6 (where old and new stuff should work.) And make sure possible out put is the same (Blackbox testing) Locate all Uses would be also necessary in order to check. Thats where I got stuck on this topic. Please note that enumn class is pretty new. So I do not know if it works on CentOS 6. I just thought I do write the best code for me and worry about Compiler Version issue as a later step. Also another Idea could be to cut out the code and replace it with a general better design. But then we need to find the user story to it. Which is a lot of digging. And I dont think the code is that bad on first glance. On 05.02.2018 19:34, Don Lewis wrote: There is at least one other place in this code that uses the rGlyphData.ExtDataRef().meInfo to Format::NONE comparision. I think there are some deeper problems in this code. Unfortunately I won't have another chance to dig into it until the end of this week. Something else to think about is how to test this code. On 2 Feb, Peter Kovacs wrote: It does also not compile on gcc 7.xx So I did change the code and it compiles if( rGlyphData.ExtDataRef().mpData != NULL ) But I think it has to be if( rGlyphData.ExtDataRef().mpData != NULL && rGlyphData.ExtDataRef().mpData != Format::NONE) You can work around this issue in gcc by setting some flags that allows the use of Format::NONE directly. But i concider this as not so good. All the best Peter On 30.01.2018 21:01, Don Lewis wrote: When doing a build with clang 6, which defaults to c++14, I get a compile error in SvpGlyphPeer::RemovingGlyph() in vcl/unx/headless/svptext.cxx on this line: if( rGlyphData.ExtDataRef().mpData != Format::NONE ) This isn't too surprising since Format::NONE is an integer and mpData is a pointer. There are a couple of ways that I thought of fixing this. One is to change the right side of the comparision to NULL, the other is to change the left side to use meInfo. Then I used OpenGrok to dig through the code, and the only assignments to meInfo that I found were in main/vcl/unx/generic/gdi/gcach_xpeer.cxx and use the values from this enum: enum { INFO_EMPTY=0, INFO_PIXMAP, INFO_XRENDER, INFO_RAWBMP, INFO_MULTISCREEN }; This makes no sense given the other comparisions to meInfo
Re: SvpGlyphPeer::RemovingGlyph() compile error
There is at least one other place in this code that uses the rGlyphData.ExtDataRef().meInfo to Format::NONE comparision. I think there are some deeper problems in this code. Unfortunately I won't have another chance to dig into it until the end of this week. Something else to think about is how to test this code. On 2 Feb, Peter Kovacs wrote: > It does also not compile on gcc 7.xx > > So I did change the code and it compiles > > if( rGlyphData.ExtDataRef().mpData != NULL ) > > But I think it has to be > > if( rGlyphData.ExtDataRef().mpData != NULL && > rGlyphData.ExtDataRef().mpData != Format::NONE) > > > You can work around this issue in gcc by setting some flags that allows > the use of Format::NONE directly. But i concider this as not so good. > > All the best > Peter > > On 30.01.2018 21:01, Don Lewis wrote: >> When doing a build with clang 6, which defaults to c++14, I get a >> compile error in SvpGlyphPeer::RemovingGlyph() in >> vcl/unx/headless/svptext.cxx on this line: >> >> if( rGlyphData.ExtDataRef().mpData != Format::NONE ) >> >> This isn't too surprising since Format::NONE is an integer and mpData is >> a pointer. >> >> There are a couple of ways that I thought of fixing this. One is to >> change the right side of the comparision to NULL, the other is to change >> the left side to use meInfo. >> >> Then I used OpenGrok to dig through the code, and the only assignments >> to meInfo that I found were in main/vcl/unx/generic/gdi/gcach_xpeer.cxx >> and use the values from this enum: >>enum { INFO_EMPTY=0, INFO_PIXMAP, INFO_XRENDER, INFO_RAWBMP, >> INFO_MULTISCREEN }; >> >> This makes no sense given the other comparisions to meInfo in >> svptext.cxx and the code in SvpGlyphPeer::GetGlyphBmp() starting on line >> 92 of that file. There is a call to rServerFont.SetExtended() that gets >> the value of nBmpFormat, but that sets private member mnExtInfo in class >> ServerFont in glyphcache.hxx, whereas meInfo is a struct field where the >> struct is a private member of class GlyphData. >> >> Thoughts? >> >> >> >> >> - >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >> For additional commands, e-mail: dev-h...@openoffice.apache.org >> > > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: SvpGlyphPeer::RemovingGlyph() compile error
It does also not compile on gcc 7.xx So I did change the code and it compiles if( rGlyphData.ExtDataRef().mpData != NULL ) But I think it has to be if( rGlyphData.ExtDataRef().mpData != NULL && rGlyphData.ExtDataRef().mpData != Format::NONE) You can work around this issue in gcc by setting some flags that allows the use of Format::NONE directly. But i concider this as not so good. All the best Peter On 30.01.2018 21:01, Don Lewis wrote: When doing a build with clang 6, which defaults to c++14, I get a compile error in SvpGlyphPeer::RemovingGlyph() in vcl/unx/headless/svptext.cxx on this line: if( rGlyphData.ExtDataRef().mpData != Format::NONE ) This isn't too surprising since Format::NONE is an integer and mpData is a pointer. There are a couple of ways that I thought of fixing this. One is to change the right side of the comparision to NULL, the other is to change the left side to use meInfo. Then I used OpenGrok to dig through the code, and the only assignments to meInfo that I found were in main/vcl/unx/generic/gdi/gcach_xpeer.cxx and use the values from this enum: enum { INFO_EMPTY=0, INFO_PIXMAP, INFO_XRENDER, INFO_RAWBMP, INFO_MULTISCREEN }; This makes no sense given the other comparisions to meInfo in svptext.cxx and the code in SvpGlyphPeer::GetGlyphBmp() starting on line 92 of that file. There is a call to rServerFont.SetExtended() that gets the value of nBmpFormat, but that sets private member mnExtInfo in class ServerFont in glyphcache.hxx, whereas meInfo is a struct field where the struct is a private member of class GlyphData. Thoughts? - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
SvpGlyphPeer::RemovingGlyph() compile error
When doing a build with clang 6, which defaults to c++14, I get a compile error in SvpGlyphPeer::RemovingGlyph() in vcl/unx/headless/svptext.cxx on this line: if( rGlyphData.ExtDataRef().mpData != Format::NONE ) This isn't too surprising since Format::NONE is an integer and mpData is a pointer. There are a couple of ways that I thought of fixing this. One is to change the right side of the comparision to NULL, the other is to change the left side to use meInfo. Then I used OpenGrok to dig through the code, and the only assignments to meInfo that I found were in main/vcl/unx/generic/gdi/gcach_xpeer.cxx and use the values from this enum: enum { INFO_EMPTY=0, INFO_PIXMAP, INFO_XRENDER, INFO_RAWBMP, INFO_MULTISCREEN }; This makes no sense given the other comparisions to meInfo in svptext.cxx and the code in SvpGlyphPeer::GetGlyphBmp() starting on line 92 of that file. There is a call to rServerFont.SetExtended() that gets the value of nBmpFormat, but that sets private member mnExtInfo in class ServerFont in glyphcache.hxx, whereas meInfo is a struct field where the struct is a private member of class GlyphData. Thoughts? - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Compile error
Hi 郄宁 On Mon, Jan 19, 2015 at 08:36:06AM +0800, 郄宁 wrote: > hi,all: > The error message is as follows: [long and hard to read copy and paste] It seems you have copied the output from cygwin's shell, this makes it very hard to read. A few suggestions: - re-configure adding the option --enable-verbose - build adding the --html switch: cd main/instsetoo_native/ build --html --all - don't paste the output in your mail, use a pastebin, like http://apaste.info/ - Don't take the output from cygwin's shell, copy from the log files, they are located in trunk/main//wntmsci12[.pro]/logs/ In trunk/log/wntmsci12[.pro].build.html you will find a page resuming the build, like this one http://ci.apache.org/projects/openoffice/buildlogs/win/log/wntmsci12.pro.build.html This page gives you access to the individual logs, too. Regards -- Ariel Constenla-Haile La Plata, Argentina signature.asc Description: Digital signature
Compile error
hi,all: The error message is as follows: [ build CXX ] comphelper/source/container/NamedPropertyValuesContainer AnyCompareFactory.cxx IndexedPropertyValuesContainer.cxx f:\aoo-4.0.1\main\comphelper\source\inc\comphelper_module.hxx(27) : fatal error C1083: Cannot open include file: 'comphelper/componentmodule.hxx': No such fileor directoryf:\aoo-4.0.1\main\comphelper\source\inc\comphelper_module.hxx(27) : fatal error C1083: Cannot open include file: 'comphelper/componentmodule.hxx': N o such file or directory F:/aoo-4.0.1/main/solenv/gbuild/LinkTarget.mk:126: recipe for target '/cygdrive/ f/aoo-4.0.1/main/solver/401/wntmsci12/workdir/CxxObject/comphelper/source/compar e/AnyCompareFactory.o' failed make: *** [/cygdrive/f/aoo-4.0.1/main/solver/401/wntmsci12/workdir/CxxObject/com phelper/source/compare/AnyCompareFactory.o] Error 2 make: *** Waiting for unfinished jobs F:/aoo-4.0.1/main/solenv/gbuild/LinkTarget.mk:126: recipe for target '/cygdrive/ f/aoo-4.0.1/main/solver/401/wntmsci12/workdir/CxxObject/comphelper/source/contai ner/IndexedPropertyValuesContainer.o' failed make: *** [/cygdrive/f/aoo-4.0.1/main/solver/401/wntmsci12/workdir/CxxObject/com phelper/source/container/IndexedPropertyValuesContainer.o] Error 2 rm /cygdrive/f/aoo-4.0.1/main/solver/401/wntmsci12/workdir/ExternalHeaders/Libra ry/stlport_vc71_stldebug.lib dmake: Error code 2, while making 'all' Entering /cygdrive/f/aoo-4.0.1/main/comphelper/prj cd .. && make -r -j2 debug=true && make -r deliverlog [ build CXX ] comphelper/source/compare/AnyCompareFactory R=f:/aoo-4.0.1 && O=$R/main/solver/401/wntmsci12 && W=$R/main/solver/401/wntmsci 12/workdir && S=$R/main && mkdir -p $W/CxxObject/comphelper/source/compare/ && unset INCLUDE && C:/PROGRA~2/MICROS~1.0/VC/bin/cl.exe -DBOOST_MEM_FN_ENABLE_CDEC L -DCPPU_ENV=msci -DCUI -DDBG_UTIL -DDEBUG -DENABLE_GRAPHITE -DENABLE_GTK -DENAB LE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -DFULL_DESK -DINTEL -DM1500 -DMSC -DN T351 -DOSL_DEBUG_LEVEL=2 -DSOLAR_JAVA -DSTLPORT_VERSION=400 -DSUPD=401 -DVCL -DW IN32 -DWINVER=0x0500 -DWNT -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWP RINTFS -D_CRT_SECURE_NO_DEPRECATE -D_MT -D_REENTRANT -D_STLP_DEBUG -D_WIN32_IE=0 x0500 -D_X86_=1 -D_DLL -DPRECOMPILED_HEADERS -DCOMPHELPER_DLLIMPLEMENTATION -G d -GR -Gs -GS -Gy -nologo -Wall -wd4005 -wd4061 -wd4127 -wd4180 -wd4189 -wd4191-wd4217 -wd4250 -wd4251 -wd4275 -wd4290 -wd4294 -wd4350 -wd4355 -wd4365 -wd4503-wd4505 -wd4511 -wd4512 -wd4514 -wd4611 -wd4619 -wd4625 -wd4626 -wd4640 -wd4668 -wd4675 -wd4692 -wd4710 -wd4711 -wd4738 -wd4786 -wd4800 -wd4820 -wd4826 -Zc:forS cope,wchar_t- -Zm500 -Zi -Zi -DEXCEPTIONS_ON -EHa -Fd$W/LinkTarget/pdb/Libra ry/icomphelp.lib.pdb -Yuprecompiled_comphelper.hxx -Fp$W/PrecompiledHeader/debug /precompiled_comphelper.hxx.pch -I$S/comphelper/source/compare/ -IF:/aoo-4.0.1/m ain/solver/401/wntmsci12/inc/stl -IF:/aoo-4.0.1/main/solver/401/wntmsci12/inc/st l -I$S/comphelper/inc/pch -I$S/comphelper/source/inc -IF:/aoo-4.0.1/main/solver/ 401/wntmsci12/inc/external -IF:/aoo-4.0.1/main/solver/401/wntmsci12/inc -IF:/aoo -4.0.1/main/solenv/wntmsci12/inc -IF:/aoo-4.0.1/main/solenv/inc -IF:/aoo-4.0.1/m ain/res -IC:/PROGRA~2/Java/JDK17~1.0_7/include/win32 -IC:/PROGRA~2/Java/JDK17~1. 0_7/include -IC:/PROGRA~1/MICROS~3/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0 /VC/include -IC:/PROGRA~2/MI5E29~1/include -IC:/PROGRA~2/MI5E29~1/include -I$O /inc/offuh -c $S/comphelper/source/compare/AnyCompareFactory.cxx -Fo$W/CxxObjec t/comphelper/source/compare/AnyCompareFactory.o [ build CXX ] comphelper/source/container/IndexedPropertyValuesContainer R=f:/aoo-4.0.1 && O=$R/main/solver/401/wntmsci12 && W=$R/main/solver/401/wntmsci 12/workdir && S=$R/main && mkdir -p $W/CxxObject/comphelper/source/container/ & & unset INCLUDE && C:/PROGRA~2/MICROS~1.0/VC/bin/cl.exe -DBOOST_MEM_FN_ENABLE_CD ECL -DCPPU_ENV=msci -DCUI -DDBG_UTIL -DDEBUG -DENABLE_GRAPHITE -DENABLE_GTK -DEN
Re:Re: compile error
Would you then compiled which version of the source code, is 4.1.1? At 2015-01-13 02:16:35, "Oliver Brinzing" wrote: >Hi 郄宁, > >> Can be compiled. but excuse me,build --all > > and build --all -P2 ---P2 what's different about the compilation? > >this should speed up the building process, please see >https://wiki.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows >-> parallel builds > >Regards >Oliver > > > >- >To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >For additional commands, e-mail: dev-h...@openoffice.apache.org >
Compile error
HI, compile error: /usr/bin/bash: line 1: 49220 Segmentation fault D:/PROGRA~1/MICROS~1.0/VC/v cpackages/vcbuild.exe -useenv pcbuild.sln "Release|Win32" dmake: Error code 139, while making './wntmsci12/misc/build/so_built_so_python' 1 module(s): python need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /cygdrive/f/build_tmp/aoo-4.1.1/main/py thon When you have fixed the errors in that module you can resume the build by runnin g: build --from python
Compile error:
Compile error: Error: project file'pcbuild.sln'was not found or not a valid project file. Dmake: Error code 127, while making'./wntmsci12/misc/build/so_built_so_python' 1 module (s): Python Need (s) to be rebuilt Reason (s): ERROR: error 65280 occurred while making /cygdrive/f/build_tmp/aoo-4.1.1/main/py thon When you have fixed the errors in that module you can resume the build byrunnin g: Build --from Python
Compile error
hi,all Compile and run after a period of time error: F:/build_tmp/aoo-4.1.1/main/solenv/gbuild/StaticLibrary.mk:45: recipe fortarget'/cygdrive/f/build_tmp/aoo-4.1.1/main/solver/411/wntmsci12/lib/expat_xmltok.lib'failed Make: * * * [/cygdrive/f/build_tmp/aoo-4.1.1/main/solver/411/wntmsci12/lib/expat_xmltok.lib] Error 1 Dmake: Error code 2, while making'./wntmsci12/misc/build/so_built_aprutil' 1 module (s): Apr-util Need (s) to be rebuilt Reason (s): ERROR: error 65280 occurred while making /cygdrive/f/build_tmp/aoo-4.1.1/ext_libraries/apr-util
Re: compile error
Hi 郄宁, Can be compiled. but excuse me,build --all > and build --all -P2 ---P2 what's different about the compilation? this should speed up the building process, please see https://wiki.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows -> parallel builds Regards Oliver - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re:Re:Re:Re: compile error
HI,OliverCan be compiled.but excuse me, build --all and build --all -P2 ---P2 what's different about the compilation? At 2015-01-11 01:13:41, "郄宁" wrote: >I restart the computer, another error re execute the buid --all >command$build --allBuild - version: 275224Abort: no repository >found in'/cygdrive/f/aoo-4.1.1/main'(.Hg not found) /../ext_libraries: No such >file! Or directory at F:/aoo-4.1.1/main/solenv/bin/build.pl line >237Build.pl line 237 code is: my $path = Cwd:: realpath (correct_path >($workspace_path. $additional_repository. "/"));These directories are >exist >At 2015-01-11 00:54:04, "郄宁" wrote: >>Yes, I took dmake-4.12.tar.bz2 to download to a local, config setting >>contain:--with-dmake-url= "/cygdrive/f/build/dmake-4.12.tar.bz2" >>At 2015-01-11 00:10:12, "Oliver Brinzing" wrote: >>>Hi 郄宁, Hello, the last problem has been resolved, but also the emergence of a new problem: $build -all >>> > Build - version: 275224 >>> > ERROR: dmake: Command not found. Please rerun bootstrap >>> >>>does your config setting contain: >>> >>>--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"; >>> \ ? >>> >>> > After running configure you must create the dmake make utility that is >>> > needed for >>> > the build of OpenOffice.org. This done from the SRC_ROOT directory by >>> > calling >>> >>>./bootstrap >>> >>>Regards >>>Oliver >>> >>>- >>>To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>>For additional commands, e-mail: dev-h...@openoffice.apache.org >>> >> >>- >>To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>For additional commands, e-mail: dev-h...@openoffice.apache.org > >- >To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: compile error
Hi 郄宁, I restart the computer, another error re execute the buid --all command > $build --allBuild - version: 275224 Abort: no repository found in'/cygdrive/f/aoo-4.1.1/main'(.Hg not found) /../ext_libraries: > No such file! Or directory at F:/aoo-4.1.1/main/solenv/bin/build.pl line 237 > Build.pl line 237 code is: my $path = Cwd:: realpath (correct_path ($workspace_path. $additional_repository. "/")); These directories are exist from where did you download the source? i used "apache-openoffice-4.1.1-r1617669-src.tar.bz2" from http://www.apache.org/dyn/aoo-closer.cgi/openoffice/4.1.1/source/ my folders look like: c:\build_tmp +aoo-4.1.1 +ext_libraries +apr [...] +extras +l10n +main +accessibility +afms [...] SourceMain=/cygdrive/c/build_tmp/aoo-4.1.1/main cd $SourceMain autoconf ./configure \ [...] ./bootstrap source winenv.set.sh cd instsetoo_native build --all -P2 -- -P2 Regards Oliver - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re:Re:Re: compile error
I restart the computer, another error re execute the buid --all command$build --allBuild - version: 275224Abort: no repository found in'/cygdrive/f/aoo-4.1.1/main'(.Hg not found) /../ext_libraries: No such file! Or directory at F:/aoo-4.1.1/main/solenv/bin/build.pl line 237Build.pl line 237 code is: my $path = Cwd:: realpath (correct_path ($workspace_path. $additional_repository. "/"));These directories are exist At 2015-01-11 00:54:04, "郄宁" wrote: >Yes, I took dmake-4.12.tar.bz2 to download to a local, config setting >contain:--with-dmake-url= "/cygdrive/f/build/dmake-4.12.tar.bz2" >At 2015-01-11 00:10:12, "Oliver Brinzing" wrote: >>Hi 郄宁, >>> Hello, the last problem has been resolved, but also the emergence of a new >>> problem: >>> $build -all >> > Build - version: 275224 >> > ERROR: dmake: Command not found. Please rerun bootstrap >> >>does your config setting contain: >> >>--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"; >> \ ? >> >> > After running configure you must create the dmake make utility that is >> > needed for >> > the build of OpenOffice.org. This done from the SRC_ROOT directory by >> > calling >> >>./bootstrap >> >>Regards >>Oliver >> >>- >>To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>For additional commands, e-mail: dev-h...@openoffice.apache.org >> > >- >To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re:Re: compile error
Yes, I took dmake-4.12.tar.bz2 to download to a local, config setting contain:--with-dmake-url= "/cygdrive/f/build/dmake-4.12.tar.bz2" At 2015-01-11 00:10:12, "Oliver Brinzing" wrote: >Hi 郄宁, >> Hello, the last problem has been resolved, but also the emergence of a new >> problem: >> $build -all > > Build - version: 275224 > > ERROR: dmake: Command not found. Please rerun bootstrap > >does your config setting contain: > >--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"; > \ ? > > > After running configure you must create the dmake make utility that is > > needed for > > the build of OpenOffice.org. This done from the SRC_ROOT directory by > > calling > >./bootstrap > >Regards >Oliver > >- >To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >For additional commands, e-mail: dev-h...@openoffice.apache.org >
Re: compile error
Hi 郄宁, Hello, the last problem has been resolved, but also the emergence of a new problem: $build -all > Build - version: 275224 > ERROR: dmake: Command not found. Please rerun bootstrap does your config setting contain: --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"; \ ? > After running configure you must create the dmake make utility that is needed for > the build of OpenOffice.org. This done from the SRC_ROOT directory by calling ./bootstrap Regards Oliver - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re:Re:Re: compile error
Hello, the last problem has been resolved, but also the emergence of a new problem:$build -allBuild - version: 275224ERROR: dmake: Command not found. Please rerun bootstrap At 2015-01-09 18:28:33, "郄宁" wrote: >Hi,The error configure command to run me as you said: checking Windows >build environment sanity... Configure: error: /usr/bin/gawk, awk, tar or >gunzip is a cygwin symlink!Native windows programs cannot use cygwin >symlinks. Remove the symbolicLink, and copy the program to the name of >the link.I carried outcd /binrm awk.execp gawk.exe awk.exe >At 2015-01-09 02:18:14, "Oliver Brinzing" wrote: >>Hi 郄宁, >> >>i used the following configuration to build AOO 4.1.1: >> >>SourceMain=/cygdrive/c/build_tmp/aoo-4.1.1/main >>cd $SourceMain >>autoconf >>./configure \ >>--with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \ >>--with-vendor="AOO Debug Build" \ >>--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"; >> \ >>--with-ant-home="/cygdrive/c/build/ant" \ >>--with-mozilla-build="/cygdrive/c/build/mozilla-build" \ >>--with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ >>--with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ >>--with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin" \ >>--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >>9.0/VC" \ >>--with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >>9.0/Common7/IDE" \ >>--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >>9.0/VC/bin" \ >>--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \ >>--with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0" \ >>--with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS/Unicode" \ >>--with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK >>(June 2010)" \ >>--with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \ >>--with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \ >>--with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \ >>--with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \ >>--enable-pch \ >>--with-package-format="installed msi" \ >>--enable-win-x64-shellext \ >>--enable-category-b \ >>--enable-bundled-dictionaries \ >>--with-lang="de" \ >>--without-fonts \ >>--without-stlport \ >>--without-junit \ >>--disable-online-update \ >>--disable-odk \ >>--disable-strip-solver \ >>--enable-symbols \ >>--enable-dbgutil \ >>--enable-crashdump \ >>--enable-debug \ >>--enable-verbose \ >> >>./bootstrap >>source winenv.set.sh >>cd instsetoo_native >>build --all -P2 -- -P2 >> >> >>Regards >>Oliver >> >>- >>To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>For additional commands, e-mail: dev-h...@openoffice.apache.org >> > >- >To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: compile error
Hi 郄宁, hi, I run as Administrator,but $./bootstrap Mkdir: cannot create the directory "//bin": Read-only file system Do you have insufficient write permissions for the build folder ? Did you follow the step by step guide from: https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7 ? Regards Oliver - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re:Re: Re: compile error
hi, I run as Administrator,but$./bootstrapMkdir: cannot create the directory "//bin": Read-only file systemChmod: cannot access "/solenv/bin/build.pl": No such file or directoryChmod: cannot access "/solenv/bin/build_client.pl": No such file or directoryChmod: cannot access "/solenv/bin/zipdep.pl": No such file or directoryChmod: cannot access "/solenv/bin/gccinstlib.pl": No such file or directory./bootstrap: line 155:: command not found At 2015-01-09 18:49:42, "Michal Hri" wrote: >I think, that you need 32bit Cygwin and Java JDK. >Look here >https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7 > Zdraví / Regards,Michal Hriň > > Dňa piatok, 9. január 2015 7:46 ,郄宁 napísal: > > > OK,thank you .I have another question, What you are using operating system, > 64or32? Cygwin 64or32? JDK 64or32? >At 2015-01-09 02:18:14, "Oliver Brinzing" wrote: >>Hi 郄宁, >> >>i used the following configuration to build AOO 4.1.1: >> >>SourceMain=/cygdrive/c/build_tmp/aoo-4.1.1/main >>cd $SourceMain >>autoconf >>./configure \ >>--with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \ >>--with-vendor="AOO Debug Build" \ >>--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"; >> \ >>--with-ant-home="/cygdrive/c/build/ant" \ >>--with-mozilla-build="/cygdrive/c/build/mozilla-build" \ >>--with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ >>--with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ >>--with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin" \ >>--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >>9.0/VC" \ >>--with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >>9.0/Common7/IDE" \ >>--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >>9.0/VC/bin" \ >>--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \ >>--with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0" \ >>--with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS/Unicode" \ >>--with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK >>(June 2010)" \ >>--with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \ >>--with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \ >>--with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \ >>--with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \ >>--enable-pch \ >>--with-package-format="installed msi" \ >>--enable-win-x64-shellext \ >>--enable-category-b \ >>--enable-bundled-dictionaries \ >>--with-lang="de" \ >>--without-fonts \ >>--without-stlport \ >>--without-junit \ >>--disable-online-update \ >>--disable-odk \ >>--disable-strip-solver \ >>--enable-symbols \ >>--enable-dbgutil \ >>--enable-crashdump \ >>--enable-debug \ >>--enable-verbose \ >> >>./bootstrap >>source winenv.set.sh >>cd instsetoo_native >>build --all -P2 -- -P2 >> >> >>Regards >>Oliver >> >>- >>To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>For additional commands, e-mail: dev-h...@openoffice.apache.org >> > >- >To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >For additional commands, e-mail: dev-h...@openoffice.apache.org > >
Re: compile error
> I think, that you need 32bit Cygwin and Java JDK. Look here https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7 Zdraví / Regards,Michal Hriň i am build with win7 64bit, but you need to install 32bit versions: - http://cygwin.com v. 1.7.33 - http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html Oliver - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Re: compile error
I think, that you need 32bit Cygwin and Java JDK. Look here https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7 Zdraví / Regards,Michal Hriň Dňa piatok, 9. január 2015 7:46 ,郄宁 napísal: OK,thank you .I have another question, What you are using operating system, 64or32? Cygwin 64or32? JDK 64or32? At 2015-01-09 02:18:14, "Oliver Brinzing" wrote: >Hi 郄宁, > >i used the following configuration to build AOO 4.1.1: > >SourceMain=/cygdrive/c/build_tmp/aoo-4.1.1/main >cd $SourceMain >autoconf >./configure \ >--with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \ >--with-vendor="AOO Debug Build" \ >--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"; > \ >--with-ant-home="/cygdrive/c/build/ant" \ >--with-mozilla-build="/cygdrive/c/build/mozilla-build" \ >--with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ >--with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ >--with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin" \ >--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >9.0/VC" \ >--with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >9.0/Common7/IDE" \ >--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >9.0/VC/bin" \ >--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \ >--with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0" \ >--with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS/Unicode" \ >--with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK >(June 2010)" \ >--with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \ >--with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \ >--with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \ >--with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \ >--enable-pch \ >--with-package-format="installed msi" \ >--enable-win-x64-shellext \ >--enable-category-b \ >--enable-bundled-dictionaries \ >--with-lang="de" \ >--without-fonts \ >--without-stlport \ >--without-junit \ >--disable-online-update \ >--disable-odk \ >--disable-strip-solver \ >--enable-symbols \ >--enable-dbgutil \ >--enable-crashdump \ >--enable-debug \ >--enable-verbose \ > >./bootstrap >source winenv.set.sh >cd instsetoo_native >build --all -P2 -- -P2 > > >Regards >Oliver > >- >To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >For additional commands, e-mail: dev-h...@openoffice.apache.org > - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re:Re: compile error
Hi,The error configure command to run me as you said: checking Windows build environment sanity... Configure: error: /usr/bin/gawk, awk, tar or gunzip is a cygwin symlink!Native windows programs cannot use cygwin symlinks. Remove the symbolicLink, and copy the program to the name of the link.I carried outcd /binrm awk.execp gawk.exe awk.exe At 2015-01-09 02:18:14, "Oliver Brinzing" wrote: >Hi 郄宁, > >i used the following configuration to build AOO 4.1.1: > >SourceMain=/cygdrive/c/build_tmp/aoo-4.1.1/main >cd $SourceMain >autoconf >./configure \ >--with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \ >--with-vendor="AOO Debug Build" \ >--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"; > \ >--with-ant-home="/cygdrive/c/build/ant" \ >--with-mozilla-build="/cygdrive/c/build/mozilla-build" \ >--with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ >--with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ >--with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin" \ >--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >9.0/VC" \ >--with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >9.0/Common7/IDE" \ >--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >9.0/VC/bin" \ >--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \ >--with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0" \ >--with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS/Unicode" \ >--with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK >(June 2010)" \ >--with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \ >--with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \ >--with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \ >--with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \ >--enable-pch \ >--with-package-format="installed msi" \ >--enable-win-x64-shellext \ >--enable-category-b \ >--enable-bundled-dictionaries \ >--with-lang="de" \ >--without-fonts \ >--without-stlport \ >--without-junit \ >--disable-online-update \ >--disable-odk \ >--disable-strip-solver \ >--enable-symbols \ >--enable-dbgutil \ >--enable-crashdump \ >--enable-debug \ >--enable-verbose \ > >./bootstrap >source winenv.set.sh >cd instsetoo_native >build --all -P2 -- -P2 > > >Regards >Oliver > >- >To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >For additional commands, e-mail: dev-h...@openoffice.apache.org >
Re:Re: compile error
OK,thank you .I have another question, What you are using operating system, 64or32? Cygwin 64or32? JDK 64or32? At 2015-01-09 02:18:14, "Oliver Brinzing" wrote: >Hi 郄宁, > >i used the following configuration to build AOO 4.1.1: > >SourceMain=/cygdrive/c/build_tmp/aoo-4.1.1/main >cd $SourceMain >autoconf >./configure \ >--with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \ >--with-vendor="AOO Debug Build" \ >--with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"; > \ >--with-ant-home="/cygdrive/c/build/ant" \ >--with-mozilla-build="/cygdrive/c/build/mozilla-build" \ >--with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ >--with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ >--with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin" \ >--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >9.0/VC" \ >--with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >9.0/Common7/IDE" \ >--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio >9.0/VC/bin" \ >--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \ >--with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0" \ >--with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS/Unicode" \ >--with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK >(June 2010)" \ >--with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \ >--with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \ >--with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \ >--with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \ >--enable-pch \ >--with-package-format="installed msi" \ >--enable-win-x64-shellext \ >--enable-category-b \ >--enable-bundled-dictionaries \ >--with-lang="de" \ >--without-fonts \ >--without-stlport \ >--without-junit \ >--disable-online-update \ >--disable-odk \ >--disable-strip-solver \ >--enable-symbols \ >--enable-dbgutil \ >--enable-crashdump \ >--enable-debug \ >--enable-verbose \ > >./bootstrap >source winenv.set.sh >cd instsetoo_native >build --all -P2 -- -P2 > > >Regards >Oliver > >- >To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >For additional commands, e-mail: dev-h...@openoffice.apache.org > - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: compile error
Hi 郄宁, i used the following configuration to build AOO 4.1.1: SourceMain=/cygdrive/c/build_tmp/aoo-4.1.1/main cd $SourceMain autoconf ./configure \ --with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \ --with-vendor="AOO Debug Build" \ --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"; \ --with-ant-home="/cygdrive/c/build/ant" \ --with-mozilla-build="/cygdrive/c/build/mozilla-build" \ --with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ --with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" \ --with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0/bin" \ --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \ --with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE" \ --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \ --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \ --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0" \ --with-nsis-path="/cygdrive/c/Program Files (x86)/NSIS/Unicode" \ --with-directx-home="/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK (June 2010)" \ --with-atl-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/atl71" \ --with-atl-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386" \ --with-mfc-include-dir="/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42" \ --with-mfc-lib-dir="/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386" \ --enable-pch \ --with-package-format="installed msi" \ --enable-win-x64-shellext \ --enable-category-b \ --enable-bundled-dictionaries \ --with-lang="de" \ --without-fonts \ --without-stlport \ --without-junit \ --disable-online-update \ --disable-odk \ --disable-strip-solver \ --enable-symbols \ --enable-dbgutil \ --enable-crashdump \ --enable-debug \ --enable-verbose \ ./bootstrap source winenv.set.sh cd instsetoo_native build --all -P2 -- -P2 Regards Oliver - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
compile error
Hi~ In the win 7 system compile OO source code error as shown below: zhhh@zhhh-PC ~/aoo-4.1.1 $ cd main zhhh@zhhh-PC ~/aoo-4.1.1/main $ ./configure --disable-build-mozilla --with-mozilla-build="/cygdrive/d/Program Files/mozilla-build" \ --with-cl-home="/cygdrive/d/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \ --with-mspdb-path="/cygdrive/d/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE" \ --with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1" \ --with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1" \ --with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1/Bin" \ --with-asm-home="/cygdrive/d/Program Files (x86)/Microsoft Visual Studio 9.0/VC/Bin" \ --with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5" \ --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0_71" \ --with-directx-home="/cygdrive/d/OOo/DirectXSDK" \ --with-ant-home="/cygdrive/d/ant/apache-ant-1.9.3" \ > configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: 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... gawk checking for gawk... /usr/bin/gawk checking for sed... /usr/bin/sed checking for solenv environment... default checking for custom pack.lst... no checking build system type... config.sub: missing argument Try `config.sub --help' for more information. configure: error: /bin/sh ./config.sub failed zhhh@zhhh-PC ~/aoo-4.1.1/main $ config.sub --help -bash: config.sub: command not found