You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Yemelyanenko Fyodor <fy...@hotmail.com> on 2017/06/27 06:12:25 UTC

Building OO

=============
Building module udm
=============

Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
Hello!

I'm newbie in OO development, and as New Volunteer Orientation module suggests, I've established local build env, and try to build OO.
I've installed required prerequisites from Building Guide (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO) and started to build with this command

./configure \
    --with-frame-home="$SDK_PATH" \
    --with-psdk-home="$SDK_PATH" \
    --with-midl-path="$SDK_PATH/bin" \
    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
    --disable-pch \
    --disable-atl \
    --disable-activex \
    --disable-nss-module \
    --without-junit \
    --disable-directx
 
There are some modules built successfully, but built stop on UDM module with following error

cd .. && make -s -r -j1   && make -s -r deliverlog
[ build CXX ] udm/source/html/htmlitem
htmlitem.cxx
[ build CXX ] udm/source/xml/xmlitem
xmlitem.cxx
[ build DEP ] LNK:StaticLibrary/udm.lib
[ build PKG ] udm_inc
', needed by '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
dmake:  Error code 2, while making 'all'

1 module(s):
        udm
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/main/udm/prj

When you have fixed the errors in that module you can resume the build by running:

        build --all:udm

I'm not professional with dmake (yet), so any help would be appreciated.

--
Fyodor


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re[4]: Building OO

Posted by Yemelyanenko Fyodor <fy...@hotmail.com>.
I use following config script

./configure \
   --with-frame-home="$SDK_PATH" \
   --with-psdk-home="$SDK_PATH" \
   --with-midl-path="$SDK_PATH/bin" \
   --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
   --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
   --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
   --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
   --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
   --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
   --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
   --disable-pch \
   --disable-atl \
   --disable-activex \
   --disable-nss-module \
   --without-junit \
   --disable-directx

On Windows 8.1 64 bit Hyper-v VM

Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin

I've tried to rebuild with following script (full path) with no success

./configure \
   --with-frame-home="$SDK_PATH" \
   --with-psdk-home="$SDK_PATH" \
   --with-midl-path="$SDK_PATH/bin" \
   --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
   --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
   --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
   --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \
   --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
   --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
   --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
   --disable-pch \
   --disable-atl \
   --disable-activex \
   --disable-nss-module \
   --without-junit \
   --disable-directx

Now I have error on module gtest...

dmake: Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'

1 module(s):
gtest
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest

When you have fixed the errors in that module you can resume the build by running:

build --all:gtest

------ Исходное сообщение ------
От: "Damjan Jovanovic" <da...@apache.org>>
Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
Копия: "Apache OO" <de...@openoffice.apache.org>>
Отправлено: 02.07.2017 16:46:09
Тема: Re: Re[2]: Building OO

I just succeeded in building trunk with:

32 bit VirtualBox VM
Windows XP
SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH" --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6" --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" --enable-pch --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar" --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar" --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx --with-package-format="installed" --enable-wiki-publisher

Please post your full setup and build options.

Regards
Damjan

On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <fy...@hotmail.com>> wrote:
Hello Damjan,

I've commented out in main/udm/StaticLibrary_udm.mk

#ifeq ($(OS),WNT)
#$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
#else

Now build stopped on xml2cmp module...


                        =============
                        Building module xml2cmp
                        =============

                        Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj

                        cd .. && make -s -r -j1   && make -s -r deliverlog
                        [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
headers to be there!
                        [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
headers to be there!
                        [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
headers to be there!
                        [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
headers to be there!
                        [ build CXX ] xml2cmp/source/finder/dependy
                        dependy.cxx
                        [ build CXX ] xml2cmp/source/finder/dep_main
                        dep_main.cxx
                        [ build CXX ] xml2cmp/source/xcd/cr_html
                        cr_html.cxx
                        [ build CXX ] xml2cmp/source/xcd/cr_index
                        cr_index.cxx
                        [ build CXX ] xml2cmp/source/xcd/cr_metho
                        cr_metho.cxx
                        [ build CXX ] xml2cmp/source/xcd/filebuff
                        filebuff.cxx
                        [ build CXX ] xml2cmp/source/xcd/parse
                        parse.cxx
                        [ build CXX ] xml2cmp/source/xcd/xmlelem
                        xmlelem.cxx
                        [ build CXX ] xml2cmp/source/xcd/xmltree
                        xmltree.cxx
                        [ build CXX ] xml2cmp/source/support/cmdline
                        cmdline.cxx
                        [ build CXX ] xml2cmp/source/support/heap
                        heap.cxx
                        [ build CXX ] xml2cmp/source/support/sistr
                        sistr.cxx
                        [ build CXX ] xml2cmp/source/support/syshelp
                        syshelp.cxx
                        [ build CXX ] xml2cmp/source/support/badcast
                        badcast.cxx
                        [ build DEP ] LNK:Executable/srvdepy.exe
                        [ build CXX ] xml2cmp/source/xcd/main
                        main.cxx
                        [ build DEP ] LNK:Executable/xml2cmp.exe
                        ', needed by
'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
  Stop.
                        dmake:  Error code 2, while making 'all'

                        1 module(s):
                                xml2cmp
                        need(s) to be rebuilt

                        Reason(s):

                        ERROR: error 65280 occurred while making
/cygdrive/c/source/aoo-trunk/main/xml2cmp/prj

                        When you have fixed the errors in that module you can resume the
build by running:

                                build --all:xml2cmp

------ Исходное сообщение ------
От: "Damjan Jovanovic" <da...@apache.org>>
Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
Копия: "Apache OO" <de...@openoffice.apache.org>>
Отправлено: 28.06.2017 15:07:29
Тема: Re: Building OO

>Hi Fyodor
>
>The problem is almost certainly in
>main/udm/StaticLibrary_udm.mk
>
>Make try take out the contents of the ifeq ($(OS),WNT) section?
>
>I'll try build it later.
>
>Damjan
>
>On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
><fy...@hotmail.com>> wrote:
>>Hi Damjan,
>>
>>I’ve got OO using svn co
>>https://svn.apache.org/repos/asf/openoffice/trunk
>><https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>ago.
>>
>>I've cd'ed to udm and tried build -all:udm
>>
>>This is output
>>                         Admin@shr-pc
>>/cygdrive/c/source/aoo-trunk/main/udm
>>                         $ build --all:udm
>>                         build -- version: 1775979
>>
>>
>>                         =============
>>                         Building module udm
>>                         =============
>>
>>                         Entering
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>                         cd .. && make -s -r -j1   && make -s -r
>>deliverlog
>>                         ', needed by
>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>   Stop.
>>                         dmake:  Error code 2, while making 'all'
>>
>>                         1 module(s):
>>                                 udm
>>                         need(s) to be rebuilt
>>
>>                         Reason(s):
>>
>>                         ERROR: error 65280 occurred while making
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>                         When you have fixed the errors in that module
>>you can resume the
>>build by running:
>>
>>                                 build --all:udm
>>
>>
>>I think I need to deep dive into dmake, so I'll be able to trace build
>>and link processes and find what exactly done on udm module. So I'll
>>appreciate reference to information on dmake.
>>
>>--
>>Fyodor
>>
>>
>>From: Damjan Jovanovic [mailto:damjan@apache.org<ma...@apache.org>]
>>Sent: Tuesday, June 27, 2017 5:38 PM
>>To: Apache OO <de...@openoffice.apache.org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>Subject: Re: Building OO
>>
>>Hi Fyodor
>>Welcome to AOO :).
>>What version are you building?
>>Can you "cd" into the udm directory, and post the full output of
>>"build"
>>run from there?
>>Thank you
>>Damjan
>>
>>On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>><fy...@hotmail.com>> wrote:
>>=============
>>Building module udm
>>=============
>>
>>Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>Hello!
>>
>>I'm newbie in OO development, and as New Volunteer Orientation module
>>suggests, I've established local build env, and try to build OO.
>>I've installed required prerequisites from Building Guide
>>(http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>><http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>and
>>started to build with this command
>>
>>./configure \
>>      --with-frame-home="$SDK_PATH" \
>>      --with-psdk-home="$SDK_PATH" \
>>      --with-midl-path="$SDK_PATH/bin" \
>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>
>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>><https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>\
>>
>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>><https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>\
>>      --disable-pch \
>>      --disable-atl \
>>      --disable-activex \
>>      --disable-nss-module \
>>      --without-junit \
>>      --disable-directx
>>
>>There are some modules built successfully, but built stop on UDM
>>module
>>with following error
>>
>>cd .. && make -s -r -j1   && make -s -r deliverlog
>>[ build CXX ] udm/source/html/htmlitem
>>htmlitem.cxx
>>[ build CXX ] udm/source/xml/xmlitem
>>xmlitem.cxx
>>[ build DEP ] LNK:StaticLibrary/udm.lib
>>[ build PKG ] udm_inc
>>', needed by
>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>   Stop.
>>dmake:  Error code 2, while making 'all'
>>
>>1 module(s):
>>          udm
>>need(s) to be rebuilt
>>
>>Reason(s):
>>
>>ERROR: error 65280 occurred while making
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>When you have fixed the errors in that module you can resume the build
>>by running:
>>
>>          build --all:udm
>>
>>I'm not professional with dmake (yet), so any help would be
>>appreciated.
>>
>>--
>>Fyodor
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>><ma...@openoffice.apache.org>>
>>For additional commands, e-mail: dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>
>



Re: Ide for Open Office (was Building OO)

Posted by Patricia Shanahan <pa...@acm.org>.
I use Visual Studio as a debug tool, and sometimes as an editor. I do my 
builds in a Cygwin shell, following 
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7.2C_Windows_8.1.2C_Windows_10 
instructions.

I edit using either gvim or Visual Studio depending on which is more 
convenient.

On 7/18/2017 11:18 PM, Peter kovacs wrote:
> There is no uniform answer, since one works as he like. I don't think we change the policy.
> However we have a guide for Eclipse on wiki. Which will give you a very basic IDE support.
> I would like to use intelliJ, but the IDE does not support java and C/C++ at the same time. However a feature request has been made, and the creator company plans the support somewhere in the future.
> You could try qtcreator, but I do not know how much the IDE can be extended towards our needs.
> 
> So I decided to hopp at Eclipse, since it has the best support today. I am thinking about a special IDE plugin. But I have not made much progress. Still bound to vi and command-line.
> 
> Patricia is using Visual Studio on Windows I think. How is it helping?
> 
> All the best
> Peter
> 
> Am 19. Juli 2017 07:35:42 MESZ schrieb Yemelyanenko Fyodor <fy...@hotmail.com>:
>> Yes, sure, I mean IDE
>>
>> ------ Исходное сообщение ------
>> От: "Peter Kovacs" <pe...@posteo.de>
>> Кому: dev@openoffice.apache.org
>> Отправлено: 19.07.2017 14:51:57
>> Тема: Re: Re[5]: Building OO
>>
>>> Hello,
>>>
>>> Do you mean by dev environment an IDE?
>>>
>>> All the best
>>> Peter
>>>
>>> Am 19. Juli 2017 02:50:48 MESZ schrieb Yemelyanenko Fyodor
>>> <fyodor_e@hot
>>> mail.com>:
>>>> Hello!
>>>>
>>>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>>>> installed
>>>> And OO built successfully! :-)
>>>>
>>>> Now trying to do the same on W7 x32.
>>>>
>>>> As Id like to deep dive into OO development, could you please share
>>>> what dev environment do you use on Ubuntu and on W7 (I believe, that
>>>> I'll finally success in building OO on Windows).
>>>> Any thoughts on establishing dev environment will be appreciated.
>>>>
>>>> --
>>>> Fyodor
>>>>
>>>> ------ Исходное сообщение ------
>>>> От: "Емельяненко Федор"
>>>> <fy...@hotmail.com>>
>>>> Кому: "Damjan Jovanovic"
>> <da...@apache.org>>
>>>> Копия: "Apache OO"
>>>> <de...@openoffice.apache.org>>
>>>> Отправлено: 04.07.2017 12:57:52
>>>> Тема: Re[4]: Building OO
>>>>
>>>> I use following config script
>>>>
>>>> ./configure \
>>>>     --with-frame-home="$SDK_PATH" \
>>>>     --with-psdk-home="$SDK_PATH" \
>>>>     --with-midl-path="$SDK_PATH/bin" \
>>>>     --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>     --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>     --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>     --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>     --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
>>>> \
>>>> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
>>>> \
>>>>     --disable-pch \
>>>>     --disable-atl \
>>>>     --disable-activex \
>>>>     --disable-nss-module \
>>>>     --without-junit \
>>>>     --disable-directx
>>>>
>>>> On Windows 8.1 64 bit Hyper-v VM
>>>>
>>>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>>>
>>>> I've tried to rebuild with following script (full path) with no
>>>> success
>>>>
>>>> ./configure \
>>>>     --with-frame-home="$SDK_PATH" \
>>>>     --with-psdk-home="$SDK_PATH" \
>>>>     --with-midl-path="$SDK_PATH/bin" \
>>>>     --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>    --with-jdk-home="/cygdrive/c/Program Files
>> (x86)/Java/jdk1.8.0_131"
>>>> \
>>>>    
>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>>>> \
>>>> --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>>>> Studio
>>>> 9.0/VC" \
>>>> --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>>>> Studio 9.0/VC/bin" \
>>>> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
>>>> \
>>>> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
>>>> \
>>>>     --disable-pch \
>>>>     --disable-atl \
>>>>     --disable-activex \
>>>>     --disable-nss-module \
>>>>     --without-junit \
>>>>     --disable-directx
>>>>
>>>> Now I have error on module gtest...
>>>>
>>>> dmake: Error code 2, while making
>>>> './wntmsci12.pro/misc/build/so_built_oo_gtest'
>>>>
>>>> 1 module(s):
>>>> gtest
>>>> need(s) to be rebuilt
>>>>
>>>> Reason(s):
>>>>
>>>> ERROR: error 65280 occurred while making
>>>> /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>
>>>> When you have fixed the errors in that module you can resume the
>> build
>>>> by running:
>>>>
>>>> build --all:gtest
>>>>
>>>> ------ Исходное сообщение ------
>>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>>> Кому: "Yemelyanenko Fyodor"
>>>> <fy...@hotmail.com>>
>>>> Копия: "Apache OO"
>>>> <de...@openoffice.apache.org>>
>>>> Отправлено: 02.07.2017 16:46:09
>>>> Тема: Re: Re[2]: Building OO
>>>>
>>>> I just succeeded in building trunk with:
>>>>
>>>> 32 bit VirtualBox VM
>>>> Windows XP
>>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>>>> ./configure --with-frame-home="$SDK_PATH"
>> --with-psdk-home="$SDK_PATH"
>>>> --with-midl-path="$SDK_PATH/bin"
>>>> --with-ant-home="/cygdrive/c/apache-ant-1.9.6"
>>>> --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"
>>>> --enable-pch --disable-atl --disable-activex
>>>> --with-junit="/cygdrive/c/source/junit.jar"
>>>> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>>>> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
>>>> 9.0/VC"
>>>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>>>> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>>>> --disable-directx --with-package-format="installed"
>>>> --enable-wiki-publisher
>>>>
>>>> Please post your full setup and build options.
>>>>
>>>> Regards
>>>> Damjan
>>>>
>>>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor
>>>> <fy...@hotmail.com>> wrote:
>>>> Hello Damjan,
>>>>
>>>> I've commented out in main/udm/StaticLibrary_udm.mk
>>>>
>>>> #ifeq ($(OS),WNT)
>>>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>>> #else
>>>>
>>>> Now build stopped on xml2cmp module...
>>>>
>>>>
>>>>                          =============
>>>>                          Building module xml2cmp
>>>>                          =============
>>>>
>>>>                   Entering
>>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>
>>>>                       cd .. && make -s -r -j1   && make -s -r
>>>> deliverlog
>>>>       [ info  ALL ] LinkTarget Library/msvcprt.lib not defined:
>>>> Assuming
>>>> headers to be there!
>>>>      [ info  ALL ] LinkTarget Library/kernel32.lib not defined:
>>>> Assuming
>>>> headers to be there!
>>>>        [ info  ALL ] LinkTarget Library/msvcrt.lib not defined:
>>>> Assuming
>>>> headers to be there!
>>>>      [ info  ALL ] LinkTarget Library/oldnames.lib not defined:
>>>> Assuming
>>>> headers to be there!
>>>>                          [ build CXX ] xml2cmp/source/finder/dependy
>>>>                          dependy.cxx
>>>>                          [ build CXX ] xml2cmp/source/finder/dep_main
>>>>                          dep_main.cxx
>>>>                          [ build CXX ] xml2cmp/source/xcd/cr_html
>>>>                          cr_html.cxx
>>>>                          [ build CXX ] xml2cmp/source/xcd/cr_index
>>>>                          cr_index.cxx
>>>>                          [ build CXX ] xml2cmp/source/xcd/cr_metho
>>>>                          cr_metho.cxx
>>>>                          [ build CXX ] xml2cmp/source/xcd/filebuff
>>>>                          filebuff.cxx
>>>>                          [ build CXX ] xml2cmp/source/xcd/parse
>>>>                          parse.cxx
>>>>                          [ build CXX ] xml2cmp/source/xcd/xmlelem
>>>>                          xmlelem.cxx
>>>>                          [ build CXX ] xml2cmp/source/xcd/xmltree
>>>>                          xmltree.cxx
>>>>                          [ build CXX ] xml2cmp/source/support/cmdline
>>>>                          cmdline.cxx
>>>>                          [ build CXX ] xml2cmp/source/support/heap
>>>>                          heap.cxx
>>>>                          [ build CXX ] xml2cmp/source/support/sistr
>>>>                          sistr.cxx
>>>>                          [ build CXX ] xml2cmp/source/support/syshelp
>>>>                          syshelp.cxx
>>>>                          [ build CXX ] xml2cmp/source/support/badcast
>>>>                          badcast.cxx
>>>>                          [ build DEP ] LNK:Executable/srvdepy.exe
>>>>                          [ build CXX ] xml2cmp/source/xcd/main
>>>>                          main.cxx
>>>>                          [ build DEP ] LNK:Executable/xml2cmp.exe
>>>>                          ', needed by
>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>>>    Stop.
>>>>                          dmake:  Error code 2, while making 'all'
>>>>
>>>>                          1 module(s):
>>>>                                  xml2cmp
>>>>                          need(s) to be rebuilt
>>>>
>>>>                          Reason(s):
>>>>
>>>>                          ERROR: error 65280 occurred while making
>>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>
>>>>         When you have fixed the errors in that module you can resume
>>>> the
>>>> build by running:
>>>>
>>>>                                  build --all:xml2cmp
>>>>
>>>> ------ Исходное сообщение ------
>>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>>> Кому: "Yemelyanenko Fyodor"
>>>> <fy...@hotmail.com>>
>>>> Копия: "Apache OO"
>>>> <de...@openoffice.apache.org>>
>>>> Отправлено: 28.06.2017 15:07:29
>>>> Тема: Re: Building OO
>>>>
>>>>> Hi Fyodor
>>>>>
>>>>> The problem is almost certainly in
>>>>> main/udm/StaticLibrary_udm.mk
>>>>>
>>>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>>>
>>>>> I'll try build it later.
>>>>>
>>>>> Damjan
>>>>>
>>>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>>>> <fy...@hotmail.com>> wrote:
>>>>>> Hi Damjan,
>>>>>>
>>>>>> I’ve got OO using svn co
>>>>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a
>> week
>>>>>> ago.
>>>>>>
>>>>>> I've cd'ed to udm and tried build -all:udm
>>>>>>
>>>>>> This is output
>>>>>>                           Admin@shr-pc
>>>>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>>>>                           $ build --all:udm
>>>>>>                           build -- version: 1775979
>>>>>>
>>>>>>
>>>>>>                           =============
>>>>>>                           Building module udm
>>>>>>                           =============
>>>>>>
>>>>>>                           Entering
>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>
>>>>>>                           cd .. && make -s -r -j1   && make -s -r
>>>>>> deliverlog
>>>>>>                           ', needed by
>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>>     Stop.
>>>>>>                           dmake:  Error code 2, while making 'all'
>>>>>>
>>>>>>                           1 module(s):
>>>>>>                                   udm
>>>>>>                           need(s) to be rebuilt
>>>>>>
>>>>>>                           Reason(s):
>>>>>>
>>>>>>                           ERROR: error 65280 occurred while making
>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>
>>>>>>                           When you have fixed the errors in that
>>>> module
>>>>>> you can resume the
>>>>>> build by running:
>>>>>>
>>>>>>                                   build --all:udm
>>>>>>
>>>>>>
>>>>>> I think I need to deep dive into dmake, so I'll be able to trace
>>>> build
>>>>>> and link processes and find what exactly done on udm module. So
>> I'll
>>>>>> appreciate reference to information on dmake.
>>>>>>
>>>>>> --
>>>>>> Fyodor
>>>>>>
>>>>>>
>>>>>> From: Damjan Jovanovic
>>>> [mailto:damjan@apache.org<ma...@apache.org>]
>>>>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>>>>> To: Apache OO
>>>> <de...@openoffice.apache.org>>;
>>>> fyodor_e@hotmail.com<ma...@hotmail.com>
>>>>>> Subject: Re: Building OO
>>>>>>
>>>>>> Hi Fyodor
>>>>>> Welcome to AOO :).
>>>>>> What version are you building?
>>>>>> Can you "cd" into the udm directory, and post the full output of
>>>>>> "build"
>>>>>> run from there?
>>>>>> Thank you
>>>>>> Damjan
>>>>>>
>>>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>>>> <fy...@hotmail.com>> wrote:
>>>>>> =============
>>>>>> Building module udm
>>>>>> =============
>>>>>>
>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>> Hello!
>>>>>>
>>>>>> I'm newbie in OO development, and as New Volunteer Orientation
>>>>>> module
>>>>>> suggests, I've established local build env, and try to build OO.
>>>>>> I've installed required prerequisites from Building Guide
>>>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>>>> and
>>>>>> started to build with this command
>>>>>>
>>>>>> ./configure \
>>>>>>        --with-frame-home="$SDK_PATH" \
>>>>>>        --with-psdk-home="$SDK_PATH" \
>>>>>>        --with-midl-path="$SDK_PATH/bin" \
>>>>>>        --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>        --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>        --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>        --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>        --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>
>>>>>> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>>>>> <https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>>>>> \
>>>>>>
>>>>>> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>>>>> <https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>>>>> \
>>>>>>        --disable-pch \
>>>>>>        --disable-atl \
>>>>>>        --disable-activex \
>>>>>>        --disable-nss-module \
>>>>>>        --without-junit \
>>>>>>        --disable-directx
>>>>>>
>>>>>> There are some modules built successfully, but built stop on UDM
>>>>>> module
>>>>>> with following error
>>>>>>
>>>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>>> [ build CXX ] udm/source/html/htmlitem
>>>>>> htmlitem.cxx
>>>>>> [ build CXX ] udm/source/xml/xmlitem
>>>>>> xmlitem.cxx
>>>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>>>>> [ build PKG ] udm_inc
>>>>>> ', needed by
>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>>     Stop.
>>>>>> dmake:  Error code 2, while making 'all'
>>>>>>
>>>>>> 1 module(s):
>>>>>>            udm
>>>>>> need(s) to be rebuilt
>>>>>>
>>>>>> Reason(s):
>>>>>>
>>>>>> ERROR: error 65280 occurred while making
>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>
>>>>>> When you have fixed the errors in that module you can resume the
>>>> build
>>>>>> by running:
>>>>>>
>>>>>>            build --all:udm
>>>>>>
>>>>>> I'm not professional with dmake (yet), so any help would be
>>>>>> appreciated.
>>>>>>
>>>>>> --
>>>>>> Fyodor
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail:
>>>> dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>>> <ma...@openoffice.apache.org>>
>>>>>> For additional commands, e-mail:
>>>> dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>>>
>>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>
>>>
>>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Ide for Open Office (was Building OO)

Posted by Peter kovacs <pe...@apache.org>.
There is no uniform answer, since one works as he like. I don't think we change the policy.
However we have a guide for Eclipse on wiki. Which will give you a very basic IDE support.
I would like to use intelliJ, but the IDE does not support java and C/C++ at the same time. However a feature request has been made, and the creator company plans the support somewhere in the future.
You could try qtcreator, but I do not know how much the IDE can be extended towards our needs.

So I decided to hopp at Eclipse, since it has the best support today. I am thinking about a special IDE plugin. But I have not made much progress. Still bound to vi and command-line. 

Patricia is using Visual Studio on Windows I think. How is it helping?

All the best
Peter

Am 19. Juli 2017 07:35:42 MESZ schrieb Yemelyanenko Fyodor <fy...@hotmail.com>:
>Yes, sure, I mean IDE
>
>------ Исходное сообщение ------
>От: "Peter Kovacs" <pe...@posteo.de>
>Кому: dev@openoffice.apache.org
>Отправлено: 19.07.2017 14:51:57
>Тема: Re: Re[5]: Building OO
>
>>Hello,
>>
>>Do you mean by dev environment an IDE?
>>
>>All the best
>>Peter
>>
>>Am 19. Juli 2017 02:50:48 MESZ schrieb Yemelyanenko Fyodor 
>><fyodor_e@hot
>>mail.com>:
>>>Hello!
>>>
>>>I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>>>installed
>>>And OO built successfully! :-)
>>>
>>>Now trying to do the same on W7 x32.
>>>
>>>As Id like to deep dive into OO development, could you please share
>>>what dev environment do you use on Ubuntu and on W7 (I believe, that
>>>I'll finally success in building OO on Windows).
>>>Any thoughts on establishing dev environment will be appreciated.
>>>
>>>--
>>>Fyodor
>>>
>>>------ Исходное сообщение ------
>>>От: "Емельяненко Федор"
>>><fy...@hotmail.com>>
>>>Кому: "Damjan Jovanovic"
><da...@apache.org>>
>>>Копия: "Apache OO"
>>><de...@openoffice.apache.org>>
>>>Отправлено: 04.07.2017 12:57:52
>>>Тема: Re[4]: Building OO
>>>
>>>I use following config script
>>>
>>>./configure \
>>>    --with-frame-home="$SDK_PATH" \
>>>    --with-psdk-home="$SDK_PATH" \
>>>    --with-midl-path="$SDK_PATH/bin" \
>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
>>>\
>>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
>>>\
>>>    --disable-pch \
>>>    --disable-atl \
>>>    --disable-activex \
>>>    --disable-nss-module \
>>>    --without-junit \
>>>    --disable-directx
>>>
>>>On Windows 8.1 64 bit Hyper-v VM
>>>
>>>Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>>CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>>Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>>
>>>I've tried to rebuild with following script (full path) with no 
>>>success
>>>
>>>./configure \
>>>    --with-frame-home="$SDK_PATH" \
>>>    --with-psdk-home="$SDK_PATH" \
>>>    --with-midl-path="$SDK_PATH/bin" \
>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>   --with-jdk-home="/cygdrive/c/Program Files
>(x86)/Java/jdk1.8.0_131" 
>>>\
>>>   
>--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" 
>>>\
>>>--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual 
>>>Studio
>>>9.0/VC" \
>>>--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>>>Studio 9.0/VC/bin" \
>>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
>>>\
>>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
>>>\
>>>    --disable-pch \
>>>    --disable-atl \
>>>    --disable-activex \
>>>    --disable-nss-module \
>>>    --without-junit \
>>>    --disable-directx
>>>
>>>Now I have error on module gtest...
>>>
>>>dmake: Error code 2, while making
>>>'./wntmsci12.pro/misc/build/so_built_oo_gtest'
>>>
>>>1 module(s):
>>>gtest
>>>need(s) to be rebuilt
>>>
>>>Reason(s):
>>>
>>>ERROR: error 65280 occurred while making
>>>/cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>
>>>When you have fixed the errors in that module you can resume the
>build
>>>by running:
>>>
>>>build --all:gtest
>>>
>>>------ Исходное сообщение ------
>>>От: "Damjan Jovanovic" <da...@apache.org>>
>>>Кому: "Yemelyanenko Fyodor"
>>><fy...@hotmail.com>>
>>>Копия: "Apache OO"
>>><de...@openoffice.apache.org>>
>>>Отправлено: 02.07.2017 16:46:09
>>>Тема: Re: Re[2]: Building OO
>>>
>>>I just succeeded in building trunk with:
>>>
>>>32 bit VirtualBox VM
>>>Windows XP
>>>SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>>>./configure --with-frame-home="$SDK_PATH"
>--with-psdk-home="$SDK_PATH"
>>>--with-midl-path="$SDK_PATH/bin"
>>>--with-ant-home="/cygdrive/c/apache-ant-1.9.6"
>>>--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"
>>>--enable-pch --disable-atl --disable-activex
>>>--with-junit="/cygdrive/c/source/junit.jar"
>>>--with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>>>--with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
>>>9.0/VC"
>>>--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>>>--with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>>>--disable-directx --with-package-format="installed"
>>>--enable-wiki-publisher
>>>
>>>Please post your full setup and build options.
>>>
>>>Regards
>>>Damjan
>>>
>>>On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor
>>><fy...@hotmail.com>> wrote:
>>>Hello Damjan,
>>>
>>>I've commented out in main/udm/StaticLibrary_udm.mk
>>>
>>>#ifeq ($(OS),WNT)
>>>#$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>>#else
>>>
>>>Now build stopped on xml2cmp module...
>>>
>>>
>>>                         =============
>>>                         Building module xml2cmp
>>>                         =============
>>>
>>>                  Entering 
>>>/cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>
>>>                      cd .. && make -s -r -j1   && make -s -r 
>>>deliverlog
>>>      [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: 
>>>Assuming
>>>headers to be there!
>>>     [ info  ALL ] LinkTarget Library/kernel32.lib not defined: 
>>>Assuming
>>>headers to be there!
>>>       [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: 
>>>Assuming
>>>headers to be there!
>>>     [ info  ALL ] LinkTarget Library/oldnames.lib not defined: 
>>>Assuming
>>>headers to be there!
>>>                         [ build CXX ] xml2cmp/source/finder/dependy
>>>                         dependy.cxx
>>>                         [ build CXX ] xml2cmp/source/finder/dep_main
>>>                         dep_main.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>>>                         cr_html.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>>>                         cr_index.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>>>                         cr_metho.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>>>                         filebuff.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/parse
>>>                         parse.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>>>                         xmlelem.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>>>                         xmltree.cxx
>>>                         [ build CXX ] xml2cmp/source/support/cmdline
>>>                         cmdline.cxx
>>>                         [ build CXX ] xml2cmp/source/support/heap
>>>                         heap.cxx
>>>                         [ build CXX ] xml2cmp/source/support/sistr
>>>                         sistr.cxx
>>>                         [ build CXX ] xml2cmp/source/support/syshelp
>>>                         syshelp.cxx
>>>                         [ build CXX ] xml2cmp/source/support/badcast
>>>                         badcast.cxx
>>>                         [ build DEP ] LNK:Executable/srvdepy.exe
>>>                         [ build CXX ] xml2cmp/source/xcd/main
>>>                         main.cxx
>>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>>>                         ', needed by
>>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>>   Stop.
>>>                         dmake:  Error code 2, while making 'all'
>>>
>>>                         1 module(s):
>>>                                 xml2cmp
>>>                         need(s) to be rebuilt
>>>
>>>                         Reason(s):
>>>
>>>                         ERROR: error 65280 occurred while making
>>>/cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>
>>>        When you have fixed the errors in that module you can resume 
>>>the
>>>build by running:
>>>
>>>                                 build --all:xml2cmp
>>>
>>>------ Исходное сообщение ------
>>>От: "Damjan Jovanovic" <da...@apache.org>>
>>>Кому: "Yemelyanenko Fyodor"
>>><fy...@hotmail.com>>
>>>Копия: "Apache OO"
>>><de...@openoffice.apache.org>>
>>>Отправлено: 28.06.2017 15:07:29
>>>Тема: Re: Building OO
>>>
>>>>Hi Fyodor
>>>>
>>>>The problem is almost certainly in
>>>>main/udm/StaticLibrary_udm.mk
>>>>
>>>>Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>>
>>>>I'll try build it later.
>>>>
>>>>Damjan
>>>>
>>>>On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>>><fy...@hotmail.com>> wrote:
>>>>>Hi Damjan,
>>>>>
>>>>>I’ve got OO using svn co
>>>>>https://svn.apache.org/repos/asf/openoffice/trunk
>>>>><https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a
>week
>>>>>ago.
>>>>>
>>>>>I've cd'ed to udm and tried build -all:udm
>>>>>
>>>>>This is output
>>>>>                          Admin@shr-pc
>>>>>/cygdrive/c/source/aoo-trunk/main/udm
>>>>>                          $ build --all:udm
>>>>>                          build -- version: 1775979
>>>>>
>>>>>
>>>>>                          =============
>>>>>                          Building module udm
>>>>>                          =============
>>>>>
>>>>>                          Entering
>>>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>
>>>>>                          cd .. && make -s -r -j1   && make -s -r
>>>>>deliverlog
>>>>>                          ', needed by
>>>>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>    Stop.
>>>>>                          dmake:  Error code 2, while making 'all'
>>>>>
>>>>>                          1 module(s):
>>>>>                                  udm
>>>>>                          need(s) to be rebuilt
>>>>>
>>>>>                          Reason(s):
>>>>>
>>>>>                          ERROR: error 65280 occurred while making
>>>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>
>>>>>                          When you have fixed the errors in that
>>>module
>>>>>you can resume the
>>>>>build by running:
>>>>>
>>>>>                                  build --all:udm
>>>>>
>>>>>
>>>>>I think I need to deep dive into dmake, so I'll be able to trace
>>>build
>>>>>and link processes and find what exactly done on udm module. So
>I'll
>>>>>appreciate reference to information on dmake.
>>>>>
>>>>>--
>>>>>Fyodor
>>>>>
>>>>>
>>>>>From: Damjan Jovanovic
>>>[mailto:damjan@apache.org<ma...@apache.org>]
>>>>>Sent: Tuesday, June 27, 2017 5:38 PM
>>>>>To: Apache OO
>>><de...@openoffice.apache.org>>;
>>>fyodor_e@hotmail.com<ma...@hotmail.com>
>>>>>Subject: Re: Building OO
>>>>>
>>>>>Hi Fyodor
>>>>>Welcome to AOO :).
>>>>>What version are you building?
>>>>>Can you "cd" into the udm directory, and post the full output of
>>>>>"build"
>>>>>run from there?
>>>>>Thank you
>>>>>Damjan
>>>>>
>>>>>On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>>><fy...@hotmail.com>> wrote:
>>>>>=============
>>>>>Building module udm
>>>>>=============
>>>>>
>>>>>Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>Hello!
>>>>>
>>>>>I'm newbie in OO development, and as New Volunteer Orientation 
>>>>>module
>>>>>suggests, I've established local build env, and try to build OO.
>>>>>I've installed required prerequisites from Building Guide
>>>>>(http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>><http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>>>and
>>>>>started to build with this command
>>>>>
>>>>>./configure \
>>>>>       --with-frame-home="$SDK_PATH" \
>>>>>       --with-psdk-home="$SDK_PATH" \
>>>>>       --with-midl-path="$SDK_PATH/bin" \
>>>>>       --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>       --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>       --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>       --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>       --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>
>>>>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>>>><https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>>>>\
>>>>>
>>>>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>>>><https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>>>>\
>>>>>       --disable-pch \
>>>>>       --disable-atl \
>>>>>       --disable-activex \
>>>>>       --disable-nss-module \
>>>>>       --without-junit \
>>>>>       --disable-directx
>>>>>
>>>>>There are some modules built successfully, but built stop on UDM
>>>>>module
>>>>>with following error
>>>>>
>>>>>cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>>[ build CXX ] udm/source/html/htmlitem
>>>>>htmlitem.cxx
>>>>>[ build CXX ] udm/source/xml/xmlitem
>>>>>xmlitem.cxx
>>>>>[ build DEP ] LNK:StaticLibrary/udm.lib
>>>>>[ build PKG ] udm_inc
>>>>>', needed by
>>>>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>    Stop.
>>>>>dmake:  Error code 2, while making 'all'
>>>>>
>>>>>1 module(s):
>>>>>           udm
>>>>>need(s) to be rebuilt
>>>>>
>>>>>Reason(s):
>>>>>
>>>>>ERROR: error 65280 occurred while making
>>>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>
>>>>>When you have fixed the errors in that module you can resume the
>>>build
>>>>>by running:
>>>>>
>>>>>           build --all:udm
>>>>>
>>>>>I'm not professional with dmake (yet), so any help would be
>>>>>appreciated.
>>>>>
>>>>>--
>>>>>Fyodor
>>>>>
>>>>>
>>>>>---------------------------------------------------------------------
>>>>>To unsubscribe, e-mail:
>>>dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>><ma...@openoffice.apache.org>>
>>>>>For additional commands, e-mail:
>>>dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>>
>>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re[7]: Building OO

Posted by Yemelyanenko Fyodor <fy...@hotmail.com>.
Yes, sure, I mean IDE

------ Исходное сообщение ------
От: "Peter Kovacs" <pe...@posteo.de>
Кому: dev@openoffice.apache.org
Отправлено: 19.07.2017 14:51:57
Тема: Re: Re[5]: Building OO

>Hello,
>
>Do you mean by dev environment an IDE?
>
>All the best
>Peter
>
>Am 19. Juli 2017 02:50:48 MESZ schrieb Yemelyanenko Fyodor 
><fyodor_e@hot
>mail.com>:
>>Hello!
>>
>>I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>>installed
>>And OO built successfully! :-)
>>
>>Now trying to do the same on W7 x32.
>>
>>As Id like to deep dive into OO development, could you please share
>>what dev environment do you use on Ubuntu and on W7 (I believe, that
>>I'll finally success in building OO on Windows).
>>Any thoughts on establishing dev environment will be appreciated.
>>
>>--
>>Fyodor
>>
>>------ Исходное сообщение ------
>>От: "Емельяненко Федор"
>><fy...@hotmail.com>>
>>Кому: "Damjan Jovanovic" <da...@apache.org>>
>>Копия: "Apache OO"
>><de...@openoffice.apache.org>>
>>Отправлено: 04.07.2017 12:57:52
>>Тема: Re[4]: Building OO
>>
>>I use following config script
>>
>>./configure \
>>    --with-frame-home="$SDK_PATH" \
>>    --with-psdk-home="$SDK_PATH" \
>>    --with-midl-path="$SDK_PATH/bin" \
>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
>>\
>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
>>\
>>    --disable-pch \
>>    --disable-atl \
>>    --disable-activex \
>>    --disable-nss-module \
>>    --without-junit \
>>    --disable-directx
>>
>>On Windows 8.1 64 bit Hyper-v VM
>>
>>Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>
>>I've tried to rebuild with following script (full path) with no 
>>success
>>
>>./configure \
>>    --with-frame-home="$SDK_PATH" \
>>    --with-psdk-home="$SDK_PATH" \
>>    --with-midl-path="$SDK_PATH/bin" \
>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>   --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" 
>>\
>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" 
>>\
>>--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual 
>>Studio
>>9.0/VC" \
>>--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>>Studio 9.0/VC/bin" \
>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
>>\
>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
>>\
>>    --disable-pch \
>>    --disable-atl \
>>    --disable-activex \
>>    --disable-nss-module \
>>    --without-junit \
>>    --disable-directx
>>
>>Now I have error on module gtest...
>>
>>dmake: Error code 2, while making
>>'./wntmsci12.pro/misc/build/so_built_oo_gtest'
>>
>>1 module(s):
>>gtest
>>need(s) to be rebuilt
>>
>>Reason(s):
>>
>>ERROR: error 65280 occurred while making
>>/cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>
>>When you have fixed the errors in that module you can resume the build
>>by running:
>>
>>build --all:gtest
>>
>>------ Исходное сообщение ------
>>От: "Damjan Jovanovic" <da...@apache.org>>
>>Кому: "Yemelyanenko Fyodor"
>><fy...@hotmail.com>>
>>Копия: "Apache OO"
>><de...@openoffice.apache.org>>
>>Отправлено: 02.07.2017 16:46:09
>>Тема: Re: Re[2]: Building OO
>>
>>I just succeeded in building trunk with:
>>
>>32 bit VirtualBox VM
>>Windows XP
>>SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>>./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
>>--with-midl-path="$SDK_PATH/bin"
>>--with-ant-home="/cygdrive/c/apache-ant-1.9.6"
>>--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"
>>--enable-pch --disable-atl --disable-activex
>>--with-junit="/cygdrive/c/source/junit.jar"
>>--with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>>--with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
>>9.0/VC"
>>--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>>--with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>>--disable-directx --with-package-format="installed"
>>--enable-wiki-publisher
>>
>>Please post your full setup and build options.
>>
>>Regards
>>Damjan
>>
>>On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor
>><fy...@hotmail.com>> wrote:
>>Hello Damjan,
>>
>>I've commented out in main/udm/StaticLibrary_udm.mk
>>
>>#ifeq ($(OS),WNT)
>>#$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>#else
>>
>>Now build stopped on xml2cmp module...
>>
>>
>>                         =============
>>                         Building module xml2cmp
>>                         =============
>>
>>                  Entering 
>>/cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>
>>                      cd .. && make -s -r -j1   && make -s -r 
>>deliverlog
>>      [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: 
>>Assuming
>>headers to be there!
>>     [ info  ALL ] LinkTarget Library/kernel32.lib not defined: 
>>Assuming
>>headers to be there!
>>       [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: 
>>Assuming
>>headers to be there!
>>     [ info  ALL ] LinkTarget Library/oldnames.lib not defined: 
>>Assuming
>>headers to be there!
>>                         [ build CXX ] xml2cmp/source/finder/dependy
>>                         dependy.cxx
>>                         [ build CXX ] xml2cmp/source/finder/dep_main
>>                         dep_main.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>>                         cr_html.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>>                         cr_index.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>>                         cr_metho.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>>                         filebuff.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/parse
>>                         parse.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>>                         xmlelem.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>>                         xmltree.cxx
>>                         [ build CXX ] xml2cmp/source/support/cmdline
>>                         cmdline.cxx
>>                         [ build CXX ] xml2cmp/source/support/heap
>>                         heap.cxx
>>                         [ build CXX ] xml2cmp/source/support/sistr
>>                         sistr.cxx
>>                         [ build CXX ] xml2cmp/source/support/syshelp
>>                         syshelp.cxx
>>                         [ build CXX ] xml2cmp/source/support/badcast
>>                         badcast.cxx
>>                         [ build DEP ] LNK:Executable/srvdepy.exe
>>                         [ build CXX ] xml2cmp/source/xcd/main
>>                         main.cxx
>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>>                         ', needed by
>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>   Stop.
>>                         dmake:  Error code 2, while making 'all'
>>
>>                         1 module(s):
>>                                 xml2cmp
>>                         need(s) to be rebuilt
>>
>>                         Reason(s):
>>
>>                         ERROR: error 65280 occurred while making
>>/cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>
>>        When you have fixed the errors in that module you can resume 
>>the
>>build by running:
>>
>>                                 build --all:xml2cmp
>>
>>------ Исходное сообщение ------
>>От: "Damjan Jovanovic" <da...@apache.org>>
>>Кому: "Yemelyanenko Fyodor"
>><fy...@hotmail.com>>
>>Копия: "Apache OO"
>><de...@openoffice.apache.org>>
>>Отправлено: 28.06.2017 15:07:29
>>Тема: Re: Building OO
>>
>>>Hi Fyodor
>>>
>>>The problem is almost certainly in
>>>main/udm/StaticLibrary_udm.mk
>>>
>>>Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>
>>>I'll try build it later.
>>>
>>>Damjan
>>>
>>>On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>><fy...@hotmail.com>> wrote:
>>>>Hi Damjan,
>>>>
>>>>I’ve got OO using svn co
>>>>https://svn.apache.org/repos/asf/openoffice/trunk
>>>><https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>>>ago.
>>>>
>>>>I've cd'ed to udm and tried build -all:udm
>>>>
>>>>This is output
>>>>                          Admin@shr-pc
>>>>/cygdrive/c/source/aoo-trunk/main/udm
>>>>                          $ build --all:udm
>>>>                          build -- version: 1775979
>>>>
>>>>
>>>>                          =============
>>>>                          Building module udm
>>>>                          =============
>>>>
>>>>                          Entering
>>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>
>>>>                          cd .. && make -s -r -j1   && make -s -r
>>>>deliverlog
>>>>                          ', needed by
>>>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>    Stop.
>>>>                          dmake:  Error code 2, while making 'all'
>>>>
>>>>                          1 module(s):
>>>>                                  udm
>>>>                          need(s) to be rebuilt
>>>>
>>>>                          Reason(s):
>>>>
>>>>                          ERROR: error 65280 occurred while making
>>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>
>>>>                          When you have fixed the errors in that
>>module
>>>>you can resume the
>>>>build by running:
>>>>
>>>>                                  build --all:udm
>>>>
>>>>
>>>>I think I need to deep dive into dmake, so I'll be able to trace
>>build
>>>>and link processes and find what exactly done on udm module. So I'll
>>>>appreciate reference to information on dmake.
>>>>
>>>>--
>>>>Fyodor
>>>>
>>>>
>>>>From: Damjan Jovanovic
>>[mailto:damjan@apache.org<ma...@apache.org>]
>>>>Sent: Tuesday, June 27, 2017 5:38 PM
>>>>To: Apache OO
>><de...@openoffice.apache.org>>;
>>fyodor_e@hotmail.com<ma...@hotmail.com>
>>>>Subject: Re: Building OO
>>>>
>>>>Hi Fyodor
>>>>Welcome to AOO :).
>>>>What version are you building?
>>>>Can you "cd" into the udm directory, and post the full output of
>>>>"build"
>>>>run from there?
>>>>Thank you
>>>>Damjan
>>>>
>>>>On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>><fy...@hotmail.com>> wrote:
>>>>=============
>>>>Building module udm
>>>>=============
>>>>
>>>>Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>Hello!
>>>>
>>>>I'm newbie in OO development, and as New Volunteer Orientation 
>>>>module
>>>>suggests, I've established local build env, and try to build OO.
>>>>I've installed required prerequisites from Building Guide
>>>>(http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>><http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>>and
>>>>started to build with this command
>>>>
>>>>./configure \
>>>>       --with-frame-home="$SDK_PATH" \
>>>>       --with-psdk-home="$SDK_PATH" \
>>>>       --with-midl-path="$SDK_PATH/bin" \
>>>>       --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>       --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>       --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>       --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>       --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>
>>>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>>><https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>>>\
>>>>
>>>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>>><https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>>>\
>>>>       --disable-pch \
>>>>       --disable-atl \
>>>>       --disable-activex \
>>>>       --disable-nss-module \
>>>>       --without-junit \
>>>>       --disable-directx
>>>>
>>>>There are some modules built successfully, but built stop on UDM
>>>>module
>>>>with following error
>>>>
>>>>cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>[ build CXX ] udm/source/html/htmlitem
>>>>htmlitem.cxx
>>>>[ build CXX ] udm/source/xml/xmlitem
>>>>xmlitem.cxx
>>>>[ build DEP ] LNK:StaticLibrary/udm.lib
>>>>[ build PKG ] udm_inc
>>>>', needed by
>>>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>    Stop.
>>>>dmake:  Error code 2, while making 'all'
>>>>
>>>>1 module(s):
>>>>           udm
>>>>need(s) to be rebuilt
>>>>
>>>>Reason(s):
>>>>
>>>>ERROR: error 65280 occurred while making
>>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>
>>>>When you have fixed the errors in that module you can resume the
>>build
>>>>by running:
>>>>
>>>>           build --all:udm
>>>>
>>>>I'm not professional with dmake (yet), so any help would be
>>>>appreciated.
>>>>
>>>>--
>>>>Fyodor
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail:
>>dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>>><ma...@openoffice.apache.org>>
>>>>For additional commands, e-mail:
>>dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>
>>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>For additional commands, e-mail: dev-help@openoffice.apache.org
>
>
>


Re: Re[5]: Building OO

Posted by Peter Kovacs <pe...@posteo.de>.
Hello,

Do you mean by dev environment an IDE?

All the best
Peter

Am 19. Juli 2017 02:50:48 MESZ schrieb Yemelyanenko Fyodor <fy...@hotmail.com>:
>Hello!
>
>I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>installed
>And OO built successfully! :-)
>
>Now trying to do the same on W7 x32.
>
>As Id like to deep dive into OO development, could you please share
>what dev environment do you use on Ubuntu and on W7 (I believe, that
>I'll finally success in building OO on Windows).
>Any thoughts on establishing dev environment will be appreciated.
>
>--
>Fyodor
>
>------ Исходное сообщение ------
>От: "Емельяненко Федор"
><fy...@hotmail.com>>
>Кому: "Damjan Jovanovic" <da...@apache.org>>
>Копия: "Apache OO"
><de...@openoffice.apache.org>>
>Отправлено: 04.07.2017 12:57:52
>Тема: Re[4]: Building OO
>
>I use following config script
>
>./configure \
>   --with-frame-home="$SDK_PATH" \
>   --with-psdk-home="$SDK_PATH" \
>   --with-midl-path="$SDK_PATH/bin" \
>   --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>   --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>   --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>   --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>   --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
>\
>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
>\
>   --disable-pch \
>   --disable-atl \
>   --disable-activex \
>   --disable-nss-module \
>   --without-junit \
>   --disable-directx
>
>On Windows 8.1 64 bit Hyper-v VM
>
>Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>
>I've tried to rebuild with following script (full path) with no success
>
>./configure \
>   --with-frame-home="$SDK_PATH" \
>   --with-psdk-home="$SDK_PATH" \
>   --with-midl-path="$SDK_PATH/bin" \
>   --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>  --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
>   --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
>--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio
>9.0/VC" \
>--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>Studio 9.0/VC/bin" \
>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
>\
>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
>\
>   --disable-pch \
>   --disable-atl \
>   --disable-activex \
>   --disable-nss-module \
>   --without-junit \
>   --disable-directx
>
>Now I have error on module gtest...
>
>dmake: Error code 2, while making
>'./wntmsci12.pro/misc/build/so_built_oo_gtest'
>
>1 module(s):
>gtest
>need(s) to be rebuilt
>
>Reason(s):
>
>ERROR: error 65280 occurred while making
>/cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
>When you have fixed the errors in that module you can resume the build
>by running:
>
>build --all:gtest
>
>------ Исходное сообщение ------
>От: "Damjan Jovanovic" <da...@apache.org>>
>Кому: "Yemelyanenko Fyodor"
><fy...@hotmail.com>>
>Копия: "Apache OO"
><de...@openoffice.apache.org>>
>Отправлено: 02.07.2017 16:46:09
>Тема: Re: Re[2]: Building OO
>
>I just succeeded in building trunk with:
>
>32 bit VirtualBox VM
>Windows XP
>SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
>--with-midl-path="$SDK_PATH/bin"
>--with-ant-home="/cygdrive/c/apache-ant-1.9.6"
>--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"
>--enable-pch --disable-atl --disable-activex
>--with-junit="/cygdrive/c/source/junit.jar"
>--with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>--with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
>9.0/VC"
>--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>--with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>--disable-directx --with-package-format="installed"
>--enable-wiki-publisher
>
>Please post your full setup and build options.
>
>Regards
>Damjan
>
>On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor
><fy...@hotmail.com>> wrote:
>Hello Damjan,
>
>I've commented out in main/udm/StaticLibrary_udm.mk
>
>#ifeq ($(OS),WNT)
>#$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>#else
>
>Now build stopped on xml2cmp module...
>
>
>                        =============
>                        Building module xml2cmp
>                        =============
>
>                 Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>
>                     cd .. && make -s -r -j1   && make -s -r deliverlog
>     [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
>headers to be there!
>    [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
>headers to be there!
>      [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
>headers to be there!
>    [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
>headers to be there!
>                        [ build CXX ] xml2cmp/source/finder/dependy
>                        dependy.cxx
>                        [ build CXX ] xml2cmp/source/finder/dep_main
>                        dep_main.cxx
>                        [ build CXX ] xml2cmp/source/xcd/cr_html
>                        cr_html.cxx
>                        [ build CXX ] xml2cmp/source/xcd/cr_index
>                        cr_index.cxx
>                        [ build CXX ] xml2cmp/source/xcd/cr_metho
>                        cr_metho.cxx
>                        [ build CXX ] xml2cmp/source/xcd/filebuff
>                        filebuff.cxx
>                        [ build CXX ] xml2cmp/source/xcd/parse
>                        parse.cxx
>                        [ build CXX ] xml2cmp/source/xcd/xmlelem
>                        xmlelem.cxx
>                        [ build CXX ] xml2cmp/source/xcd/xmltree
>                        xmltree.cxx
>                        [ build CXX ] xml2cmp/source/support/cmdline
>                        cmdline.cxx
>                        [ build CXX ] xml2cmp/source/support/heap
>                        heap.cxx
>                        [ build CXX ] xml2cmp/source/support/sistr
>                        sistr.cxx
>                        [ build CXX ] xml2cmp/source/support/syshelp
>                        syshelp.cxx
>                        [ build CXX ] xml2cmp/source/support/badcast
>                        badcast.cxx
>                        [ build DEP ] LNK:Executable/srvdepy.exe
>                        [ build CXX ] xml2cmp/source/xcd/main
>                        main.cxx
>                        [ build DEP ] LNK:Executable/xml2cmp.exe
>                        ', needed by
>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>  Stop.
>                        dmake:  Error code 2, while making 'all'
>
>                        1 module(s):
>                                xml2cmp
>                        need(s) to be rebuilt
>
>                        Reason(s):
>
>                        ERROR: error 65280 occurred while making
>/cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>
>       When you have fixed the errors in that module you can resume the
>build by running:
>
>                                build --all:xml2cmp
>
>------ Исходное сообщение ------
>От: "Damjan Jovanovic" <da...@apache.org>>
>Кому: "Yemelyanenko Fyodor"
><fy...@hotmail.com>>
>Копия: "Apache OO"
><de...@openoffice.apache.org>>
>Отправлено: 28.06.2017 15:07:29
>Тема: Re: Building OO
>
>>Hi Fyodor
>>
>>The problem is almost certainly in
>>main/udm/StaticLibrary_udm.mk
>>
>>Make try take out the contents of the ifeq ($(OS),WNT) section?
>>
>>I'll try build it later.
>>
>>Damjan
>>
>>On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>><fy...@hotmail.com>> wrote:
>>>Hi Damjan,
>>>
>>>I’ve got OO using svn co
>>>https://svn.apache.org/repos/asf/openoffice/trunk
>>><https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>>ago.
>>>
>>>I've cd'ed to udm and tried build -all:udm
>>>
>>>This is output
>>>                         Admin@shr-pc
>>>/cygdrive/c/source/aoo-trunk/main/udm
>>>                         $ build --all:udm
>>>                         build -- version: 1775979
>>>
>>>
>>>                         =============
>>>                         Building module udm
>>>                         =============
>>>
>>>                         Entering
>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>>                         cd .. && make -s -r -j1   && make -s -r
>>>deliverlog
>>>                         ', needed by
>>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>   Stop.
>>>                         dmake:  Error code 2, while making 'all'
>>>
>>>                         1 module(s):
>>>                                 udm
>>>                         need(s) to be rebuilt
>>>
>>>                         Reason(s):
>>>
>>>                         ERROR: error 65280 occurred while making
>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>>                         When you have fixed the errors in that
>module
>>>you can resume the
>>>build by running:
>>>
>>>                                 build --all:udm
>>>
>>>
>>>I think I need to deep dive into dmake, so I'll be able to trace
>build
>>>and link processes and find what exactly done on udm module. So I'll
>>>appreciate reference to information on dmake.
>>>
>>>--
>>>Fyodor
>>>
>>>
>>>From: Damjan Jovanovic
>[mailto:damjan@apache.org<ma...@apache.org>]
>>>Sent: Tuesday, June 27, 2017 5:38 PM
>>>To: Apache OO
><de...@openoffice.apache.org>>;
>fyodor_e@hotmail.com<ma...@hotmail.com>
>>>Subject: Re: Building OO
>>>
>>>Hi Fyodor
>>>Welcome to AOO :).
>>>What version are you building?
>>>Can you "cd" into the udm directory, and post the full output of
>>>"build"
>>>run from there?
>>>Thank you
>>>Damjan
>>>
>>>On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>><fy...@hotmail.com>> wrote:
>>>=============
>>>Building module udm
>>>=============
>>>
>>>Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>Hello!
>>>
>>>I'm newbie in OO development, and as New Volunteer Orientation module
>>>suggests, I've established local build env, and try to build OO.
>>>I've installed required prerequisites from Building Guide
>>>(http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>><http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>and
>>>started to build with this command
>>>
>>>./configure \
>>>      --with-frame-home="$SDK_PATH" \
>>>      --with-psdk-home="$SDK_PATH" \
>>>      --with-midl-path="$SDK_PATH/bin" \
>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>
>>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>><https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>>\
>>>
>>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>><https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>>\
>>>      --disable-pch \
>>>      --disable-atl \
>>>      --disable-activex \
>>>      --disable-nss-module \
>>>      --without-junit \
>>>      --disable-directx
>>>
>>>There are some modules built successfully, but built stop on UDM
>>>module
>>>with following error
>>>
>>>cd .. && make -s -r -j1   && make -s -r deliverlog
>>>[ build CXX ] udm/source/html/htmlitem
>>>htmlitem.cxx
>>>[ build CXX ] udm/source/xml/xmlitem
>>>xmlitem.cxx
>>>[ build DEP ] LNK:StaticLibrary/udm.lib
>>>[ build PKG ] udm_inc
>>>', needed by
>>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>   Stop.
>>>dmake:  Error code 2, while making 'all'
>>>
>>>1 module(s):
>>>          udm
>>>need(s) to be rebuilt
>>>
>>>Reason(s):
>>>
>>>ERROR: error 65280 occurred while making
>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>>When you have fixed the errors in that module you can resume the
>build
>>>by running:
>>>
>>>          build --all:udm
>>>
>>>I'm not professional with dmake (yet), so any help would be
>>>appreciated.
>>>
>>>--
>>>Fyodor
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail:
>dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>><ma...@openoffice.apache.org>>
>>>For additional commands, e-mail:
>dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Great!
My build just finished. I successfully tested the "shellext"
functionality on Windows 10 64bit.

@Jim:
Maybe we can integrate Dons latest expat patch in 4.1.4, so we can have
a test version available from our buildbot?
http://svn.apache.org/viewvc?view=revision&revision=1805208

Also we could now bump the build number again.

Regards, Matthias


Am 19.08.2017 um 19:47 schrieb Don Lewis:
> Yes it did.
>
> On 19 Aug, Matthias Seidel wrote:
>> Hi Don,
>>
>> Did 4.1.4 build and work with your patch?
>>
>> Matthias
>>
>>
>> Am 16.08.2017 um 21:34 schrieb Don Lewis:
>>> On 16 Aug, Matthias Seidel wrote:
>>>> Am 16.08.2017 um 19:51 schrieb Don Lewis:
>>>>> I fixed the --enable-win-x64-shellext problem in r1805208.
>>>> Great!
>>>> Now we could have all Windows buildbots in release quality!
>>>> (If they were only functional and Infra would assign my ticket...)
>>>>
>>>> BTW: Should we backport r1805208 to 4.1.4?
>>> It would be nice, but not vital.  If it looked like it was going to be
>>> in the critcal path for release, I'd skip it, but it looks like we've
>>> got some quiet time while the OLE bugfix is in progress.
>>>
>>> I'm currently doing a test build of 4.1.4 with the expat patch in
>>> r1805208, but it is going slow due to competition for CPU cycles.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>



Re: Building OO

Posted by Don Lewis <tr...@apache.org>.
Yes it did.

On 19 Aug, Matthias Seidel wrote:
> Hi Don,
> 
> Did 4.1.4 build and work with your patch?
> 
> Matthias
> 
> 
> Am 16.08.2017 um 21:34 schrieb Don Lewis:
>> On 16 Aug, Matthias Seidel wrote:
>>> Am 16.08.2017 um 19:51 schrieb Don Lewis:
>>>> I fixed the --enable-win-x64-shellext problem in r1805208.
>>> Great!
>>> Now we could have all Windows buildbots in release quality!
>>> (If they were only functional and Infra would assign my ticket...)
>>>
>>> BTW: Should we backport r1805208 to 4.1.4?
>> It would be nice, but not vital.  If it looked like it was going to be
>> in the critcal path for release, I'd skip it, but it looks like we've
>> got some quiet time while the OLE bugfix is in progress.
>>
>> I'm currently doing a test build of 4.1.4 with the expat patch in
>> r1805208, but it is going slow due to competition for CPU cycles.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Don,

Did 4.1.4 build and work with your patch?

Matthias


Am 16.08.2017 um 21:34 schrieb Don Lewis:
> On 16 Aug, Matthias Seidel wrote:
>> Am 16.08.2017 um 19:51 schrieb Don Lewis:
>>> I fixed the --enable-win-x64-shellext problem in r1805208.
>> Great!
>> Now we could have all Windows buildbots in release quality!
>> (If they were only functional and Infra would assign my ticket...)
>>
>> BTW: Should we backport r1805208 to 4.1.4?
> It would be nice, but not vital.  If it looked like it was going to be
> in the critcal path for release, I'd skip it, but it looks like we've
> got some quiet time while the OLE bugfix is in progress.
>
> I'm currently doing a test build of 4.1.4 with the expat patch in
> r1805208, but it is going slow due to competition for CPU cycles.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>



Re: Building OO

Posted by Don Lewis <tr...@apache.org>.
On 16 Aug, Matthias Seidel wrote:
> Am 16.08.2017 um 19:51 schrieb Don Lewis:
>> I fixed the --enable-win-x64-shellext problem in r1805208.
> 
> Great!
> Now we could have all Windows buildbots in release quality!
> (If they were only functional and Infra would assign my ticket...)
> 
> BTW: Should we backport r1805208 to 4.1.4?

It would be nice, but not vital.  If it looked like it was going to be
in the critcal path for release, I'd skip it, but it looks like we've
got some quiet time while the OLE bugfix is in progress.

I'm currently doing a test build of 4.1.4 with the expat patch in
r1805208, but it is going slow due to competition for CPU cycles.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Am 16.08.2017 um 19:51 schrieb Don Lewis:
> I fixed the --enable-win-x64-shellext problem in r1805208.

Great!
Now we could have all Windows buildbots in release quality!
(If they were only functional and Infra would assign my ticket...)

BTW: Should we backport r1805208 to 4.1.4?

>
> On 16 Aug, Matthias Seidel wrote:
>> Hi Don,
>>
>> it worked like a charm! ;-)
>>
>> My first AOO 4.2.0 builds are to be found here:
>> https://home.apache.org/~mseidel/AOO-builds/AOO-420-Test/
>>
>> My next build will be with "--enable-win-x64-shellext" but I suspect it
>> will stop because of expat2.2.3.
>> (For 4.1.4 we reverted to Jims patch)
>>
>> Matthias
>>
>>
>> Am 15.08.2017 um 20:00 schrieb Don Lewis:
>>> On 15 Aug, Matthias Seidel wrote:
>>>> Am 15.08.2017 um 11:18 schrieb Don Lewis:
>>>>> On 10 Aug, Matthias Seidel wrote:
>>>>>> I could now get past the gtest error by disabling unit tests
>>>>>> (--disable-unit-tests).
>>>>>>
>>>>>> Errors in udm and xml2cmp remain:
>>>>>>
>>>>>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h
>>>>>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
>>>>>> dmake:  Error code 2, while making 'all'
>>>>>>
>>>>>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/xml2cmp/source/xcd/cr_html.hxx
>>>>>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
>>>>>> dmake:  Error code 2, while making 'all'
>>>>> I'm able to reproduce this on Windows 10 with cygwin 2.8.2.  If you look
>>>>> carefully about the "missing" files, you'll find that the file names in
>>>>> the error report have a carriage return character appended to them as
>>>>> in: 
>>>>>
>>>>>   '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h^M'
>>>>>
>>>>> Something is going wrong in the Windows version of "make depend",
>>>>> essentially.  If I look at
>>>>> main/solver/420/wntmsci12.pro/workdir/Dep/CxxObject/xml2cmp/source/xcd/cr_html.d,
>>>>> I see:
>>>>>
>>>>> $(WORKDIR)/CxxObject/xml2cmp/source/xcd/cr_html.o: \
>>>>> 	 \
>>>>> 	$(SRCDIR)/xml2cmp/source/xcd/cr_html.hxx^M \
>>>>> 	$(SRCDIR)/xml2cmp/source/support/sistr.hxx^M \
>>>>> etc.
>>>>>
>>>>> I believe I have this fixed in trunk revision r1805063.
>>>> Hi Don,
>>>>
>>>> Well done!
>>>>
>>>> My build is still running, but it looks good so far! Still have disabled
>>>> unit tests, will enable later and see if there may be a similar problem.
>>> This fixed gtest for me as well.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>



Re: Building OO

Posted by Don Lewis <tr...@apache.org>.
I fixed the --enable-win-x64-shellext problem in r1805208.

On 16 Aug, Matthias Seidel wrote:
> Hi Don,
> 
> it worked like a charm! ;-)
> 
> My first AOO 4.2.0 builds are to be found here:
> https://home.apache.org/~mseidel/AOO-builds/AOO-420-Test/
> 
> My next build will be with "--enable-win-x64-shellext" but I suspect it
> will stop because of expat2.2.3.
> (For 4.1.4 we reverted to Jims patch)
> 
> Matthias
> 
> 
> Am 15.08.2017 um 20:00 schrieb Don Lewis:
>> On 15 Aug, Matthias Seidel wrote:
>>> Am 15.08.2017 um 11:18 schrieb Don Lewis:
>>>> On 10 Aug, Matthias Seidel wrote:
>>>>> I could now get past the gtest error by disabling unit tests
>>>>> (--disable-unit-tests).
>>>>>
>>>>> Errors in udm and xml2cmp remain:
>>>>>
>>>>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h
>>>>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
>>>>> dmake:  Error code 2, while making 'all'
>>>>>
>>>>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/xml2cmp/source/xcd/cr_html.hxx
>>>>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
>>>>> dmake:  Error code 2, while making 'all'
>>>> I'm able to reproduce this on Windows 10 with cygwin 2.8.2.  If you look
>>>> carefully about the "missing" files, you'll find that the file names in
>>>> the error report have a carriage return character appended to them as
>>>> in: 
>>>>
>>>>   '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h^M'
>>>>
>>>> Something is going wrong in the Windows version of "make depend",
>>>> essentially.  If I look at
>>>> main/solver/420/wntmsci12.pro/workdir/Dep/CxxObject/xml2cmp/source/xcd/cr_html.d,
>>>> I see:
>>>>
>>>> $(WORKDIR)/CxxObject/xml2cmp/source/xcd/cr_html.o: \
>>>> 	 \
>>>> 	$(SRCDIR)/xml2cmp/source/xcd/cr_html.hxx^M \
>>>> 	$(SRCDIR)/xml2cmp/source/support/sistr.hxx^M \
>>>> etc.
>>>>
>>>> I believe I have this fixed in trunk revision r1805063.
>>> Hi Don,
>>>
>>> Well done!
>>>
>>> My build is still running, but it looks good so far! Still have disabled
>>> unit tests, will enable later and see if there may be a similar problem.
>> This fixed gtest for me as well.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Don,

it worked like a charm! ;-)

My first AOO 4.2.0 builds are to be found here:
https://home.apache.org/~mseidel/AOO-builds/AOO-420-Test/

My next build will be with "--enable-win-x64-shellext" but I suspect it
will stop because of expat2.2.3.
(For 4.1.4 we reverted to Jims patch)

Matthias


Am 15.08.2017 um 20:00 schrieb Don Lewis:
> On 15 Aug, Matthias Seidel wrote:
>> Am 15.08.2017 um 11:18 schrieb Don Lewis:
>>> On 10 Aug, Matthias Seidel wrote:
>>>> I could now get past the gtest error by disabling unit tests
>>>> (--disable-unit-tests).
>>>>
>>>> Errors in udm and xml2cmp remain:
>>>>
>>>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h
>>>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
>>>> dmake:  Error code 2, while making 'all'
>>>>
>>>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/xml2cmp/source/xcd/cr_html.hxx
>>>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
>>>> dmake:  Error code 2, while making 'all'
>>> I'm able to reproduce this on Windows 10 with cygwin 2.8.2.  If you look
>>> carefully about the "missing" files, you'll find that the file names in
>>> the error report have a carriage return character appended to them as
>>> in: 
>>>
>>>   '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h^M'
>>>
>>> Something is going wrong in the Windows version of "make depend",
>>> essentially.  If I look at
>>> main/solver/420/wntmsci12.pro/workdir/Dep/CxxObject/xml2cmp/source/xcd/cr_html.d,
>>> I see:
>>>
>>> $(WORKDIR)/CxxObject/xml2cmp/source/xcd/cr_html.o: \
>>> 	 \
>>> 	$(SRCDIR)/xml2cmp/source/xcd/cr_html.hxx^M \
>>> 	$(SRCDIR)/xml2cmp/source/support/sistr.hxx^M \
>>> etc.
>>>
>>> I believe I have this fixed in trunk revision r1805063.
>> Hi Don,
>>
>> Well done!
>>
>> My build is still running, but it looks good so far! Still have disabled
>> unit tests, will enable later and see if there may be a similar problem.
> This fixed gtest for me as well.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>



Re: Building OO

Posted by Don Lewis <tr...@apache.org>.
On 15 Aug, Matthias Seidel wrote:
> Am 15.08.2017 um 11:18 schrieb Don Lewis:
>> On 10 Aug, Matthias Seidel wrote:
>>> I could now get past the gtest error by disabling unit tests
>>> (--disable-unit-tests).
>>>
>>> Errors in udm and xml2cmp remain:
>>>
>>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h
>>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
>>> dmake:  Error code 2, while making 'all'
>>>
>>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/xml2cmp/source/xcd/cr_html.hxx
>>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
>>> dmake:  Error code 2, while making 'all'
>> I'm able to reproduce this on Windows 10 with cygwin 2.8.2.  If you look
>> carefully about the "missing" files, you'll find that the file names in
>> the error report have a carriage return character appended to them as
>> in: 
>>
>>   '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h^M'
>>
>> Something is going wrong in the Windows version of "make depend",
>> essentially.  If I look at
>> main/solver/420/wntmsci12.pro/workdir/Dep/CxxObject/xml2cmp/source/xcd/cr_html.d,
>> I see:
>>
>> $(WORKDIR)/CxxObject/xml2cmp/source/xcd/cr_html.o: \
>> 	 \
>> 	$(SRCDIR)/xml2cmp/source/xcd/cr_html.hxx^M \
>> 	$(SRCDIR)/xml2cmp/source/support/sistr.hxx^M \
>> etc.
>>
>> I believe I have this fixed in trunk revision r1805063.
> 
> Hi Don,
> 
> Well done!
> 
> My build is still running, but it looks good so far! Still have disabled
> unit tests, will enable later and see if there may be a similar problem.

This fixed gtest for me as well.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Am 15.08.2017 um 11:18 schrieb Don Lewis:
> On 10 Aug, Matthias Seidel wrote:
>> I could now get past the gtest error by disabling unit tests
>> (--disable-unit-tests).
>>
>> Errors in udm and xml2cmp remain:
>>
>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h
>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
>> dmake:  Error code 2, while making 'all'
>>
>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/xml2cmp/source/xcd/cr_html.hxx
>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
>> dmake:  Error code 2, while making 'all'
> I'm able to reproduce this on Windows 10 with cygwin 2.8.2.  If you look
> carefully about the "missing" files, you'll find that the file names in
> the error report have a carriage return character appended to them as
> in: 
>
>   '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h^M'
>
> Something is going wrong in the Windows version of "make depend",
> essentially.  If I look at
> main/solver/420/wntmsci12.pro/workdir/Dep/CxxObject/xml2cmp/source/xcd/cr_html.d,
> I see:
>
> $(WORKDIR)/CxxObject/xml2cmp/source/xcd/cr_html.o: \
> 	 \
> 	$(SRCDIR)/xml2cmp/source/xcd/cr_html.hxx^M \
> 	$(SRCDIR)/xml2cmp/source/support/sistr.hxx^M \
> etc.
>
> I believe I have this fixed in trunk revision r1805063.

Hi Don,

Well done!

My build is still running, but it looks good so far! Still have disabled
unit tests, will enable later and see if there may be a similar problem.

Matthias

>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>



Re: Building OO

Posted by Don Lewis <tr...@apache.org>.
On 10 Aug, Matthias Seidel wrote:
> I could now get past the gtest error by disabling unit tests
> (--disable-unit-tests).
> 
> Errors in udm and xml2cmp remain:
> 
> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h
> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
> dmake:  Error code 2, while making 'all'
> 
> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/xml2cmp/source/xcd/cr_html.hxx
> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
> dmake:  Error code 2, while making 'all'

I'm able to reproduce this on Windows 10 with cygwin 2.8.2.  If you look
carefully about the "missing" files, you'll find that the file names in
the error report have a carriage return character appended to them as
in: 

  '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h^M'

Something is going wrong in the Windows version of "make depend",
essentially.  If I look at
main/solver/420/wntmsci12.pro/workdir/Dep/CxxObject/xml2cmp/source/xcd/cr_html.d,
I see:

$(WORKDIR)/CxxObject/xml2cmp/source/xcd/cr_html.o: \
	 \
	$(SRCDIR)/xml2cmp/source/xcd/cr_html.hxx^M \
	$(SRCDIR)/xml2cmp/source/support/sistr.hxx^M \
etc.

I believe I have this fixed in trunk revision r1805063.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Building OO

Posted by Don Lewis <tr...@apache.org>.
On 15 Aug, Matthias Seidel wrote:
> Am 14.08.2017 um 03:20 schrieb Damjan Jovanovic:
>> On Sun, Aug 13, 2017 at 10:57 PM, Matthias Seidel <
>> matthias.seidel@hamburg.de> wrote:
>>
>>> Am 13.08.2017 um 10:57 schrieb Damjan Jovanovic:
>>>
>>> :(.
>>>
>>> gmake version?
>>>
>>> ---
>>> $ gmake
>>> -bash: gmake: Kommando nicht gefunden.
>>> ---
>>>
>>> Where should gmake come from?
>>> If it is required for trunk we should document it here:
>>> https://wiki.openoffice.org/wiki/Documentation/Building_
>>> Guide_AOO/Step_by_step#Windows_7.2C_Windows_8.1.2C_Windows_10
>>>
>>>
>> Sorry, by "gmake" I meant "GNU make", so it's "make --version" on Windows.
> 
> $ make --version
> GNU Make 4.2.1
> Gebaut für i686-pc-cygwin
> Copyright (C) 1988-2016 Free Software Foundation, Inc.
> 
> The latest from cygwin 2.8.2

I'm pretty sure that awk is the culprit here.  It looks like it no
longer silently treats CR-LF as a newline and leaves the CR as part of
the input line.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Am 14.08.2017 um 03:20 schrieb Damjan Jovanovic:
> On Sun, Aug 13, 2017 at 10:57 PM, Matthias Seidel <
> matthias.seidel@hamburg.de> wrote:
>
>> Am 13.08.2017 um 10:57 schrieb Damjan Jovanovic:
>>
>> :(.
>>
>> gmake version?
>>
>> ---
>> $ gmake
>> -bash: gmake: Kommando nicht gefunden.
>> ---
>>
>> Where should gmake come from?
>> If it is required for trunk we should document it here:
>> https://wiki.openoffice.org/wiki/Documentation/Building_
>> Guide_AOO/Step_by_step#Windows_7.2C_Windows_8.1.2C_Windows_10
>>
>>
> Sorry, by "gmake" I meant "GNU make", so it's "make --version" on Windows.

$ make --version
GNU Make 4.2.1
Gebaut für i686-pc-cygwin
Copyright (C) 1988-2016 Free Software Foundation, Inc.

The latest from cygwin 2.8.2

>
>> If you go into main/udm and run "build", do you still get that error?
>>
>> Yes:
>>
>> ---
>> Seidel@VM-W10-AOO /cygdrive/c/Source/aoo/main/udm
>> $ build
>> build -- version: 1775979
>>
>>
>> =============
>> Building module udm
>> =============
>>
>> Entering /cygdrive/c/Source/aoo/main/udm/prj
>>
>> cd .. && make -s -r -j1   && make -s -r deliverlog
>> [ build CXX ] udm/source/html/htmlitem
>> htmlitem.cxx
>> c:/Source/aoo/main/udm/source/inc\precomp.h(32) : fatal error C1083:
>> Cannot open include file: 'cosv/csv_precomp.h': No such file or directory
>> [ build PKG ] udm_inc
>> make: *** No rule to make target '/cygdrive/c/Source/aoo/main/solver/420/
>> wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o', needed by
>> '/cygdrive/c/Source/aoo/main/solver/420/wntmsci12.pro/workdir/LinkTarget/
>> StaticLibrary/udm.lib'.
>> Stop.
>> dmake:  Error code 2, while making 'all'
>> ERROR: error 65280 occurred while making /cygdrive/c/Source/aoo/main/
>> udm/prj
>> ---
>>
>>
> The earlier "fatal error C1083" is relevant. Did cosv deliver? Is there a
> main/solver/420/<platform>/inc/cosv/csv_precomp.h?

I think Don Lewis found and fixed the issue. I am building trunk at the
moment...

>
>
>
>> Matthias
>>
>> Damjan
>>
>>
>> On Sun, Aug 13, 2017 at 10:44 AM, Matthias Seidel <ma...@hamburg.de> wrote:
>>
>>
>> Yes, they are...
>>
>> precomp.h and cr_html.hxx are checked out every time. And every time we
>> get the same error.
>>
>> It is reproducible.
>>
>>
>> Am 11.08.2017 um 01:41 schrieb Don Lewis:
>>
>> Strange, those files should be part of the checked-out source.
>>
>> On 10 Aug, Matthias Seidel wrote:
>>
>> I could now get past the gtest error by disabling unit tests
>> (--disable-unit-tests).
>>
>> Errors in udm and xml2cmp remain:
>>
>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/
>>
>> build/main/udm/source/inc/precomp.h
>>
>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/
>>
>> wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
>>
>> dmake:  Error code 2, while making 'all'
>>
>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/
>>
>> build/main/xml2cmp/source/xcd/cr_html.hxx
>>
>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/
>>
>> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
>>
>> dmake:  Error code 2, while making 'all'
>>
>>
>> Am 09.08.2017 um 12:35 schrieb Matthias Seidel:
>>
>> The buildbot does a complete checkout every day...
>>
>> gtest throws an error, before(?) udm and xml2cmp:
>>
>> *** gb_Deliver_deliver: file does not exist in solver, and cannot be
>> delivered:
>> /cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci1
>>
>> 2.pro/inc/gtest/gtest.h
>>
>> (Note: The buildbot is still called aoo-win7, but Infra updated the
>> system to Windows 10 64bit. AOO 4.1.4 is building without problems)
>>
>>
>> Am 09.08.2017 um 12:12 schrieb Don Lewis:
>>
>> The udm and xml2cmp errors appear to be incomplete source checkouts.
>>
>> On  9 Aug, Matthias Seidel wrote:
>>
>> I see similar errors in our buildbot for trunk (system: Windows 10
>>
>> 64bit):
>>
>> https://ci.apache.org/projects/openoffice/buildlogs/
>>
>> win/log/wntmsci12.pro.build.html
>>
>> The buildbot builds once a day. If some requirements have to be
>>
>> changed
>>
>> drop me a line and I will edit the config accordingly.
>>
>> Regards, Matthias
>>
>>
>> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>>
>> I?ve took another try to build OO on W7 x32
>> But got same errors, as on W8 x64
>> May be I missed some prerequisites?
>>
>> Errors are in modules gtest, xml2cmp, salhelper, udm
>> Cygwin seems to have bug on Windows as it only  shows full error
>>
>> text when resized to some size? So path to missed file is not full.
>>
>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>>
>> $ build --all:gtest
>> build -- version: 1775979
>>
>>
>> =============
>> Building module gtest
>> =============
>>
>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>
>> mkdir: cannot create directory './wntmsci12.pro/misc/build/
>>
>> gtest-1.7.0/': File exists
>>
>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
>>
>> gb_Deliver_deliver: file does not exist in solver, and cannot be deli.
>> Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>
>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/
>>
>> so_built_oo_gtest'
>>
>> 1 module(s):
>>         gtest
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making
>>
>> /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>
>> When you have fixed the errors in that module you can resume the
>>
>> build by running:
>>
>>         build --all:gtest
>>
>> The sal helper cannot open include file conditn.h
>>
>> =============
>> Building module salhelper
>> =============
>>
>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>
>> mkout -- version: 1.8
>> Making:    all_salhelper.dpslo
>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>> Compiling: salhelper/source/condition.cxx
>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot
>>
>> open include file: 'osl/conditn.h': No such file or directory
>>
>> dmake:  Error code 2, while making '../wntmsci12.pro/slo/
>>
>> condition.obj'
>>
>> 1 module(s):
>>         salhelper
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making
>>
>> /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>
>> When you have fixed the errors in that module you can resume the
>>
>> build by running:
>>
>>         build --all:salhelper
>>
>>
>>
>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com <fy...@hotmail.com>]
>> Sent: Wednesday, July 19, 2017 10:51 AM
>> To: Damjan Jovanovic <da...@apache.org> <da...@apache.org>; Apache OO <
>>
>> dev@openoffice.apache.org>
>>
>> Subject: Re[5]: Building OO
>>
>> Hello!
>>
>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>>
>> installed
>>
>> And OO built successfully! :-)
>>
>> Now trying to do the same on W7 x32.
>>
>> As Id like to deep dive into OO development, could you please share
>>
>> what dev environment do you use on Ubuntu and on W7 (I believe, that I'll
>> finally success in building OO on Windows).
>>
>> Any thoughts on establishing dev environment will be appreciated.
>>
>> --
>> Fyodor
>>
>> ------ ??????о? ????????? ------
>> ??: "??????????о ?????" <fyodor_e@hotmail.com<mailto:f <f>
>>
>> yodor_e@hotmail.com>>
>>
>> ????: "Damjan Jovanovic" <damjan@apache.org<mailto:damj <damj>
>>
>> an@apache.org>>
>>
>> ?????: "Apache OO" <dev@openoffice.apache.org<mailto: dev@openoffice.apache.org>>
>>
>> ?????в????: 04.07.2017 12:57:52
>> ????: Re[4]: Building OO
>>
>> I use following config script
>>
>> ./configure \
>>    --with-frame-home="$SDK_PATH" \
>>    --with-psdk-home="$SDK_PATH" \
>>    --with-midl-path="$SDK_PATH/bin" \
>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>    --with-asm-home="C:/PROGRA~2/
>> MICROS~1.0/VC/bin" \
>>    --with-dmake-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>
>>    --with-epm-url="https://sourceforge.net/projects/ oooextras.mirror/files/epm-3.7.tar.gz" \
>>
>>    --disable-pch \
>>    --disable-atl \
>>    --disable-activex \
>>    --disable-nss-module \
>>    --without-junit \
>>    --disable-directx
>>
>> On Windows 8.1 64 bit Hyper-v VM
>>
>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>
>> I've tried to rebuild with following script (full path) with no
>>
>> success
>>
>> ./configure \
>>    --with-frame-home="$SDK_PATH" \
>>    --with-psdk-home="$SDK_PATH" \
>>    --with-midl-path="$SDK_PATH/bin" \
>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>    --with-jdk-home="/cygdrive/c/Program Files
>>
>> (x86)/Java/jdk1.8.0_131" \
>>
>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>>
>> \
>>
>>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft
>>
>> Visual Studio 9.0/VC" \
>>
>>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft
>>
>> Visual Studio 9.0/VC/bin" \
>>
>>    --with-dmake-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>
>>    --with-epm-url="https://sourceforge.net/projects/ oooextras.mirror/files/epm-3.7.tar.gz" \
>>
>>    --disable-pch \
>>    --disable-atl \
>>    --disable-activex \
>>    --disable-nss-module \
>>    --without-junit \
>>    --disable-directx
>>
>> Now I have error on module gtest...
>>
>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/
>>
>> so_built_oo_gtest'
>>
>> 1 module(s):
>> gtest
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making
>>
>> /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>
>> When you have fixed the errors in that module you can resume the
>>
>> build by running:
>>
>> build --all:gtest
>>
>> ------ ???????? ????????? ------
>> ?Ñ?: "Damjan Jovanovic" <damjan@apache.org<mailto:damjan@apache.org <da...@apache.org>
>>
>> ????: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f <f>
>>
>> yodor_e@hotmail.com>>
>>
>> ?????: "Apache OO" <dev@openoffice.apache.org<mailto: dev@openoffice.apache.org>>
>>
>> ????а????о: 02.07.2017 16:46:09
>> ????: Re: Re[2]: Building OO
>>
>> I just succeeded in building trunk with:
>> 32 bit VirtualBox VM
>> Windows XP
>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>>
>> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
>> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/
>> apache-ant-1.9.6"
>> --with-dmake-url="http://dmake.apache-extras.org. codespot.com/files/dmake-4.12.tar.bz2" <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" <http://www.msweet.org/files/project2/epm-3.7-source.tar.gz> --enable-pch
>> --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar"
>> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC"
>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>> --disable-directx --with-package-format="installed"
>> --enable-wiki-publisher
>>
>> Please post your full setup and build options.
>> Regards
>> Damjan
>>
>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <
>>
>> fyodor_e@hotmail.com<ma...@hotmail.com> <fy...@hotmail.com>> wrote:
>>
>> Hello Damjan,
>>
>> I've commented out in main/udm/StaticLibrary_udm.mk
>>
>> #ifeq ($(OS),WNT)
>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>> #else
>>
>> Now build stopped on xml2cmp module...
>>
>>
>>                         =============
>>                         Building module xml2cmp
>>                         =============
>>
>>                         Entering /cygdrive/c/source/aoo-trunk/
>>
>> main/xml2cmp/prj
>>
>>                         cd .. && make -s -r -j1   && make -s -r
>>
>> deliverlog
>>
>>                         [ info  ALL ] LinkTarget
>>
>> Library/msvcprt.lib not defined: Assuming
>>
>> headers to be there!
>>                         [ info  ALL ] LinkTarget
>>
>> Library/kernel32.lib not defined: Assuming
>>
>> headers to be there!
>>                         [ info  ALL ] LinkTarget Library/msvcrt.lib
>>
>> not defined: Assuming
>>
>> headers to be there!
>>                         [ info  ALL ] LinkTarget
>>
>> Library/oldnames.lib not defined: Assuming
>>
>> headers to be there!
>>                         [ build CXX ] xml2cmp/source/finder/dependy
>>                         dependy.cxx
>>                         [ build CXX ] xml2cmp/source/finder/dep_main
>>                         dep_main.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>>                         cr_html.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>>                         cr_index.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>>                         cr_metho.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>>                         filebuff.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/parse
>>                         parse.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>>                         xmlelem.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>>                         xmltree.cxx
>>                         [ build CXX ] xml2cmp/source/support/cmdline
>>                         cmdline.cxx
>>                         [ build CXX ] xml2cmp/source/support/heap
>>                         heap.cxx
>>                         [ build CXX ] xml2cmp/source/support/sistr
>>                         sistr.cxx
>>                         [ build CXX ] xml2cmp/source/support/syshelp
>>                         syshelp.cxx
>>                         [ build CXX ] xml2cmp/source/support/badcast
>>                         badcast.cxx
>>                         [ build DEP ] LNK:Executable/srvdepy.exe
>>                         [ build CXX ] xml2cmp/source/xcd/main
>>                         main.cxx
>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>>                         ', needed by
>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>
>> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http:// wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o> <http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>
>>   Stop.
>>                         dmake:  Error code 2, while making 'all'
>>
>>                         1 module(s):
>>                                 xml2cmp
>>                         need(s) to be rebuilt
>>
>>                         Reason(s):
>>
>>                         ERROR: error 65280 occurred while making
>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>
>>                         When you have fixed the errors in that
>>
>> module you can resume the
>>
>> build by running:
>>
>>                                 build --all:xml2cmp
>>
>> ------ ???????? ????????? ------
>> ??: "Damjan Jovanovic" <damjan@apache.org<mailto:damjan@apache.org <da...@apache.org>
>>
>> ???Ñ?: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f <f>
>>
>> yodor_e@hotmail.com>>
>>
>> ?????: "Apache OO" <dev@openoffice.apache.org<mailto: dev@openoffice.apache.org>>
>>
>> ??????????: 28.06.2017 15:07:29
>> ????: Re: Building OO
>>
>>
>> Hi Fyodor
>>
>> The problem is almost certainly in
>> main/udm/StaticLibrary_udm.mk
>>
>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>
>> I'll try build it later.
>>
>> Damjan
>>
>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>> <fy...@hotmail.com> <fy...@hotmail.com>> wrote:
>>
>> Hi Damjan,
>>
>> I?ve got OO using svn cohttps://svn.apache.org/repos/asf/openoffice/trunk<https://svn.apache.org/repos/asf/openoffice/trunk> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a
>>
>> week
>>
>> ago.
>>
>> I've cd'ed to udm and tried build -all:udm
>>
>> This is output
>>                         Admin@shr-pc
>> /cygdrive/c/source/aoo-trunk/main/udm
>>                         $ build --all:udm
>>                         build -- version: 1775979
>>
>>
>>                         =============
>>                         Building module udm
>>                         =============
>>
>>                         Entering
>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>                         cd .. && make -s -r -j1   && make -s -r
>> deliverlog
>>                         ', needed by
>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>
>> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/ CxxObject/udm/source/html/htmlitem.o> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>
>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/ htmlitem.o>'.
>>
>>   Stop.
>>                         dmake:  Error code 2, while making 'all'
>>
>>                         1 module(s):
>>                                 udm
>>                         need(s) to be rebuilt
>>
>>                         Reason(s):
>>
>>                         ERROR: error 65280 occurred while making
>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>                         When you have fixed the errors in that
>>
>> module
>>
>> you can resume the
>> build by running:
>>
>>                                 build --all:udm
>>
>>
>> I think I need to deep dive into dmake, so I'll be able to trace
>>
>> build
>>
>> and link processes and find what exactly done on udm module. So
>>
>> I'll
>>
>> appreciate reference to information on dmake.
>>
>> --
>> Fyodor
>>
>>
>> From: Damjan Jovanovic [mailto:damjan@apache.org <da...@apache.org><mailto: damjan@apache.org>]
>>
>> Sent: Tuesday, June 27, 2017 5:38 PM
>> To: Apache OO <dev@openoffice.apache.org<mailto: dev@openoffice.apache.org>>; fyodor_e@hotmail.com<mailto:fy odor_e@hotmail.com> <fy...@hotmail.com>
>>
>> Subject: Re: Building OO
>>
>> Hi Fyodor
>> Welcome to AOO :).
>> What version are you building?
>> Can you "cd" into the udm directory, and post the full output of
>> "build"
>> run from there?
>> Thank you
>> Damjan
>>
>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>> <fy...@hotmail.com> <fy...@hotmail.com>> wrote:
>> =============
>> Building module udm
>> =============
>>
>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>> Hello!
>>
>> I'm newbie in OO development, and as New Volunteer Orientation
>>
>> module
>>
>> suggests, I've established local build env, and try to build OO.
>> I've installed required prerequisites from Building Guide
>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>
>> )
>>
>> and
>> started to build with this command
>>
>> ./configure \
>>      --with-frame-home="$SDK_PATH" \
>>      --with-psdk-home="$SDK_PATH" \
>>      --with-midl-path="$SDK_PATH/bin" \
>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>      --with-asm-home="C:/PROGRA~2/
>> MICROS~1.0/VC/bin" \
>>
>> --with-dmake-url="https://sourceforge.net/projects/
>>
>> oooextras.mirror/files/dmake-4.12.tar.bz2
>>
>> <https://sourceforge.net/projects/oooextras.mirror/
>> files/dmake-4.12.tar.bz2>"
>>
>> \
>>
>> --with-epm-url="https://sourceforge.net/projects/
>>
>> oooextras.mirror/files/epm-3.7.tar.gz
>>
>> <https://sourceforge.net/projects/oooextras.mirror/ files/epm-3.7.tar.gz>"
>>
>> \
>>      --disable-pch \
>>      --disable-atl \
>>      --disable-activex \
>>      --disable-nss-module \
>>      --without-junit \
>>      --disable-directx
>>
>> There are some modules built successfully, but built stop on UDM
>> module
>> with following error
>>
>> cd .. && make -s -r -j1   && make -s -r deliverlog
>> [ build CXX ] udm/source/html/htmlitem
>> htmlitem.cxx
>> [ build CXX ] udm/source/xml/xmlitem
>> xmlitem.cxx
>> [ build DEP ] LNK:StaticLibrary/udm.lib
>> [ build PKG ] udm_inc
>> ', needed by
>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>
>> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/ CxxObject/udm/source/html/htmlitem.o> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>
>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/ htmlitem.o>'.
>>
>>   Stop.
>> dmake:  Error code 2, while making 'all'
>>
>> 1 module(s):
>>          udm
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making
>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>> When you have fixed the errors in that module you can resume the
>>
>> build
>>
>> by running:
>>
>>          build --all:udm
>>
>> I'm not professional with dmake (yet), so any help would be
>> appreciated.
>>
>> --
>> Fyodor
>>
>>
>> ------------------------------------------------------------
>>
>> ---------
>>
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>
>> <ma...@openoffice.apache.org> <de...@openoffice.apache.org>
>>
>> <mailto:dev-unsubscribe@openoffice.apache.org <de...@openoffice.apache.org><mailto:d <d>
>>
>> ev-unsubscribe@openoffice.apache.org>>
>>
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>> <ma...@openoffice.apache.org> <de...@openoffice.apache.org>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>
>>
> Damjan
>


Re: Building OO

Posted by Damjan Jovanovic <da...@apache.org>.
On Sun, Aug 13, 2017 at 10:57 PM, Matthias Seidel <
matthias.seidel@hamburg.de> wrote:

> Am 13.08.2017 um 10:57 schrieb Damjan Jovanovic:
>
> :(.
>
> gmake version?
>
> ---
> $ gmake
> -bash: gmake: Kommando nicht gefunden.
> ---
>
> Where should gmake come from?
> If it is required for trunk we should document it here:
> https://wiki.openoffice.org/wiki/Documentation/Building_
> Guide_AOO/Step_by_step#Windows_7.2C_Windows_8.1.2C_Windows_10
>
>

Sorry, by "gmake" I meant "GNU make", so it's "make --version" on Windows.


> If you go into main/udm and run "build", do you still get that error?
>
> Yes:
>
> ---
> Seidel@VM-W10-AOO /cygdrive/c/Source/aoo/main/udm
> $ build
> build -- version: 1775979
>
>
> =============
> Building module udm
> =============
>
> Entering /cygdrive/c/Source/aoo/main/udm/prj
>
> cd .. && make -s -r -j1   && make -s -r deliverlog
> [ build CXX ] udm/source/html/htmlitem
> htmlitem.cxx
> c:/Source/aoo/main/udm/source/inc\precomp.h(32) : fatal error C1083:
> Cannot open include file: 'cosv/csv_precomp.h': No such file or directory
> [ build PKG ] udm_inc
> make: *** No rule to make target '/cygdrive/c/Source/aoo/main/solver/420/
> wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o', needed by
> '/cygdrive/c/Source/aoo/main/solver/420/wntmsci12.pro/workdir/LinkTarget/
> StaticLibrary/udm.lib'.
> Stop.
> dmake:  Error code 2, while making 'all'
> ERROR: error 65280 occurred while making /cygdrive/c/Source/aoo/main/
> udm/prj
> ---
>
>

The earlier "fatal error C1083" is relevant. Did cosv deliver? Is there a
main/solver/420/<platform>/inc/cosv/csv_precomp.h?



> Matthias
>
> Damjan
>
>
> On Sun, Aug 13, 2017 at 10:44 AM, Matthias Seidel <ma...@hamburg.de> wrote:
>
>
> Yes, they are...
>
> precomp.h and cr_html.hxx are checked out every time. And every time we
> get the same error.
>
> It is reproducible.
>
>
> Am 11.08.2017 um 01:41 schrieb Don Lewis:
>
> Strange, those files should be part of the checked-out source.
>
> On 10 Aug, Matthias Seidel wrote:
>
> I could now get past the gtest error by disabling unit tests
> (--disable-unit-tests).
>
> Errors in udm and xml2cmp remain:
>
> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/
>
> build/main/udm/source/inc/precomp.h
>
> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/
>
> wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
>
> dmake:  Error code 2, while making 'all'
>
> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/
>
> build/main/xml2cmp/source/xcd/cr_html.hxx
>
> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/
>
> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
>
> dmake:  Error code 2, while making 'all'
>
>
> Am 09.08.2017 um 12:35 schrieb Matthias Seidel:
>
> The buildbot does a complete checkout every day...
>
> gtest throws an error, before(?) udm and xml2cmp:
>
> *** gb_Deliver_deliver: file does not exist in solver, and cannot be
> delivered:
> /cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci1
>
> 2.pro/inc/gtest/gtest.h
>
> (Note: The buildbot is still called aoo-win7, but Infra updated the
> system to Windows 10 64bit. AOO 4.1.4 is building without problems)
>
>
> Am 09.08.2017 um 12:12 schrieb Don Lewis:
>
> The udm and xml2cmp errors appear to be incomplete source checkouts.
>
> On  9 Aug, Matthias Seidel wrote:
>
> I see similar errors in our buildbot for trunk (system: Windows 10
>
> 64bit):
>
> https://ci.apache.org/projects/openoffice/buildlogs/
>
> win/log/wntmsci12.pro.build.html
>
> The buildbot builds once a day. If some requirements have to be
>
> changed
>
> drop me a line and I will edit the config accordingly.
>
> Regards, Matthias
>
>
> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>
> I?ve took another try to build OO on W7 x32
> But got same errors, as on W8 x64
> May be I missed some prerequisites?
>
> Errors are in modules gtest, xml2cmp, salhelper, udm
> Cygwin seems to have bug on Windows as it only  shows full error
>
> text when resized to some size? So path to missed file is not full.
>
> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>
> $ build --all:gtest
> build -- version: 1775979
>
>
> =============
> Building module gtest
> =============
>
> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
> mkdir: cannot create directory './wntmsci12.pro/misc/build/
>
> gtest-1.7.0/': File exists
>
> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
>
> gb_Deliver_deliver: file does not exist in solver, and cannot be deli.
> Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>
> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/
>
> so_built_oo_gtest'
>
> 1 module(s):
>         gtest
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making
>
> /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
> When you have fixed the errors in that module you can resume the
>
> build by running:
>
>         build --all:gtest
>
> The sal helper cannot open include file conditn.h
>
> =============
> Building module salhelper
> =============
>
> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>
> mkout -- version: 1.8
> Making:    all_salhelper.dpslo
> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
> Compiling: salhelper/source/condition.cxx
> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot
>
> open include file: 'osl/conditn.h': No such file or directory
>
> dmake:  Error code 2, while making '../wntmsci12.pro/slo/
>
> condition.obj'
>
> 1 module(s):
>         salhelper
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making
>
> /cygdrive/c/source/aoo-trunk/main/salhelper/source
>
> When you have fixed the errors in that module you can resume the
>
> build by running:
>
>         build --all:salhelper
>
>
>
> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com <fy...@hotmail.com>]
> Sent: Wednesday, July 19, 2017 10:51 AM
> To: Damjan Jovanovic <da...@apache.org> <da...@apache.org>; Apache OO <
>
> dev@openoffice.apache.org>
>
> Subject: Re[5]: Building OO
>
> Hello!
>
> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>
> installed
>
> And OO built successfully! :-)
>
> Now trying to do the same on W7 x32.
>
> As Id like to deep dive into OO development, could you please share
>
> what dev environment do you use on Ubuntu and on W7 (I believe, that I'll
> finally success in building OO on Windows).
>
> Any thoughts on establishing dev environment will be appreciated.
>
> --
> Fyodor
>
> ------ ??????о? ????????? ------
> ??: "??????????о ?????" <fyodor_e@hotmail.com<mailto:f <f>
>
> yodor_e@hotmail.com>>
>
> ????: "Damjan Jovanovic" <damjan@apache.org<mailto:damj <damj>
>
> an@apache.org>>
>
> ?????: "Apache OO" <dev@openoffice.apache.org<mailto:
>
> dev@openoffice.apache.org>>
>
> ?????в????: 04.07.2017 12:57:52
> ????: Re[4]: Building OO
>
> I use following config script
>
> ./configure \
>    --with-frame-home="$SDK_PATH" \
>    --with-psdk-home="$SDK_PATH" \
>    --with-midl-path="$SDK_PATH/bin" \
>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>    --with-asm-home="C:/PROGRA~2/
> MICROS~1.0/VC/bin" \
>    --with-dmake-url="https://sourceforge.net/projects/
>
> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>
>    --with-epm-url="https://sourceforge.net/projects/
>
> oooextras.mirror/files/epm-3.7.tar.gz" \
>
>    --disable-pch \
>    --disable-atl \
>    --disable-activex \
>    --disable-nss-module \
>    --without-junit \
>    --disable-directx
>
> On Windows 8.1 64 bit Hyper-v VM
>
> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>
> I've tried to rebuild with following script (full path) with no
>
> success
>
> ./configure \
>    --with-frame-home="$SDK_PATH" \
>    --with-psdk-home="$SDK_PATH" \
>    --with-midl-path="$SDK_PATH/bin" \
>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>    --with-jdk-home="/cygdrive/c/Program Files
>
> (x86)/Java/jdk1.8.0_131" \
>
>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>
> \
>
>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft
>
> Visual Studio 9.0/VC" \
>
>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft
>
> Visual Studio 9.0/VC/bin" \
>
>    --with-dmake-url="https://sourceforge.net/projects/
>
> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>
>    --with-epm-url="https://sourceforge.net/projects/
>
> oooextras.mirror/files/epm-3.7.tar.gz" \
>
>    --disable-pch \
>    --disable-atl \
>    --disable-activex \
>    --disable-nss-module \
>    --without-junit \
>    --disable-directx
>
> Now I have error on module gtest...
>
> dmake: Error code 2, while making './wntmsci12.pro/misc/build/
>
> so_built_oo_gtest'
>
> 1 module(s):
> gtest
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making
>
> /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
> When you have fixed the errors in that module you can resume the
>
> build by running:
>
> build --all:gtest
>
> ------ ???????? ????????? ------
> ?Ñ?: "Damjan Jovanovic" <damjan@apache.org<mailto:damjan@apache.org <da...@apache.org>
>
> ????: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f <f>
>
> yodor_e@hotmail.com>>
>
> ?????: "Apache OO" <dev@openoffice.apache.org<mailto:
>
> dev@openoffice.apache.org>>
>
> ????а????о: 02.07.2017 16:46:09
> ????: Re: Re[2]: Building OO
>
> I just succeeded in building trunk with:
> 32 bit VirtualBox VM
> Windows XP
> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>
> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/
> apache-ant-1.9.6"
> --with-dmake-url="http://dmake.apache-extras.org.
> codespot.com/files/dmake-4.12.tar.bz2" <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" <http://www.msweet.org/files/project2/epm-3.7-source.tar.gz> --enable-pch
> --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar"
> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC"
> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
> --disable-directx --with-package-format="installed"
> --enable-wiki-publisher
>
> Please post your full setup and build options.
> Regards
> Damjan
>
> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <
>
> fyodor_e@hotmail.com<ma...@hotmail.com> <fy...@hotmail.com>> wrote:
>
> Hello Damjan,
>
> I've commented out in main/udm/StaticLibrary_udm.mk
>
> #ifeq ($(OS),WNT)
> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
> #else
>
> Now build stopped on xml2cmp module...
>
>
>                         =============
>                         Building module xml2cmp
>                         =============
>
>                         Entering /cygdrive/c/source/aoo-trunk/
>
> main/xml2cmp/prj
>
>                         cd .. && make -s -r -j1   && make -s -r
>
> deliverlog
>
>                         [ info  ALL ] LinkTarget
>
> Library/msvcprt.lib not defined: Assuming
>
> headers to be there!
>                         [ info  ALL ] LinkTarget
>
> Library/kernel32.lib not defined: Assuming
>
> headers to be there!
>                         [ info  ALL ] LinkTarget Library/msvcrt.lib
>
> not defined: Assuming
>
> headers to be there!
>                         [ info  ALL ] LinkTarget
>
> Library/oldnames.lib not defined: Assuming
>
> headers to be there!
>                         [ build CXX ] xml2cmp/source/finder/dependy
>                         dependy.cxx
>                         [ build CXX ] xml2cmp/source/finder/dep_main
>                         dep_main.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>                         cr_html.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>                         cr_index.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>                         cr_metho.cxx
>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>                         filebuff.cxx
>                         [ build CXX ] xml2cmp/source/xcd/parse
>                         parse.cxx
>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>                         xmlelem.cxx
>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>                         xmltree.cxx
>                         [ build CXX ] xml2cmp/source/support/cmdline
>                         cmdline.cxx
>                         [ build CXX ] xml2cmp/source/support/heap
>                         heap.cxx
>                         [ build CXX ] xml2cmp/source/support/sistr
>                         sistr.cxx
>                         [ build CXX ] xml2cmp/source/support/syshelp
>                         syshelp.cxx
>                         [ build CXX ] xml2cmp/source/support/badcast
>                         badcast.cxx
>                         [ build DEP ] LNK:Executable/srvdepy.exe
>                         [ build CXX ] xml2cmp/source/xcd/main
>                         main.cxx
>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>                         ', needed by
> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>
> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://
> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o> <http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>
>   Stop.
>                         dmake:  Error code 2, while making 'all'
>
>                         1 module(s):
>                                 xml2cmp
>                         need(s) to be rebuilt
>
>                         Reason(s):
>
>                         ERROR: error 65280 occurred while making
> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>
>                         When you have fixed the errors in that
>
> module you can resume the
>
> build by running:
>
>                                 build --all:xml2cmp
>
> ------ ???????? ????????? ------
> ??: "Damjan Jovanovic" <damjan@apache.org<mailto:damjan@apache.org <da...@apache.org>
>
> ???Ñ?: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f <f>
>
> yodor_e@hotmail.com>>
>
> ?????: "Apache OO" <dev@openoffice.apache.org<mailto:
>
> dev@openoffice.apache.org>>
>
> ??????????: 28.06.2017 15:07:29
> ????: Re: Building OO
>
>
> Hi Fyodor
>
> The problem is almost certainly in
> main/udm/StaticLibrary_udm.mk
>
> Make try take out the contents of the ifeq ($(OS),WNT) section?
>
> I'll try build it later.
>
> Damjan
>
> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
> <fy...@hotmail.com> <fy...@hotmail.com>> wrote:
>
> Hi Damjan,
>
> I?ve got OO using svn cohttps://svn.apache.org/repos/asf/openoffice/trunk<https://svn.apache.org/repos/asf/openoffice/trunk> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a
>
> week
>
> ago.
>
> I've cd'ed to udm and tried build -all:udm
>
> This is output
>                         Admin@shr-pc
> /cygdrive/c/source/aoo-trunk/main/udm
>                         $ build --all:udm
>                         build -- version: 1775979
>
>
>                         =============
>                         Building module udm
>                         =============
>
>                         Entering
> /cygdrive/c/source/aoo-trunk/main/udm/prj
>
>                         cd .. && make -s -r -j1   && make -s -r
> deliverlog
>                         ', needed by
> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>
> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/
> CxxObject/udm/source/html/htmlitem.o> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>
> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/
>
> htmlitem.o>'.
>
>   Stop.
>                         dmake:  Error code 2, while making 'all'
>
>                         1 module(s):
>                                 udm
>                         need(s) to be rebuilt
>
>                         Reason(s):
>
>                         ERROR: error 65280 occurred while making
> /cygdrive/c/source/aoo-trunk/main/udm/prj
>
>                         When you have fixed the errors in that
>
> module
>
> you can resume the
> build by running:
>
>                                 build --all:udm
>
>
> I think I need to deep dive into dmake, so I'll be able to trace
>
> build
>
> and link processes and find what exactly done on udm module. So
>
> I'll
>
> appreciate reference to information on dmake.
>
> --
> Fyodor
>
>
> From: Damjan Jovanovic [mailto:damjan@apache.org <da...@apache.org><mailto:
>
> damjan@apache.org>]
>
> Sent: Tuesday, June 27, 2017 5:38 PM
> To: Apache OO <dev@openoffice.apache.org<mailto:
>
> dev@openoffice.apache.org>>; fyodor_e@hotmail.com<mailto:fy
> odor_e@hotmail.com> <fy...@hotmail.com>
>
> Subject: Re: Building OO
>
> Hi Fyodor
> Welcome to AOO :).
> What version are you building?
> Can you "cd" into the udm directory, and post the full output of
> "build"
> run from there?
> Thank you
> Damjan
>
> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
> <fy...@hotmail.com> <fy...@hotmail.com>> wrote:
> =============
> Building module udm
> =============
>
> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
> Hello!
>
> I'm newbie in OO development, and as New Volunteer Orientation
>
> module
>
> suggests, I've established local build env, and try to build OO.
> I've installed required prerequisites from Building Guide
> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>
> )
>
> and
> started to build with this command
>
> ./configure \
>      --with-frame-home="$SDK_PATH" \
>      --with-psdk-home="$SDK_PATH" \
>      --with-midl-path="$SDK_PATH/bin" \
>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>      --with-asm-home="C:/PROGRA~2/
> MICROS~1.0/VC/bin" \
>
> --with-dmake-url="https://sourceforge.net/projects/
>
> oooextras.mirror/files/dmake-4.12.tar.bz2
>
> <https://sourceforge.net/projects/oooextras.mirror/
>
> files/dmake-4.12.tar.bz2>"
>
> \
>
> --with-epm-url="https://sourceforge.net/projects/
>
> oooextras.mirror/files/epm-3.7.tar.gz
>
> <https://sourceforge.net/projects/oooextras.mirror/
>
> files/epm-3.7.tar.gz>"
>
> \
>      --disable-pch \
>      --disable-atl \
>      --disable-activex \
>      --disable-nss-module \
>      --without-junit \
>      --disable-directx
>
> There are some modules built successfully, but built stop on UDM
> module
> with following error
>
> cd .. && make -s -r -j1   && make -s -r deliverlog
> [ build CXX ] udm/source/html/htmlitem
> htmlitem.cxx
> [ build CXX ] udm/source/xml/xmlitem
> xmlitem.cxx
> [ build DEP ] LNK:StaticLibrary/udm.lib
> [ build PKG ] udm_inc
> ', needed by
> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>
> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/
> CxxObject/udm/source/html/htmlitem.o> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>
> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/
>
> htmlitem.o>'.
>
>   Stop.
> dmake:  Error code 2, while making 'all'
>
> 1 module(s):
>          udm
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making
> /cygdrive/c/source/aoo-trunk/main/udm/prj
>
> When you have fixed the errors in that module you can resume the
>
> build
>
> by running:
>
>          build --all:udm
>
> I'm not professional with dmake (yet), so any help would be
> appreciated.
>
> --
> Fyodor
>
>
> ------------------------------------------------------------
>
> ---------
>
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>
> <ma...@openoffice.apache.org> <de...@openoffice.apache.org>
>
> <mailto:dev-unsubscribe@openoffice.apache.org <de...@openoffice.apache.org><mailto:d <d>
>
> ev-unsubscribe@openoffice.apache.org>>
>
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
> <ma...@openoffice.apache.org> <de...@openoffice.apache.org>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>
>
Damjan

Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Am 13.08.2017 um 10:57 schrieb Damjan Jovanovic:
> :(.
>
> gmake version?
---
$ gmake
-bash: gmake: Kommando nicht gefunden.
---

Where should gmake come from?
If it is required for trunk we should document it here:
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7.2C_Windows_8.1.2C_Windows_10

> If you go into main/udm and run "build", do you still get that error?
Yes:

---
Seidel@VM-W10-AOO /cygdrive/c/Source/aoo/main/udm
$ build
build -- version: 1775979


=============
Building module udm
=============

Entering /cygdrive/c/Source/aoo/main/udm/prj

cd .. && make -s -r -j1   && make -s -r deliverlog
[ build CXX ] udm/source/html/htmlitem
htmlitem.cxx
c:/Source/aoo/main/udm/source/inc\precomp.h(32) : fatal error C1083:
Cannot open include file: 'cosv/csv_precomp.h': No such file or directory
[ build PKG ] udm_inc
make: *** No rule to make target
'/cygdrive/c/Source/aoo/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o',
needed by
'/cygdrive/c/Source/aoo/main/solver/420/wntmsci12.pro/workdir/LinkTarget/StaticLibrary/udm.lib'.
Stop.
dmake:  Error code 2, while making 'all'
ERROR: error 65280 occurred while making /cygdrive/c/Source/aoo/main/udm/prj
---

Matthias

> Damjan
>
>
> On Sun, Aug 13, 2017 at 10:44 AM, Matthias Seidel <
> matthias.seidel@hamburg.de> wrote:
>
>> Yes, they are...
>>
>> precomp.h and cr_html.hxx are checked out every time. And every time we
>> get the same error.
>>
>> It is reproducible.
>>
>>
>> Am 11.08.2017 um 01:41 schrieb Don Lewis:
>>> Strange, those files should be part of the checked-out source.
>>>
>>> On 10 Aug, Matthias Seidel wrote:
>>>> I could now get past the gtest error by disabling unit tests
>>>> (--disable-unit-tests).
>>>>
>>>> Errors in udm and xml2cmp remain:
>>>>
>>>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/
>> build/main/udm/source/inc/precomp.h
>>>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/
>> wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
>>>> dmake:  Error code 2, while making 'all'
>>>>
>>>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/
>> build/main/xml2cmp/source/xcd/cr_html.hxx
>>>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/
>> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
>>>> dmake:  Error code 2, while making 'all'
>>>>
>>>>
>>>> Am 09.08.2017 um 12:35 schrieb Matthias Seidel:
>>>>> The buildbot does a complete checkout every day...
>>>>>
>>>>> gtest throws an error, before(?) udm and xml2cmp:
>>>>>
>>>>> *** gb_Deliver_deliver: file does not exist in solver, and cannot be
>>>>> delivered:
>>>>> /cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci1
>> 2.pro/inc/gtest/gtest.h
>>>>> (Note: The buildbot is still called aoo-win7, but Infra updated the
>>>>> system to Windows 10 64bit. AOO 4.1.4 is building without problems)
>>>>>
>>>>>
>>>>> Am 09.08.2017 um 12:12 schrieb Don Lewis:
>>>>>> The udm and xml2cmp errors appear to be incomplete source checkouts.
>>>>>>
>>>>>> On  9 Aug, Matthias Seidel wrote:
>>>>>>> I see similar errors in our buildbot for trunk (system: Windows 10
>> 64bit):
>>>>>>> https://ci.apache.org/projects/openoffice/buildlogs/
>> win/log/wntmsci12.pro.build.html
>>>>>>> The buildbot builds once a day. If some requirements have to be
>> changed
>>>>>>> drop me a line and I will edit the config accordingly.
>>>>>>>
>>>>>>> Regards, Matthias
>>>>>>>
>>>>>>>
>>>>>>> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>>>>>>>> I?ve took another try to build OO on W7 x32
>>>>>>>> But got same errors, as on W8 x64
>>>>>>>> May be I missed some prerequisites?
>>>>>>>>
>>>>>>>> Errors are in modules gtest, xml2cmp, salhelper, udm
>>>>>>>> Cygwin seems to have bug on Windows as it only  shows full error
>> text when resized to some size? So path to missed file is not full.
>>>>>>>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>>>>>>>>
>>>>>>>> $ build --all:gtest
>>>>>>>> build -- version: 1775979
>>>>>>>>
>>>>>>>>
>>>>>>>> =============
>>>>>>>> Building module gtest
>>>>>>>> =============
>>>>>>>>
>>>>>>>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>>>>
>>>>>>>> mkdir: cannot create directory './wntmsci12.pro/misc/build/
>> gtest-1.7.0/': File exists
>>>>>>>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
>> gb_Deliver_deliver: file does not exist in solver, and cannot be deli.
>> Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>>>>>>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/
>> so_built_oo_gtest'
>>>>>>>> 1 module(s):
>>>>>>>>         gtest
>>>>>>>> need(s) to be rebuilt
>>>>>>>>
>>>>>>>> Reason(s):
>>>>>>>>
>>>>>>>> ERROR: error 65280 occurred while making
>> /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>>>> When you have fixed the errors in that module you can resume the
>> build by running:
>>>>>>>>         build --all:gtest
>>>>>>>>
>>>>>>>> The sal helper cannot open include file conditn.h
>>>>>>>>
>>>>>>>> =============
>>>>>>>> Building module salhelper
>>>>>>>> =============
>>>>>>>>
>>>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>>>>>>
>>>>>>>> mkout -- version: 1.8
>>>>>>>> Making:    all_salhelper.dpslo
>>>>>>>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>>>>>>>> Compiling: salhelper/source/condition.cxx
>>>>>>>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot
>> open include file: 'osl/conditn.h': No such file or directory
>>>>>>>> dmake:  Error code 2, while making '../wntmsci12.pro/slo/
>> condition.obj'
>>>>>>>> 1 module(s):
>>>>>>>>         salhelper
>>>>>>>> need(s) to be rebuilt
>>>>>>>>
>>>>>>>> Reason(s):
>>>>>>>>
>>>>>>>> ERROR: error 65280 occurred while making
>> /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>>>>>> When you have fixed the errors in that module you can resume the
>> build by running:
>>>>>>>>         build --all:salhelper
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
>>>>>>>> Sent: Wednesday, July 19, 2017 10:51 AM
>>>>>>>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <
>> dev@openoffice.apache.org>
>>>>>>>> Subject: Re[5]: Building OO
>>>>>>>>
>>>>>>>> Hello!
>>>>>>>>
>>>>>>>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>> installed
>>>>>>>> And OO built successfully! :-)
>>>>>>>>
>>>>>>>> Now trying to do the same on W7 x32.
>>>>>>>>
>>>>>>>> As Id like to deep dive into OO development, could you please share
>> what dev environment do you use on Ubuntu and on W7 (I believe, that I'll
>> finally success in building OO on Windows).
>>>>>>>> Any thoughts on establishing dev environment will be appreciated.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Fyodor
>>>>>>>>
>>>>>>>> ------ ??????о? ????????? ------
>>>>>>>> ??: "??????????о ?????" <fyodor_e@hotmail.com<mailto:f
>> yodor_e@hotmail.com>>
>>>>>>>> ????: "Damjan Jovanovic" <damjan@apache.org<mailto:damj
>> an@apache.org>>
>>>>>>>> ?????: "Apache OO" <dev@openoffice.apache.org<mailto:
>> dev@openoffice.apache.org>>
>>>>>>>> ?????в????: 04.07.2017 12:57:52
>>>>>>>> ????: Re[4]: Building OO
>>>>>>>>
>>>>>>>> I use following config script
>>>>>>>>
>>>>>>>> ./configure \
>>>>>>>>    --with-frame-home="$SDK_PATH" \
>>>>>>>>    --with-psdk-home="$SDK_PATH" \
>>>>>>>>    --with-midl-path="$SDK_PATH/bin" \
>>>>>>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>>>    --with-dmake-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>>>>    --with-epm-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>>>>    --disable-pch \
>>>>>>>>    --disable-atl \
>>>>>>>>    --disable-activex \
>>>>>>>>    --disable-nss-module \
>>>>>>>>    --without-junit \
>>>>>>>>    --disable-directx
>>>>>>>>
>>>>>>>> On Windows 8.1 64 bit Hyper-v VM
>>>>>>>>
>>>>>>>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>>>>>>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>>>>>>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>>>>>>>
>>>>>>>> I've tried to rebuild with following script (full path) with no
>> success
>>>>>>>> ./configure \
>>>>>>>>    --with-frame-home="$SDK_PATH" \
>>>>>>>>    --with-psdk-home="$SDK_PATH" \
>>>>>>>>    --with-midl-path="$SDK_PATH/bin" \
>>>>>>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>>>    --with-jdk-home="/cygdrive/c/Program Files
>> (x86)/Java/jdk1.8.0_131" \
>>>>>>>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>> \
>>>>>>>>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft
>> Visual Studio 9.0/VC" \
>>>>>>>>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft
>> Visual Studio 9.0/VC/bin" \
>>>>>>>>    --with-dmake-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>>>>    --with-epm-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>>>>    --disable-pch \
>>>>>>>>    --disable-atl \
>>>>>>>>    --disable-activex \
>>>>>>>>    --disable-nss-module \
>>>>>>>>    --without-junit \
>>>>>>>>    --disable-directx
>>>>>>>>
>>>>>>>> Now I have error on module gtest...
>>>>>>>>
>>>>>>>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/
>> so_built_oo_gtest'
>>>>>>>> 1 module(s):
>>>>>>>> gtest
>>>>>>>> need(s) to be rebuilt
>>>>>>>>
>>>>>>>> Reason(s):
>>>>>>>>
>>>>>>>> ERROR: error 65280 occurred while making
>> /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>>>> When you have fixed the errors in that module you can resume the
>> build by running:
>>>>>>>> build --all:gtest
>>>>>>>>
>>>>>>>> ------ ???????? ????????? ------
>>>>>>>> ?Ñ?: "Damjan Jovanovic" <damjan@apache.org<mailto:damjan@apache.org
>>>>>>>> ????: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
>> yodor_e@hotmail.com>>
>>>>>>>> ?????: "Apache OO" <dev@openoffice.apache.org<mailto:
>> dev@openoffice.apache.org>>
>>>>>>>> ????а????о: 02.07.2017 16:46:09
>>>>>>>> ????: Re: Re[2]: Building OO
>>>>>>>>
>>>>>>>> I just succeeded in building trunk with:
>>>>>>>> 32 bit VirtualBox VM
>>>>>>>> Windows XP
>>>>>>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
>> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6"
>> --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" --enable-pch
>> --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar"
>> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC"
>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>> --disable-directx --with-package-format="installed"
>> --enable-wiki-publisher
>>>>>>>> Please post your full setup and build options.
>>>>>>>> Regards
>>>>>>>> Damjan
>>>>>>>>
>>>>>>>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <
>> fyodor_e@hotmail.com<ma...@hotmail.com>> wrote:
>>>>>>>> Hello Damjan,
>>>>>>>>
>>>>>>>> I've commented out in main/udm/StaticLibrary_udm.mk
>>>>>>>>
>>>>>>>> #ifeq ($(OS),WNT)
>>>>>>>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>>>>>>> #else
>>>>>>>>
>>>>>>>> Now build stopped on xml2cmp module...
>>>>>>>>
>>>>>>>>
>>>>>>>>                         =============
>>>>>>>>                         Building module xml2cmp
>>>>>>>>                         =============
>>>>>>>>
>>>>>>>>                         Entering /cygdrive/c/source/aoo-trunk/
>> main/xml2cmp/prj
>>>>>>>>                         cd .. && make -s -r -j1   && make -s -r
>> deliverlog
>>>>>>>>                         [ info  ALL ] LinkTarget
>> Library/msvcprt.lib not defined: Assuming
>>>>>>>> headers to be there!
>>>>>>>>                         [ info  ALL ] LinkTarget
>> Library/kernel32.lib not defined: Assuming
>>>>>>>> headers to be there!
>>>>>>>>                         [ info  ALL ] LinkTarget Library/msvcrt.lib
>> not defined: Assuming
>>>>>>>> headers to be there!
>>>>>>>>                         [ info  ALL ] LinkTarget
>> Library/oldnames.lib not defined: Assuming
>>>>>>>> headers to be there!
>>>>>>>>                         [ build CXX ] xml2cmp/source/finder/dependy
>>>>>>>>                         dependy.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/finder/dep_main
>>>>>>>>                         dep_main.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>>>>>>>>                         cr_html.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>>>>>>>>                         cr_index.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>>>>>>>>                         cr_metho.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>>>>>>>>                         filebuff.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/xcd/parse
>>>>>>>>                         parse.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>>>>>>>>                         xmlelem.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>>>>>>>>                         xmltree.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/support/cmdline
>>>>>>>>                         cmdline.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/support/heap
>>>>>>>>                         heap.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/support/sistr
>>>>>>>>                         sistr.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/support/syshelp
>>>>>>>>                         syshelp.cxx
>>>>>>>>                         [ build CXX ] xml2cmp/source/support/badcast
>>>>>>>>                         badcast.cxx
>>>>>>>>                         [ build DEP ] LNK:Executable/srvdepy.exe
>>>>>>>>                         [ build CXX ] xml2cmp/source/xcd/main
>>>>>>>>                         main.cxx
>>>>>>>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>>>>>>>>                         ', needed by
>>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http:// wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>>>>>>>   Stop.
>>>>>>>>                         dmake:  Error code 2, while making 'all'
>>>>>>>>
>>>>>>>>                         1 module(s):
>>>>>>>>                                 xml2cmp
>>>>>>>>                         need(s) to be rebuilt
>>>>>>>>
>>>>>>>>                         Reason(s):
>>>>>>>>
>>>>>>>>                         ERROR: error 65280 occurred while making
>>>>>>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>>>>>
>>>>>>>>                         When you have fixed the errors in that
>> module you can resume the
>>>>>>>> build by running:
>>>>>>>>
>>>>>>>>                                 build --all:xml2cmp
>>>>>>>>
>>>>>>>> ------ ???????? ????????? ------
>>>>>>>> ??: "Damjan Jovanovic" <damjan@apache.org<mailto:damjan@apache.org
>>>>>>>> ???Ñ?: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
>> yodor_e@hotmail.com>>
>>>>>>>> ?????: "Apache OO" <dev@openoffice.apache.org<mailto:
>> dev@openoffice.apache.org>>
>>>>>>>> ??????????: 28.06.2017 15:07:29
>>>>>>>> ????: Re: Building OO
>>>>>>>>
>>>>>>>>> Hi Fyodor
>>>>>>>>>
>>>>>>>>> The problem is almost certainly in
>>>>>>>>> main/udm/StaticLibrary_udm.mk
>>>>>>>>>
>>>>>>>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>>>>>>>
>>>>>>>>> I'll try build it later.
>>>>>>>>>
>>>>>>>>> Damjan
>>>>>>>>>
>>>>>>>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>>>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>>>>> Hi Damjan,
>>>>>>>>>>
>>>>>>>>>> I?ve got OO using svn co
>>>>>>>>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>>>>>>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a
>> week
>>>>>>>>>> ago.
>>>>>>>>>>
>>>>>>>>>> I've cd'ed to udm and tried build -all:udm
>>>>>>>>>>
>>>>>>>>>> This is output
>>>>>>>>>>                         Admin@shr-pc
>>>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>>>>>>>>                         $ build --all:udm
>>>>>>>>>>                         build -- version: 1775979
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                         =============
>>>>>>>>>>                         Building module udm
>>>>>>>>>>                         =============
>>>>>>>>>>
>>>>>>>>>>                         Entering
>>>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>>>
>>>>>>>>>>                         cd .. && make -s -r -j1   && make -s -r
>>>>>>>>>> deliverlog
>>>>>>>>>>                         ', needed by
>>>>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/ CxxObject/udm/source/html/htmlitem.o>
>>>>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/
>> htmlitem.o>'.
>>>>>>>>>>   Stop.
>>>>>>>>>>                         dmake:  Error code 2, while making 'all'
>>>>>>>>>>
>>>>>>>>>>                         1 module(s):
>>>>>>>>>>                                 udm
>>>>>>>>>>                         need(s) to be rebuilt
>>>>>>>>>>
>>>>>>>>>>                         Reason(s):
>>>>>>>>>>
>>>>>>>>>>                         ERROR: error 65280 occurred while making
>>>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>>>
>>>>>>>>>>                         When you have fixed the errors in that
>> module
>>>>>>>>>> you can resume the
>>>>>>>>>> build by running:
>>>>>>>>>>
>>>>>>>>>>                                 build --all:udm
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I think I need to deep dive into dmake, so I'll be able to trace
>> build
>>>>>>>>>> and link processes and find what exactly done on udm module. So
>> I'll
>>>>>>>>>> appreciate reference to information on dmake.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Fyodor
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<mailto:
>> damjan@apache.org>]
>>>>>>>>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>>>>>>>>> To: Apache OO <dev@openoffice.apache.org<mailto:
>> dev@openoffice.apache.org>>; fyodor_e@hotmail.com<mailto:fy odor_e@hotmail.com>
>>>>>>>>>> Subject: Re: Building OO
>>>>>>>>>>
>>>>>>>>>> Hi Fyodor
>>>>>>>>>> Welcome to AOO :).
>>>>>>>>>> What version are you building?
>>>>>>>>>> Can you "cd" into the udm directory, and post the full output of
>>>>>>>>>> "build"
>>>>>>>>>> run from there?
>>>>>>>>>> Thank you
>>>>>>>>>> Damjan
>>>>>>>>>>
>>>>>>>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>>>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>>>>> =============
>>>>>>>>>> Building module udm
>>>>>>>>>> =============
>>>>>>>>>>
>>>>>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>>> Hello!
>>>>>>>>>>
>>>>>>>>>> I'm newbie in OO development, and as New Volunteer Orientation
>> module
>>>>>>>>>> suggests, I've established local build env, and try to build OO.
>>>>>>>>>> I've installed required prerequisites from Building Guide
>>>>>>>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>>>>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>> )
>>>>>>>>>> and
>>>>>>>>>> started to build with this command
>>>>>>>>>>
>>>>>>>>>> ./configure \
>>>>>>>>>>      --with-frame-home="$SDK_PATH" \
>>>>>>>>>>      --with-psdk-home="$SDK_PATH" \
>>>>>>>>>>      --with-midl-path="$SDK_PATH/bin" \
>>>>>>>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>>>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>>>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>>>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>>>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>>>>>
>>>>>>>>>> --with-dmake-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/dmake-4.12.tar.bz2
>>>>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/
>> files/dmake-4.12.tar.bz2>"
>>>>>>>>>> \
>>>>>>>>>>
>>>>>>>>>> --with-epm-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/epm-3.7.tar.gz
>>>>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/
>> files/epm-3.7.tar.gz>"
>>>>>>>>>> \
>>>>>>>>>>      --disable-pch \
>>>>>>>>>>      --disable-atl \
>>>>>>>>>>      --disable-activex \
>>>>>>>>>>      --disable-nss-module \
>>>>>>>>>>      --without-junit \
>>>>>>>>>>      --disable-directx
>>>>>>>>>>
>>>>>>>>>> There are some modules built successfully, but built stop on UDM
>>>>>>>>>> module
>>>>>>>>>> with following error
>>>>>>>>>>
>>>>>>>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>>>>>>> [ build CXX ] udm/source/html/htmlitem
>>>>>>>>>> htmlitem.cxx
>>>>>>>>>> [ build CXX ] udm/source/xml/xmlitem
>>>>>>>>>> xmlitem.cxx
>>>>>>>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>>>>>>>>> [ build PKG ] udm_inc
>>>>>>>>>> ', needed by
>>>>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/ CxxObject/udm/source/html/htmlitem.o>
>>>>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/
>> htmlitem.o>'.
>>>>>>>>>>   Stop.
>>>>>>>>>> dmake:  Error code 2, while making 'all'
>>>>>>>>>>
>>>>>>>>>> 1 module(s):
>>>>>>>>>>          udm
>>>>>>>>>> need(s) to be rebuilt
>>>>>>>>>>
>>>>>>>>>> Reason(s):
>>>>>>>>>>
>>>>>>>>>> ERROR: error 65280 occurred while making
>>>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>>>
>>>>>>>>>> When you have fixed the errors in that module you can resume the
>> build
>>>>>>>>>> by running:
>>>>>>>>>>
>>>>>>>>>>          build --all:udm
>>>>>>>>>>
>>>>>>>>>> I'm not professional with dmake (yet), so any help would be
>>>>>>>>>> appreciated.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Fyodor
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------
>> ---------
>>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> <ma...@openoffice.apache.org>
>>>>>>>>>> <mailto:dev-unsubscribe@openoffice.apache.org<mailto:d
>> ev-unsubscribe@openoffice.apache.org>>
>>>>>>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>> <ma...@openoffice.apache.org>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>
>>>
>>


Re: Building OO

Posted by Damjan Jovanovic <da...@apache.org>.
:(.

gmake version?

If you go into main/udm and run "build", do you still get that error?

Damjan


On Sun, Aug 13, 2017 at 10:44 AM, Matthias Seidel <
matthias.seidel@hamburg.de> wrote:

> Yes, they are...
>
> precomp.h and cr_html.hxx are checked out every time. And every time we
> get the same error.
>
> It is reproducible.
>
>
> Am 11.08.2017 um 01:41 schrieb Don Lewis:
> > Strange, those files should be part of the checked-out source.
> >
> > On 10 Aug, Matthias Seidel wrote:
> >> I could now get past the gtest error by disabling unit tests
> >> (--disable-unit-tests).
> >>
> >> Errors in udm and xml2cmp remain:
> >>
> >> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/
> build/main/udm/source/inc/precomp.h
> >> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/
> wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
> >> dmake:  Error code 2, while making 'all'
> >>
> >> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/
> build/main/xml2cmp/source/xcd/cr_html.hxx
> >> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/
> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
> >> dmake:  Error code 2, while making 'all'
> >>
> >>
> >> Am 09.08.2017 um 12:35 schrieb Matthias Seidel:
> >>> The buildbot does a complete checkout every day...
> >>>
> >>> gtest throws an error, before(?) udm and xml2cmp:
> >>>
> >>> *** gb_Deliver_deliver: file does not exist in solver, and cannot be
> >>> delivered:
> >>> /cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci1
> 2.pro/inc/gtest/gtest.h
> >>>
> >>> (Note: The buildbot is still called aoo-win7, but Infra updated the
> >>> system to Windows 10 64bit. AOO 4.1.4 is building without problems)
> >>>
> >>>
> >>> Am 09.08.2017 um 12:12 schrieb Don Lewis:
> >>>> The udm and xml2cmp errors appear to be incomplete source checkouts.
> >>>>
> >>>> On  9 Aug, Matthias Seidel wrote:
> >>>>> I see similar errors in our buildbot for trunk (system: Windows 10
> 64bit):
> >>>>>
> >>>>> https://ci.apache.org/projects/openoffice/buildlogs/
> win/log/wntmsci12.pro.build.html
> >>>>>
> >>>>> The buildbot builds once a day. If some requirements have to be
> changed
> >>>>> drop me a line and I will edit the config accordingly.
> >>>>>
> >>>>> Regards, Matthias
> >>>>>
> >>>>>
> >>>>> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
> >>>>>> I?ve took another try to build OO on W7 x32
> >>>>>> But got same errors, as on W8 x64
> >>>>>> May be I missed some prerequisites?
> >>>>>>
> >>>>>> Errors are in modules gtest, xml2cmp, salhelper, udm
> >>>>>> Cygwin seems to have bug on Windows as it only  shows full error
> text when resized to some size? So path to missed file is not full.
> >>>>>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
> >>>>>>
> >>>>>> $ build --all:gtest
> >>>>>> build -- version: 1775979
> >>>>>>
> >>>>>>
> >>>>>> =============
> >>>>>> Building module gtest
> >>>>>> =============
> >>>>>>
> >>>>>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
> >>>>>>
> >>>>>> mkdir: cannot create directory './wntmsci12.pro/misc/build/
> gtest-1.7.0/': File exists
> >>>>>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
> gb_Deliver_deliver: file does not exist in solver, and cannot be deli.
> Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
> >>>>>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/
> so_built_oo_gtest'
> >>>>>>
> >>>>>> 1 module(s):
> >>>>>>         gtest
> >>>>>> need(s) to be rebuilt
> >>>>>>
> >>>>>> Reason(s):
> >>>>>>
> >>>>>> ERROR: error 65280 occurred while making
> /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
> >>>>>>
> >>>>>> When you have fixed the errors in that module you can resume the
> build by running:
> >>>>>>
> >>>>>>         build --all:gtest
> >>>>>>
> >>>>>> The sal helper cannot open include file conditn.h
> >>>>>>
> >>>>>> =============
> >>>>>> Building module salhelper
> >>>>>> =============
> >>>>>>
> >>>>>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
> >>>>>>
> >>>>>> mkout -- version: 1.8
> >>>>>> Making:    all_salhelper.dpslo
> >>>>>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
> >>>>>> Compiling: salhelper/source/condition.cxx
> >>>>>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot
> open include file: 'osl/conditn.h': No such file or directory
> >>>>>> dmake:  Error code 2, while making '../wntmsci12.pro/slo/
> condition.obj'
> >>>>>>
> >>>>>> 1 module(s):
> >>>>>>         salhelper
> >>>>>> need(s) to be rebuilt
> >>>>>>
> >>>>>> Reason(s):
> >>>>>>
> >>>>>> ERROR: error 65280 occurred while making
> /cygdrive/c/source/aoo-trunk/main/salhelper/source
> >>>>>>
> >>>>>> When you have fixed the errors in that module you can resume the
> build by running:
> >>>>>>
> >>>>>>         build --all:salhelper
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
> >>>>>> Sent: Wednesday, July 19, 2017 10:51 AM
> >>>>>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <
> dev@openoffice.apache.org>
> >>>>>> Subject: Re[5]: Building OO
> >>>>>>
> >>>>>> Hello!
> >>>>>>
> >>>>>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
> installed
> >>>>>> And OO built successfully! :-)
> >>>>>>
> >>>>>> Now trying to do the same on W7 x32.
> >>>>>>
> >>>>>> As Id like to deep dive into OO development, could you please share
> what dev environment do you use on Ubuntu and on W7 (I believe, that I'll
> finally success in building OO on Windows).
> >>>>>> Any thoughts on establishing dev environment will be appreciated.
> >>>>>>
> >>>>>> --
> >>>>>> Fyodor
> >>>>>>
> >>>>>> ------ ??????о? ????????? ------
> >>>>>> ??: "??????????о ?????" <fyodor_e@hotmail.com<mailto:f
> yodor_e@hotmail.com>>
> >>>>>> ????: "Damjan Jovanovic" <damjan@apache.org<mailto:damj
> an@apache.org>>
> >>>>>> ?????: "Apache OO" <dev@openoffice.apache.org<mailto:
> dev@openoffice.apache.org>>
> >>>>>> ?????в????: 04.07.2017 12:57:52
> >>>>>> ????: Re[4]: Building OO
> >>>>>>
> >>>>>> I use following config script
> >>>>>>
> >>>>>> ./configure \
> >>>>>>    --with-frame-home="$SDK_PATH" \
> >>>>>>    --with-psdk-home="$SDK_PATH" \
> >>>>>>    --with-midl-path="$SDK_PATH/bin" \
> >>>>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >>>>>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
> >>>>>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
> >>>>>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
> >>>>>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
> >>>>>>    --with-dmake-url="https://sourceforge.net/projects/
> oooextras.mirror/files/dmake-4.12.tar.bz2" \
> >>>>>>    --with-epm-url="https://sourceforge.net/projects/
> oooextras.mirror/files/epm-3.7.tar.gz" \
> >>>>>>    --disable-pch \
> >>>>>>    --disable-atl \
> >>>>>>    --disable-activex \
> >>>>>>    --disable-nss-module \
> >>>>>>    --without-junit \
> >>>>>>    --disable-directx
> >>>>>>
> >>>>>> On Windows 8.1 64 bit Hyper-v VM
> >>>>>>
> >>>>>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
> >>>>>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
> >>>>>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
> >>>>>>
> >>>>>> I've tried to rebuild with following script (full path) with no
> success
> >>>>>>
> >>>>>> ./configure \
> >>>>>>    --with-frame-home="$SDK_PATH" \
> >>>>>>    --with-psdk-home="$SDK_PATH" \
> >>>>>>    --with-midl-path="$SDK_PATH/bin" \
> >>>>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >>>>>>    --with-jdk-home="/cygdrive/c/Program Files
> (x86)/Java/jdk1.8.0_131" \
> >>>>>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
> \
> >>>>>>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft
> Visual Studio 9.0/VC" \
> >>>>>>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft
> Visual Studio 9.0/VC/bin" \
> >>>>>>    --with-dmake-url="https://sourceforge.net/projects/
> oooextras.mirror/files/dmake-4.12.tar.bz2" \
> >>>>>>    --with-epm-url="https://sourceforge.net/projects/
> oooextras.mirror/files/epm-3.7.tar.gz" \
> >>>>>>    --disable-pch \
> >>>>>>    --disable-atl \
> >>>>>>    --disable-activex \
> >>>>>>    --disable-nss-module \
> >>>>>>    --without-junit \
> >>>>>>    --disable-directx
> >>>>>>
> >>>>>> Now I have error on module gtest...
> >>>>>>
> >>>>>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/
> so_built_oo_gtest'
> >>>>>>
> >>>>>> 1 module(s):
> >>>>>> gtest
> >>>>>> need(s) to be rebuilt
> >>>>>>
> >>>>>> Reason(s):
> >>>>>>
> >>>>>> ERROR: error 65280 occurred while making
> /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
> >>>>>>
> >>>>>> When you have fixed the errors in that module you can resume the
> build by running:
> >>>>>>
> >>>>>> build --all:gtest
> >>>>>>
> >>>>>> ------ ???????? ????????? ------
> >>>>>> ?Ñ?: "Damjan Jovanovic" <damjan@apache.org<mailto:damjan@apache.org
> >>
> >>>>>> ????: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
> yodor_e@hotmail.com>>
> >>>>>> ?????: "Apache OO" <dev@openoffice.apache.org<mailto:
> dev@openoffice.apache.org>>
> >>>>>> ????а????о: 02.07.2017 16:46:09
> >>>>>> ????: Re: Re[2]: Building OO
> >>>>>>
> >>>>>> I just succeeded in building trunk with:
> >>>>>> 32 bit VirtualBox VM
> >>>>>> Windows XP
> >>>>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6"
> --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" --enable-pch
> --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar"
> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC"
> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
> --disable-directx --with-package-format="installed"
> --enable-wiki-publisher
> >>>>>>
> >>>>>> Please post your full setup and build options.
> >>>>>> Regards
> >>>>>> Damjan
> >>>>>>
> >>>>>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <
> fyodor_e@hotmail.com<ma...@hotmail.com>> wrote:
> >>>>>> Hello Damjan,
> >>>>>>
> >>>>>> I've commented out in main/udm/StaticLibrary_udm.mk
> >>>>>>
> >>>>>> #ifeq ($(OS),WNT)
> >>>>>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
> >>>>>> #else
> >>>>>>
> >>>>>> Now build stopped on xml2cmp module...
> >>>>>>
> >>>>>>
> >>>>>>                         =============
> >>>>>>                         Building module xml2cmp
> >>>>>>                         =============
> >>>>>>
> >>>>>>                         Entering /cygdrive/c/source/aoo-trunk/
> main/xml2cmp/prj
> >>>>>>
> >>>>>>                         cd .. && make -s -r -j1   && make -s -r
> deliverlog
> >>>>>>                         [ info  ALL ] LinkTarget
> Library/msvcprt.lib not defined: Assuming
> >>>>>> headers to be there!
> >>>>>>                         [ info  ALL ] LinkTarget
> Library/kernel32.lib not defined: Assuming
> >>>>>> headers to be there!
> >>>>>>                         [ info  ALL ] LinkTarget Library/msvcrt.lib
> not defined: Assuming
> >>>>>> headers to be there!
> >>>>>>                         [ info  ALL ] LinkTarget
> Library/oldnames.lib not defined: Assuming
> >>>>>> headers to be there!
> >>>>>>                         [ build CXX ] xml2cmp/source/finder/dependy
> >>>>>>                         dependy.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/finder/dep_main
> >>>>>>                         dep_main.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
> >>>>>>                         cr_html.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
> >>>>>>                         cr_index.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
> >>>>>>                         cr_metho.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
> >>>>>>                         filebuff.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/xcd/parse
> >>>>>>                         parse.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
> >>>>>>                         xmlelem.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
> >>>>>>                         xmltree.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/support/cmdline
> >>>>>>                         cmdline.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/support/heap
> >>>>>>                         heap.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/support/sistr
> >>>>>>                         sistr.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/support/syshelp
> >>>>>>                         syshelp.cxx
> >>>>>>                         [ build CXX ] xml2cmp/source/support/badcast
> >>>>>>                         badcast.cxx
> >>>>>>                         [ build DEP ] LNK:Executable/srvdepy.exe
> >>>>>>                         [ build CXX ] xml2cmp/source/xcd/main
> >>>>>>                         main.cxx
> >>>>>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
> >>>>>>                         ', needed by
> >>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://
> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
> >>>>>>   Stop.
> >>>>>>                         dmake:  Error code 2, while making 'all'
> >>>>>>
> >>>>>>                         1 module(s):
> >>>>>>                                 xml2cmp
> >>>>>>                         need(s) to be rebuilt
> >>>>>>
> >>>>>>                         Reason(s):
> >>>>>>
> >>>>>>                         ERROR: error 65280 occurred while making
> >>>>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
> >>>>>>
> >>>>>>                         When you have fixed the errors in that
> module you can resume the
> >>>>>> build by running:
> >>>>>>
> >>>>>>                                 build --all:xml2cmp
> >>>>>>
> >>>>>> ------ ???????? ????????? ------
> >>>>>> ??: "Damjan Jovanovic" <damjan@apache.org<mailto:damjan@apache.org
> >>
> >>>>>> ???Ñ?: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
> yodor_e@hotmail.com>>
> >>>>>> ?????: "Apache OO" <dev@openoffice.apache.org<mailto:
> dev@openoffice.apache.org>>
> >>>>>> ??????????: 28.06.2017 15:07:29
> >>>>>> ????: Re: Building OO
> >>>>>>
> >>>>>>> Hi Fyodor
> >>>>>>>
> >>>>>>> The problem is almost certainly in
> >>>>>>> main/udm/StaticLibrary_udm.mk
> >>>>>>>
> >>>>>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
> >>>>>>>
> >>>>>>> I'll try build it later.
> >>>>>>>
> >>>>>>> Damjan
> >>>>>>>
> >>>>>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
> >>>>>>> <fy...@hotmail.com>> wrote:
> >>>>>>>> Hi Damjan,
> >>>>>>>>
> >>>>>>>> I?ve got OO using svn co
> >>>>>>>> https://svn.apache.org/repos/asf/openoffice/trunk
> >>>>>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a
> week
> >>>>>>>> ago.
> >>>>>>>>
> >>>>>>>> I've cd'ed to udm and tried build -all:udm
> >>>>>>>>
> >>>>>>>> This is output
> >>>>>>>>                         Admin@shr-pc
> >>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm
> >>>>>>>>                         $ build --all:udm
> >>>>>>>>                         build -- version: 1775979
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>                         =============
> >>>>>>>>                         Building module udm
> >>>>>>>>                         =============
> >>>>>>>>
> >>>>>>>>                         Entering
> >>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>>>>>
> >>>>>>>>                         cd .. && make -s -r -j1   && make -s -r
> >>>>>>>> deliverlog
> >>>>>>>>                         ', needed by
> >>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/
> CxxObject/udm/source/html/htmlitem.o>
> >>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/
> htmlitem.o>'.
> >>>>>>>>   Stop.
> >>>>>>>>                         dmake:  Error code 2, while making 'all'
> >>>>>>>>
> >>>>>>>>                         1 module(s):
> >>>>>>>>                                 udm
> >>>>>>>>                         need(s) to be rebuilt
> >>>>>>>>
> >>>>>>>>                         Reason(s):
> >>>>>>>>
> >>>>>>>>                         ERROR: error 65280 occurred while making
> >>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>>>>>
> >>>>>>>>                         When you have fixed the errors in that
> module
> >>>>>>>> you can resume the
> >>>>>>>> build by running:
> >>>>>>>>
> >>>>>>>>                                 build --all:udm
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> I think I need to deep dive into dmake, so I'll be able to trace
> build
> >>>>>>>> and link processes and find what exactly done on udm module. So
> I'll
> >>>>>>>> appreciate reference to information on dmake.
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Fyodor
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<mailto:
> damjan@apache.org>]
> >>>>>>>> Sent: Tuesday, June 27, 2017 5:38 PM
> >>>>>>>> To: Apache OO <dev@openoffice.apache.org<mailto:
> dev@openoffice.apache.org>>; fyodor_e@hotmail.com<mailto:fy
> odor_e@hotmail.com>
> >>>>>>>> Subject: Re: Building OO
> >>>>>>>>
> >>>>>>>> Hi Fyodor
> >>>>>>>> Welcome to AOO :).
> >>>>>>>> What version are you building?
> >>>>>>>> Can you "cd" into the udm directory, and post the full output of
> >>>>>>>> "build"
> >>>>>>>> run from there?
> >>>>>>>> Thank you
> >>>>>>>> Damjan
> >>>>>>>>
> >>>>>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
> >>>>>>>> <fy...@hotmail.com>> wrote:
> >>>>>>>> =============
> >>>>>>>> Building module udm
> >>>>>>>> =============
> >>>>>>>>
> >>>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>>>>> Hello!
> >>>>>>>>
> >>>>>>>> I'm newbie in OO development, and as New Volunteer Orientation
> module
> >>>>>>>> suggests, I've established local build env, and try to build OO.
> >>>>>>>> I've installed required prerequisites from Building Guide
> >>>>>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
> >>>>>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
> >)
> >>>>>>>> and
> >>>>>>>> started to build with this command
> >>>>>>>>
> >>>>>>>> ./configure \
> >>>>>>>>      --with-frame-home="$SDK_PATH" \
> >>>>>>>>      --with-psdk-home="$SDK_PATH" \
> >>>>>>>>      --with-midl-path="$SDK_PATH/bin" \
> >>>>>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >>>>>>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
> >>>>>>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
> >>>>>>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
> >>>>>>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
> >>>>>>>>
> >>>>>>>> --with-dmake-url="https://sourceforge.net/projects/
> oooextras.mirror/files/dmake-4.12.tar.bz2
> >>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/
> files/dmake-4.12.tar.bz2>"
> >>>>>>>> \
> >>>>>>>>
> >>>>>>>> --with-epm-url="https://sourceforge.net/projects/
> oooextras.mirror/files/epm-3.7.tar.gz
> >>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/
> files/epm-3.7.tar.gz>"
> >>>>>>>> \
> >>>>>>>>      --disable-pch \
> >>>>>>>>      --disable-atl \
> >>>>>>>>      --disable-activex \
> >>>>>>>>      --disable-nss-module \
> >>>>>>>>      --without-junit \
> >>>>>>>>      --disable-directx
> >>>>>>>>
> >>>>>>>> There are some modules built successfully, but built stop on UDM
> >>>>>>>> module
> >>>>>>>> with following error
> >>>>>>>>
> >>>>>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
> >>>>>>>> [ build CXX ] udm/source/html/htmlitem
> >>>>>>>> htmlitem.cxx
> >>>>>>>> [ build CXX ] udm/source/xml/xmlitem
> >>>>>>>> xmlitem.cxx
> >>>>>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
> >>>>>>>> [ build PKG ] udm_inc
> >>>>>>>> ', needed by
> >>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/
> CxxObject/udm/source/html/htmlitem.o>
> >>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/
> htmlitem.o>'.
> >>>>>>>>   Stop.
> >>>>>>>> dmake:  Error code 2, while making 'all'
> >>>>>>>>
> >>>>>>>> 1 module(s):
> >>>>>>>>          udm
> >>>>>>>> need(s) to be rebuilt
> >>>>>>>>
> >>>>>>>> Reason(s):
> >>>>>>>>
> >>>>>>>> ERROR: error 65280 occurred while making
> >>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>>>>>
> >>>>>>>> When you have fixed the errors in that module you can resume the
> build
> >>>>>>>> by running:
> >>>>>>>>
> >>>>>>>>          build --all:udm
> >>>>>>>>
> >>>>>>>> I'm not professional with dmake (yet), so any help would be
> >>>>>>>> appreciated.
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Fyodor
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> ------------------------------------------------------------
> ---------
> >>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> <ma...@openoffice.apache.org>
> >>>>>>>> <mailto:dev-unsubscribe@openoffice.apache.org<mailto:d
> ev-unsubscribe@openoffice.apache.org>>
> >>>>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
> <ma...@openoffice.apache.org>
> >>>>>>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> >>>> For additional commands, e-mail: dev-help@openoffice.apache.org
> >>>>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> > For additional commands, e-mail: dev-help@openoffice.apache.org
> >
> >
>
>
>

Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Yes, they are...

precomp.h and cr_html.hxx are checked out every time. And every time we
get the same error.

It is reproducible.


Am 11.08.2017 um 01:41 schrieb Don Lewis:
> Strange, those files should be part of the checked-out source.
>
> On 10 Aug, Matthias Seidel wrote:
>> I could now get past the gtest error by disabling unit tests
>> (--disable-unit-tests).
>>
>> Errors in udm and xml2cmp remain:
>>
>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h
>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
>> dmake:  Error code 2, while making 'all'
>>
>> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/xml2cmp/source/xcd/cr_html.hxx
>> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
>> dmake:  Error code 2, while making 'all'
>>
>>
>> Am 09.08.2017 um 12:35 schrieb Matthias Seidel:
>>> The buildbot does a complete checkout every day...
>>>
>>> gtest throws an error, before(?) udm and xml2cmp:
>>>
>>> *** gb_Deliver_deliver: file does not exist in solver, and cannot be
>>> delivered:
>>> /cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>>
>>> (Note: The buildbot is still called aoo-win7, but Infra updated the
>>> system to Windows 10 64bit. AOO 4.1.4 is building without problems)
>>>
>>>
>>> Am 09.08.2017 um 12:12 schrieb Don Lewis:
>>>> The udm and xml2cmp errors appear to be incomplete source checkouts.
>>>>
>>>> On  9 Aug, Matthias Seidel wrote:
>>>>> I see similar errors in our buildbot for trunk (system: Windows 10 64bit):
>>>>>
>>>>> https://ci.apache.org/projects/openoffice/buildlogs/win/log/wntmsci12.pro.build.html
>>>>>
>>>>> The buildbot builds once a day. If some requirements have to be changed
>>>>> drop me a line and I will edit the config accordingly.
>>>>>
>>>>> Regards, Matthias
>>>>>
>>>>>
>>>>> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>>>>>> I?ve took another try to build OO on W7 x32
>>>>>> But got same errors, as on W8 x64
>>>>>> May be I missed some prerequisites?
>>>>>>
>>>>>> Errors are in modules gtest, xml2cmp, salhelper, udm
>>>>>> Cygwin seems to have bug on Windows as it only  shows full error text when resized to some size? So path to missed file is not full.
>>>>>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>>>>>>
>>>>>> $ build --all:gtest
>>>>>> build -- version: 1775979
>>>>>>
>>>>>>
>>>>>> =============
>>>>>> Building module gtest
>>>>>> =============
>>>>>>
>>>>>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>>
>>>>>> mkdir: cannot create directory './wntmsci12.pro/misc/build/gtest-1.7.0/': File exists
>>>>>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: *** gb_Deliver_deliver: file does not exist in solver, and cannot be deli.  Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>>>>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>>>>>>
>>>>>> 1 module(s):
>>>>>>         gtest
>>>>>> need(s) to be rebuilt
>>>>>>
>>>>>> Reason(s):
>>>>>>
>>>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>>
>>>>>> When you have fixed the errors in that module you can resume the build by running:
>>>>>>
>>>>>>         build --all:gtest
>>>>>>
>>>>>> The sal helper cannot open include file conditn.h
>>>>>>
>>>>>> =============
>>>>>> Building module salhelper
>>>>>> =============
>>>>>>
>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>>>>
>>>>>> mkout -- version: 1.8
>>>>>> Making:    all_salhelper.dpslo
>>>>>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>>>>>> Compiling: salhelper/source/condition.cxx
>>>>>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open include file: 'osl/conditn.h': No such file or directory
>>>>>> dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj'
>>>>>>
>>>>>> 1 module(s):
>>>>>>         salhelper
>>>>>> need(s) to be rebuilt
>>>>>>
>>>>>> Reason(s):
>>>>>>
>>>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>>>>
>>>>>> When you have fixed the errors in that module you can resume the build by running:
>>>>>>
>>>>>>         build --all:salhelper
>>>>>>
>>>>>>
>>>>>>
>>>>>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
>>>>>> Sent: Wednesday, July 19, 2017 10:51 AM
>>>>>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <de...@openoffice.apache.org>
>>>>>> Subject: Re[5]: Building OO
>>>>>>
>>>>>> Hello!
>>>>>>
>>>>>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp installed
>>>>>> And OO built successfully! :-)
>>>>>>
>>>>>> Now trying to do the same on W7 x32.
>>>>>>
>>>>>> As Id like to deep dive into OO development, could you please share what dev environment do you use on Ubuntu and on W7 (I believe, that I'll finally success in building OO on Windows).
>>>>>> Any thoughts on establishing dev environment will be appreciated.
>>>>>>
>>>>>> --
>>>>>> Fyodor
>>>>>>
>>>>>> ------ ??????о? ????????? ------
>>>>>> ??: "??????????о ?????" <fy...@hotmail.com>>
>>>>>> ????: "Damjan Jovanovic" <da...@apache.org>>
>>>>>> ?????: "Apache OO" <de...@openoffice.apache.org>>
>>>>>> ?????в????: 04.07.2017 12:57:52
>>>>>> ????: Re[4]: Building OO
>>>>>>
>>>>>> I use following config script
>>>>>>
>>>>>> ./configure \
>>>>>>    --with-frame-home="$SDK_PATH" \
>>>>>>    --with-psdk-home="$SDK_PATH" \
>>>>>>    --with-midl-path="$SDK_PATH/bin" \
>>>>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>>    --disable-pch \
>>>>>>    --disable-atl \
>>>>>>    --disable-activex \
>>>>>>    --disable-nss-module \
>>>>>>    --without-junit \
>>>>>>    --disable-directx
>>>>>>
>>>>>> On Windows 8.1 64 bit Hyper-v VM
>>>>>>
>>>>>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>>>>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>>>>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>>>>>
>>>>>> I've tried to rebuild with following script (full path) with no success
>>>>>>
>>>>>> ./configure \
>>>>>>    --with-frame-home="$SDK_PATH" \
>>>>>>    --with-psdk-home="$SDK_PATH" \
>>>>>>    --with-midl-path="$SDK_PATH/bin" \
>>>>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>    --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
>>>>>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \
>>>>>>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
>>>>>>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>>    --disable-pch \
>>>>>>    --disable-atl \
>>>>>>    --disable-activex \
>>>>>>    --disable-nss-module \
>>>>>>    --without-junit \
>>>>>>    --disable-directx
>>>>>>
>>>>>> Now I have error on module gtest...
>>>>>>
>>>>>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>>>>>>
>>>>>> 1 module(s):
>>>>>> gtest
>>>>>> need(s) to be rebuilt
>>>>>>
>>>>>> Reason(s):
>>>>>>
>>>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>>
>>>>>> When you have fixed the errors in that module you can resume the build by running:
>>>>>>
>>>>>> build --all:gtest
>>>>>>
>>>>>> ------ ???????? ????????? ------
>>>>>> ?Ñ?: "Damjan Jovanovic" <da...@apache.org>>
>>>>>> ????: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
>>>>>> ?????: "Apache OO" <de...@openoffice.apache.org>>
>>>>>> ????а????о: 02.07.2017 16:46:09
>>>>>> ????: Re: Re[2]: Building OO
>>>>>>
>>>>>> I just succeeded in building trunk with:
>>>>>> 32 bit VirtualBox VM
>>>>>> Windows XP
>>>>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH" --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6" --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" --enable-pch --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar" --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar" --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx --with-package-format="installed" --enable-wiki-publisher
>>>>>>
>>>>>> Please post your full setup and build options.
>>>>>> Regards
>>>>>> Damjan
>>>>>>
>>>>>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <fy...@hotmail.com>> wrote:
>>>>>> Hello Damjan,
>>>>>>
>>>>>> I've commented out in main/udm/StaticLibrary_udm.mk
>>>>>>
>>>>>> #ifeq ($(OS),WNT)
>>>>>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>>>>> #else
>>>>>>
>>>>>> Now build stopped on xml2cmp module...
>>>>>>
>>>>>>
>>>>>>                         =============
>>>>>>                         Building module xml2cmp
>>>>>>                         =============
>>>>>>
>>>>>>                         Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>>>
>>>>>>                         cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>>>                         [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
>>>>>> headers to be there!
>>>>>>                         [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
>>>>>> headers to be there!
>>>>>>                         [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
>>>>>> headers to be there!
>>>>>>                         [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
>>>>>> headers to be there!
>>>>>>                         [ build CXX ] xml2cmp/source/finder/dependy
>>>>>>                         dependy.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/finder/dep_main
>>>>>>                         dep_main.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>>>>>>                         cr_html.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>>>>>>                         cr_index.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>>>>>>                         cr_metho.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>>>>>>                         filebuff.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/xcd/parse
>>>>>>                         parse.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>>>>>>                         xmlelem.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>>>>>>                         xmltree.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/support/cmdline
>>>>>>                         cmdline.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/support/heap
>>>>>>                         heap.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/support/sistr
>>>>>>                         sistr.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/support/syshelp
>>>>>>                         syshelp.cxx
>>>>>>                         [ build CXX ] xml2cmp/source/support/badcast
>>>>>>                         badcast.cxx
>>>>>>                         [ build DEP ] LNK:Executable/srvdepy.exe
>>>>>>                         [ build CXX ] xml2cmp/source/xcd/main
>>>>>>                         main.cxx
>>>>>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>>>>>>                         ', needed by
>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>>>>>   Stop.
>>>>>>                         dmake:  Error code 2, while making 'all'
>>>>>>
>>>>>>                         1 module(s):
>>>>>>                                 xml2cmp
>>>>>>                         need(s) to be rebuilt
>>>>>>
>>>>>>                         Reason(s):
>>>>>>
>>>>>>                         ERROR: error 65280 occurred while making
>>>>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>>>
>>>>>>                         When you have fixed the errors in that module you can resume the
>>>>>> build by running:
>>>>>>
>>>>>>                                 build --all:xml2cmp
>>>>>>
>>>>>> ------ ???????? ????????? ------
>>>>>> ??: "Damjan Jovanovic" <da...@apache.org>>
>>>>>> ???Ñ?: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
>>>>>> ?????: "Apache OO" <de...@openoffice.apache.org>>
>>>>>> ??????????: 28.06.2017 15:07:29
>>>>>> ????: Re: Building OO
>>>>>>
>>>>>>> Hi Fyodor
>>>>>>>
>>>>>>> The problem is almost certainly in
>>>>>>> main/udm/StaticLibrary_udm.mk
>>>>>>>
>>>>>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>>>>>
>>>>>>> I'll try build it later.
>>>>>>>
>>>>>>> Damjan
>>>>>>>
>>>>>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>>> Hi Damjan,
>>>>>>>>
>>>>>>>> I?ve got OO using svn co
>>>>>>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>>>>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>>>>>>> ago.
>>>>>>>>
>>>>>>>> I've cd'ed to udm and tried build -all:udm
>>>>>>>>
>>>>>>>> This is output
>>>>>>>>                         Admin@shr-pc
>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>>>>>>                         $ build --all:udm
>>>>>>>>                         build -- version: 1775979
>>>>>>>>
>>>>>>>>
>>>>>>>>                         =============
>>>>>>>>                         Building module udm
>>>>>>>>                         =============
>>>>>>>>
>>>>>>>>                         Entering
>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>
>>>>>>>>                         cd .. && make -s -r -j1   && make -s -r
>>>>>>>> deliverlog
>>>>>>>>                         ', needed by
>>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>>>>   Stop.
>>>>>>>>                         dmake:  Error code 2, while making 'all'
>>>>>>>>
>>>>>>>>                         1 module(s):
>>>>>>>>                                 udm
>>>>>>>>                         need(s) to be rebuilt
>>>>>>>>
>>>>>>>>                         Reason(s):
>>>>>>>>
>>>>>>>>                         ERROR: error 65280 occurred while making
>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>
>>>>>>>>                         When you have fixed the errors in that module
>>>>>>>> you can resume the
>>>>>>>> build by running:
>>>>>>>>
>>>>>>>>                                 build --all:udm
>>>>>>>>
>>>>>>>>
>>>>>>>> I think I need to deep dive into dmake, so I'll be able to trace build
>>>>>>>> and link processes and find what exactly done on udm module. So I'll
>>>>>>>> appreciate reference to information on dmake.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Fyodor
>>>>>>>>
>>>>>>>>
>>>>>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<ma...@apache.org>]
>>>>>>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>>>>>>> To: Apache OO <de...@openoffice.apache.org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>>>>>>> Subject: Re: Building OO
>>>>>>>>
>>>>>>>> Hi Fyodor
>>>>>>>> Welcome to AOO :).
>>>>>>>> What version are you building?
>>>>>>>> Can you "cd" into the udm directory, and post the full output of
>>>>>>>> "build"
>>>>>>>> run from there?
>>>>>>>> Thank you
>>>>>>>> Damjan
>>>>>>>>
>>>>>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>>> =============
>>>>>>>> Building module udm
>>>>>>>> =============
>>>>>>>>
>>>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>> Hello!
>>>>>>>>
>>>>>>>> I'm newbie in OO development, and as New Volunteer Orientation module
>>>>>>>> suggests, I've established local build env, and try to build OO.
>>>>>>>> I've installed required prerequisites from Building Guide
>>>>>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>>>>>> and
>>>>>>>> started to build with this command
>>>>>>>>
>>>>>>>> ./configure \
>>>>>>>>      --with-frame-home="$SDK_PATH" \
>>>>>>>>      --with-psdk-home="$SDK_PATH" \
>>>>>>>>      --with-midl-path="$SDK_PATH/bin" \
>>>>>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>>>
>>>>>>>> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>>>>>>> \
>>>>>>>>
>>>>>>>> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>>>>>>> \
>>>>>>>>      --disable-pch \
>>>>>>>>      --disable-atl \
>>>>>>>>      --disable-activex \
>>>>>>>>      --disable-nss-module \
>>>>>>>>      --without-junit \
>>>>>>>>      --disable-directx
>>>>>>>>
>>>>>>>> There are some modules built successfully, but built stop on UDM
>>>>>>>> module
>>>>>>>> with following error
>>>>>>>>
>>>>>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>>>>> [ build CXX ] udm/source/html/htmlitem
>>>>>>>> htmlitem.cxx
>>>>>>>> [ build CXX ] udm/source/xml/xmlitem
>>>>>>>> xmlitem.cxx
>>>>>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>>>>>>> [ build PKG ] udm_inc
>>>>>>>> ', needed by
>>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>>>>   Stop.
>>>>>>>> dmake:  Error code 2, while making 'all'
>>>>>>>>
>>>>>>>> 1 module(s):
>>>>>>>>          udm
>>>>>>>> need(s) to be rebuilt
>>>>>>>>
>>>>>>>> Reason(s):
>>>>>>>>
>>>>>>>> ERROR: error 65280 occurred while making
>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>
>>>>>>>> When you have fixed the errors in that module you can resume the build
>>>>>>>> by running:
>>>>>>>>
>>>>>>>>          build --all:udm
>>>>>>>>
>>>>>>>> I'm not professional with dmake (yet), so any help would be
>>>>>>>> appreciated.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Fyodor
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>>>>> <ma...@openoffice.apache.org>>
>>>>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>



Re: Building OO

Posted by Don Lewis <tr...@apache.org>.
Strange, those files should be part of the checked-out source.

On 10 Aug, Matthias Seidel wrote:
> I could now get past the gtest error by disabling unit tests
> (--disable-unit-tests).
> 
> Errors in udm and xml2cmp remain:
> 
> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h
> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
> dmake:  Error code 2, while making 'all'
> 
> make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/xml2cmp/source/xcd/cr_html.hxx
> ', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
> dmake:  Error code 2, while making 'all'
> 
> 
> Am 09.08.2017 um 12:35 schrieb Matthias Seidel:
>> The buildbot does a complete checkout every day...
>>
>> gtest throws an error, before(?) udm and xml2cmp:
>>
>> *** gb_Deliver_deliver: file does not exist in solver, and cannot be
>> delivered:
>> /cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>
>> (Note: The buildbot is still called aoo-win7, but Infra updated the
>> system to Windows 10 64bit. AOO 4.1.4 is building without problems)
>>
>>
>> Am 09.08.2017 um 12:12 schrieb Don Lewis:
>>> The udm and xml2cmp errors appear to be incomplete source checkouts.
>>>
>>> On  9 Aug, Matthias Seidel wrote:
>>>> I see similar errors in our buildbot for trunk (system: Windows 10 64bit):
>>>>
>>>> https://ci.apache.org/projects/openoffice/buildlogs/win/log/wntmsci12.pro.build.html
>>>>
>>>> The buildbot builds once a day. If some requirements have to be changed
>>>> drop me a line and I will edit the config accordingly.
>>>>
>>>> Regards, Matthias
>>>>
>>>>
>>>> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>>>>> I?ve took another try to build OO on W7 x32
>>>>> But got same errors, as on W8 x64
>>>>> May be I missed some prerequisites?
>>>>>
>>>>> Errors are in modules gtest, xml2cmp, salhelper, udm
>>>>> Cygwin seems to have bug on Windows as it only  shows full error text when resized to some size? So path to missed file is not full.
>>>>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>>>>>
>>>>> $ build --all:gtest
>>>>> build -- version: 1775979
>>>>>
>>>>>
>>>>> =============
>>>>> Building module gtest
>>>>> =============
>>>>>
>>>>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>
>>>>> mkdir: cannot create directory './wntmsci12.pro/misc/build/gtest-1.7.0/': File exists
>>>>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: *** gb_Deliver_deliver: file does not exist in solver, and cannot be deli.  Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>>>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>>>>>
>>>>> 1 module(s):
>>>>>         gtest
>>>>> need(s) to be rebuilt
>>>>>
>>>>> Reason(s):
>>>>>
>>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>
>>>>> When you have fixed the errors in that module you can resume the build by running:
>>>>>
>>>>>         build --all:gtest
>>>>>
>>>>> The sal helper cannot open include file conditn.h
>>>>>
>>>>> =============
>>>>> Building module salhelper
>>>>> =============
>>>>>
>>>>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>>>
>>>>> mkout -- version: 1.8
>>>>> Making:    all_salhelper.dpslo
>>>>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>>>>> Compiling: salhelper/source/condition.cxx
>>>>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open include file: 'osl/conditn.h': No such file or directory
>>>>> dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj'
>>>>>
>>>>> 1 module(s):
>>>>>         salhelper
>>>>> need(s) to be rebuilt
>>>>>
>>>>> Reason(s):
>>>>>
>>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>>>
>>>>> When you have fixed the errors in that module you can resume the build by running:
>>>>>
>>>>>         build --all:salhelper
>>>>>
>>>>>
>>>>>
>>>>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
>>>>> Sent: Wednesday, July 19, 2017 10:51 AM
>>>>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <de...@openoffice.apache.org>
>>>>> Subject: Re[5]: Building OO
>>>>>
>>>>> Hello!
>>>>>
>>>>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp installed
>>>>> And OO built successfully! :-)
>>>>>
>>>>> Now trying to do the same on W7 x32.
>>>>>
>>>>> As Id like to deep dive into OO development, could you please share what dev environment do you use on Ubuntu and on W7 (I believe, that I'll finally success in building OO on Windows).
>>>>> Any thoughts on establishing dev environment will be appreciated.
>>>>>
>>>>> --
>>>>> Fyodor
>>>>>
>>>>> ------ ??????о? ????????? ------
>>>>> ??: "??????????о ?????" <fy...@hotmail.com>>
>>>>> ????: "Damjan Jovanovic" <da...@apache.org>>
>>>>> ?????: "Apache OO" <de...@openoffice.apache.org>>
>>>>> ?????в????: 04.07.2017 12:57:52
>>>>> ????: Re[4]: Building OO
>>>>>
>>>>> I use following config script
>>>>>
>>>>> ./configure \
>>>>>    --with-frame-home="$SDK_PATH" \
>>>>>    --with-psdk-home="$SDK_PATH" \
>>>>>    --with-midl-path="$SDK_PATH/bin" \
>>>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>    --disable-pch \
>>>>>    --disable-atl \
>>>>>    --disable-activex \
>>>>>    --disable-nss-module \
>>>>>    --without-junit \
>>>>>    --disable-directx
>>>>>
>>>>> On Windows 8.1 64 bit Hyper-v VM
>>>>>
>>>>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>>>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>>>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>>>>
>>>>> I've tried to rebuild with following script (full path) with no success
>>>>>
>>>>> ./configure \
>>>>>    --with-frame-home="$SDK_PATH" \
>>>>>    --with-psdk-home="$SDK_PATH" \
>>>>>    --with-midl-path="$SDK_PATH/bin" \
>>>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>    --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
>>>>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \
>>>>>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
>>>>>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>    --disable-pch \
>>>>>    --disable-atl \
>>>>>    --disable-activex \
>>>>>    --disable-nss-module \
>>>>>    --without-junit \
>>>>>    --disable-directx
>>>>>
>>>>> Now I have error on module gtest...
>>>>>
>>>>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>>>>>
>>>>> 1 module(s):
>>>>> gtest
>>>>> need(s) to be rebuilt
>>>>>
>>>>> Reason(s):
>>>>>
>>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>
>>>>> When you have fixed the errors in that module you can resume the build by running:
>>>>>
>>>>> build --all:gtest
>>>>>
>>>>> ------ ???????? ????????? ------
>>>>> ?Ñ?: "Damjan Jovanovic" <da...@apache.org>>
>>>>> ????: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
>>>>> ?????: "Apache OO" <de...@openoffice.apache.org>>
>>>>> ????а????о: 02.07.2017 16:46:09
>>>>> ????: Re: Re[2]: Building OO
>>>>>
>>>>> I just succeeded in building trunk with:
>>>>> 32 bit VirtualBox VM
>>>>> Windows XP
>>>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH" --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6" --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" --enable-pch --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar" --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar" --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx --with-package-format="installed" --enable-wiki-publisher
>>>>>
>>>>> Please post your full setup and build options.
>>>>> Regards
>>>>> Damjan
>>>>>
>>>>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <fy...@hotmail.com>> wrote:
>>>>> Hello Damjan,
>>>>>
>>>>> I've commented out in main/udm/StaticLibrary_udm.mk
>>>>>
>>>>> #ifeq ($(OS),WNT)
>>>>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>>>> #else
>>>>>
>>>>> Now build stopped on xml2cmp module...
>>>>>
>>>>>
>>>>>                         =============
>>>>>                         Building module xml2cmp
>>>>>                         =============
>>>>>
>>>>>                         Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>>
>>>>>                         cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>>                         [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
>>>>> headers to be there!
>>>>>                         [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
>>>>> headers to be there!
>>>>>                         [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
>>>>> headers to be there!
>>>>>                         [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
>>>>> headers to be there!
>>>>>                         [ build CXX ] xml2cmp/source/finder/dependy
>>>>>                         dependy.cxx
>>>>>                         [ build CXX ] xml2cmp/source/finder/dep_main
>>>>>                         dep_main.cxx
>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>>>>>                         cr_html.cxx
>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>>>>>                         cr_index.cxx
>>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>>>>>                         cr_metho.cxx
>>>>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>>>>>                         filebuff.cxx
>>>>>                         [ build CXX ] xml2cmp/source/xcd/parse
>>>>>                         parse.cxx
>>>>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>>>>>                         xmlelem.cxx
>>>>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>>>>>                         xmltree.cxx
>>>>>                         [ build CXX ] xml2cmp/source/support/cmdline
>>>>>                         cmdline.cxx
>>>>>                         [ build CXX ] xml2cmp/source/support/heap
>>>>>                         heap.cxx
>>>>>                         [ build CXX ] xml2cmp/source/support/sistr
>>>>>                         sistr.cxx
>>>>>                         [ build CXX ] xml2cmp/source/support/syshelp
>>>>>                         syshelp.cxx
>>>>>                         [ build CXX ] xml2cmp/source/support/badcast
>>>>>                         badcast.cxx
>>>>>                         [ build DEP ] LNK:Executable/srvdepy.exe
>>>>>                         [ build CXX ] xml2cmp/source/xcd/main
>>>>>                         main.cxx
>>>>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>>>>>                         ', needed by
>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>>>>   Stop.
>>>>>                         dmake:  Error code 2, while making 'all'
>>>>>
>>>>>                         1 module(s):
>>>>>                                 xml2cmp
>>>>>                         need(s) to be rebuilt
>>>>>
>>>>>                         Reason(s):
>>>>>
>>>>>                         ERROR: error 65280 occurred while making
>>>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>>
>>>>>                         When you have fixed the errors in that module you can resume the
>>>>> build by running:
>>>>>
>>>>>                                 build --all:xml2cmp
>>>>>
>>>>> ------ ???????? ????????? ------
>>>>> ??: "Damjan Jovanovic" <da...@apache.org>>
>>>>> ???Ñ?: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
>>>>> ?????: "Apache OO" <de...@openoffice.apache.org>>
>>>>> ??????????: 28.06.2017 15:07:29
>>>>> ????: Re: Building OO
>>>>>
>>>>>> Hi Fyodor
>>>>>>
>>>>>> The problem is almost certainly in
>>>>>> main/udm/StaticLibrary_udm.mk
>>>>>>
>>>>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>>>>
>>>>>> I'll try build it later.
>>>>>>
>>>>>> Damjan
>>>>>>
>>>>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>> Hi Damjan,
>>>>>>>
>>>>>>> I?ve got OO using svn co
>>>>>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>>>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>>>>>> ago.
>>>>>>>
>>>>>>> I've cd'ed to udm and tried build -all:udm
>>>>>>>
>>>>>>> This is output
>>>>>>>                         Admin@shr-pc
>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>>>>>                         $ build --all:udm
>>>>>>>                         build -- version: 1775979
>>>>>>>
>>>>>>>
>>>>>>>                         =============
>>>>>>>                         Building module udm
>>>>>>>                         =============
>>>>>>>
>>>>>>>                         Entering
>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>
>>>>>>>                         cd .. && make -s -r -j1   && make -s -r
>>>>>>> deliverlog
>>>>>>>                         ', needed by
>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>>>   Stop.
>>>>>>>                         dmake:  Error code 2, while making 'all'
>>>>>>>
>>>>>>>                         1 module(s):
>>>>>>>                                 udm
>>>>>>>                         need(s) to be rebuilt
>>>>>>>
>>>>>>>                         Reason(s):
>>>>>>>
>>>>>>>                         ERROR: error 65280 occurred while making
>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>
>>>>>>>                         When you have fixed the errors in that module
>>>>>>> you can resume the
>>>>>>> build by running:
>>>>>>>
>>>>>>>                                 build --all:udm
>>>>>>>
>>>>>>>
>>>>>>> I think I need to deep dive into dmake, so I'll be able to trace build
>>>>>>> and link processes and find what exactly done on udm module. So I'll
>>>>>>> appreciate reference to information on dmake.
>>>>>>>
>>>>>>> --
>>>>>>> Fyodor
>>>>>>>
>>>>>>>
>>>>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<ma...@apache.org>]
>>>>>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>>>>>> To: Apache OO <de...@openoffice.apache.org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>>>>>> Subject: Re: Building OO
>>>>>>>
>>>>>>> Hi Fyodor
>>>>>>> Welcome to AOO :).
>>>>>>> What version are you building?
>>>>>>> Can you "cd" into the udm directory, and post the full output of
>>>>>>> "build"
>>>>>>> run from there?
>>>>>>> Thank you
>>>>>>> Damjan
>>>>>>>
>>>>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>> =============
>>>>>>> Building module udm
>>>>>>> =============
>>>>>>>
>>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>> Hello!
>>>>>>>
>>>>>>> I'm newbie in OO development, and as New Volunteer Orientation module
>>>>>>> suggests, I've established local build env, and try to build OO.
>>>>>>> I've installed required prerequisites from Building Guide
>>>>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>>>>> and
>>>>>>> started to build with this command
>>>>>>>
>>>>>>> ./configure \
>>>>>>>      --with-frame-home="$SDK_PATH" \
>>>>>>>      --with-psdk-home="$SDK_PATH" \
>>>>>>>      --with-midl-path="$SDK_PATH/bin" \
>>>>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>>
>>>>>>> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>>>>>> \
>>>>>>>
>>>>>>> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>>>>>> \
>>>>>>>      --disable-pch \
>>>>>>>      --disable-atl \
>>>>>>>      --disable-activex \
>>>>>>>      --disable-nss-module \
>>>>>>>      --without-junit \
>>>>>>>      --disable-directx
>>>>>>>
>>>>>>> There are some modules built successfully, but built stop on UDM
>>>>>>> module
>>>>>>> with following error
>>>>>>>
>>>>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>>>> [ build CXX ] udm/source/html/htmlitem
>>>>>>> htmlitem.cxx
>>>>>>> [ build CXX ] udm/source/xml/xmlitem
>>>>>>> xmlitem.cxx
>>>>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>>>>>> [ build PKG ] udm_inc
>>>>>>> ', needed by
>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>>>   Stop.
>>>>>>> dmake:  Error code 2, while making 'all'
>>>>>>>
>>>>>>> 1 module(s):
>>>>>>>          udm
>>>>>>> need(s) to be rebuilt
>>>>>>>
>>>>>>> Reason(s):
>>>>>>>
>>>>>>> ERROR: error 65280 occurred while making
>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>
>>>>>>> When you have fixed the errors in that module you can resume the build
>>>>>>> by running:
>>>>>>>
>>>>>>>          build --all:udm
>>>>>>>
>>>>>>> I'm not professional with dmake (yet), so any help would be
>>>>>>> appreciated.
>>>>>>>
>>>>>>> --
>>>>>>> Fyodor
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>>>> <ma...@openoffice.apache.org>>
>>>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
I could now get past the gtest error by disabling unit tests
(--disable-unit-tests).

Errors in udm and xml2cmp remain:

make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/udm/source/inc/precomp.h
', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
dmake:  Error code 2, while making 'all'

make: *** No rule to make target '/cygdrive/e/slave14/aoo-win7/build/main/xml2cmp/source/xcd/cr_html.hxx
', needed by '/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.  Stop.
dmake:  Error code 2, while making 'all'


Am 09.08.2017 um 12:35 schrieb Matthias Seidel:
> The buildbot does a complete checkout every day...
>
> gtest throws an error, before(?) udm and xml2cmp:
>
> *** gb_Deliver_deliver: file does not exist in solver, and cannot be
> delivered:
> /cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>
> (Note: The buildbot is still called aoo-win7, but Infra updated the
> system to Windows 10 64bit. AOO 4.1.4 is building without problems)
>
>
> Am 09.08.2017 um 12:12 schrieb Don Lewis:
>> The udm and xml2cmp errors appear to be incomplete source checkouts.
>>
>> On  9 Aug, Matthias Seidel wrote:
>>> I see similar errors in our buildbot for trunk (system: Windows 10 64bit):
>>>
>>> https://ci.apache.org/projects/openoffice/buildlogs/win/log/wntmsci12.pro.build.html
>>>
>>> The buildbot builds once a day. If some requirements have to be changed
>>> drop me a line and I will edit the config accordingly.
>>>
>>> Regards, Matthias
>>>
>>>
>>> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>>>> I’ve took another try to build OO on W7 x32
>>>> But got same errors, as on W8 x64
>>>> May be I missed some prerequisites?
>>>>
>>>> Errors are in modules gtest, xml2cmp, salhelper, udm
>>>> Cygwin seems to have bug on Windows as it only  shows full error text when resized to some size… So path to missed file is not full.
>>>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>>>>
>>>> $ build --all:gtest
>>>> build -- version: 1775979
>>>>
>>>>
>>>> =============
>>>> Building module gtest
>>>> =============
>>>>
>>>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>
>>>> mkdir: cannot create directory './wntmsci12.pro/misc/build/gtest-1.7.0/': File exists
>>>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: *** gb_Deliver_deliver: file does not exist in solver, and cannot be deli.  Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>>>>
>>>> 1 module(s):
>>>>         gtest
>>>> need(s) to be rebuilt
>>>>
>>>> Reason(s):
>>>>
>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>
>>>> When you have fixed the errors in that module you can resume the build by running:
>>>>
>>>>         build --all:gtest
>>>>
>>>> The sal helper cannot open include file conditn.h
>>>>
>>>> =============
>>>> Building module salhelper
>>>> =============
>>>>
>>>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>>
>>>> mkout -- version: 1.8
>>>> Making:    all_salhelper.dpslo
>>>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>>>> Compiling: salhelper/source/condition.cxx
>>>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open include file: 'osl/conditn.h': No such file or directory
>>>> dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj'
>>>>
>>>> 1 module(s):
>>>>         salhelper
>>>> need(s) to be rebuilt
>>>>
>>>> Reason(s):
>>>>
>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>>
>>>> When you have fixed the errors in that module you can resume the build by running:
>>>>
>>>>         build --all:salhelper
>>>>
>>>>
>>>>
>>>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
>>>> Sent: Wednesday, July 19, 2017 10:51 AM
>>>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <de...@openoffice.apache.org>
>>>> Subject: Re[5]: Building OO
>>>>
>>>> Hello!
>>>>
>>>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp installed
>>>> And OO built successfully! :-)
>>>>
>>>> Now trying to do the same on W7 x32.
>>>>
>>>> As Id like to deep dive into OO development, could you please share what dev environment do you use on Ubuntu and on W7 (I believe, that I'll finally success in building OO on Windows).
>>>> Any thoughts on establishing dev environment will be appreciated.
>>>>
>>>> --
>>>> Fyodor
>>>>
>>>> ------ Исходное сообщение ------
>>>> От: "Емельяненко Федор" <fy...@hotmail.com>>
>>>> Кому: "Damjan Jovanovic" <da...@apache.org>>
>>>> Копия: "Apache OO" <de...@openoffice.apache.org>>
>>>> Отправлено: 04.07.2017 12:57:52
>>>> Тема: Re[4]: Building OO
>>>>
>>>> I use following config script
>>>>
>>>> ./configure \
>>>>    --with-frame-home="$SDK_PATH" \
>>>>    --with-psdk-home="$SDK_PATH" \
>>>>    --with-midl-path="$SDK_PATH/bin" \
>>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>    --disable-pch \
>>>>    --disable-atl \
>>>>    --disable-activex \
>>>>    --disable-nss-module \
>>>>    --without-junit \
>>>>    --disable-directx
>>>>
>>>> On Windows 8.1 64 bit Hyper-v VM
>>>>
>>>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>>>
>>>> I've tried to rebuild with following script (full path) with no success
>>>>
>>>> ./configure \
>>>>    --with-frame-home="$SDK_PATH" \
>>>>    --with-psdk-home="$SDK_PATH" \
>>>>    --with-midl-path="$SDK_PATH/bin" \
>>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>    --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
>>>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
>>>>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \
>>>>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
>>>>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>    --disable-pch \
>>>>    --disable-atl \
>>>>    --disable-activex \
>>>>    --disable-nss-module \
>>>>    --without-junit \
>>>>    --disable-directx
>>>>
>>>> Now I have error on module gtest...
>>>>
>>>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>>>>
>>>> 1 module(s):
>>>> gtest
>>>> need(s) to be rebuilt
>>>>
>>>> Reason(s):
>>>>
>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>
>>>> When you have fixed the errors in that module you can resume the build by running:
>>>>
>>>> build --all:gtest
>>>>
>>>> ------ Исходное сообщение ------
>>>> ОÑ�: "Damjan Jovanovic" <da...@apache.org>>
>>>> Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
>>>> Копия: "Apache OO" <de...@openoffice.apache.org>>
>>>> Отправлено: 02.07.2017 16:46:09
>>>> Тема: Re: Re[2]: Building OO
>>>>
>>>> I just succeeded in building trunk with:
>>>> 32 bit VirtualBox VM
>>>> Windows XP
>>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH" --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6" --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" --enable-pch --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar" --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar" --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx --with-package-format="installed" --enable-wiki-publisher
>>>>
>>>> Please post your full setup and build options.
>>>> Regards
>>>> Damjan
>>>>
>>>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <fy...@hotmail.com>> wrote:
>>>> Hello Damjan,
>>>>
>>>> I've commented out in main/udm/StaticLibrary_udm.mk
>>>>
>>>> #ifeq ($(OS),WNT)
>>>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>>> #else
>>>>
>>>> Now build stopped on xml2cmp module...
>>>>
>>>>
>>>>                         =============
>>>>                         Building module xml2cmp
>>>>                         =============
>>>>
>>>>                         Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>
>>>>                         cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>                         [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
>>>> headers to be there!
>>>>                         [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
>>>> headers to be there!
>>>>                         [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
>>>> headers to be there!
>>>>                         [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
>>>> headers to be there!
>>>>                         [ build CXX ] xml2cmp/source/finder/dependy
>>>>                         dependy.cxx
>>>>                         [ build CXX ] xml2cmp/source/finder/dep_main
>>>>                         dep_main.cxx
>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>>>>                         cr_html.cxx
>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>>>>                         cr_index.cxx
>>>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>>>>                         cr_metho.cxx
>>>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>>>>                         filebuff.cxx
>>>>                         [ build CXX ] xml2cmp/source/xcd/parse
>>>>                         parse.cxx
>>>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>>>>                         xmlelem.cxx
>>>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>>>>                         xmltree.cxx
>>>>                         [ build CXX ] xml2cmp/source/support/cmdline
>>>>                         cmdline.cxx
>>>>                         [ build CXX ] xml2cmp/source/support/heap
>>>>                         heap.cxx
>>>>                         [ build CXX ] xml2cmp/source/support/sistr
>>>>                         sistr.cxx
>>>>                         [ build CXX ] xml2cmp/source/support/syshelp
>>>>                         syshelp.cxx
>>>>                         [ build CXX ] xml2cmp/source/support/badcast
>>>>                         badcast.cxx
>>>>                         [ build DEP ] LNK:Executable/srvdepy.exe
>>>>                         [ build CXX ] xml2cmp/source/xcd/main
>>>>                         main.cxx
>>>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>>>>                         ', needed by
>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>>>   Stop.
>>>>                         dmake:  Error code 2, while making 'all'
>>>>
>>>>                         1 module(s):
>>>>                                 xml2cmp
>>>>                         need(s) to be rebuilt
>>>>
>>>>                         Reason(s):
>>>>
>>>>                         ERROR: error 65280 occurred while making
>>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>
>>>>                         When you have fixed the errors in that module you can resume the
>>>> build by running:
>>>>
>>>>                                 build --all:xml2cmp
>>>>
>>>> ------ Исходное сообщение ------
>>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>>> КомÑ�: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
>>>> Копия: "Apache OO" <de...@openoffice.apache.org>>
>>>> Отправлено: 28.06.2017 15:07:29
>>>> Тема: Re: Building OO
>>>>
>>>>> Hi Fyodor
>>>>>
>>>>> The problem is almost certainly in
>>>>> main/udm/StaticLibrary_udm.mk
>>>>>
>>>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>>>
>>>>> I'll try build it later.
>>>>>
>>>>> Damjan
>>>>>
>>>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>>>> <fy...@hotmail.com>> wrote:
>>>>>> Hi Damjan,
>>>>>>
>>>>>> I’ve got OO using svn co
>>>>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>>>>> ago.
>>>>>>
>>>>>> I've cd'ed to udm and tried build -all:udm
>>>>>>
>>>>>> This is output
>>>>>>                         Admin@shr-pc
>>>>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>>>>                         $ build --all:udm
>>>>>>                         build -- version: 1775979
>>>>>>
>>>>>>
>>>>>>                         =============
>>>>>>                         Building module udm
>>>>>>                         =============
>>>>>>
>>>>>>                         Entering
>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>
>>>>>>                         cd .. && make -s -r -j1   && make -s -r
>>>>>> deliverlog
>>>>>>                         ', needed by
>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>>   Stop.
>>>>>>                         dmake:  Error code 2, while making 'all'
>>>>>>
>>>>>>                         1 module(s):
>>>>>>                                 udm
>>>>>>                         need(s) to be rebuilt
>>>>>>
>>>>>>                         Reason(s):
>>>>>>
>>>>>>                         ERROR: error 65280 occurred while making
>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>
>>>>>>                         When you have fixed the errors in that module
>>>>>> you can resume the
>>>>>> build by running:
>>>>>>
>>>>>>                                 build --all:udm
>>>>>>
>>>>>>
>>>>>> I think I need to deep dive into dmake, so I'll be able to trace build
>>>>>> and link processes and find what exactly done on udm module. So I'll
>>>>>> appreciate reference to information on dmake.
>>>>>>
>>>>>> --
>>>>>> Fyodor
>>>>>>
>>>>>>
>>>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<ma...@apache.org>]
>>>>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>>>>> To: Apache OO <de...@openoffice.apache.org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>>>>> Subject: Re: Building OO
>>>>>>
>>>>>> Hi Fyodor
>>>>>> Welcome to AOO :).
>>>>>> What version are you building?
>>>>>> Can you "cd" into the udm directory, and post the full output of
>>>>>> "build"
>>>>>> run from there?
>>>>>> Thank you
>>>>>> Damjan
>>>>>>
>>>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>>>> <fy...@hotmail.com>> wrote:
>>>>>> =============
>>>>>> Building module udm
>>>>>> =============
>>>>>>
>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>> Hello!
>>>>>>
>>>>>> I'm newbie in OO development, and as New Volunteer Orientation module
>>>>>> suggests, I've established local build env, and try to build OO.
>>>>>> I've installed required prerequisites from Building Guide
>>>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>>>> and
>>>>>> started to build with this command
>>>>>>
>>>>>> ./configure \
>>>>>>      --with-frame-home="$SDK_PATH" \
>>>>>>      --with-psdk-home="$SDK_PATH" \
>>>>>>      --with-midl-path="$SDK_PATH/bin" \
>>>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>
>>>>>> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>>>>> <https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>>>>> \
>>>>>>
>>>>>> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>>>>> <https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>>>>> \
>>>>>>      --disable-pch \
>>>>>>      --disable-atl \
>>>>>>      --disable-activex \
>>>>>>      --disable-nss-module \
>>>>>>      --without-junit \
>>>>>>      --disable-directx
>>>>>>
>>>>>> There are some modules built successfully, but built stop on UDM
>>>>>> module
>>>>>> with following error
>>>>>>
>>>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>>> [ build CXX ] udm/source/html/htmlitem
>>>>>> htmlitem.cxx
>>>>>> [ build CXX ] udm/source/xml/xmlitem
>>>>>> xmlitem.cxx
>>>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>>>>> [ build PKG ] udm_inc
>>>>>> ', needed by
>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>>   Stop.
>>>>>> dmake:  Error code 2, while making 'all'
>>>>>>
>>>>>> 1 module(s):
>>>>>>          udm
>>>>>> need(s) to be rebuilt
>>>>>>
>>>>>> Reason(s):
>>>>>>
>>>>>> ERROR: error 65280 occurred while making
>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>
>>>>>> When you have fixed the errors in that module you can resume the build
>>>>>> by running:
>>>>>>
>>>>>>          build --all:udm
>>>>>>
>>>>>> I'm not professional with dmake (yet), so any help would be
>>>>>> appreciated.
>>>>>>
>>>>>> --
>>>>>> Fyodor
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>>> <ma...@openoffice.apache.org>>
>>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>


Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
The buildbot does a complete checkout every day...

gtest throws an error, before(?) udm and xml2cmp:

*** gb_Deliver_deliver: file does not exist in solver, and cannot be
delivered:
/cygdrive/e/slave14/aoo-win7/build/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h

(Note: The buildbot is still called aoo-win7, but Infra updated the
system to Windows 10 64bit. AOO 4.1.4 is building without problems)


Am 09.08.2017 um 12:12 schrieb Don Lewis:
> The udm and xml2cmp errors appear to be incomplete source checkouts.
>
> On  9 Aug, Matthias Seidel wrote:
>> I see similar errors in our buildbot for trunk (system: Windows 10 64bit):
>>
>> https://ci.apache.org/projects/openoffice/buildlogs/win/log/wntmsci12.pro.build.html
>>
>> The buildbot builds once a day. If some requirements have to be changed
>> drop me a line and I will edit the config accordingly.
>>
>> Regards, Matthias
>>
>>
>> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>>> I’ve took another try to build OO on W7 x32
>>> But got same errors, as on W8 x64
>>> May be I missed some prerequisites?
>>>
>>> Errors are in modules gtest, xml2cmp, salhelper, udm
>>> Cygwin seems to have bug on Windows as it only  shows full error text when resized to some size… So path to missed file is not full.
>>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>>>
>>> $ build --all:gtest
>>> build -- version: 1775979
>>>
>>>
>>> =============
>>> Building module gtest
>>> =============
>>>
>>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>
>>> mkdir: cannot create directory './wntmsci12.pro/misc/build/gtest-1.7.0/': File exists
>>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: *** gb_Deliver_deliver: file does not exist in solver, and cannot be deli.  Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>>>
>>> 1 module(s):
>>>         gtest
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>
>>> When you have fixed the errors in that module you can resume the build by running:
>>>
>>>         build --all:gtest
>>>
>>> The sal helper cannot open include file conditn.h
>>>
>>> =============
>>> Building module salhelper
>>> =============
>>>
>>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>
>>> mkout -- version: 1.8
>>> Making:    all_salhelper.dpslo
>>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>>> Compiling: salhelper/source/condition.cxx
>>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open include file: 'osl/conditn.h': No such file or directory
>>> dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj'
>>>
>>> 1 module(s):
>>>         salhelper
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>
>>> When you have fixed the errors in that module you can resume the build by running:
>>>
>>>         build --all:salhelper
>>>
>>>
>>>
>>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
>>> Sent: Wednesday, July 19, 2017 10:51 AM
>>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <de...@openoffice.apache.org>
>>> Subject: Re[5]: Building OO
>>>
>>> Hello!
>>>
>>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp installed
>>> And OO built successfully! :-)
>>>
>>> Now trying to do the same on W7 x32.
>>>
>>> As Id like to deep dive into OO development, could you please share what dev environment do you use on Ubuntu and on W7 (I believe, that I'll finally success in building OO on Windows).
>>> Any thoughts on establishing dev environment will be appreciated.
>>>
>>> --
>>> Fyodor
>>>
>>> ------ Исходное сообщение ------
>>> От: "Емельяненко Федор" <fy...@hotmail.com>>
>>> Кому: "Damjan Jovanovic" <da...@apache.org>>
>>> Копия: "Apache OO" <de...@openoffice.apache.org>>
>>> Отправлено: 04.07.2017 12:57:52
>>> Тема: Re[4]: Building OO
>>>
>>> I use following config script
>>>
>>> ./configure \
>>>    --with-frame-home="$SDK_PATH" \
>>>    --with-psdk-home="$SDK_PATH" \
>>>    --with-midl-path="$SDK_PATH/bin" \
>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>>>    --disable-pch \
>>>    --disable-atl \
>>>    --disable-activex \
>>>    --disable-nss-module \
>>>    --without-junit \
>>>    --disable-directx
>>>
>>> On Windows 8.1 64 bit Hyper-v VM
>>>
>>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>>
>>> I've tried to rebuild with following script (full path) with no success
>>>
>>> ./configure \
>>>    --with-frame-home="$SDK_PATH" \
>>>    --with-psdk-home="$SDK_PATH" \
>>>    --with-midl-path="$SDK_PATH/bin" \
>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>    --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
>>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
>>>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \
>>>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
>>>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>>>    --disable-pch \
>>>    --disable-atl \
>>>    --disable-activex \
>>>    --disable-nss-module \
>>>    --without-junit \
>>>    --disable-directx
>>>
>>> Now I have error on module gtest...
>>>
>>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>>>
>>> 1 module(s):
>>> gtest
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>
>>> When you have fixed the errors in that module you can resume the build by running:
>>>
>>> build --all:gtest
>>>
>>> ------ Исходное сообщение ------
>>> ОÑ�: "Damjan Jovanovic" <da...@apache.org>>
>>> Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
>>> Копия: "Apache OO" <de...@openoffice.apache.org>>
>>> Отправлено: 02.07.2017 16:46:09
>>> Тема: Re: Re[2]: Building OO
>>>
>>> I just succeeded in building trunk with:
>>> 32 bit VirtualBox VM
>>> Windows XP
>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH" --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6" --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" --enable-pch --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar" --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar" --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx --with-package-format="installed" --enable-wiki-publisher
>>>
>>> Please post your full setup and build options.
>>> Regards
>>> Damjan
>>>
>>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <fy...@hotmail.com>> wrote:
>>> Hello Damjan,
>>>
>>> I've commented out in main/udm/StaticLibrary_udm.mk
>>>
>>> #ifeq ($(OS),WNT)
>>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>> #else
>>>
>>> Now build stopped on xml2cmp module...
>>>
>>>
>>>                         =============
>>>                         Building module xml2cmp
>>>                         =============
>>>
>>>                         Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>
>>>                         cd .. && make -s -r -j1   && make -s -r deliverlog
>>>                         [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
>>> headers to be there!
>>>                         [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
>>> headers to be there!
>>>                         [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
>>> headers to be there!
>>>                         [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
>>> headers to be there!
>>>                         [ build CXX ] xml2cmp/source/finder/dependy
>>>                         dependy.cxx
>>>                         [ build CXX ] xml2cmp/source/finder/dep_main
>>>                         dep_main.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>>>                         cr_html.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>>>                         cr_index.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>>>                         cr_metho.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>>>                         filebuff.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/parse
>>>                         parse.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>>>                         xmlelem.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>>>                         xmltree.cxx
>>>                         [ build CXX ] xml2cmp/source/support/cmdline
>>>                         cmdline.cxx
>>>                         [ build CXX ] xml2cmp/source/support/heap
>>>                         heap.cxx
>>>                         [ build CXX ] xml2cmp/source/support/sistr
>>>                         sistr.cxx
>>>                         [ build CXX ] xml2cmp/source/support/syshelp
>>>                         syshelp.cxx
>>>                         [ build CXX ] xml2cmp/source/support/badcast
>>>                         badcast.cxx
>>>                         [ build DEP ] LNK:Executable/srvdepy.exe
>>>                         [ build CXX ] xml2cmp/source/xcd/main
>>>                         main.cxx
>>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>>>                         ', needed by
>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>>   Stop.
>>>                         dmake:  Error code 2, while making 'all'
>>>
>>>                         1 module(s):
>>>                                 xml2cmp
>>>                         need(s) to be rebuilt
>>>
>>>                         Reason(s):
>>>
>>>                         ERROR: error 65280 occurred while making
>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>
>>>                         When you have fixed the errors in that module you can resume the
>>> build by running:
>>>
>>>                                 build --all:xml2cmp
>>>
>>> ------ Исходное сообщение ------
>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>> КомÑ�: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
>>> Копия: "Apache OO" <de...@openoffice.apache.org>>
>>> Отправлено: 28.06.2017 15:07:29
>>> Тема: Re: Building OO
>>>
>>>> Hi Fyodor
>>>>
>>>> The problem is almost certainly in
>>>> main/udm/StaticLibrary_udm.mk
>>>>
>>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>>
>>>> I'll try build it later.
>>>>
>>>> Damjan
>>>>
>>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>>> <fy...@hotmail.com>> wrote:
>>>>> Hi Damjan,
>>>>>
>>>>> I’ve got OO using svn co
>>>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>>>> ago.
>>>>>
>>>>> I've cd'ed to udm and tried build -all:udm
>>>>>
>>>>> This is output
>>>>>                         Admin@shr-pc
>>>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>>>                         $ build --all:udm
>>>>>                         build -- version: 1775979
>>>>>
>>>>>
>>>>>                         =============
>>>>>                         Building module udm
>>>>>                         =============
>>>>>
>>>>>                         Entering
>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>
>>>>>                         cd .. && make -s -r -j1   && make -s -r
>>>>> deliverlog
>>>>>                         ', needed by
>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>   Stop.
>>>>>                         dmake:  Error code 2, while making 'all'
>>>>>
>>>>>                         1 module(s):
>>>>>                                 udm
>>>>>                         need(s) to be rebuilt
>>>>>
>>>>>                         Reason(s):
>>>>>
>>>>>                         ERROR: error 65280 occurred while making
>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>
>>>>>                         When you have fixed the errors in that module
>>>>> you can resume the
>>>>> build by running:
>>>>>
>>>>>                                 build --all:udm
>>>>>
>>>>>
>>>>> I think I need to deep dive into dmake, so I'll be able to trace build
>>>>> and link processes and find what exactly done on udm module. So I'll
>>>>> appreciate reference to information on dmake.
>>>>>
>>>>> --
>>>>> Fyodor
>>>>>
>>>>>
>>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<ma...@apache.org>]
>>>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>>>> To: Apache OO <de...@openoffice.apache.org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>>>> Subject: Re: Building OO
>>>>>
>>>>> Hi Fyodor
>>>>> Welcome to AOO :).
>>>>> What version are you building?
>>>>> Can you "cd" into the udm directory, and post the full output of
>>>>> "build"
>>>>> run from there?
>>>>> Thank you
>>>>> Damjan
>>>>>
>>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>>> <fy...@hotmail.com>> wrote:
>>>>> =============
>>>>> Building module udm
>>>>> =============
>>>>>
>>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>> Hello!
>>>>>
>>>>> I'm newbie in OO development, and as New Volunteer Orientation module
>>>>> suggests, I've established local build env, and try to build OO.
>>>>> I've installed required prerequisites from Building Guide
>>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>>> and
>>>>> started to build with this command
>>>>>
>>>>> ./configure \
>>>>>      --with-frame-home="$SDK_PATH" \
>>>>>      --with-psdk-home="$SDK_PATH" \
>>>>>      --with-midl-path="$SDK_PATH/bin" \
>>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>
>>>>> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>>>> <https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>>>> \
>>>>>
>>>>> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>>>> <https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>>>> \
>>>>>      --disable-pch \
>>>>>      --disable-atl \
>>>>>      --disable-activex \
>>>>>      --disable-nss-module \
>>>>>      --without-junit \
>>>>>      --disable-directx
>>>>>
>>>>> There are some modules built successfully, but built stop on UDM
>>>>> module
>>>>> with following error
>>>>>
>>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>> [ build CXX ] udm/source/html/htmlitem
>>>>> htmlitem.cxx
>>>>> [ build CXX ] udm/source/xml/xmlitem
>>>>> xmlitem.cxx
>>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>>>> [ build PKG ] udm_inc
>>>>> ', needed by
>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>   Stop.
>>>>> dmake:  Error code 2, while making 'all'
>>>>>
>>>>> 1 module(s):
>>>>>          udm
>>>>> need(s) to be rebuilt
>>>>>
>>>>> Reason(s):
>>>>>
>>>>> ERROR: error 65280 occurred while making
>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>
>>>>> When you have fixed the errors in that module you can resume the build
>>>>> by running:
>>>>>
>>>>>          build --all:udm
>>>>>
>>>>> I'm not professional with dmake (yet), so any help would be
>>>>> appreciated.
>>>>>
>>>>> --
>>>>> Fyodor
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>> <ma...@openoffice.apache.org>>
>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>



Re: Building OO

Posted by Don Lewis <tr...@apache.org>.
The udm and xml2cmp errors appear to be incomplete source checkouts.

On  9 Aug, Matthias Seidel wrote:
> I see similar errors in our buildbot for trunk (system: Windows 10 64bit):
> 
> https://ci.apache.org/projects/openoffice/buildlogs/win/log/wntmsci12.pro.build.html
> 
> The buildbot builds once a day. If some requirements have to be changed
> drop me a line and I will edit the config accordingly.
> 
> Regards, Matthias
> 
> 
> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>> I$B!G(Bve took another try to build OO on W7 x32
>> But got same errors, as on W8 x64
>> May be I missed some prerequisites?
>>
>> Errors are in modules gtest, xml2cmp, salhelper, udm
>> Cygwin seems to have bug on Windows as it only  shows full error text when resized to some size$B!D(B So path to missed file is not full.
>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>>
>> $ build --all:gtest
>> build -- version: 1775979
>>
>>
>> =============
>> Building module gtest
>> =============
>>
>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>
>> mkdir: cannot create directory './wntmsci12.pro/misc/build/gtest-1.7.0/': File exists
>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: *** gb_Deliver_deliver: file does not exist in solver, and cannot be deli.  Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>>
>> 1 module(s):
>>         gtest
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>
>> When you have fixed the errors in that module you can resume the build by running:
>>
>>         build --all:gtest
>>
>> The sal helper cannot open include file conditn.h
>>
>> =============
>> Building module salhelper
>> =============
>>
>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>
>> mkout -- version: 1.8
>> Making:    all_salhelper.dpslo
>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>> Compiling: salhelper/source/condition.cxx
>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open include file: 'osl/conditn.h': No such file or directory
>> dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj'
>>
>> 1 module(s):
>>         salhelper
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>
>> When you have fixed the errors in that module you can resume the build by running:
>>
>>         build --all:salhelper
>>
>>
>>
>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
>> Sent: Wednesday, July 19, 2017 10:51 AM
>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <de...@openoffice.apache.org>
>> Subject: Re[5]: Building OO
>>
>> Hello!
>>
>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp installed
>> And OO built successfully! :-)
>>
>> Now trying to do the same on W7 x32.
>>
>> As Id like to deep dive into OO development, could you please share what dev environment do you use on Ubuntu and on W7 (I believe, that I'll finally success in building OO on Windows).
>> Any thoughts on establishing dev environment will be appreciated.
>>
>> --
>> Fyodor
>>
>> ------ $B'*'c'g'`'U'_'`'V(B $B'c'`'`'R'k'V'_'Z'V(B ------
>> $B'0'd(B: "$B'&'^'V']'n'q'_'V'_'\'`(B $B'6'V'U'`'b(B" <fy...@hotmail.com>>
>> $B','`'^'e(B: "Damjan Jovanovic" <da...@apache.org>>
>> $B','`'a'Z'q(B: "Apache OO" <de...@openoffice.apache.org>>
>> $B'0'd'a'b'Q'S']'V'_'`(B: 04.07.2017 12:57:52
>> $B'4'V'^'Q(B: Re[4]: Building OO
>>
>> I use following config script
>>
>> ./configure \
>>    --with-frame-home="$SDK_PATH" \
>>    --with-psdk-home="$SDK_PATH" \
>>    --with-midl-path="$SDK_PATH/bin" \
>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>>    --disable-pch \
>>    --disable-atl \
>>    --disable-activex \
>>    --disable-nss-module \
>>    --without-junit \
>>    --disable-directx
>>
>> On Windows 8.1 64 bit Hyper-v VM
>>
>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>
>> I've tried to rebuild with following script (full path) with no success
>>
>> ./configure \
>>    --with-frame-home="$SDK_PATH" \
>>    --with-psdk-home="$SDK_PATH" \
>>    --with-midl-path="$SDK_PATH/bin" \
>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>    --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
>>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \
>>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
>>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>>    --disable-pch \
>>    --disable-atl \
>>    --disable-activex \
>>    --disable-nss-module \
>>    --without-junit \
>>    --disable-directx
>>
>> Now I have error on module gtest...
>>
>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>>
>> 1 module(s):
>> gtest
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>
>> When you have fixed the errors in that module you can resume the build by running:
>>
>> build --all:gtest
>>
>> ------ $B'*'c'g'`'U'_'`'V(B $B'c'`'`'R'k'V'_'Z'V(B ------
>> $B'0$(D*P(J�: "Damjan Jovanovic" <da...@apache.org>>
>> $B','`'^'e(B: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
>> $B','`'a'Z'q(B: "Apache OO" <de...@openoffice.apache.org>>
>> $B'0'd'a'b$(C("!F,S,],V,_,`(B: 02.07.2017 16:46:09
>> $B'4'V'^'Q(B: Re: Re[2]: Building OO
>>
>> I just succeeded in building trunk with:
>> 32 bit VirtualBox VM
>> Windows XP
>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH" --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6" --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" --enable-pch --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar" --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar" --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx --with-package-format="installed" --enable-wiki-publisher
>>
>> Please post your full setup and build options.
>> Regards
>> Damjan
>>
>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <fy...@hotmail.com>> wrote:
>> Hello Damjan,
>>
>> I've commented out in main/udm/StaticLibrary_udm.mk
>>
>> #ifeq ($(OS),WNT)
>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>> #else
>>
>> Now build stopped on xml2cmp module...
>>
>>
>>                         =============
>>                         Building module xml2cmp
>>                         =============
>>
>>                         Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>
>>                         cd .. && make -s -r -j1   && make -s -r deliverlog
>>                         [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
>> headers to be there!
>>                         [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
>> headers to be there!
>>                         [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
>> headers to be there!
>>                         [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
>> headers to be there!
>>                         [ build CXX ] xml2cmp/source/finder/dependy
>>                         dependy.cxx
>>                         [ build CXX ] xml2cmp/source/finder/dep_main
>>                         dep_main.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>>                         cr_html.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>>                         cr_index.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>>                         cr_metho.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>>                         filebuff.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/parse
>>                         parse.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>>                         xmlelem.cxx
>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>>                         xmltree.cxx
>>                         [ build CXX ] xml2cmp/source/support/cmdline
>>                         cmdline.cxx
>>                         [ build CXX ] xml2cmp/source/support/heap
>>                         heap.cxx
>>                         [ build CXX ] xml2cmp/source/support/sistr
>>                         sistr.cxx
>>                         [ build CXX ] xml2cmp/source/support/syshelp
>>                         syshelp.cxx
>>                         [ build CXX ] xml2cmp/source/support/badcast
>>                         badcast.cxx
>>                         [ build DEP ] LNK:Executable/srvdepy.exe
>>                         [ build CXX ] xml2cmp/source/xcd/main
>>                         main.cxx
>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>>                         ', needed by
>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>   Stop.
>>                         dmake:  Error code 2, while making 'all'
>>
>>                         1 module(s):
>>                                 xml2cmp
>>                         need(s) to be rebuilt
>>
>>                         Reason(s):
>>
>>                         ERROR: error 65280 occurred while making
>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>
>>                         When you have fixed the errors in that module you can resume the
>> build by running:
>>
>>                                 build --all:xml2cmp
>>
>> ------ $B'*'c'g'`'U'_'`'V(B $B'c'`'`'R'k'V'_'Z'V(B ------
>> $B'0'd(B: "Damjan Jovanovic" <da...@apache.org>>
>> $B','`'^$(D*P(J�: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
>> $B','`'a'Z'q(B: "Apache OO" <de...@openoffice.apache.org>>
>> $B'0'd'a'b'Q'S']'V'_'`(B: 28.06.2017 15:07:29
>> $B'4'V'^'Q(B: Re: Building OO
>>
>>> Hi Fyodor
>>>
>>> The problem is almost certainly in
>>> main/udm/StaticLibrary_udm.mk
>>>
>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>
>>> I'll try build it later.
>>>
>>> Damjan
>>>
>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>> <fy...@hotmail.com>> wrote:
>>>> Hi Damjan,
>>>>
>>>> I$B!G(Bve got OO using svn co
>>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>>> ago.
>>>>
>>>> I've cd'ed to udm and tried build -all:udm
>>>>
>>>> This is output
>>>>                         Admin@shr-pc
>>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>>                         $ build --all:udm
>>>>                         build -- version: 1775979
>>>>
>>>>
>>>>                         =============
>>>>                         Building module udm
>>>>                         =============
>>>>
>>>>                         Entering
>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>
>>>>                         cd .. && make -s -r -j1   && make -s -r
>>>> deliverlog
>>>>                         ', needed by
>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>   Stop.
>>>>                         dmake:  Error code 2, while making 'all'
>>>>
>>>>                         1 module(s):
>>>>                                 udm
>>>>                         need(s) to be rebuilt
>>>>
>>>>                         Reason(s):
>>>>
>>>>                         ERROR: error 65280 occurred while making
>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>
>>>>                         When you have fixed the errors in that module
>>>> you can resume the
>>>> build by running:
>>>>
>>>>                                 build --all:udm
>>>>
>>>>
>>>> I think I need to deep dive into dmake, so I'll be able to trace build
>>>> and link processes and find what exactly done on udm module. So I'll
>>>> appreciate reference to information on dmake.
>>>>
>>>> --
>>>> Fyodor
>>>>
>>>>
>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<ma...@apache.org>]
>>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>>> To: Apache OO <de...@openoffice.apache.org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>>> Subject: Re: Building OO
>>>>
>>>> Hi Fyodor
>>>> Welcome to AOO :).
>>>> What version are you building?
>>>> Can you "cd" into the udm directory, and post the full output of
>>>> "build"
>>>> run from there?
>>>> Thank you
>>>> Damjan
>>>>
>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>> <fy...@hotmail.com>> wrote:
>>>> =============
>>>> Building module udm
>>>> =============
>>>>
>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>> Hello!
>>>>
>>>> I'm newbie in OO development, and as New Volunteer Orientation module
>>>> suggests, I've established local build env, and try to build OO.
>>>> I've installed required prerequisites from Building Guide
>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>> and
>>>> started to build with this command
>>>>
>>>> ./configure \
>>>>      --with-frame-home="$SDK_PATH" \
>>>>      --with-psdk-home="$SDK_PATH" \
>>>>      --with-midl-path="$SDK_PATH/bin" \
>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>
>>>> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>>> <https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>>> \
>>>>
>>>> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>>> <https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>>> \
>>>>      --disable-pch \
>>>>      --disable-atl \
>>>>      --disable-activex \
>>>>      --disable-nss-module \
>>>>      --without-junit \
>>>>      --disable-directx
>>>>
>>>> There are some modules built successfully, but built stop on UDM
>>>> module
>>>> with following error
>>>>
>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>>> [ build CXX ] udm/source/html/htmlitem
>>>> htmlitem.cxx
>>>> [ build CXX ] udm/source/xml/xmlitem
>>>> xmlitem.cxx
>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>>> [ build PKG ] udm_inc
>>>> ', needed by
>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>   Stop.
>>>> dmake:  Error code 2, while making 'all'
>>>>
>>>> 1 module(s):
>>>>          udm
>>>> need(s) to be rebuilt
>>>>
>>>> Reason(s):
>>>>
>>>> ERROR: error 65280 occurred while making
>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>
>>>> When you have fixed the errors in that module you can resume the build
>>>> by running:
>>>>
>>>>          build --all:udm
>>>>
>>>> I'm not professional with dmake (yet), so any help would be
>>>> appreciated.
>>>>
>>>> --
>>>> Fyodor
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>>> <ma...@openoffice.apache.org>>
>>>> For additional commands, e-mail: dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>>
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
I see similar errors in our buildbot for trunk (system: Windows 10 64bit):

https://ci.apache.org/projects/openoffice/buildlogs/win/log/wntmsci12.pro.build.html

The buildbot builds once a day. If some requirements have to be changed
drop me a line and I will edit the config accordingly.

Regards, Matthias


Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
> I’ve took another try to build OO on W7 x32
> But got same errors, as on W8 x64
> May be I missed some prerequisites?
>
> Errors are in modules gtest, xml2cmp, salhelper, udm
> Cygwin seems to have bug on Windows as it only  shows full error text when resized to some size… So path to missed file is not full.
> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>
> $ build --all:gtest
> build -- version: 1775979
>
>
> =============
> Building module gtest
> =============
>
> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
> mkdir: cannot create directory './wntmsci12.pro/misc/build/gtest-1.7.0/': File exists
> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: *** gb_Deliver_deliver: file does not exist in solver, and cannot be deli.  Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>
> 1 module(s):
>         gtest
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
> When you have fixed the errors in that module you can resume the build by running:
>
>         build --all:gtest
>
> The sal helper cannot open include file conditn.h
>
> =============
> Building module salhelper
> =============
>
> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>
> mkout -- version: 1.8
> Making:    all_salhelper.dpslo
> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
> Compiling: salhelper/source/condition.cxx
> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open include file: 'osl/conditn.h': No such file or directory
> dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj'
>
> 1 module(s):
>         salhelper
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/main/salhelper/source
>
> When you have fixed the errors in that module you can resume the build by running:
>
>         build --all:salhelper
>
>
>
> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
> Sent: Wednesday, July 19, 2017 10:51 AM
> To: Damjan Jovanovic <da...@apache.org>; Apache OO <de...@openoffice.apache.org>
> Subject: Re[5]: Building OO
>
> Hello!
>
> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp installed
> And OO built successfully! :-)
>
> Now trying to do the same on W7 x32.
>
> As Id like to deep dive into OO development, could you please share what dev environment do you use on Ubuntu and on W7 (I believe, that I'll finally success in building OO on Windows).
> Any thoughts on establishing dev environment will be appreciated.
>
> --
> Fyodor
>
> ------ Исходное сообщение ------
> От: "Емельяненко Федор" <fy...@hotmail.com>>
> Кому: "Damjan Jovanovic" <da...@apache.org>>
> Копия: "Apache OO" <de...@openoffice.apache.org>>
> Отправлено: 04.07.2017 12:57:52
> Тема: Re[4]: Building OO
>
> I use following config script
>
> ./configure \
>    --with-frame-home="$SDK_PATH" \
>    --with-psdk-home="$SDK_PATH" \
>    --with-midl-path="$SDK_PATH/bin" \
>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>    --disable-pch \
>    --disable-atl \
>    --disable-activex \
>    --disable-nss-module \
>    --without-junit \
>    --disable-directx
>
> On Windows 8.1 64 bit Hyper-v VM
>
> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>
> I've tried to rebuild with following script (full path) with no success
>
> ./configure \
>    --with-frame-home="$SDK_PATH" \
>    --with-psdk-home="$SDK_PATH" \
>    --with-midl-path="$SDK_PATH/bin" \
>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>    --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \
>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>    --disable-pch \
>    --disable-atl \
>    --disable-activex \
>    --disable-nss-module \
>    --without-junit \
>    --disable-directx
>
> Now I have error on module gtest...
>
> dmake: Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>
> 1 module(s):
> gtest
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
> When you have fixed the errors in that module you can resume the build by running:
>
> build --all:gtest
>
> ------ Исходное сообщение ------
> От: "Damjan Jovanovic" <da...@apache.org>>
> Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
> Копия: "Apache OO" <de...@openoffice.apache.org>>
> Отправлено: 02.07.2017 16:46:09
> Тема: Re: Re[2]: Building OO
>
> I just succeeded in building trunk with:
> 32 bit VirtualBox VM
> Windows XP
> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH" --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6" --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" --enable-pch --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar" --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar" --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx --with-package-format="installed" --enable-wiki-publisher
>
> Please post your full setup and build options.
> Regards
> Damjan
>
> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <fy...@hotmail.com>> wrote:
> Hello Damjan,
>
> I've commented out in main/udm/StaticLibrary_udm.mk
>
> #ifeq ($(OS),WNT)
> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
> #else
>
> Now build stopped on xml2cmp module...
>
>
>                         =============
>                         Building module xml2cmp
>                         =============
>
>                         Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>
>                         cd .. && make -s -r -j1   && make -s -r deliverlog
>                         [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
> headers to be there!
>                         [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
> headers to be there!
>                         [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
> headers to be there!
>                         [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
> headers to be there!
>                         [ build CXX ] xml2cmp/source/finder/dependy
>                         dependy.cxx
>                         [ build CXX ] xml2cmp/source/finder/dep_main
>                         dep_main.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>                         cr_html.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>                         cr_index.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>                         cr_metho.cxx
>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>                         filebuff.cxx
>                         [ build CXX ] xml2cmp/source/xcd/parse
>                         parse.cxx
>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>                         xmlelem.cxx
>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>                         xmltree.cxx
>                         [ build CXX ] xml2cmp/source/support/cmdline
>                         cmdline.cxx
>                         [ build CXX ] xml2cmp/source/support/heap
>                         heap.cxx
>                         [ build CXX ] xml2cmp/source/support/sistr
>                         sistr.cxx
>                         [ build CXX ] xml2cmp/source/support/syshelp
>                         syshelp.cxx
>                         [ build CXX ] xml2cmp/source/support/badcast
>                         badcast.cxx
>                         [ build DEP ] LNK:Executable/srvdepy.exe
>                         [ build CXX ] xml2cmp/source/xcd/main
>                         main.cxx
>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>                         ', needed by
> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>   Stop.
>                         dmake:  Error code 2, while making 'all'
>
>                         1 module(s):
>                                 xml2cmp
>                         need(s) to be rebuilt
>
>                         Reason(s):
>
>                         ERROR: error 65280 occurred while making
> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>
>                         When you have fixed the errors in that module you can resume the
> build by running:
>
>                                 build --all:xml2cmp
>
> ------ Исходное сообщение ------
> От: "Damjan Jovanovic" <da...@apache.org>>
> Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
> Копия: "Apache OO" <de...@openoffice.apache.org>>
> Отправлено: 28.06.2017 15:07:29
> Тема: Re: Building OO
>
>> Hi Fyodor
>>
>> The problem is almost certainly in
>> main/udm/StaticLibrary_udm.mk
>>
>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>
>> I'll try build it later.
>>
>> Damjan
>>
>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>> <fy...@hotmail.com>> wrote:
>>> Hi Damjan,
>>>
>>> I’ve got OO using svn co
>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>> ago.
>>>
>>> I've cd'ed to udm and tried build -all:udm
>>>
>>> This is output
>>>                         Admin@shr-pc
>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>                         $ build --all:udm
>>>                         build -- version: 1775979
>>>
>>>
>>>                         =============
>>>                         Building module udm
>>>                         =============
>>>
>>>                         Entering
>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>>                         cd .. && make -s -r -j1   && make -s -r
>>> deliverlog
>>>                         ', needed by
>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>   Stop.
>>>                         dmake:  Error code 2, while making 'all'
>>>
>>>                         1 module(s):
>>>                                 udm
>>>                         need(s) to be rebuilt
>>>
>>>                         Reason(s):
>>>
>>>                         ERROR: error 65280 occurred while making
>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>>                         When you have fixed the errors in that module
>>> you can resume the
>>> build by running:
>>>
>>>                                 build --all:udm
>>>
>>>
>>> I think I need to deep dive into dmake, so I'll be able to trace build
>>> and link processes and find what exactly done on udm module. So I'll
>>> appreciate reference to information on dmake.
>>>
>>> --
>>> Fyodor
>>>
>>>
>>> From: Damjan Jovanovic [mailto:damjan@apache.org<ma...@apache.org>]
>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>> To: Apache OO <de...@openoffice.apache.org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>> Subject: Re: Building OO
>>>
>>> Hi Fyodor
>>> Welcome to AOO :).
>>> What version are you building?
>>> Can you "cd" into the udm directory, and post the full output of
>>> "build"
>>> run from there?
>>> Thank you
>>> Damjan
>>>
>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>> <fy...@hotmail.com>> wrote:
>>> =============
>>> Building module udm
>>> =============
>>>
>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>> Hello!
>>>
>>> I'm newbie in OO development, and as New Volunteer Orientation module
>>> suggests, I've established local build env, and try to build OO.
>>> I've installed required prerequisites from Building Guide
>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>> and
>>> started to build with this command
>>>
>>> ./configure \
>>>      --with-frame-home="$SDK_PATH" \
>>>      --with-psdk-home="$SDK_PATH" \
>>>      --with-midl-path="$SDK_PATH/bin" \
>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>
>>> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>> <https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>> \
>>>
>>> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>> <https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>> \
>>>      --disable-pch \
>>>      --disable-atl \
>>>      --disable-activex \
>>>      --disable-nss-module \
>>>      --without-junit \
>>>      --disable-directx
>>>
>>> There are some modules built successfully, but built stop on UDM
>>> module
>>> with following error
>>>
>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>> [ build CXX ] udm/source/html/htmlitem
>>> htmlitem.cxx
>>> [ build CXX ] udm/source/xml/xmlitem
>>> xmlitem.cxx
>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>> [ build PKG ] udm_inc
>>> ', needed by
>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>   Stop.
>>> dmake:  Error code 2, while making 'all'
>>>
>>> 1 module(s):
>>>          udm
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making
>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>> When you have fixed the errors in that module you can resume the build
>>> by running:
>>>
>>>          build --all:udm
>>>
>>> I'm not professional with dmake (yet), so any help would be
>>> appreciated.
>>>
>>> --
>>> Fyodor
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>> <ma...@openoffice.apache.org>>
>>> For additional commands, e-mail: dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>




RE: Re[5]: Building OO

Posted by Peter kovacs <pe...@apache.org>.
Looks like some include pathes got not properly set.
Had a similar issue. I could only work around it by copy the file in question into the module that made the issue.

But this is only healing symptoms not the root cause.

Am 20. Juli 2017 04:56:28 MESZ schrieb Yemelyanenko Fyodor <fy...@hotmail.com>:
>I’ve took another try to build OO on W7 x32
>But got same errors, as on W8 x64
>May be I missed some prerequisites?
>
>Errors are in modules gtest, xml2cmp, salhelper, udm
>Cygwin seems to have bug on Windows as it only  shows full error text
>when resized to some size… So path to missed file is not full.
>The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>
>$ build --all:gtest
>build -- version: 1775979
>
>
>=============
>Building module gtest
>=============
>
>Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
>mkdir: cannot create directory
>'./wntmsci12.pro/misc/build/gtest-1.7.0/': File exists
>C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
>gb_Deliver_deliver: file does not exist in solver, and cannot be deli. 
>Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>dmake:  Error code 2, while making
>'./wntmsci12.pro/misc/build/so_built_oo_gtest'
>
>1 module(s):
>        gtest
>need(s) to be rebuilt
>
>Reason(s):
>
>ERROR: error 65280 occurred while making
>/cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
>When you have fixed the errors in that module you can resume the build
>by running:
>
>        build --all:gtest
>
>The sal helper cannot open include file conditn.h
>
>=============
>Building module salhelper
>=============
>
>Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>
>mkout -- version: 1.8
>Making:    all_salhelper.dpslo
>Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>Compiling: salhelper/source/condition.cxx
>../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open
>include file: 'osl/conditn.h': No such file or directory
>dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj'
>
>1 module(s):
>        salhelper
>need(s) to be rebuilt
>
>Reason(s):
>
>ERROR: error 65280 occurred while making
>/cygdrive/c/source/aoo-trunk/main/salhelper/source
>
>When you have fixed the errors in that module you can resume the build
>by running:
>
>        build --all:salhelper
>
>
>
>From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
>Sent: Wednesday, July 19, 2017 10:51 AM
>To: Damjan Jovanovic <da...@apache.org>; Apache OO
><de...@openoffice.apache.org>
>Subject: Re[5]: Building OO
>
>Hello!
>
>I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>installed
>And OO built successfully! :-)
>
>Now trying to do the same on W7 x32.
>
>As Id like to deep dive into OO development, could you please share
>what dev environment do you use on Ubuntu and on W7 (I believe, that
>I'll finally success in building OO on Windows).
>Any thoughts on establishing dev environment will be appreciated.
>
>--
>Fyodor
>
>------ Исходное сообщение ------
>От: "Емельяненко Федор"
><fy...@hotmail.com>>
>Кому: "Damjan Jovanovic" <da...@apache.org>>
>Копия: "Apache OO"
><de...@openoffice.apache.org>>
>Отправлено: 04.07.2017 12:57:52
>Тема: Re[4]: Building OO
>
>I use following config script
>
>./configure \
>   --with-frame-home="$SDK_PATH" \
>   --with-psdk-home="$SDK_PATH" \
>   --with-midl-path="$SDK_PATH/bin" \
>   --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>   --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>   --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>   --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>   --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
>\
>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
>\
>   --disable-pch \
>   --disable-atl \
>   --disable-activex \
>   --disable-nss-module \
>   --without-junit \
>   --disable-directx
>
>On Windows 8.1 64 bit Hyper-v VM
>
>Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>
>I've tried to rebuild with following script (full path) with no success
>
>./configure \
>   --with-frame-home="$SDK_PATH" \
>   --with-psdk-home="$SDK_PATH" \
>   --with-midl-path="$SDK_PATH/bin" \
>   --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>  --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
>   --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
>--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio
>9.0/VC" \
>--with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>Studio 9.0/VC/bin" \
>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
>\
>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
>\
>   --disable-pch \
>   --disable-atl \
>   --disable-activex \
>   --disable-nss-module \
>   --without-junit \
>   --disable-directx
>
>Now I have error on module gtest...
>
>dmake: Error code 2, while making
>'./wntmsci12.pro/misc/build/so_built_oo_gtest'
>
>1 module(s):
>gtest
>need(s) to be rebuilt
>
>Reason(s):
>
>ERROR: error 65280 occurred while making
>/cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
>When you have fixed the errors in that module you can resume the build
>by running:
>
>build --all:gtest
>
>------ Исходное сообщение ------
>От: "Damjan Jovanovic" <da...@apache.org>>
>Кому: "Yemelyanenko Fyodor"
><fy...@hotmail.com>>
>Копия: "Apache OO"
><de...@openoffice.apache.org>>
>Отправлено: 02.07.2017 16:46:09
>Тема: Re: Re[2]: Building OO
>
>I just succeeded in building trunk with:
>32 bit VirtualBox VM
>Windows XP
>SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
>--with-midl-path="$SDK_PATH/bin"
>--with-ant-home="/cygdrive/c/apache-ant-1.9.6"
>--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"
>--enable-pch --disable-atl --disable-activex
>--with-junit="/cygdrive/c/source/junit.jar"
>--with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>--with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
>9.0/VC"
>--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>--with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>--disable-directx --with-package-format="installed"
>--enable-wiki-publisher
>
>Please post your full setup and build options.
>Regards
>Damjan
>
>On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor
><fy...@hotmail.com>> wrote:
>Hello Damjan,
>
>I've commented out in main/udm/StaticLibrary_udm.mk
>
>#ifeq ($(OS),WNT)
>#$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>#else
>
>Now build stopped on xml2cmp module...
>
>
>                        =============
>                        Building module xml2cmp
>                        =============
>
>                 Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>
>                     cd .. && make -s -r -j1   && make -s -r deliverlog
>     [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
>headers to be there!
>    [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
>headers to be there!
>      [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
>headers to be there!
>    [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
>headers to be there!
>                        [ build CXX ] xml2cmp/source/finder/dependy
>                        dependy.cxx
>                        [ build CXX ] xml2cmp/source/finder/dep_main
>                        dep_main.cxx
>                        [ build CXX ] xml2cmp/source/xcd/cr_html
>                        cr_html.cxx
>                        [ build CXX ] xml2cmp/source/xcd/cr_index
>                        cr_index.cxx
>                        [ build CXX ] xml2cmp/source/xcd/cr_metho
>                        cr_metho.cxx
>                        [ build CXX ] xml2cmp/source/xcd/filebuff
>                        filebuff.cxx
>                        [ build CXX ] xml2cmp/source/xcd/parse
>                        parse.cxx
>                        [ build CXX ] xml2cmp/source/xcd/xmlelem
>                        xmlelem.cxx
>                        [ build CXX ] xml2cmp/source/xcd/xmltree
>                        xmltree.cxx
>                        [ build CXX ] xml2cmp/source/support/cmdline
>                        cmdline.cxx
>                        [ build CXX ] xml2cmp/source/support/heap
>                        heap.cxx
>                        [ build CXX ] xml2cmp/source/support/sistr
>                        sistr.cxx
>                        [ build CXX ] xml2cmp/source/support/syshelp
>                        syshelp.cxx
>                        [ build CXX ] xml2cmp/source/support/badcast
>                        badcast.cxx
>                        [ build DEP ] LNK:Executable/srvdepy.exe
>                        [ build CXX ] xml2cmp/source/xcd/main
>                        main.cxx
>                        [ build DEP ] LNK:Executable/xml2cmp.exe
>                        ', needed by
>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>  Stop.
>                        dmake:  Error code 2, while making 'all'
>
>                        1 module(s):
>                                xml2cmp
>                        need(s) to be rebuilt
>
>                        Reason(s):
>
>                        ERROR: error 65280 occurred while making
>/cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>
>       When you have fixed the errors in that module you can resume the
>build by running:
>
>                                build --all:xml2cmp
>
>------ Исходное сообщение ------
>От: "Damjan Jovanovic" <da...@apache.org>>
>Кому: "Yemelyanenko Fyodor"
><fy...@hotmail.com>>
>Копия: "Apache OO"
><de...@openoffice.apache.org>>
>Отправлено: 28.06.2017 15:07:29
>Тема: Re: Building OO
>
>>Hi Fyodor
>>
>>The problem is almost certainly in
>>main/udm/StaticLibrary_udm.mk
>>
>>Make try take out the contents of the ifeq ($(OS),WNT) section?
>>
>>I'll try build it later.
>>
>>Damjan
>>
>>On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>><fy...@hotmail.com>> wrote:
>>>Hi Damjan,
>>>
>>>I’ve got OO using svn co
>>>https://svn.apache.org/repos/asf/openoffice/trunk
>>><https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>>ago.
>>>
>>>I've cd'ed to udm and tried build -all:udm
>>>
>>>This is output
>>>                         Admin@shr-pc
>>>/cygdrive/c/source/aoo-trunk/main/udm
>>>                         $ build --all:udm
>>>                         build -- version: 1775979
>>>
>>>
>>>                         =============
>>>                         Building module udm
>>>                         =============
>>>
>>>                         Entering
>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>>                         cd .. && make -s -r -j1   && make -s -r
>>>deliverlog
>>>                         ', needed by
>>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>
>>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>   Stop.
>>>                         dmake:  Error code 2, while making 'all'
>>>
>>>                         1 module(s):
>>>                                 udm
>>>                         need(s) to be rebuilt
>>>
>>>                         Reason(s):
>>>
>>>                         ERROR: error 65280 occurred while making
>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>>                         When you have fixed the errors in that
>module
>>>you can resume the
>>>build by running:
>>>
>>>                                 build --all:udm
>>>
>>>
>>>I think I need to deep dive into dmake, so I'll be able to trace
>build
>>>and link processes and find what exactly done on udm module. So I'll
>>>appreciate reference to information on dmake.
>>>
>>>--
>>>Fyodor
>>>
>>>
>>>From: Damjan Jovanovic
>[mailto:damjan@apache.org<ma...@apache.org>]
>>>Sent: Tuesday, June 27, 2017 5:38 PM
>>>To: Apache OO
><de...@openoffice.apache.org>>;
>fyodor_e@hotmail.com<ma...@hotmail.com>
>>>Subject: Re: Building OO
>>>
>>>Hi Fyodor
>>>Welcome to AOO :).
>>>What version are you building?
>>>Can you "cd" into the udm directory, and post the full output of
>>>"build"
>>>run from there?
>>>Thank you
>>>Damjan
>>>
>>>On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>><fy...@hotmail.com>> wrote:
>>>=============
>>>Building module udm
>>>=============
>>>
>>>Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>Hello!
>>>
>>>I'm newbie in OO development, and as New Volunteer Orientation module
>>>suggests, I've established local build env, and try to build OO.
>>>I've installed required prerequisites from Building Guide
>>>(http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>
>>><http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>and
>>>started to build with this command
>>>
>>>./configure \
>>>      --with-frame-home="$SDK_PATH" \
>>>      --with-psdk-home="$SDK_PATH" \
>>>      --with-midl-path="$SDK_PATH/bin" \
>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>
>>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>><https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>>\
>>>
>>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>><https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>>\
>>>      --disable-pch \
>>>      --disable-atl \
>>>      --disable-activex \
>>>      --disable-nss-module \
>>>      --without-junit \
>>>      --disable-directx
>>>
>>>There are some modules built successfully, but built stop on UDM
>>>module
>>>with following error
>>>
>>>cd .. && make -s -r -j1   && make -s -r deliverlog
>>>[ build CXX ] udm/source/html/htmlitem
>>>htmlitem.cxx
>>>[ build CXX ] udm/source/xml/xmlitem
>>>xmlitem.cxx
>>>[ build DEP ] LNK:StaticLibrary/udm.lib
>>>[ build PKG ] udm_inc
>>>', needed by
>>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>
>>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>   Stop.
>>>dmake:  Error code 2, while making 'all'
>>>
>>>1 module(s):
>>>          udm
>>>need(s) to be rebuilt
>>>
>>>Reason(s):
>>>
>>>ERROR: error 65280 occurred while making
>>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>>When you have fixed the errors in that module you can resume the
>build
>>>by running:
>>>
>>>          build --all:udm
>>>
>>>I'm not professional with dmake (yet), so any help would be
>>>appreciated.
>>>
>>>--
>>>Fyodor
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail:
>dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>><ma...@openoffice.apache.org>>
>>>For additional commands, e-mail:
>dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Building OO

Posted by Patricia Shanahan <pa...@acm.org>.
Apache Ant(TM) version 1.9.6 compiled on June 29 2015

On 7/20/2017 9:20 AM, Matthias Seidel wrote:
> Patricia, could you tell me which version of Apache Ant you are using?
> 
> Matthias
> 
> Am 20.07.2017 um 16:02 schrieb Patricia Shanahan:
>> As another data point, I just did a clean checkout of the trunk and
>> built it on Windows 8.1. Here are my configure parameters:
>>
>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>> ./configure \
>>           --enable-symbols \
>>           --disable-strip-solver \
>>      --with-frame-home="$SDK_PATH" \
>>      --with-psdk-home="$SDK_PATH" \
>>      --with-midl-path="$SDK_PATH/bin" \
>>      --disable-directx \
>>      --with-ant-home="/cygdrive/c/ant" \
>>
>> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
>> \
>>
>> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
>> \
>>      --disable-pch \
>>      --disable-atl \
>>      --disable-activex \
>>      --without-junit \
>>          --with-package-format="archive installed" \
>>      --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0_79"
>>
>> Two lines, --enable-symbols and --disable-strip-solver, are related to
>> doing debug builds.
>>
>>
>> On 7/20/2017 3:35 AM, Damjan Jovanovic wrote:
>>> Hi Matthias
>>>
>>> As I posted earlier in this thread, this is how I build it:
>>> 32 bit VirtualBox VM
>>> Windows XP
>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>>> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
>>> --with-midl-path="$SDK_PATH/bin"
>>> --with-ant-home="/cygdrive/c/apache-ant-1.9.6"
>>> --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" --enable-pch
>>> --disable-atl
>>> --disable-activex --with-junit="/cygdrive/c/source/junit.jar"
>>> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>>> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
>>> 9.0/VC"
>>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>>> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>>> --disable-directx
>>> --with-package-format="installed" --enable-wiki-publisher
>>>
>>> Please let us know what you find.
>>>
>>> Regards
>>> Damjan
>>>
>>> On Thu, Jul 20, 2017 at 12:26 PM, Matthias Seidel <
>>> matthias.seidel@hamburg.de> wrote:
>>>
>>>> Hi Damjan,
>>>>
>>>> Since I am not the only one with these errors, wouldn't it be easier if
>>>> you tell us your configuration and let us see what is different?
>>>> I know the Windows buildbot could build from trunk (when it was
>>>> functional) , but I see no real difference in the configuration.
>>>>
>>>> I think we are all following the steps described here:
>>>>
>>>> https://wiki.openoffice.org/wiki/Documentation/Building_
>>>> Guide_AOO/Step_by_step#Windows_7.2C_Windows_8.1.2C_Windows_10
>>>>
>>>> If you do something different, could you update the Wiki?
>>>>
>>>> Regards, Matthias
>>>>
>>>>
>>>> Am 20.07.2017 um 12:13 schrieb Damjan Jovanovic:
>>>>> Since I am the main gbuild developer and Windows always builds for me,
>>>> and
>>>>> I cannot reproduce your problem, I only see the following solution.
>>>>>
>>>>> svn log -v > /path/to/log.txt
>>>>> (so you have an offline log.txt for easy future reference)
>>>>> Look through log.txt, go to early 2015 or so.
>>>>> Find a revision you want to try, and switch to it and try build it. I
>>>> think
>>>>> it was:
>>>>> svn update -r <revision>
>>>>> then clean the tree and try build.
>>>>>
>>>>> When you find a revision that builds that way, do the equivalent of
>>>>> "git
>>>>> bisect" between that revision and the latest revision, ie. go to a
>>>> revision
>>>>> about halfway between then and now, "svn update -r ..." and build, and
>>>> keep
>>>>> bisecting until you find the last working revision, then post the
>>>> details.
>>>>>
>>>>> It will probably take a long time, and a dozen or so attempted builds,
>>>> but
>>>>> once you find it, it should allow us to narrow down the problem and
>>>> figure
>>>>> out what went wrong.
>>>>>
>>>>> Damjan
>>>>>
>>>>> On Thu, Jul 20, 2017 at 11:11 AM, Matthias Seidel <
>>>>> matthias.seidel@hamburg.de> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> When building trunk (on Windows) I get exactly the same errors...
>>>>>>
>>>>>> Branch 414 builds just fine (with Java 7):
>>>>>> https://home.apache.org/~mseidel/AOO-builds/AOO-414-Test/
>>>>>>
>>>>>> Regards, Matthias
>>>>>>
>>>>>>
>>>>>> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>>>>>>> I’ve took another try to build OO on W7 x32
>>>>>>> But got same errors, as on W8 x64
>>>>>>> May be I missed some prerequisites?
>>>>>>>
>>>>>>> Errors are in modules gtest, xml2cmp, salhelper, udm
>>>>>>> Cygwin seems to have bug on Windows as it only  shows full error
>>>>>>> text
>>>>>> when resized to some size… So path to missed file is not full.
>>>>>>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>>>>>>>
>>>>>>> $ build --all:gtest
>>>>>>> build -- version: 1775979
>>>>>>>
>>>>>>>
>>>>>>> =============
>>>>>>> Building module gtest
>>>>>>> =============
>>>>>>>
>>>>>>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>>>
>>>>>>> mkdir: cannot create directory './wntmsci12.pro/misc/build/
>>>> gtest-1.7.0/':
>>>>>> File exists
>>>>>>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
>>>>>> gb_Deliver_deliver: file does not exist in solver, and cannot be
>>>>>> deli.
>>>>>> Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>>>>>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/
>>>>>> so_built_oo_gtest'
>>>>>>> 1 module(s):
>>>>>>>           gtest
>>>>>>> need(s) to be rebuilt
>>>>>>>
>>>>>>> Reason(s):
>>>>>>>
>>>>>>> ERROR: error 65280 occurred while making
>>>>>>> /cygdrive/c/source/aoo-trunk/
>>>>>> ext_libraries/gtest
>>>>>>> When you have fixed the errors in that module you can resume the
>>>>>>> build
>>>>>> by running:
>>>>>>>           build --all:gtest
>>>>>>>
>>>>>>> The sal helper cannot open include file conditn.h
>>>>>>>
>>>>>>> =============
>>>>>>> Building module salhelper
>>>>>>> =============
>>>>>>>
>>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>>>>>
>>>>>>> mkout -- version: 1.8
>>>>>>> Making:    all_salhelper.dpslo
>>>>>>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>>>>>>> Compiling: salhelper/source/condition.cxx
>>>>>>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open
>>>>>> include file: 'osl/conditn.h': No such file or directory
>>>>>>> dmake:  Error code 2, while making
>>>>>>> '../wntmsci12.pro/slo/condition.obj
>>>> '
>>>>>>>
>>>>>>> 1 module(s):
>>>>>>>           salhelper
>>>>>>> need(s) to be rebuilt
>>>>>>>
>>>>>>> Reason(s):
>>>>>>>
>>>>>>> ERROR: error 65280 occurred while making
>>>>>>> /cygdrive/c/source/aoo-trunk/
>>>>>> main/salhelper/source
>>>>>>> When you have fixed the errors in that module you can resume the
>>>>>>> build
>>>>>> by running:
>>>>>>>           build --all:salhelper
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
>>>>>>> Sent: Wednesday, July 19, 2017 10:51 AM
>>>>>>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <
>>>>>> dev@openoffice.apache.org>
>>>>>>> Subject: Re[5]: Building OO
>>>>>>>
>>>>>>> Hello!
>>>>>>>
>>>>>>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>>>>>> installed
>>>>>>> And OO built successfully! :-)
>>>>>>>
>>>>>>> Now trying to do the same on W7 x32.
>>>>>>>
>>>>>>> As Id like to deep dive into OO development, could you please share
>>>> what
>>>>>> dev environment do you use on Ubuntu and on W7 (I believe, that I'll
>>>>>> finally success in building OO on Windows).
>>>>>>> Any thoughts on establishing dev environment will be appreciated.
>>>>>>>
>>>>>>> -- 
>>>>>>> Fyodor
>>>>>>>
>>>>>>> ------ Исходное сообщение ------
>>>>>>> От: "Емельяненко Федор" <fyodor_e@hotmail.com<mailto:f
>>>>>> yodor_e@hotmail.com>>
>>>>>>> Кому: "Damjan Jovanovic"
>>>>>>> <da...@apache.org>>
>>>>>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>>>>>> dev@openoffice.apache.org>>
>>>>>>> Отправлено: 04.07.2017 12:57:52
>>>>>>> Тема: Re[4]: Building OO
>>>>>>>
>>>>>>> I use following config script
>>>>>>>
>>>>>>> ./configure \
>>>>>>>      --with-frame-home="$SDK_PATH" \
>>>>>>>      --with-psdk-home="$SDK_PATH" \
>>>>>>>      --with-midl-path="$SDK_PATH/bin" \
>>>>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>>      --with-dmake-url="https://sourceforge.net/projects/
>>>>>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>>>      --with-epm-url="https://sourceforge.net/projects/
>>>>>> oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>>>      --disable-pch \
>>>>>>>      --disable-atl \
>>>>>>>      --disable-activex \
>>>>>>>      --disable-nss-module \
>>>>>>>      --without-junit \
>>>>>>>      --disable-directx
>>>>>>>
>>>>>>> On Windows 8.1 64 bit Hyper-v VM
>>>>>>>
>>>>>>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>>>>>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>>>>>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>>>>>>
>>>>>>> I've tried to rebuild with following script (full path) with no
>>>>>>> success
>>>>>>>
>>>>>>> ./configure \
>>>>>>>      --with-frame-home="$SDK_PATH" \
>>>>>>>      --with-psdk-home="$SDK_PATH" \
>>>>>>>      --with-midl-path="$SDK_PATH/bin" \
>>>>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>>      --with-jdk-home="/cygdrive/c/Program Files
>>>> (x86)/Java/jdk1.8.0_131" \
>>>>>>>     
>>>>>>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>>>> \
>>>>>>>      --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>>>>>> Studio 9.0/VC" \
>>>>>>>      --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft
>>>>>>> Visual
>>>>>> Studio 9.0/VC/bin" \
>>>>>>>      --with-dmake-url="https://sourceforge.net/projects/
>>>>>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>>>      --with-epm-url="https://sourceforge.net/projects/
>>>>>> oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>>>      --disable-pch \
>>>>>>>      --disable-atl \
>>>>>>>      --disable-activex \
>>>>>>>      --disable-nss-module \
>>>>>>>      --without-junit \
>>>>>>>      --disable-directx
>>>>>>>
>>>>>>> Now I have error on module gtest...
>>>>>>>
>>>>>>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/
>>>>>> so_built_oo_gtest'
>>>>>>> 1 module(s):
>>>>>>> gtest
>>>>>>> need(s) to be rebuilt
>>>>>>>
>>>>>>> Reason(s):
>>>>>>>
>>>>>>> ERROR: error 65280 occurred while making
>>>>>>> /cygdrive/c/source/aoo-trunk/
>>>>>> ext_libraries/gtest
>>>>>>> When you have fixed the errors in that module you can resume the
>>>>>>> build
>>>>>> by running:
>>>>>>> build --all:gtest
>>>>>>>
>>>>>>> ------ Исходное сообщение ------
>>>>>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>>>>>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
>>>>>> yodor_e@hotmail.com>>
>>>>>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>>>>>> dev@openoffice.apache.org>>
>>>>>>> Отправлено: 02.07.2017 16:46:09
>>>>>>> Тема: Re: Re[2]: Building OO
>>>>>>>
>>>>>>> I just succeeded in building trunk with:
>>>>>>> 32 bit VirtualBox VM
>>>>>>> Windows XP
>>>>>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>>>>>> ./configure --with-frame-home="$SDK_PATH"
>>>>>> --with-psdk-home="$SDK_PATH"
>>>>>> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/
>>>> apache-ant-1.9.6"
>>>>>> --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" --enable-pch
>>>>>> --disable-atl --disable-activex --with-junit="/cygdrive/c/
>>>> source/junit.jar"
>>>>>> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>>>>>> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
>>>> 9.0/VC"
>>>>>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>>>>>> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>>>>>> --disable-directx --with-package-format="installed"
>>>>>> --enable-wiki-publisher
>>>>>>> Please post your full setup and build options.
>>>>>>> Regards
>>>>>>> Damjan
>>>>>>>
>>>>>>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <
>>>>>> fyodor_e@hotmail.com<ma...@hotmail.com>> wrote:
>>>>>>> Hello Damjan,
>>>>>>>
>>>>>>> I've commented out in main/udm/StaticLibrary_udm.mk
>>>>>>>
>>>>>>> #ifeq ($(OS),WNT)
>>>>>>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>>>>>> #else
>>>>>>>
>>>>>>> Now build stopped on xml2cmp module...
>>>>>>>
>>>>>>>
>>>>>>>                           =============
>>>>>>>                           Building module xml2cmp
>>>>>>>                           =============
>>>>>>>
>>>>>>>                           Entering /cygdrive/c/source/aoo-trunk/
>>>>>> main/xml2cmp/prj
>>>>>>>                           cd .. && make -s -r -j1   && make -s -r
>>>>>> deliverlog
>>>>>>>                           [ info  ALL ] LinkTarget
>>>>>>> Library/msvcprt.lib
>>>> not
>>>>>> defined: Assuming
>>>>>>> headers to be there!
>>>>>>>                           [ info  ALL ] LinkTarget
>>>>>>> Library/kernel32.lib
>>>>>> not defined: Assuming
>>>>>>> headers to be there!
>>>>>>>                           [ info  ALL ] LinkTarget
>>>>>>> Library/msvcrt.lib not
>>>>>> defined: Assuming
>>>>>>> headers to be there!
>>>>>>>                           [ info  ALL ] LinkTarget
>>>>>>> Library/oldnames.lib
>>>>>> not defined: Assuming
>>>>>>> headers to be there!
>>>>>>>                           [ build CXX ] xml2cmp/source/finder/dependy
>>>>>>>                           dependy.cxx
>>>>>>>                           [ build CXX ]
>>>>>>> xml2cmp/source/finder/dep_main
>>>>>>>                           dep_main.cxx
>>>>>>>                           [ build CXX ] xml2cmp/source/xcd/cr_html
>>>>>>>                           cr_html.cxx
>>>>>>>                           [ build CXX ] xml2cmp/source/xcd/cr_index
>>>>>>>                           cr_index.cxx
>>>>>>>                           [ build CXX ] xml2cmp/source/xcd/cr_metho
>>>>>>>                           cr_metho.cxx
>>>>>>>                           [ build CXX ] xml2cmp/source/xcd/filebuff
>>>>>>>                           filebuff.cxx
>>>>>>>                           [ build CXX ] xml2cmp/source/xcd/parse
>>>>>>>                           parse.cxx
>>>>>>>                           [ build CXX ] xml2cmp/source/xcd/xmlelem
>>>>>>>                           xmlelem.cxx
>>>>>>>                           [ build CXX ] xml2cmp/source/xcd/xmltree
>>>>>>>                           xmltree.cxx
>>>>>>>                           [ build CXX ]
>>>>>>> xml2cmp/source/support/cmdline
>>>>>>>                           cmdline.cxx
>>>>>>>                           [ build CXX ] xml2cmp/source/support/heap
>>>>>>>                           heap.cxx
>>>>>>>                           [ build CXX ] xml2cmp/source/support/sistr
>>>>>>>                           sistr.cxx
>>>>>>>                           [ build CXX ]
>>>>>>> xml2cmp/source/support/syshelp
>>>>>>>                           syshelp.cxx
>>>>>>>                           [ build CXX ]
>>>>>>> xml2cmp/source/support/badcast
>>>>>>>                           badcast.cxx
>>>>>>>                           [ build DEP ] LNK:Executable/srvdepy.exe
>>>>>>>                           [ build CXX ] xml2cmp/source/xcd/main
>>>>>>>                           main.cxx
>>>>>>>                           [ build DEP ] LNK:Executable/xml2cmp.exe
>>>>>>>                           ', needed by
>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>>>>> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://
>>>>>> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>>>>>>     Stop.
>>>>>>>                           dmake:  Error code 2, while making 'all'
>>>>>>>
>>>>>>>                           1 module(s):
>>>>>>>                                   xml2cmp
>>>>>>>                           need(s) to be rebuilt
>>>>>>>
>>>>>>>                           Reason(s):
>>>>>>>
>>>>>>>                           ERROR: error 65280 occurred while making
>>>>>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>>>>
>>>>>>>                           When you have fixed the errors in that
>>>>>>> module
>>>>>> you can resume the
>>>>>>> build by running:
>>>>>>>
>>>>>>>                                   build --all:xml2cmp
>>>>>>>
>>>>>>> ------ Исходное сообщение ------
>>>>>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>>>>>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
>>>>>> yodor_e@hotmail.com>>
>>>>>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>>>>>> dev@openoffice.apache.org>>
>>>>>>> Отправлено: 28.06.2017 15:07:29
>>>>>>> Тема: Re: Building OO
>>>>>>>
>>>>>>>> Hi Fyodor
>>>>>>>>
>>>>>>>> The problem is almost certainly in
>>>>>>>> main/udm/StaticLibrary_udm.mk
>>>>>>>>
>>>>>>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>>>>>>
>>>>>>>> I'll try build it later.
>>>>>>>>
>>>>>>>> Damjan
>>>>>>>>
>>>>>>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>>>> Hi Damjan,
>>>>>>>>>
>>>>>>>>> I’ve got OO using svn co
>>>>>>>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>>>>>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a
>>>>>>>>> week
>>>>>>>>> ago.
>>>>>>>>>
>>>>>>>>> I've cd'ed to udm and tried build -all:udm
>>>>>>>>>
>>>>>>>>> This is output
>>>>>>>>>                           Admin@shr-pc
>>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>>>>>>>                           $ build --all:udm
>>>>>>>>>                           build -- version: 1775979
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                           =============
>>>>>>>>>                           Building module udm
>>>>>>>>>                           =============
>>>>>>>>>
>>>>>>>>>                           Entering
>>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>>
>>>>>>>>>                           cd .. && make -s -r -j1   && make -s -r
>>>>>>>>> deliverlog
>>>>>>>>>                           ', needed by
>>>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>>>>> workdir/CxxObject/udm/source/html/htmlitem.o<http://
>>>> wntmsci12.pro/workdir/
>>>>>> CxxObject/udm/source/html/htmlitem.o>
>>>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o
>>>>> '.
>>>>>>>>>     Stop.
>>>>>>>>>                           dmake:  Error code 2, while making 'all'
>>>>>>>>>
>>>>>>>>>                           1 module(s):
>>>>>>>>>                                   udm
>>>>>>>>>                           need(s) to be rebuilt
>>>>>>>>>
>>>>>>>>>                           Reason(s):
>>>>>>>>>
>>>>>>>>>                           ERROR: error 65280 occurred while making
>>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>>
>>>>>>>>>                           When you have fixed the errors in that
>>>>>>>>> module
>>>>>>>>> you can resume the
>>>>>>>>> build by running:
>>>>>>>>>
>>>>>>>>>                                   build --all:udm
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I think I need to deep dive into dmake, so I'll be able to trace
>>>> build
>>>>>>>>> and link processes and find what exactly done on udm module. So
>>>>>>>>> I'll
>>>>>>>>> appreciate reference to information on dmake.
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> Fyodor
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<mailto:
>>>>>> damjan@apache.org>]
>>>>>>>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>>>>>>>> To: Apache OO <dev@openoffice.apache.org<mailto:
>>>> dev@openoffice.apache.
>>>>>> org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>>>>>>>> Subject: Re: Building OO
>>>>>>>>>
>>>>>>>>> Hi Fyodor
>>>>>>>>> Welcome to AOO :).
>>>>>>>>> What version are you building?
>>>>>>>>> Can you "cd" into the udm directory, and post the full output of
>>>>>>>>> "build"
>>>>>>>>> run from there?
>>>>>>>>> Thank you
>>>>>>>>> Damjan
>>>>>>>>>
>>>>>>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>>>> =============
>>>>>>>>> Building module udm
>>>>>>>>> =============
>>>>>>>>>
>>>>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>> Hello!
>>>>>>>>>
>>>>>>>>> I'm newbie in OO development, and as New Volunteer Orientation
>>>>>>>>> module
>>>>>>>>> suggests, I've established local build env, and try to build OO.
>>>>>>>>> I've installed required prerequisites from Building Guide
>>>>>>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>>>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>>>>>>>
>>>>>>>>> and
>>>>>>>>> started to build with this command
>>>>>>>>>
>>>>>>>>> ./configure \
>>>>>>>>>        --with-frame-home="$SDK_PATH" \
>>>>>>>>>        --with-psdk-home="$SDK_PATH" \
>>>>>>>>>        --with-midl-path="$SDK_PATH/bin" \
>>>>>>>>>        --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>>>>        --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>>>>        --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>>>>        --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>>>>        --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>>>>
>>>>>>>>> --with-dmake-url="https://sourceforge.net/projects/
>>>>>> oooextras.mirror/files/dmake-4.12.tar.bz2
>>>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/
>>>>>> files/dmake-4.12.tar.bz2>"
>>>>>>>>> \
>>>>>>>>>
>>>>>>>>> --with-epm-url="https://sourceforge.net/projects/
>>>>>> oooextras.mirror/files/epm-3.7.tar.gz
>>>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/
>>>>>> files/epm-3.7.tar.gz>"
>>>>>>>>> \
>>>>>>>>>        --disable-pch \
>>>>>>>>>        --disable-atl \
>>>>>>>>>        --disable-activex \
>>>>>>>>>        --disable-nss-module \
>>>>>>>>>        --without-junit \
>>>>>>>>>        --disable-directx
>>>>>>>>>
>>>>>>>>> There are some modules built successfully, but built stop on UDM
>>>>>>>>> module
>>>>>>>>> with following error
>>>>>>>>>
>>>>>>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>>>>>> [ build CXX ] udm/source/html/htmlitem
>>>>>>>>> htmlitem.cxx
>>>>>>>>> [ build CXX ] udm/source/xml/xmlitem
>>>>>>>>> xmlitem.cxx
>>>>>>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>>>>>>>> [ build PKG ] udm_inc
>>>>>>>>> ', needed by
>>>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>>>>> workdir/CxxObject/udm/source/html/htmlitem.o<http://
>>>> wntmsci12.pro/workdir/
>>>>>> CxxObject/udm/source/html/htmlitem.o>
>>>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o
>>>>> '.
>>>>>>>>>     Stop.
>>>>>>>>> dmake:  Error code 2, while making 'all'
>>>>>>>>>
>>>>>>>>> 1 module(s):
>>>>>>>>>            udm
>>>>>>>>> need(s) to be rebuilt
>>>>>>>>>
>>>>>>>>> Reason(s):
>>>>>>>>>
>>>>>>>>> ERROR: error 65280 occurred while making
>>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>>
>>>>>>>>> When you have fixed the errors in that module you can resume the
>>>> build
>>>>>>>>> by running:
>>>>>>>>>
>>>>>>>>>            build --all:udm
>>>>>>>>>
>>>>>>>>> I'm not professional with dmake (yet), so any help would be
>>>>>>>>> appreciated.
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> Fyodor
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------
>>>> ---------
>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>>> <mailto:
>>>>>> dev-unsubscribe@openoffice.apache.org>
>>>>>>>>> <mailto:dev-unsubscribe@openoffice.apache.org<mailto:d
>>>>>> ev-unsubscribe@openoffice.apache.org>>
>>>>>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>>>> <ma...@openoffice.apache.org>
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Patricia, could you tell me which version of Apache Ant you are using?

Matthias

Am 20.07.2017 um 16:02 schrieb Patricia Shanahan:
> As another data point, I just did a clean checkout of the trunk and
> built it on Windows 8.1. Here are my configure parameters:
>
> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
> ./configure \
>          --enable-symbols \
>          --disable-strip-solver \
>     --with-frame-home="$SDK_PATH" \
>     --with-psdk-home="$SDK_PATH" \
>     --with-midl-path="$SDK_PATH/bin" \
>     --disable-directx \
>     --with-ant-home="/cygdrive/c/ant" \
>
> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2"
> \
>
> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz"
> \
>     --disable-pch \
>     --disable-atl \
>     --disable-activex \
>     --without-junit \
>         --with-package-format="archive installed" \
>     --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0_79"
>
> Two lines, --enable-symbols and --disable-strip-solver, are related to
> doing debug builds.
>
>
> On 7/20/2017 3:35 AM, Damjan Jovanovic wrote:
>> Hi Matthias
>>
>> As I posted earlier in this thread, this is how I build it:
>> 32 bit VirtualBox VM
>> Windows XP
>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
>> --with-midl-path="$SDK_PATH/bin"
>> --with-ant-home="/cygdrive/c/apache-ant-1.9.6"
>> --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" --enable-pch
>> --disable-atl
>> --disable-activex --with-junit="/cygdrive/c/source/junit.jar"
>> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
>> 9.0/VC"
>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>> --disable-directx
>> --with-package-format="installed" --enable-wiki-publisher
>>
>> Please let us know what you find.
>>
>> Regards
>> Damjan
>>
>> On Thu, Jul 20, 2017 at 12:26 PM, Matthias Seidel <
>> matthias.seidel@hamburg.de> wrote:
>>
>>> Hi Damjan,
>>>
>>> Since I am not the only one with these errors, wouldn't it be easier if
>>> you tell us your configuration and let us see what is different?
>>> I know the Windows buildbot could build from trunk (when it was
>>> functional) , but I see no real difference in the configuration.
>>>
>>> I think we are all following the steps described here:
>>>
>>> https://wiki.openoffice.org/wiki/Documentation/Building_
>>> Guide_AOO/Step_by_step#Windows_7.2C_Windows_8.1.2C_Windows_10
>>>
>>> If you do something different, could you update the Wiki?
>>>
>>> Regards, Matthias
>>>
>>>
>>> Am 20.07.2017 um 12:13 schrieb Damjan Jovanovic:
>>>> Since I am the main gbuild developer and Windows always builds for me,
>>> and
>>>> I cannot reproduce your problem, I only see the following solution.
>>>>
>>>> svn log -v > /path/to/log.txt
>>>> (so you have an offline log.txt for easy future reference)
>>>> Look through log.txt, go to early 2015 or so.
>>>> Find a revision you want to try, and switch to it and try build it. I
>>> think
>>>> it was:
>>>> svn update -r <revision>
>>>> then clean the tree and try build.
>>>>
>>>> When you find a revision that builds that way, do the equivalent of
>>>> "git
>>>> bisect" between that revision and the latest revision, ie. go to a
>>> revision
>>>> about halfway between then and now, "svn update -r ..." and build, and
>>> keep
>>>> bisecting until you find the last working revision, then post the
>>> details.
>>>>
>>>> It will probably take a long time, and a dozen or so attempted builds,
>>> but
>>>> once you find it, it should allow us to narrow down the problem and
>>> figure
>>>> out what went wrong.
>>>>
>>>> Damjan
>>>>
>>>> On Thu, Jul 20, 2017 at 11:11 AM, Matthias Seidel <
>>>> matthias.seidel@hamburg.de> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> When building trunk (on Windows) I get exactly the same errors...
>>>>>
>>>>> Branch 414 builds just fine (with Java 7):
>>>>> https://home.apache.org/~mseidel/AOO-builds/AOO-414-Test/
>>>>>
>>>>> Regards, Matthias
>>>>>
>>>>>
>>>>> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>>>>>> I’ve took another try to build OO on W7 x32
>>>>>> But got same errors, as on W8 x64
>>>>>> May be I missed some prerequisites?
>>>>>>
>>>>>> Errors are in modules gtest, xml2cmp, salhelper, udm
>>>>>> Cygwin seems to have bug on Windows as it only  shows full error
>>>>>> text
>>>>> when resized to some size… So path to missed file is not full.
>>>>>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>>>>>>
>>>>>> $ build --all:gtest
>>>>>> build -- version: 1775979
>>>>>>
>>>>>>
>>>>>> =============
>>>>>> Building module gtest
>>>>>> =============
>>>>>>
>>>>>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>>
>>>>>> mkdir: cannot create directory './wntmsci12.pro/misc/build/
>>> gtest-1.7.0/':
>>>>> File exists
>>>>>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
>>>>> gb_Deliver_deliver: file does not exist in solver, and cannot be
>>>>> deli.
>>>>> Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>>>>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/
>>>>> so_built_oo_gtest'
>>>>>> 1 module(s):
>>>>>>          gtest
>>>>>> need(s) to be rebuilt
>>>>>>
>>>>>> Reason(s):
>>>>>>
>>>>>> ERROR: error 65280 occurred while making
>>>>>> /cygdrive/c/source/aoo-trunk/
>>>>> ext_libraries/gtest
>>>>>> When you have fixed the errors in that module you can resume the
>>>>>> build
>>>>> by running:
>>>>>>          build --all:gtest
>>>>>>
>>>>>> The sal helper cannot open include file conditn.h
>>>>>>
>>>>>> =============
>>>>>> Building module salhelper
>>>>>> =============
>>>>>>
>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>>>>
>>>>>> mkout -- version: 1.8
>>>>>> Making:    all_salhelper.dpslo
>>>>>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>>>>>> Compiling: salhelper/source/condition.cxx
>>>>>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open
>>>>> include file: 'osl/conditn.h': No such file or directory
>>>>>> dmake:  Error code 2, while making
>>>>>> '../wntmsci12.pro/slo/condition.obj
>>> '
>>>>>>
>>>>>> 1 module(s):
>>>>>>          salhelper
>>>>>> need(s) to be rebuilt
>>>>>>
>>>>>> Reason(s):
>>>>>>
>>>>>> ERROR: error 65280 occurred while making
>>>>>> /cygdrive/c/source/aoo-trunk/
>>>>> main/salhelper/source
>>>>>> When you have fixed the errors in that module you can resume the
>>>>>> build
>>>>> by running:
>>>>>>          build --all:salhelper
>>>>>>
>>>>>>
>>>>>>
>>>>>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
>>>>>> Sent: Wednesday, July 19, 2017 10:51 AM
>>>>>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <
>>>>> dev@openoffice.apache.org>
>>>>>> Subject: Re[5]: Building OO
>>>>>>
>>>>>> Hello!
>>>>>>
>>>>>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>>>>> installed
>>>>>> And OO built successfully! :-)
>>>>>>
>>>>>> Now trying to do the same on W7 x32.
>>>>>>
>>>>>> As Id like to deep dive into OO development, could you please share
>>> what
>>>>> dev environment do you use on Ubuntu and on W7 (I believe, that I'll
>>>>> finally success in building OO on Windows).
>>>>>> Any thoughts on establishing dev environment will be appreciated.
>>>>>>
>>>>>> -- 
>>>>>> Fyodor
>>>>>>
>>>>>> ------ Исходное сообщение ------
>>>>>> От: "Емельяненко Федор" <fyodor_e@hotmail.com<mailto:f
>>>>> yodor_e@hotmail.com>>
>>>>>> Кому: "Damjan Jovanovic"
>>>>>> <da...@apache.org>>
>>>>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>>>>> dev@openoffice.apache.org>>
>>>>>> Отправлено: 04.07.2017 12:57:52
>>>>>> Тема: Re[4]: Building OO
>>>>>>
>>>>>> I use following config script
>>>>>>
>>>>>> ./configure \
>>>>>>     --with-frame-home="$SDK_PATH" \
>>>>>>     --with-psdk-home="$SDK_PATH" \
>>>>>>     --with-midl-path="$SDK_PATH/bin" \
>>>>>>     --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>     --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>     --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>     --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>     --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>     --with-dmake-url="https://sourceforge.net/projects/
>>>>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>>     --with-epm-url="https://sourceforge.net/projects/
>>>>> oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>>     --disable-pch \
>>>>>>     --disable-atl \
>>>>>>     --disable-activex \
>>>>>>     --disable-nss-module \
>>>>>>     --without-junit \
>>>>>>     --disable-directx
>>>>>>
>>>>>> On Windows 8.1 64 bit Hyper-v VM
>>>>>>
>>>>>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>>>>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>>>>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>>>>>
>>>>>> I've tried to rebuild with following script (full path) with no
>>>>>> success
>>>>>>
>>>>>> ./configure \
>>>>>>     --with-frame-home="$SDK_PATH" \
>>>>>>     --with-psdk-home="$SDK_PATH" \
>>>>>>     --with-midl-path="$SDK_PATH/bin" \
>>>>>>     --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>     --with-jdk-home="/cygdrive/c/Program Files
>>> (x86)/Java/jdk1.8.0_131" \
>>>>>>    
>>>>>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>>> \
>>>>>>     --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>>>>> Studio 9.0/VC" \
>>>>>>     --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft
>>>>>> Visual
>>>>> Studio 9.0/VC/bin" \
>>>>>>     --with-dmake-url="https://sourceforge.net/projects/
>>>>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>>     --with-epm-url="https://sourceforge.net/projects/
>>>>> oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>>     --disable-pch \
>>>>>>     --disable-atl \
>>>>>>     --disable-activex \
>>>>>>     --disable-nss-module \
>>>>>>     --without-junit \
>>>>>>     --disable-directx
>>>>>>
>>>>>> Now I have error on module gtest...
>>>>>>
>>>>>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/
>>>>> so_built_oo_gtest'
>>>>>> 1 module(s):
>>>>>> gtest
>>>>>> need(s) to be rebuilt
>>>>>>
>>>>>> Reason(s):
>>>>>>
>>>>>> ERROR: error 65280 occurred while making
>>>>>> /cygdrive/c/source/aoo-trunk/
>>>>> ext_libraries/gtest
>>>>>> When you have fixed the errors in that module you can resume the
>>>>>> build
>>>>> by running:
>>>>>> build --all:gtest
>>>>>>
>>>>>> ------ Исходное сообщение ------
>>>>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>>>>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
>>>>> yodor_e@hotmail.com>>
>>>>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>>>>> dev@openoffice.apache.org>>
>>>>>> Отправлено: 02.07.2017 16:46:09
>>>>>> Тема: Re: Re[2]: Building OO
>>>>>>
>>>>>> I just succeeded in building trunk with:
>>>>>> 32 bit VirtualBox VM
>>>>>> Windows XP
>>>>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>>>>> ./configure --with-frame-home="$SDK_PATH"
>>>>> --with-psdk-home="$SDK_PATH"
>>>>> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/
>>> apache-ant-1.9.6"
>>>>> --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" --enable-pch
>>>>> --disable-atl --disable-activex --with-junit="/cygdrive/c/
>>> source/junit.jar"
>>>>> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>>>>> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
>>> 9.0/VC"
>>>>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>>>>> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>>>>> --disable-directx --with-package-format="installed"
>>>>> --enable-wiki-publisher
>>>>>> Please post your full setup and build options.
>>>>>> Regards
>>>>>> Damjan
>>>>>>
>>>>>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <
>>>>> fyodor_e@hotmail.com<ma...@hotmail.com>> wrote:
>>>>>> Hello Damjan,
>>>>>>
>>>>>> I've commented out in main/udm/StaticLibrary_udm.mk
>>>>>>
>>>>>> #ifeq ($(OS),WNT)
>>>>>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>>>>> #else
>>>>>>
>>>>>> Now build stopped on xml2cmp module...
>>>>>>
>>>>>>
>>>>>>                          =============
>>>>>>                          Building module xml2cmp
>>>>>>                          =============
>>>>>>
>>>>>>                          Entering /cygdrive/c/source/aoo-trunk/
>>>>> main/xml2cmp/prj
>>>>>>                          cd .. && make -s -r -j1   && make -s -r
>>>>> deliverlog
>>>>>>                          [ info  ALL ] LinkTarget
>>>>>> Library/msvcprt.lib
>>> not
>>>>> defined: Assuming
>>>>>> headers to be there!
>>>>>>                          [ info  ALL ] LinkTarget
>>>>>> Library/kernel32.lib
>>>>> not defined: Assuming
>>>>>> headers to be there!
>>>>>>                          [ info  ALL ] LinkTarget
>>>>>> Library/msvcrt.lib not
>>>>> defined: Assuming
>>>>>> headers to be there!
>>>>>>                          [ info  ALL ] LinkTarget
>>>>>> Library/oldnames.lib
>>>>> not defined: Assuming
>>>>>> headers to be there!
>>>>>>                          [ build CXX ] xml2cmp/source/finder/dependy
>>>>>>                          dependy.cxx
>>>>>>                          [ build CXX ]
>>>>>> xml2cmp/source/finder/dep_main
>>>>>>                          dep_main.cxx
>>>>>>                          [ build CXX ] xml2cmp/source/xcd/cr_html
>>>>>>                          cr_html.cxx
>>>>>>                          [ build CXX ] xml2cmp/source/xcd/cr_index
>>>>>>                          cr_index.cxx
>>>>>>                          [ build CXX ] xml2cmp/source/xcd/cr_metho
>>>>>>                          cr_metho.cxx
>>>>>>                          [ build CXX ] xml2cmp/source/xcd/filebuff
>>>>>>                          filebuff.cxx
>>>>>>                          [ build CXX ] xml2cmp/source/xcd/parse
>>>>>>                          parse.cxx
>>>>>>                          [ build CXX ] xml2cmp/source/xcd/xmlelem
>>>>>>                          xmlelem.cxx
>>>>>>                          [ build CXX ] xml2cmp/source/xcd/xmltree
>>>>>>                          xmltree.cxx
>>>>>>                          [ build CXX ]
>>>>>> xml2cmp/source/support/cmdline
>>>>>>                          cmdline.cxx
>>>>>>                          [ build CXX ] xml2cmp/source/support/heap
>>>>>>                          heap.cxx
>>>>>>                          [ build CXX ] xml2cmp/source/support/sistr
>>>>>>                          sistr.cxx
>>>>>>                          [ build CXX ]
>>>>>> xml2cmp/source/support/syshelp
>>>>>>                          syshelp.cxx
>>>>>>                          [ build CXX ]
>>>>>> xml2cmp/source/support/badcast
>>>>>>                          badcast.cxx
>>>>>>                          [ build DEP ] LNK:Executable/srvdepy.exe
>>>>>>                          [ build CXX ] xml2cmp/source/xcd/main
>>>>>>                          main.cxx
>>>>>>                          [ build DEP ] LNK:Executable/xml2cmp.exe
>>>>>>                          ', needed by
>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>>>> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://
>>>>> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>>>>>    Stop.
>>>>>>                          dmake:  Error code 2, while making 'all'
>>>>>>
>>>>>>                          1 module(s):
>>>>>>                                  xml2cmp
>>>>>>                          need(s) to be rebuilt
>>>>>>
>>>>>>                          Reason(s):
>>>>>>
>>>>>>                          ERROR: error 65280 occurred while making
>>>>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>>>
>>>>>>                          When you have fixed the errors in that
>>>>>> module
>>>>> you can resume the
>>>>>> build by running:
>>>>>>
>>>>>>                                  build --all:xml2cmp
>>>>>>
>>>>>> ------ Исходное сообщение ------
>>>>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>>>>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
>>>>> yodor_e@hotmail.com>>
>>>>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>>>>> dev@openoffice.apache.org>>
>>>>>> Отправлено: 28.06.2017 15:07:29
>>>>>> Тема: Re: Building OO
>>>>>>
>>>>>>> Hi Fyodor
>>>>>>>
>>>>>>> The problem is almost certainly in
>>>>>>> main/udm/StaticLibrary_udm.mk
>>>>>>>
>>>>>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>>>>>
>>>>>>> I'll try build it later.
>>>>>>>
>>>>>>> Damjan
>>>>>>>
>>>>>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>>> Hi Damjan,
>>>>>>>>
>>>>>>>> I’ve got OO using svn co
>>>>>>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>>>>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a
>>>>>>>> week
>>>>>>>> ago.
>>>>>>>>
>>>>>>>> I've cd'ed to udm and tried build -all:udm
>>>>>>>>
>>>>>>>> This is output
>>>>>>>>                          Admin@shr-pc
>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>>>>>>                          $ build --all:udm
>>>>>>>>                          build -- version: 1775979
>>>>>>>>
>>>>>>>>
>>>>>>>>                          =============
>>>>>>>>                          Building module udm
>>>>>>>>                          =============
>>>>>>>>
>>>>>>>>                          Entering
>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>
>>>>>>>>                          cd .. && make -s -r -j1   && make -s -r
>>>>>>>> deliverlog
>>>>>>>>                          ', needed by
>>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>>>> workdir/CxxObject/udm/source/html/htmlitem.o<http://
>>> wntmsci12.pro/workdir/
>>>>> CxxObject/udm/source/html/htmlitem.o>
>>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o
>>>> '.
>>>>>>>>    Stop.
>>>>>>>>                          dmake:  Error code 2, while making 'all'
>>>>>>>>
>>>>>>>>                          1 module(s):
>>>>>>>>                                  udm
>>>>>>>>                          need(s) to be rebuilt
>>>>>>>>
>>>>>>>>                          Reason(s):
>>>>>>>>
>>>>>>>>                          ERROR: error 65280 occurred while making
>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>
>>>>>>>>                          When you have fixed the errors in that
>>>>>>>> module
>>>>>>>> you can resume the
>>>>>>>> build by running:
>>>>>>>>
>>>>>>>>                                  build --all:udm
>>>>>>>>
>>>>>>>>
>>>>>>>> I think I need to deep dive into dmake, so I'll be able to trace
>>> build
>>>>>>>> and link processes and find what exactly done on udm module. So
>>>>>>>> I'll
>>>>>>>> appreciate reference to information on dmake.
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Fyodor
>>>>>>>>
>>>>>>>>
>>>>>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<mailto:
>>>>> damjan@apache.org>]
>>>>>>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>>>>>>> To: Apache OO <dev@openoffice.apache.org<mailto:
>>> dev@openoffice.apache.
>>>>> org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>>>>>>> Subject: Re: Building OO
>>>>>>>>
>>>>>>>> Hi Fyodor
>>>>>>>> Welcome to AOO :).
>>>>>>>> What version are you building?
>>>>>>>> Can you "cd" into the udm directory, and post the full output of
>>>>>>>> "build"
>>>>>>>> run from there?
>>>>>>>> Thank you
>>>>>>>> Damjan
>>>>>>>>
>>>>>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>>> =============
>>>>>>>> Building module udm
>>>>>>>> =============
>>>>>>>>
>>>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>> Hello!
>>>>>>>>
>>>>>>>> I'm newbie in OO development, and as New Volunteer Orientation
>>>>>>>> module
>>>>>>>> suggests, I've established local build env, and try to build OO.
>>>>>>>> I've installed required prerequisites from Building Guide
>>>>>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>>>>>>
>>>>>>>> and
>>>>>>>> started to build with this command
>>>>>>>>
>>>>>>>> ./configure \
>>>>>>>>       --with-frame-home="$SDK_PATH" \
>>>>>>>>       --with-psdk-home="$SDK_PATH" \
>>>>>>>>       --with-midl-path="$SDK_PATH/bin" \
>>>>>>>>       --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>>>       --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>>>       --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>>>       --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>>>       --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>>>
>>>>>>>> --with-dmake-url="https://sourceforge.net/projects/
>>>>> oooextras.mirror/files/dmake-4.12.tar.bz2
>>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/
>>>>> files/dmake-4.12.tar.bz2>"
>>>>>>>> \
>>>>>>>>
>>>>>>>> --with-epm-url="https://sourceforge.net/projects/
>>>>> oooextras.mirror/files/epm-3.7.tar.gz
>>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/
>>>>> files/epm-3.7.tar.gz>"
>>>>>>>> \
>>>>>>>>       --disable-pch \
>>>>>>>>       --disable-atl \
>>>>>>>>       --disable-activex \
>>>>>>>>       --disable-nss-module \
>>>>>>>>       --without-junit \
>>>>>>>>       --disable-directx
>>>>>>>>
>>>>>>>> There are some modules built successfully, but built stop on UDM
>>>>>>>> module
>>>>>>>> with following error
>>>>>>>>
>>>>>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>>>>> [ build CXX ] udm/source/html/htmlitem
>>>>>>>> htmlitem.cxx
>>>>>>>> [ build CXX ] udm/source/xml/xmlitem
>>>>>>>> xmlitem.cxx
>>>>>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>>>>>>> [ build PKG ] udm_inc
>>>>>>>> ', needed by
>>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>>>> workdir/CxxObject/udm/source/html/htmlitem.o<http://
>>> wntmsci12.pro/workdir/
>>>>> CxxObject/udm/source/html/htmlitem.o>
>>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o
>>>> '.
>>>>>>>>    Stop.
>>>>>>>> dmake:  Error code 2, while making 'all'
>>>>>>>>
>>>>>>>> 1 module(s):
>>>>>>>>           udm
>>>>>>>> need(s) to be rebuilt
>>>>>>>>
>>>>>>>> Reason(s):
>>>>>>>>
>>>>>>>> ERROR: error 65280 occurred while making
>>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>>
>>>>>>>> When you have fixed the errors in that module you can resume the
>>> build
>>>>>>>> by running:
>>>>>>>>
>>>>>>>>           build --all:udm
>>>>>>>>
>>>>>>>> I'm not professional with dmake (yet), so any help would be
>>>>>>>> appreciated.
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Fyodor
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------
>>> ---------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>> <mailto:
>>>>> dev-unsubscribe@openoffice.apache.org>
>>>>>>>> <mailto:dev-unsubscribe@openoffice.apache.org<mailto:d
>>>>> ev-unsubscribe@openoffice.apache.org>>
>>>>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>>> <ma...@openoffice.apache.org>
>>>>>
>>>>>
>>>
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>



Re: Building OO

Posted by Patricia Shanahan <pa...@acm.org>.
As another data point, I just did a clean checkout of the trunk and 
built it on Windows 8.1. Here are my configure parameters:

SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
./configure \
          --enable-symbols \
          --disable-strip-solver \
     --with-frame-home="$SDK_PATH" \
     --with-psdk-home="$SDK_PATH" \
     --with-midl-path="$SDK_PATH/bin" \
     --disable-directx \
     --with-ant-home="/cygdrive/c/ant" \
 
--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" 
\
 
--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" 
\
     --disable-pch \
     --disable-atl \
     --disable-activex \
     --without-junit \
         --with-package-format="archive installed" \
     --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.7.0_79"

Two lines, --enable-symbols and --disable-strip-solver, are related to 
doing debug builds.


On 7/20/2017 3:35 AM, Damjan Jovanovic wrote:
> Hi Matthias
> 
> As I posted earlier in this thread, this is how I build it:
> 32 bit VirtualBox VM
> Windows XP
> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6"
> --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" --enable-pch --disable-atl
> --disable-activex --with-junit="/cygdrive/c/source/junit.jar"
> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC"
> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx
> --with-package-format="installed" --enable-wiki-publisher
> 
> Please let us know what you find.
> 
> Regards
> Damjan
> 
> On Thu, Jul 20, 2017 at 12:26 PM, Matthias Seidel <
> matthias.seidel@hamburg.de> wrote:
> 
>> Hi Damjan,
>>
>> Since I am not the only one with these errors, wouldn't it be easier if
>> you tell us your configuration and let us see what is different?
>> I know the Windows buildbot could build from trunk (when it was
>> functional) , but I see no real difference in the configuration.
>>
>> I think we are all following the steps described here:
>>
>> https://wiki.openoffice.org/wiki/Documentation/Building_
>> Guide_AOO/Step_by_step#Windows_7.2C_Windows_8.1.2C_Windows_10
>>
>> If you do something different, could you update the Wiki?
>>
>> Regards, Matthias
>>
>>
>> Am 20.07.2017 um 12:13 schrieb Damjan Jovanovic:
>>> Since I am the main gbuild developer and Windows always builds for me,
>> and
>>> I cannot reproduce your problem, I only see the following solution.
>>>
>>> svn log -v > /path/to/log.txt
>>> (so you have an offline log.txt for easy future reference)
>>> Look through log.txt, go to early 2015 or so.
>>> Find a revision you want to try, and switch to it and try build it. I
>> think
>>> it was:
>>> svn update -r <revision>
>>> then clean the tree and try build.
>>>
>>> When you find a revision that builds that way, do the equivalent of "git
>>> bisect" between that revision and the latest revision, ie. go to a
>> revision
>>> about halfway between then and now, "svn update -r ..." and build, and
>> keep
>>> bisecting until you find the last working revision, then post the
>> details.
>>>
>>> It will probably take a long time, and a dozen or so attempted builds,
>> but
>>> once you find it, it should allow us to narrow down the problem and
>> figure
>>> out what went wrong.
>>>
>>> Damjan
>>>
>>> On Thu, Jul 20, 2017 at 11:11 AM, Matthias Seidel <
>>> matthias.seidel@hamburg.de> wrote:
>>>
>>>> Hi,
>>>>
>>>> When building trunk (on Windows) I get exactly the same errors...
>>>>
>>>> Branch 414 builds just fine (with Java 7):
>>>> https://home.apache.org/~mseidel/AOO-builds/AOO-414-Test/
>>>>
>>>> Regards, Matthias
>>>>
>>>>
>>>> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>>>>> I’ve took another try to build OO on W7 x32
>>>>> But got same errors, as on W8 x64
>>>>> May be I missed some prerequisites?
>>>>>
>>>>> Errors are in modules gtest, xml2cmp, salhelper, udm
>>>>> Cygwin seems to have bug on Windows as it only  shows full error text
>>>> when resized to some size… So path to missed file is not full.
>>>>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>>>>>
>>>>> $ build --all:gtest
>>>>> build -- version: 1775979
>>>>>
>>>>>
>>>>> =============
>>>>> Building module gtest
>>>>> =============
>>>>>
>>>>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>>>
>>>>> mkdir: cannot create directory './wntmsci12.pro/misc/build/
>> gtest-1.7.0/':
>>>> File exists
>>>>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
>>>> gb_Deliver_deliver: file does not exist in solver, and cannot be deli.
>>>> Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>>>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/
>>>> so_built_oo_gtest'
>>>>> 1 module(s):
>>>>>          gtest
>>>>> need(s) to be rebuilt
>>>>>
>>>>> Reason(s):
>>>>>
>>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
>>>> ext_libraries/gtest
>>>>> When you have fixed the errors in that module you can resume the build
>>>> by running:
>>>>>          build --all:gtest
>>>>>
>>>>> The sal helper cannot open include file conditn.h
>>>>>
>>>>> =============
>>>>> Building module salhelper
>>>>> =============
>>>>>
>>>>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>>>
>>>>> mkout -- version: 1.8
>>>>> Making:    all_salhelper.dpslo
>>>>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>>>>> Compiling: salhelper/source/condition.cxx
>>>>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open
>>>> include file: 'osl/conditn.h': No such file or directory
>>>>> dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj
>> '
>>>>>
>>>>> 1 module(s):
>>>>>          salhelper
>>>>> need(s) to be rebuilt
>>>>>
>>>>> Reason(s):
>>>>>
>>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
>>>> main/salhelper/source
>>>>> When you have fixed the errors in that module you can resume the build
>>>> by running:
>>>>>          build --all:salhelper
>>>>>
>>>>>
>>>>>
>>>>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
>>>>> Sent: Wednesday, July 19, 2017 10:51 AM
>>>>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <
>>>> dev@openoffice.apache.org>
>>>>> Subject: Re[5]: Building OO
>>>>>
>>>>> Hello!
>>>>>
>>>>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>>>> installed
>>>>> And OO built successfully! :-)
>>>>>
>>>>> Now trying to do the same on W7 x32.
>>>>>
>>>>> As Id like to deep dive into OO development, could you please share
>> what
>>>> dev environment do you use on Ubuntu and on W7 (I believe, that I'll
>>>> finally success in building OO on Windows).
>>>>> Any thoughts on establishing dev environment will be appreciated.
>>>>>
>>>>> --
>>>>> Fyodor
>>>>>
>>>>> ------ Исходное сообщение ------
>>>>> От: "Емельяненко Федор" <fyodor_e@hotmail.com<mailto:f
>>>> yodor_e@hotmail.com>>
>>>>> Кому: "Damjan Jovanovic" <da...@apache.org>>
>>>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>>>> dev@openoffice.apache.org>>
>>>>> Отправлено: 04.07.2017 12:57:52
>>>>> Тема: Re[4]: Building OO
>>>>>
>>>>> I use following config script
>>>>>
>>>>> ./configure \
>>>>>     --with-frame-home="$SDK_PATH" \
>>>>>     --with-psdk-home="$SDK_PATH" \
>>>>>     --with-midl-path="$SDK_PATH/bin" \
>>>>>     --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>     --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>     --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>     --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>     --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>     --with-dmake-url="https://sourceforge.net/projects/
>>>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>     --with-epm-url="https://sourceforge.net/projects/
>>>> oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>     --disable-pch \
>>>>>     --disable-atl \
>>>>>     --disable-activex \
>>>>>     --disable-nss-module \
>>>>>     --without-junit \
>>>>>     --disable-directx
>>>>>
>>>>> On Windows 8.1 64 bit Hyper-v VM
>>>>>
>>>>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>>>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>>>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>>>>
>>>>> I've tried to rebuild with following script (full path) with no success
>>>>>
>>>>> ./configure \
>>>>>     --with-frame-home="$SDK_PATH" \
>>>>>     --with-psdk-home="$SDK_PATH" \
>>>>>     --with-midl-path="$SDK_PATH/bin" \
>>>>>     --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>     --with-jdk-home="/cygdrive/c/Program Files
>> (x86)/Java/jdk1.8.0_131" \
>>>>>     --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>> \
>>>>>     --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>>>> Studio 9.0/VC" \
>>>>>     --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>>>> Studio 9.0/VC/bin" \
>>>>>     --with-dmake-url="https://sourceforge.net/projects/
>>>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>>>     --with-epm-url="https://sourceforge.net/projects/
>>>> oooextras.mirror/files/epm-3.7.tar.gz" \
>>>>>     --disable-pch \
>>>>>     --disable-atl \
>>>>>     --disable-activex \
>>>>>     --disable-nss-module \
>>>>>     --without-junit \
>>>>>     --disable-directx
>>>>>
>>>>> Now I have error on module gtest...
>>>>>
>>>>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/
>>>> so_built_oo_gtest'
>>>>> 1 module(s):
>>>>> gtest
>>>>> need(s) to be rebuilt
>>>>>
>>>>> Reason(s):
>>>>>
>>>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
>>>> ext_libraries/gtest
>>>>> When you have fixed the errors in that module you can resume the build
>>>> by running:
>>>>> build --all:gtest
>>>>>
>>>>> ------ Исходное сообщение ------
>>>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>>>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
>>>> yodor_e@hotmail.com>>
>>>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>>>> dev@openoffice.apache.org>>
>>>>> Отправлено: 02.07.2017 16:46:09
>>>>> Тема: Re: Re[2]: Building OO
>>>>>
>>>>> I just succeeded in building trunk with:
>>>>> 32 bit VirtualBox VM
>>>>> Windows XP
>>>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>>>> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
>>>> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/
>> apache-ant-1.9.6"
>>>> --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" --enable-pch
>>>> --disable-atl --disable-activex --with-junit="/cygdrive/c/
>> source/junit.jar"
>>>> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>>>> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
>> 9.0/VC"
>>>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>>>> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>>>> --disable-directx --with-package-format="installed"
>>>> --enable-wiki-publisher
>>>>> Please post your full setup and build options.
>>>>> Regards
>>>>> Damjan
>>>>>
>>>>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <
>>>> fyodor_e@hotmail.com<ma...@hotmail.com>> wrote:
>>>>> Hello Damjan,
>>>>>
>>>>> I've commented out in main/udm/StaticLibrary_udm.mk
>>>>>
>>>>> #ifeq ($(OS),WNT)
>>>>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>>>> #else
>>>>>
>>>>> Now build stopped on xml2cmp module...
>>>>>
>>>>>
>>>>>                          =============
>>>>>                          Building module xml2cmp
>>>>>                          =============
>>>>>
>>>>>                          Entering /cygdrive/c/source/aoo-trunk/
>>>> main/xml2cmp/prj
>>>>>                          cd .. && make -s -r -j1   && make -s -r
>>>> deliverlog
>>>>>                          [ info  ALL ] LinkTarget Library/msvcprt.lib
>> not
>>>> defined: Assuming
>>>>> headers to be there!
>>>>>                          [ info  ALL ] LinkTarget Library/kernel32.lib
>>>> not defined: Assuming
>>>>> headers to be there!
>>>>>                          [ info  ALL ] LinkTarget Library/msvcrt.lib not
>>>> defined: Assuming
>>>>> headers to be there!
>>>>>                          [ info  ALL ] LinkTarget Library/oldnames.lib
>>>> not defined: Assuming
>>>>> headers to be there!
>>>>>                          [ build CXX ] xml2cmp/source/finder/dependy
>>>>>                          dependy.cxx
>>>>>                          [ build CXX ] xml2cmp/source/finder/dep_main
>>>>>                          dep_main.cxx
>>>>>                          [ build CXX ] xml2cmp/source/xcd/cr_html
>>>>>                          cr_html.cxx
>>>>>                          [ build CXX ] xml2cmp/source/xcd/cr_index
>>>>>                          cr_index.cxx
>>>>>                          [ build CXX ] xml2cmp/source/xcd/cr_metho
>>>>>                          cr_metho.cxx
>>>>>                          [ build CXX ] xml2cmp/source/xcd/filebuff
>>>>>                          filebuff.cxx
>>>>>                          [ build CXX ] xml2cmp/source/xcd/parse
>>>>>                          parse.cxx
>>>>>                          [ build CXX ] xml2cmp/source/xcd/xmlelem
>>>>>                          xmlelem.cxx
>>>>>                          [ build CXX ] xml2cmp/source/xcd/xmltree
>>>>>                          xmltree.cxx
>>>>>                          [ build CXX ] xml2cmp/source/support/cmdline
>>>>>                          cmdline.cxx
>>>>>                          [ build CXX ] xml2cmp/source/support/heap
>>>>>                          heap.cxx
>>>>>                          [ build CXX ] xml2cmp/source/support/sistr
>>>>>                          sistr.cxx
>>>>>                          [ build CXX ] xml2cmp/source/support/syshelp
>>>>>                          syshelp.cxx
>>>>>                          [ build CXX ] xml2cmp/source/support/badcast
>>>>>                          badcast.cxx
>>>>>                          [ build DEP ] LNK:Executable/srvdepy.exe
>>>>>                          [ build CXX ] xml2cmp/source/xcd/main
>>>>>                          main.cxx
>>>>>                          [ build DEP ] LNK:Executable/xml2cmp.exe
>>>>>                          ', needed by
>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>>> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://
>>>> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>>>>    Stop.
>>>>>                          dmake:  Error code 2, while making 'all'
>>>>>
>>>>>                          1 module(s):
>>>>>                                  xml2cmp
>>>>>                          need(s) to be rebuilt
>>>>>
>>>>>                          Reason(s):
>>>>>
>>>>>                          ERROR: error 65280 occurred while making
>>>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>>>
>>>>>                          When you have fixed the errors in that module
>>>> you can resume the
>>>>> build by running:
>>>>>
>>>>>                                  build --all:xml2cmp
>>>>>
>>>>> ------ Исходное сообщение ------
>>>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>>>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
>>>> yodor_e@hotmail.com>>
>>>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>>>> dev@openoffice.apache.org>>
>>>>> Отправлено: 28.06.2017 15:07:29
>>>>> Тема: Re: Building OO
>>>>>
>>>>>> Hi Fyodor
>>>>>>
>>>>>> The problem is almost certainly in
>>>>>> main/udm/StaticLibrary_udm.mk
>>>>>>
>>>>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>>>>
>>>>>> I'll try build it later.
>>>>>>
>>>>>> Damjan
>>>>>>
>>>>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>> Hi Damjan,
>>>>>>>
>>>>>>> I’ve got OO using svn co
>>>>>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>>>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>>>>>> ago.
>>>>>>>
>>>>>>> I've cd'ed to udm and tried build -all:udm
>>>>>>>
>>>>>>> This is output
>>>>>>>                          Admin@shr-pc
>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>>>>>                          $ build --all:udm
>>>>>>>                          build -- version: 1775979
>>>>>>>
>>>>>>>
>>>>>>>                          =============
>>>>>>>                          Building module udm
>>>>>>>                          =============
>>>>>>>
>>>>>>>                          Entering
>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>
>>>>>>>                          cd .. && make -s -r -j1   && make -s -r
>>>>>>> deliverlog
>>>>>>>                          ', needed by
>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>>> workdir/CxxObject/udm/source/html/htmlitem.o<http://
>> wntmsci12.pro/workdir/
>>>> CxxObject/udm/source/html/htmlitem.o>
>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o
>>> '.
>>>>>>>    Stop.
>>>>>>>                          dmake:  Error code 2, while making 'all'
>>>>>>>
>>>>>>>                          1 module(s):
>>>>>>>                                  udm
>>>>>>>                          need(s) to be rebuilt
>>>>>>>
>>>>>>>                          Reason(s):
>>>>>>>
>>>>>>>                          ERROR: error 65280 occurred while making
>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>
>>>>>>>                          When you have fixed the errors in that module
>>>>>>> you can resume the
>>>>>>> build by running:
>>>>>>>
>>>>>>>                                  build --all:udm
>>>>>>>
>>>>>>>
>>>>>>> I think I need to deep dive into dmake, so I'll be able to trace
>> build
>>>>>>> and link processes and find what exactly done on udm module. So I'll
>>>>>>> appreciate reference to information on dmake.
>>>>>>>
>>>>>>> --
>>>>>>> Fyodor
>>>>>>>
>>>>>>>
>>>>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<mailto:
>>>> damjan@apache.org>]
>>>>>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>>>>>> To: Apache OO <dev@openoffice.apache.org<mailto:
>> dev@openoffice.apache.
>>>> org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>>>>>> Subject: Re: Building OO
>>>>>>>
>>>>>>> Hi Fyodor
>>>>>>> Welcome to AOO :).
>>>>>>> What version are you building?
>>>>>>> Can you "cd" into the udm directory, and post the full output of
>>>>>>> "build"
>>>>>>> run from there?
>>>>>>> Thank you
>>>>>>> Damjan
>>>>>>>
>>>>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>>>>> <fy...@hotmail.com>> wrote:
>>>>>>> =============
>>>>>>> Building module udm
>>>>>>> =============
>>>>>>>
>>>>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>> Hello!
>>>>>>>
>>>>>>> I'm newbie in OO development, and as New Volunteer Orientation module
>>>>>>> suggests, I've established local build env, and try to build OO.
>>>>>>> I've installed required prerequisites from Building Guide
>>>>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>>>>> and
>>>>>>> started to build with this command
>>>>>>>
>>>>>>> ./configure \
>>>>>>>       --with-frame-home="$SDK_PATH" \
>>>>>>>       --with-psdk-home="$SDK_PATH" \
>>>>>>>       --with-midl-path="$SDK_PATH/bin" \
>>>>>>>       --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>>>       --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>>>       --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>>>       --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>>>       --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>>>
>>>>>>> --with-dmake-url="https://sourceforge.net/projects/
>>>> oooextras.mirror/files/dmake-4.12.tar.bz2
>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/
>>>> files/dmake-4.12.tar.bz2>"
>>>>>>> \
>>>>>>>
>>>>>>> --with-epm-url="https://sourceforge.net/projects/
>>>> oooextras.mirror/files/epm-3.7.tar.gz
>>>>>>> <https://sourceforge.net/projects/oooextras.mirror/
>>>> files/epm-3.7.tar.gz>"
>>>>>>> \
>>>>>>>       --disable-pch \
>>>>>>>       --disable-atl \
>>>>>>>       --disable-activex \
>>>>>>>       --disable-nss-module \
>>>>>>>       --without-junit \
>>>>>>>       --disable-directx
>>>>>>>
>>>>>>> There are some modules built successfully, but built stop on UDM
>>>>>>> module
>>>>>>> with following error
>>>>>>>
>>>>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>>>> [ build CXX ] udm/source/html/htmlitem
>>>>>>> htmlitem.cxx
>>>>>>> [ build CXX ] udm/source/xml/xmlitem
>>>>>>> xmlitem.cxx
>>>>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>>>>>> [ build PKG ] udm_inc
>>>>>>> ', needed by
>>>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>>>> workdir/CxxObject/udm/source/html/htmlitem.o<http://
>> wntmsci12.pro/workdir/
>>>> CxxObject/udm/source/html/htmlitem.o>
>>>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o
>>> '.
>>>>>>>    Stop.
>>>>>>> dmake:  Error code 2, while making 'all'
>>>>>>>
>>>>>>> 1 module(s):
>>>>>>>           udm
>>>>>>> need(s) to be rebuilt
>>>>>>>
>>>>>>> Reason(s):
>>>>>>>
>>>>>>> ERROR: error 65280 occurred while making
>>>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>>>
>>>>>>> When you have fixed the errors in that module you can resume the
>> build
>>>>>>> by running:
>>>>>>>
>>>>>>>           build --all:udm
>>>>>>>
>>>>>>> I'm not professional with dmake (yet), so any help would be
>>>>>>> appreciated.
>>>>>>>
>>>>>>> --
>>>>>>> Fyodor
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------
>> ---------
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> <mailto:
>>>> dev-unsubscribe@openoffice.apache.org>
>>>>>>> <mailto:dev-unsubscribe@openoffice.apache.org<mailto:d
>>>> ev-unsubscribe@openoffice.apache.org>>
>>>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>> <ma...@openoffice.apache.org>
>>>>
>>>>
>>
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


RE: Building OO

Posted by Yemelyanenko Fyodor <fy...@hotmail.com>.
I also tried to build it with almost the same config as Damjan has.

SDK_PATH="/cygdrive/c/W7sdk/v7.0"

./configure \
--with-frame-home="$SDK_PATH" \
--with-psdk-home="$SDK_PATH" \
--with-midl-path="$SDK_PATH/bin" \
--with-ant-home="/cygdrive/c/ant" \
--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" \
--enable-pch \
--disable-atl \
--disable-activex \
--with-junit="/cygdrive/c/source/junit-4.12.jar" \
--with-hamcrest-core="/cygdrive/c/source/hamcrest-core-1.3.jar" \
--with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" \
--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
--with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.8.0_131" \
--disable-directx \
--with-package-format="installed" \
--enable-wiki-publisher

I have ant 1.10.1 and newer JDK from Oracle website.
I'll try to remove 1.8 JDK and install 1.7 JDK to make my config even more closer to one, which builds successfully.
I think I misconfigured some prerequisite, and this is not error in code.

-----Original Message-----
From: Damjan Jovanovic [mailto:damjan@apache.org] 
Sent: Thursday, July 20, 2017 8:35 PM
To: Apache OO <de...@openoffice.apache.org>
Subject: Re: Building OO

Hi Matthias

As I posted earlier in this thread, this is how I build it:
32 bit VirtualBox VM
Windows XP
SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
--with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6"
--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" --enable-pch --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar"
--with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
--with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC"
--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
--with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx --with-package-format="installed" --enable-wiki-publisher

Please let us know what you find.

Regards
Damjan

On Thu, Jul 20, 2017 at 12:26 PM, Matthias Seidel < matthias.seidel@hamburg.de> wrote:

> Hi Damjan,
>
> Since I am not the only one with these errors, wouldn't it be easier 
> if you tell us your configuration and let us see what is different?
> I know the Windows buildbot could build from trunk (when it was
> functional) , but I see no real difference in the configuration.
>
> I think we are all following the steps described here:
>
> https://wiki.openoffice.org/wiki/Documentation/Building_
> Guide_AOO/Step_by_step#Windows_7.2C_Windows_8.1.2C_Windows_10
>
> If you do something different, could you update the Wiki?
>
> Regards, Matthias
>
>
> Am 20.07.2017 um 12:13 schrieb Damjan Jovanovic:
> > Since I am the main gbuild developer and Windows always builds for 
> > me,
> and
> > I cannot reproduce your problem, I only see the following solution.
> >
> > svn log -v > /path/to/log.txt
> > (so you have an offline log.txt for easy future reference) Look 
> > through log.txt, go to early 2015 or so.
> > Find a revision you want to try, and switch to it and try build it. 
> > I
> think
> > it was:
> > svn update -r <revision>
> > then clean the tree and try build.
> >
> > When you find a revision that builds that way, do the equivalent of 
> > "git bisect" between that revision and the latest revision, ie. go 
> > to a
> revision
> > about halfway between then and now, "svn update -r ..." and build, 
> > and
> keep
> > bisecting until you find the last working revision, then post the
> details.
> >
> > It will probably take a long time, and a dozen or so attempted 
> > builds,
> but
> > once you find it, it should allow us to narrow down the problem and
> figure
> > out what went wrong.
> >
> > Damjan
> >
> > On Thu, Jul 20, 2017 at 11:11 AM, Matthias Seidel < 
> > matthias.seidel@hamburg.de> wrote:
> >
> >> Hi,
> >>
> >> When building trunk (on Windows) I get exactly the same errors...
> >>
> >> Branch 414 builds just fine (with Java 7):
> >> https://home.apache.org/~mseidel/AOO-builds/AOO-414-Test/
> >>
> >> Regards, Matthias
> >>
> >>
> >> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
> >>> I’ve took another try to build OO on W7 x32 But got same errors, 
> >>> as on W8 x64 May be I missed some prerequisites?
> >>>
> >>> Errors are in modules gtest, xml2cmp, salhelper, udm Cygwin seems 
> >>> to have bug on Windows as it only  shows full error text
> >> when resized to some size… So path to missed file is not full.
> >>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
> >>>
> >>> $ build --all:gtest
> >>> build -- version: 1775979
> >>>
> >>>
> >>> =============
> >>> Building module gtest
> >>> =============
> >>>
> >>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
> >>>
> >>> mkdir: cannot create directory './wntmsci12.pro/misc/build/
> gtest-1.7.0/':
> >> File exists
> >>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
> >> gb_Deliver_deliver: file does not exist in solver, and cannot be deli.
> >> Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
> >>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/
> >> so_built_oo_gtest'
> >>> 1 module(s):
> >>>         gtest
> >>> need(s) to be rebuilt
> >>>
> >>> Reason(s):
> >>>
> >>> ERROR: error 65280 occurred while making 
> >>> /cygdrive/c/source/aoo-trunk/
> >> ext_libraries/gtest
> >>> When you have fixed the errors in that module you can resume the 
> >>> build
> >> by running:
> >>>         build --all:gtest
> >>>
> >>> The sal helper cannot open include file conditn.h
> >>>
> >>> =============
> >>> Building module salhelper
> >>> =============
> >>>
> >>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
> >>>
> >>> mkout -- version: 1.8
> >>> Making:    all_salhelper.dpslo
> >>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
> >>> Compiling: salhelper/source/condition.cxx
> >>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot 
> >>> open
> >> include file: 'osl/conditn.h': No such file or directory
> >>> dmake:  Error code 2, while making 
> >>> '../wntmsci12.pro/slo/condition.obj
> '
> >>>
> >>> 1 module(s):
> >>>         salhelper
> >>> need(s) to be rebuilt
> >>>
> >>> Reason(s):
> >>>
> >>> ERROR: error 65280 occurred while making 
> >>> /cygdrive/c/source/aoo-trunk/
> >> main/salhelper/source
> >>> When you have fixed the errors in that module you can resume the 
> >>> build
> >> by running:
> >>>         build --all:salhelper
> >>>
> >>>
> >>>
> >>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
> >>> Sent: Wednesday, July 19, 2017 10:51 AM
> >>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <
> >> dev@openoffice.apache.org>
> >>> Subject: Re[5]: Building OO
> >>>
> >>> Hello!
> >>>
> >>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
> >> installed
> >>> And OO built successfully! :-)
> >>>
> >>> Now trying to do the same on W7 x32.
> >>>
> >>> As Id like to deep dive into OO development, could you please 
> >>> share
> what
> >> dev environment do you use on Ubuntu and on W7 (I believe, that 
> >> I'll finally success in building OO on Windows).
> >>> Any thoughts on establishing dev environment will be appreciated.
> >>>
> >>> --
> >>> Fyodor
> >>>
> >>> ------ Исходное сообщение ------
> >>> От: "Емельяненко Федор" <fyodor_e@hotmail.com<mailto:f
> >> yodor_e@hotmail.com>>
> >>> Кому: "Damjan Jovanovic" 
> >>> <da...@apache.org>>
> >>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
> >> dev@openoffice.apache.org>>
> >>> Отправлено: 04.07.2017 12:57:52
> >>> Тема: Re[4]: Building OO
> >>>
> >>> I use following config script
> >>>
> >>> ./configure \
> >>>    --with-frame-home="$SDK_PATH" \
> >>>    --with-psdk-home="$SDK_PATH" \
> >>>    --with-midl-path="$SDK_PATH/bin" \
> >>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
> >>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
> >>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
> >>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
> >>>    --with-dmake-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/dmake-4.12.tar.bz2" \
> >>>    --with-epm-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/epm-3.7.tar.gz" \
> >>>    --disable-pch \
> >>>    --disable-atl \
> >>>    --disable-activex \
> >>>    --disable-nss-module \
> >>>    --without-junit \
> >>>    --disable-directx
> >>>
> >>> On Windows 8.1 64 bit Hyper-v VM
> >>>
> >>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131 CL home 
> >>> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC Asm home 
> >>> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
> >>>
> >>> I've tried to rebuild with following script (full path) with no 
> >>> success
> >>>
> >>> ./configure \
> >>>    --with-frame-home="$SDK_PATH" \
> >>>    --with-psdk-home="$SDK_PATH" \
> >>>    --with-midl-path="$SDK_PATH/bin" \
> >>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >>>    --with-jdk-home="/cygdrive/c/Program Files
> (x86)/Java/jdk1.8.0_131" \
> >>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
> \
> >>>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft 
> >>> Visual
> >> Studio 9.0/VC" \
> >>>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft 
> >>> Visual
> >> Studio 9.0/VC/bin" \
> >>>    --with-dmake-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/dmake-4.12.tar.bz2" \
> >>>    --with-epm-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/epm-3.7.tar.gz" \
> >>>    --disable-pch \
> >>>    --disable-atl \
> >>>    --disable-activex \
> >>>    --disable-nss-module \
> >>>    --without-junit \
> >>>    --disable-directx
> >>>
> >>> Now I have error on module gtest...
> >>>
> >>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/
> >> so_built_oo_gtest'
> >>> 1 module(s):
> >>> gtest
> >>> need(s) to be rebuilt
> >>>
> >>> Reason(s):
> >>>
> >>> ERROR: error 65280 occurred while making 
> >>> /cygdrive/c/source/aoo-trunk/
> >> ext_libraries/gtest
> >>> When you have fixed the errors in that module you can resume the 
> >>> build
> >> by running:
> >>> build --all:gtest
> >>>
> >>> ------ Исходное сообщение ------
> >>> От: "Damjan Jovanovic" 
> >>> <da...@apache.org>>
> >>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
> >> yodor_e@hotmail.com>>
> >>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
> >> dev@openoffice.apache.org>>
> >>> Отправлено: 02.07.2017 16:46:09
> >>> Тема: Re: Re[2]: Building OO
> >>>
> >>> I just succeeded in building trunk with:
> >>> 32 bit VirtualBox VM
> >>> Windows XP
> >>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
> >> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
> >> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/
> apache-ant-1.9.6"
> >> --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" --enable-pch 
> >> --disable-atl --disable-activex --with-junit="/cygdrive/c/
> source/junit.jar"
> >> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
> >> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
> 9.0/VC"
> >> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
> >> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
> >> --disable-directx --with-package-format="installed"
> >> --enable-wiki-publisher
> >>> Please post your full setup and build options.
> >>> Regards
> >>> Damjan
> >>>
> >>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <
> >> fyodor_e@hotmail.com<ma...@hotmail.com>> wrote:
> >>> Hello Damjan,
> >>>
> >>> I've commented out in main/udm/StaticLibrary_udm.mk
> >>>
> >>> #ifeq ($(OS),WNT)
> >>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
> >>> #else
> >>>
> >>> Now build stopped on xml2cmp module...
> >>>
> >>>
> >>>                         =============
> >>>                         Building module xml2cmp
> >>>                         =============
> >>>
> >>>                         Entering /cygdrive/c/source/aoo-trunk/
> >> main/xml2cmp/prj
> >>>                         cd .. && make -s -r -j1   && make -s -r
> >> deliverlog
> >>>                         [ info  ALL ] LinkTarget 
> >>> Library/msvcprt.lib
> not
> >> defined: Assuming
> >>> headers to be there!
> >>>                         [ info  ALL ] LinkTarget 
> >>> Library/kernel32.lib
> >> not defined: Assuming
> >>> headers to be there!
> >>>                         [ info  ALL ] LinkTarget 
> >>> Library/msvcrt.lib not
> >> defined: Assuming
> >>> headers to be there!
> >>>                         [ info  ALL ] LinkTarget 
> >>> Library/oldnames.lib
> >> not defined: Assuming
> >>> headers to be there!
> >>>                         [ build CXX ] xml2cmp/source/finder/dependy
> >>>                         dependy.cxx
> >>>                         [ build CXX ] xml2cmp/source/finder/dep_main
> >>>                         dep_main.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
> >>>                         cr_html.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
> >>>                         cr_index.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
> >>>                         cr_metho.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
> >>>                         filebuff.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/parse
> >>>                         parse.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
> >>>                         xmlelem.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
> >>>                         xmltree.cxx
> >>>                         [ build CXX ] xml2cmp/source/support/cmdline
> >>>                         cmdline.cxx
> >>>                         [ build CXX ] xml2cmp/source/support/heap
> >>>                         heap.cxx
> >>>                         [ build CXX ] xml2cmp/source/support/sistr
> >>>                         sistr.cxx
> >>>                         [ build CXX ] xml2cmp/source/support/syshelp
> >>>                         syshelp.cxx
> >>>                         [ build CXX ] xml2cmp/source/support/badcast
> >>>                         badcast.cxx
> >>>                         [ build DEP ] LNK:Executable/srvdepy.exe
> >>>                         [ build CXX ] xml2cmp/source/xcd/main
> >>>                         main.cxx
> >>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
> >>>                         ', needed by 
> >>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> >> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://
> >> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
> >>>   Stop.
> >>>                         dmake:  Error code 2, while making 'all'
> >>>
> >>>                         1 module(s):
> >>>                                 xml2cmp
> >>>                         need(s) to be rebuilt
> >>>
> >>>                         Reason(s):
> >>>
> >>>                         ERROR: error 65280 occurred while making 
> >>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
> >>>
> >>>                         When you have fixed the errors in that 
> >>> module
> >> you can resume the
> >>> build by running:
> >>>
> >>>                                 build --all:xml2cmp
> >>>
> >>> ------ Исходное сообщение ------
> >>> От: "Damjan Jovanovic" 
> >>> <da...@apache.org>>
> >>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
> >> yodor_e@hotmail.com>>
> >>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
> >> dev@openoffice.apache.org>>
> >>> Отправлено: 28.06.2017 15:07:29
> >>> Тема: Re: Building OO
> >>>
> >>>> Hi Fyodor
> >>>>
> >>>> The problem is almost certainly in main/udm/StaticLibrary_udm.mk
> >>>>
> >>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
> >>>>
> >>>> I'll try build it later.
> >>>>
> >>>> Damjan
> >>>>
> >>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor 
> >>>> <fy...@hotmail.com>> wrote:
> >>>>> Hi Damjan,
> >>>>>
> >>>>> I’ve got OO using svn co
> >>>>> https://svn.apache.org/repos/asf/openoffice/trunk
> >>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a 
> >>>>> week ago.
> >>>>>
> >>>>> I've cd'ed to udm and tried build -all:udm
> >>>>>
> >>>>> This is output
> >>>>>                         Admin@shr-pc 
> >>>>> /cygdrive/c/source/aoo-trunk/main/udm
> >>>>>                         $ build --all:udm
> >>>>>                         build -- version: 1775979
> >>>>>
> >>>>>
> >>>>>                         =============
> >>>>>                         Building module udm
> >>>>>                         =============
> >>>>>
> >>>>>                         Entering 
> >>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>>
> >>>>>                         cd .. && make -s -r -j1   && make -s -r
> >>>>> deliverlog
> >>>>>                         ', needed by 
> >>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> >> workdir/CxxObject/udm/source/html/htmlitem.o<http://
> wntmsci12.pro/workdir/
> >> CxxObject/udm/source/html/htmlitem.o>
> >>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem
> >>>>> .o
> >'.
> >>>>>   Stop.
> >>>>>                         dmake:  Error code 2, while making 'all'
> >>>>>
> >>>>>                         1 module(s):
> >>>>>                                 udm
> >>>>>                         need(s) to be rebuilt
> >>>>>
> >>>>>                         Reason(s):
> >>>>>
> >>>>>                         ERROR: error 65280 occurred while making 
> >>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>>
> >>>>>                         When you have fixed the errors in that 
> >>>>> module you can resume the build by running:
> >>>>>
> >>>>>                                 build --all:udm
> >>>>>
> >>>>>
> >>>>> I think I need to deep dive into dmake, so I'll be able to trace
> build
> >>>>> and link processes and find what exactly done on udm module. So 
> >>>>> I'll appreciate reference to information on dmake.
> >>>>>
> >>>>> --
> >>>>> Fyodor
> >>>>>
> >>>>>
> >>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<mailto:
> >> damjan@apache.org>]
> >>>>> Sent: Tuesday, June 27, 2017 5:38 PM
> >>>>> To: Apache OO <dev@openoffice.apache.org<mailto:
> dev@openoffice.apache.
> >> org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
> >>>>> Subject: Re: Building OO
> >>>>>
> >>>>> Hi Fyodor
> >>>>> Welcome to AOO :).
> >>>>> What version are you building?
> >>>>> Can you "cd" into the udm directory, and post the full output of 
> >>>>> "build"
> >>>>> run from there?
> >>>>> Thank you
> >>>>> Damjan
> >>>>>
> >>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor 
> >>>>> <fy...@hotmail.com>> wrote:
> >>>>> =============
> >>>>> Building module udm
> >>>>> =============
> >>>>>
> >>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>> Hello!
> >>>>>
> >>>>> I'm newbie in OO development, and as New Volunteer Orientation 
> >>>>> module suggests, I've established local build env, and try to build OO.
> >>>>> I've installed required prerequisites from Building Guide 
> >>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AO
> >>>>> O
> >>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AO
> >>>>> O>)
> >>>>> and
> >>>>> started to build with this command
> >>>>>
> >>>>> ./configure \
> >>>>>      --with-frame-home="$SDK_PATH" \
> >>>>>      --with-psdk-home="$SDK_PATH" \
> >>>>>      --with-midl-path="$SDK_PATH/bin" \
> >>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >>>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
> >>>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
> >>>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
> >>>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
> >>>>>
> >>>>> --with-dmake-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/dmake-4.12.tar.bz2
> >>>>> <https://sourceforge.net/projects/oooextras.mirror/
> >> files/dmake-4.12.tar.bz2>"
> >>>>> \
> >>>>>
> >>>>> --with-epm-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/epm-3.7.tar.gz
> >>>>> <https://sourceforge.net/projects/oooextras.mirror/
> >> files/epm-3.7.tar.gz>"
> >>>>> \
> >>>>>      --disable-pch \
> >>>>>      --disable-atl \
> >>>>>      --disable-activex \
> >>>>>      --disable-nss-module \
> >>>>>      --without-junit \
> >>>>>      --disable-directx
> >>>>>
> >>>>> There are some modules built successfully, but built stop on UDM 
> >>>>> module with following error
> >>>>>
> >>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
> >>>>> [ build CXX ] udm/source/html/htmlitem htmlitem.cxx [ build CXX 
> >>>>> ] udm/source/xml/xmlitem xmlitem.cxx [ build DEP ] 
> >>>>> LNK:StaticLibrary/udm.lib [ build PKG ] udm_inc ', needed by 
> >>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> >> workdir/CxxObject/udm/source/html/htmlitem.o<http://
> wntmsci12.pro/workdir/
> >> CxxObject/udm/source/html/htmlitem.o>
> >>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem
> >>>>> .o
> >'.
> >>>>>   Stop.
> >>>>> dmake:  Error code 2, while making 'all'
> >>>>>
> >>>>> 1 module(s):
> >>>>>          udm
> >>>>> need(s) to be rebuilt
> >>>>>
> >>>>> Reason(s):
> >>>>>
> >>>>> ERROR: error 65280 occurred while making 
> >>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>>
> >>>>> When you have fixed the errors in that module you can resume the
> build
> >>>>> by running:
> >>>>>
> >>>>>          build --all:udm
> >>>>>
> >>>>> I'm not professional with dmake (yet), so any help would be 
> >>>>> appreciated.
> >>>>>
> >>>>> --
> >>>>> Fyodor
> >>>>>
> >>>>>
> >>>>> ------------------------------------------------------------
> ---------
> >>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> <mailto:
> >> dev-unsubscribe@openoffice.apache.org>
> >>>>> <mailto:dev-unsubscribe@openoffice.apache.org<mailto:d
> >> ev-unsubscribe@openoffice.apache.org>>
> >>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
> >> <ma...@openoffice.apache.org>
> >>
> >>
>
>
>

Re: Building OO

Posted by Damjan Jovanovic <da...@apache.org>.
Hi Matthias

As I posted earlier in this thread, this is how I build it:
32 bit VirtualBox VM
Windows XP
SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
--with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6"
--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" --enable-pch --disable-atl
--disable-activex --with-junit="/cygdrive/c/source/junit.jar"
--with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
--with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC"
--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
--with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx
--with-package-format="installed" --enable-wiki-publisher

Please let us know what you find.

Regards
Damjan

On Thu, Jul 20, 2017 at 12:26 PM, Matthias Seidel <
matthias.seidel@hamburg.de> wrote:

> Hi Damjan,
>
> Since I am not the only one with these errors, wouldn't it be easier if
> you tell us your configuration and let us see what is different?
> I know the Windows buildbot could build from trunk (when it was
> functional) , but I see no real difference in the configuration.
>
> I think we are all following the steps described here:
>
> https://wiki.openoffice.org/wiki/Documentation/Building_
> Guide_AOO/Step_by_step#Windows_7.2C_Windows_8.1.2C_Windows_10
>
> If you do something different, could you update the Wiki?
>
> Regards, Matthias
>
>
> Am 20.07.2017 um 12:13 schrieb Damjan Jovanovic:
> > Since I am the main gbuild developer and Windows always builds for me,
> and
> > I cannot reproduce your problem, I only see the following solution.
> >
> > svn log -v > /path/to/log.txt
> > (so you have an offline log.txt for easy future reference)
> > Look through log.txt, go to early 2015 or so.
> > Find a revision you want to try, and switch to it and try build it. I
> think
> > it was:
> > svn update -r <revision>
> > then clean the tree and try build.
> >
> > When you find a revision that builds that way, do the equivalent of "git
> > bisect" between that revision and the latest revision, ie. go to a
> revision
> > about halfway between then and now, "svn update -r ..." and build, and
> keep
> > bisecting until you find the last working revision, then post the
> details.
> >
> > It will probably take a long time, and a dozen or so attempted builds,
> but
> > once you find it, it should allow us to narrow down the problem and
> figure
> > out what went wrong.
> >
> > Damjan
> >
> > On Thu, Jul 20, 2017 at 11:11 AM, Matthias Seidel <
> > matthias.seidel@hamburg.de> wrote:
> >
> >> Hi,
> >>
> >> When building trunk (on Windows) I get exactly the same errors...
> >>
> >> Branch 414 builds just fine (with Java 7):
> >> https://home.apache.org/~mseidel/AOO-builds/AOO-414-Test/
> >>
> >> Regards, Matthias
> >>
> >>
> >> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
> >>> I’ve took another try to build OO on W7 x32
> >>> But got same errors, as on W8 x64
> >>> May be I missed some prerequisites?
> >>>
> >>> Errors are in modules gtest, xml2cmp, salhelper, udm
> >>> Cygwin seems to have bug on Windows as it only  shows full error text
> >> when resized to some size… So path to missed file is not full.
> >>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
> >>>
> >>> $ build --all:gtest
> >>> build -- version: 1775979
> >>>
> >>>
> >>> =============
> >>> Building module gtest
> >>> =============
> >>>
> >>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
> >>>
> >>> mkdir: cannot create directory './wntmsci12.pro/misc/build/
> gtest-1.7.0/':
> >> File exists
> >>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
> >> gb_Deliver_deliver: file does not exist in solver, and cannot be deli.
> >> Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
> >>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/
> >> so_built_oo_gtest'
> >>> 1 module(s):
> >>>         gtest
> >>> need(s) to be rebuilt
> >>>
> >>> Reason(s):
> >>>
> >>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
> >> ext_libraries/gtest
> >>> When you have fixed the errors in that module you can resume the build
> >> by running:
> >>>         build --all:gtest
> >>>
> >>> The sal helper cannot open include file conditn.h
> >>>
> >>> =============
> >>> Building module salhelper
> >>> =============
> >>>
> >>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
> >>>
> >>> mkout -- version: 1.8
> >>> Making:    all_salhelper.dpslo
> >>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
> >>> Compiling: salhelper/source/condition.cxx
> >>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open
> >> include file: 'osl/conditn.h': No such file or directory
> >>> dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj
> '
> >>>
> >>> 1 module(s):
> >>>         salhelper
> >>> need(s) to be rebuilt
> >>>
> >>> Reason(s):
> >>>
> >>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
> >> main/salhelper/source
> >>> When you have fixed the errors in that module you can resume the build
> >> by running:
> >>>         build --all:salhelper
> >>>
> >>>
> >>>
> >>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
> >>> Sent: Wednesday, July 19, 2017 10:51 AM
> >>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <
> >> dev@openoffice.apache.org>
> >>> Subject: Re[5]: Building OO
> >>>
> >>> Hello!
> >>>
> >>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
> >> installed
> >>> And OO built successfully! :-)
> >>>
> >>> Now trying to do the same on W7 x32.
> >>>
> >>> As Id like to deep dive into OO development, could you please share
> what
> >> dev environment do you use on Ubuntu and on W7 (I believe, that I'll
> >> finally success in building OO on Windows).
> >>> Any thoughts on establishing dev environment will be appreciated.
> >>>
> >>> --
> >>> Fyodor
> >>>
> >>> ------ Исходное сообщение ------
> >>> От: "Емельяненко Федор" <fyodor_e@hotmail.com<mailto:f
> >> yodor_e@hotmail.com>>
> >>> Кому: "Damjan Jovanovic" <da...@apache.org>>
> >>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
> >> dev@openoffice.apache.org>>
> >>> Отправлено: 04.07.2017 12:57:52
> >>> Тема: Re[4]: Building OO
> >>>
> >>> I use following config script
> >>>
> >>> ./configure \
> >>>    --with-frame-home="$SDK_PATH" \
> >>>    --with-psdk-home="$SDK_PATH" \
> >>>    --with-midl-path="$SDK_PATH/bin" \
> >>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
> >>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
> >>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
> >>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
> >>>    --with-dmake-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/dmake-4.12.tar.bz2" \
> >>>    --with-epm-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/epm-3.7.tar.gz" \
> >>>    --disable-pch \
> >>>    --disable-atl \
> >>>    --disable-activex \
> >>>    --disable-nss-module \
> >>>    --without-junit \
> >>>    --disable-directx
> >>>
> >>> On Windows 8.1 64 bit Hyper-v VM
> >>>
> >>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
> >>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
> >>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
> >>>
> >>> I've tried to rebuild with following script (full path) with no success
> >>>
> >>> ./configure \
> >>>    --with-frame-home="$SDK_PATH" \
> >>>    --with-psdk-home="$SDK_PATH" \
> >>>    --with-midl-path="$SDK_PATH/bin" \
> >>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >>>    --with-jdk-home="/cygdrive/c/Program Files
> (x86)/Java/jdk1.8.0_131" \
> >>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
> \
> >>>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
> >> Studio 9.0/VC" \
> >>>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
> >> Studio 9.0/VC/bin" \
> >>>    --with-dmake-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/dmake-4.12.tar.bz2" \
> >>>    --with-epm-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/epm-3.7.tar.gz" \
> >>>    --disable-pch \
> >>>    --disable-atl \
> >>>    --disable-activex \
> >>>    --disable-nss-module \
> >>>    --without-junit \
> >>>    --disable-directx
> >>>
> >>> Now I have error on module gtest...
> >>>
> >>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/
> >> so_built_oo_gtest'
> >>> 1 module(s):
> >>> gtest
> >>> need(s) to be rebuilt
> >>>
> >>> Reason(s):
> >>>
> >>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
> >> ext_libraries/gtest
> >>> When you have fixed the errors in that module you can resume the build
> >> by running:
> >>> build --all:gtest
> >>>
> >>> ------ Исходное сообщение ------
> >>> От: "Damjan Jovanovic" <da...@apache.org>>
> >>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
> >> yodor_e@hotmail.com>>
> >>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
> >> dev@openoffice.apache.org>>
> >>> Отправлено: 02.07.2017 16:46:09
> >>> Тема: Re: Re[2]: Building OO
> >>>
> >>> I just succeeded in building trunk with:
> >>> 32 bit VirtualBox VM
> >>> Windows XP
> >>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
> >> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
> >> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/
> apache-ant-1.9.6"
> >> --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" --enable-pch
> >> --disable-atl --disable-activex --with-junit="/cygdrive/c/
> source/junit.jar"
> >> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
> >> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio
> 9.0/VC"
> >> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
> >> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
> >> --disable-directx --with-package-format="installed"
> >> --enable-wiki-publisher
> >>> Please post your full setup and build options.
> >>> Regards
> >>> Damjan
> >>>
> >>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <
> >> fyodor_e@hotmail.com<ma...@hotmail.com>> wrote:
> >>> Hello Damjan,
> >>>
> >>> I've commented out in main/udm/StaticLibrary_udm.mk
> >>>
> >>> #ifeq ($(OS),WNT)
> >>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
> >>> #else
> >>>
> >>> Now build stopped on xml2cmp module...
> >>>
> >>>
> >>>                         =============
> >>>                         Building module xml2cmp
> >>>                         =============
> >>>
> >>>                         Entering /cygdrive/c/source/aoo-trunk/
> >> main/xml2cmp/prj
> >>>                         cd .. && make -s -r -j1   && make -s -r
> >> deliverlog
> >>>                         [ info  ALL ] LinkTarget Library/msvcprt.lib
> not
> >> defined: Assuming
> >>> headers to be there!
> >>>                         [ info  ALL ] LinkTarget Library/kernel32.lib
> >> not defined: Assuming
> >>> headers to be there!
> >>>                         [ info  ALL ] LinkTarget Library/msvcrt.lib not
> >> defined: Assuming
> >>> headers to be there!
> >>>                         [ info  ALL ] LinkTarget Library/oldnames.lib
> >> not defined: Assuming
> >>> headers to be there!
> >>>                         [ build CXX ] xml2cmp/source/finder/dependy
> >>>                         dependy.cxx
> >>>                         [ build CXX ] xml2cmp/source/finder/dep_main
> >>>                         dep_main.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
> >>>                         cr_html.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
> >>>                         cr_index.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
> >>>                         cr_metho.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
> >>>                         filebuff.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/parse
> >>>                         parse.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
> >>>                         xmlelem.cxx
> >>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
> >>>                         xmltree.cxx
> >>>                         [ build CXX ] xml2cmp/source/support/cmdline
> >>>                         cmdline.cxx
> >>>                         [ build CXX ] xml2cmp/source/support/heap
> >>>                         heap.cxx
> >>>                         [ build CXX ] xml2cmp/source/support/sistr
> >>>                         sistr.cxx
> >>>                         [ build CXX ] xml2cmp/source/support/syshelp
> >>>                         syshelp.cxx
> >>>                         [ build CXX ] xml2cmp/source/support/badcast
> >>>                         badcast.cxx
> >>>                         [ build DEP ] LNK:Executable/srvdepy.exe
> >>>                         [ build CXX ] xml2cmp/source/xcd/main
> >>>                         main.cxx
> >>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
> >>>                         ', needed by
> >>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> >> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://
> >> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
> >>>   Stop.
> >>>                         dmake:  Error code 2, while making 'all'
> >>>
> >>>                         1 module(s):
> >>>                                 xml2cmp
> >>>                         need(s) to be rebuilt
> >>>
> >>>                         Reason(s):
> >>>
> >>>                         ERROR: error 65280 occurred while making
> >>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
> >>>
> >>>                         When you have fixed the errors in that module
> >> you can resume the
> >>> build by running:
> >>>
> >>>                                 build --all:xml2cmp
> >>>
> >>> ------ Исходное сообщение ------
> >>> От: "Damjan Jovanovic" <da...@apache.org>>
> >>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
> >> yodor_e@hotmail.com>>
> >>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
> >> dev@openoffice.apache.org>>
> >>> Отправлено: 28.06.2017 15:07:29
> >>> Тема: Re: Building OO
> >>>
> >>>> Hi Fyodor
> >>>>
> >>>> The problem is almost certainly in
> >>>> main/udm/StaticLibrary_udm.mk
> >>>>
> >>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
> >>>>
> >>>> I'll try build it later.
> >>>>
> >>>> Damjan
> >>>>
> >>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
> >>>> <fy...@hotmail.com>> wrote:
> >>>>> Hi Damjan,
> >>>>>
> >>>>> I’ve got OO using svn co
> >>>>> https://svn.apache.org/repos/asf/openoffice/trunk
> >>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
> >>>>> ago.
> >>>>>
> >>>>> I've cd'ed to udm and tried build -all:udm
> >>>>>
> >>>>> This is output
> >>>>>                         Admin@shr-pc
> >>>>> /cygdrive/c/source/aoo-trunk/main/udm
> >>>>>                         $ build --all:udm
> >>>>>                         build -- version: 1775979
> >>>>>
> >>>>>
> >>>>>                         =============
> >>>>>                         Building module udm
> >>>>>                         =============
> >>>>>
> >>>>>                         Entering
> >>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>>
> >>>>>                         cd .. && make -s -r -j1   && make -s -r
> >>>>> deliverlog
> >>>>>                         ', needed by
> >>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> >> workdir/CxxObject/udm/source/html/htmlitem.o<http://
> wntmsci12.pro/workdir/
> >> CxxObject/udm/source/html/htmlitem.o>
> >>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o
> >'.
> >>>>>   Stop.
> >>>>>                         dmake:  Error code 2, while making 'all'
> >>>>>
> >>>>>                         1 module(s):
> >>>>>                                 udm
> >>>>>                         need(s) to be rebuilt
> >>>>>
> >>>>>                         Reason(s):
> >>>>>
> >>>>>                         ERROR: error 65280 occurred while making
> >>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>>
> >>>>>                         When you have fixed the errors in that module
> >>>>> you can resume the
> >>>>> build by running:
> >>>>>
> >>>>>                                 build --all:udm
> >>>>>
> >>>>>
> >>>>> I think I need to deep dive into dmake, so I'll be able to trace
> build
> >>>>> and link processes and find what exactly done on udm module. So I'll
> >>>>> appreciate reference to information on dmake.
> >>>>>
> >>>>> --
> >>>>> Fyodor
> >>>>>
> >>>>>
> >>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<mailto:
> >> damjan@apache.org>]
> >>>>> Sent: Tuesday, June 27, 2017 5:38 PM
> >>>>> To: Apache OO <dev@openoffice.apache.org<mailto:
> dev@openoffice.apache.
> >> org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
> >>>>> Subject: Re: Building OO
> >>>>>
> >>>>> Hi Fyodor
> >>>>> Welcome to AOO :).
> >>>>> What version are you building?
> >>>>> Can you "cd" into the udm directory, and post the full output of
> >>>>> "build"
> >>>>> run from there?
> >>>>> Thank you
> >>>>> Damjan
> >>>>>
> >>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
> >>>>> <fy...@hotmail.com>> wrote:
> >>>>> =============
> >>>>> Building module udm
> >>>>> =============
> >>>>>
> >>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>> Hello!
> >>>>>
> >>>>> I'm newbie in OO development, and as New Volunteer Orientation module
> >>>>> suggests, I've established local build env, and try to build OO.
> >>>>> I've installed required prerequisites from Building Guide
> >>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
> >>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
> >>>>> and
> >>>>> started to build with this command
> >>>>>
> >>>>> ./configure \
> >>>>>      --with-frame-home="$SDK_PATH" \
> >>>>>      --with-psdk-home="$SDK_PATH" \
> >>>>>      --with-midl-path="$SDK_PATH/bin" \
> >>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >>>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
> >>>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
> >>>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
> >>>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
> >>>>>
> >>>>> --with-dmake-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/dmake-4.12.tar.bz2
> >>>>> <https://sourceforge.net/projects/oooextras.mirror/
> >> files/dmake-4.12.tar.bz2>"
> >>>>> \
> >>>>>
> >>>>> --with-epm-url="https://sourceforge.net/projects/
> >> oooextras.mirror/files/epm-3.7.tar.gz
> >>>>> <https://sourceforge.net/projects/oooextras.mirror/
> >> files/epm-3.7.tar.gz>"
> >>>>> \
> >>>>>      --disable-pch \
> >>>>>      --disable-atl \
> >>>>>      --disable-activex \
> >>>>>      --disable-nss-module \
> >>>>>      --without-junit \
> >>>>>      --disable-directx
> >>>>>
> >>>>> There are some modules built successfully, but built stop on UDM
> >>>>> module
> >>>>> with following error
> >>>>>
> >>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
> >>>>> [ build CXX ] udm/source/html/htmlitem
> >>>>> htmlitem.cxx
> >>>>> [ build CXX ] udm/source/xml/xmlitem
> >>>>> xmlitem.cxx
> >>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
> >>>>> [ build PKG ] udm_inc
> >>>>> ', needed by
> >>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> >> workdir/CxxObject/udm/source/html/htmlitem.o<http://
> wntmsci12.pro/workdir/
> >> CxxObject/udm/source/html/htmlitem.o>
> >>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o
> >'.
> >>>>>   Stop.
> >>>>> dmake:  Error code 2, while making 'all'
> >>>>>
> >>>>> 1 module(s):
> >>>>>          udm
> >>>>> need(s) to be rebuilt
> >>>>>
> >>>>> Reason(s):
> >>>>>
> >>>>> ERROR: error 65280 occurred while making
> >>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>>>
> >>>>> When you have fixed the errors in that module you can resume the
> build
> >>>>> by running:
> >>>>>
> >>>>>          build --all:udm
> >>>>>
> >>>>> I'm not professional with dmake (yet), so any help would be
> >>>>> appreciated.
> >>>>>
> >>>>> --
> >>>>> Fyodor
> >>>>>
> >>>>>
> >>>>> ------------------------------------------------------------
> ---------
> >>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> <mailto:
> >> dev-unsubscribe@openoffice.apache.org>
> >>>>> <mailto:dev-unsubscribe@openoffice.apache.org<mailto:d
> >> ev-unsubscribe@openoffice.apache.org>>
> >>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
> >> <ma...@openoffice.apache.org>
> >>
> >>
>
>
>

Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Damjan,

Since I am not the only one with these errors, wouldn't it be easier if
you tell us your configuration and let us see what is different?
I know the Windows buildbot could build from trunk (when it was
functional) , but I see no real difference in the configuration.

I think we are all following the steps described here:

https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7.2C_Windows_8.1.2C_Windows_10

If you do something different, could you update the Wiki?

Regards, Matthias


Am 20.07.2017 um 12:13 schrieb Damjan Jovanovic:
> Since I am the main gbuild developer and Windows always builds for me, and
> I cannot reproduce your problem, I only see the following solution.
>
> svn log -v > /path/to/log.txt
> (so you have an offline log.txt for easy future reference)
> Look through log.txt, go to early 2015 or so.
> Find a revision you want to try, and switch to it and try build it. I think
> it was:
> svn update -r <revision>
> then clean the tree and try build.
>
> When you find a revision that builds that way, do the equivalent of "git
> bisect" between that revision and the latest revision, ie. go to a revision
> about halfway between then and now, "svn update -r ..." and build, and keep
> bisecting until you find the last working revision, then post the details.
>
> It will probably take a long time, and a dozen or so attempted builds, but
> once you find it, it should allow us to narrow down the problem and figure
> out what went wrong.
>
> Damjan
>
> On Thu, Jul 20, 2017 at 11:11 AM, Matthias Seidel <
> matthias.seidel@hamburg.de> wrote:
>
>> Hi,
>>
>> When building trunk (on Windows) I get exactly the same errors...
>>
>> Branch 414 builds just fine (with Java 7):
>> https://home.apache.org/~mseidel/AOO-builds/AOO-414-Test/
>>
>> Regards, Matthias
>>
>>
>> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
>>> I’ve took another try to build OO on W7 x32
>>> But got same errors, as on W8 x64
>>> May be I missed some prerequisites?
>>>
>>> Errors are in modules gtest, xml2cmp, salhelper, udm
>>> Cygwin seems to have bug on Windows as it only  shows full error text
>> when resized to some size… So path to missed file is not full.
>>> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>>>
>>> $ build --all:gtest
>>> build -- version: 1775979
>>>
>>>
>>> =============
>>> Building module gtest
>>> =============
>>>
>>> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>>>
>>> mkdir: cannot create directory './wntmsci12.pro/misc/build/gtest-1.7.0/':
>> File exists
>>> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
>> gb_Deliver_deliver: file does not exist in solver, and cannot be deli.
>> Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
>>> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/
>> so_built_oo_gtest'
>>> 1 module(s):
>>>         gtest
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
>> ext_libraries/gtest
>>> When you have fixed the errors in that module you can resume the build
>> by running:
>>>         build --all:gtest
>>>
>>> The sal helper cannot open include file conditn.h
>>>
>>> =============
>>> Building module salhelper
>>> =============
>>>
>>> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>>>
>>> mkout -- version: 1.8
>>> Making:    all_salhelper.dpslo
>>> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
>>> Compiling: salhelper/source/condition.cxx
>>> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open
>> include file: 'osl/conditn.h': No such file or directory
>>> dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj'
>>>
>>> 1 module(s):
>>>         salhelper
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
>> main/salhelper/source
>>> When you have fixed the errors in that module you can resume the build
>> by running:
>>>         build --all:salhelper
>>>
>>>
>>>
>>> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
>>> Sent: Wednesday, July 19, 2017 10:51 AM
>>> To: Damjan Jovanovic <da...@apache.org>; Apache OO <
>> dev@openoffice.apache.org>
>>> Subject: Re[5]: Building OO
>>>
>>> Hello!
>>>
>>> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
>> installed
>>> And OO built successfully! :-)
>>>
>>> Now trying to do the same on W7 x32.
>>>
>>> As Id like to deep dive into OO development, could you please share what
>> dev environment do you use on Ubuntu and on W7 (I believe, that I'll
>> finally success in building OO on Windows).
>>> Any thoughts on establishing dev environment will be appreciated.
>>>
>>> --
>>> Fyodor
>>>
>>> ------ Исходное сообщение ------
>>> От: "Емельяненко Федор" <fyodor_e@hotmail.com<mailto:f
>> yodor_e@hotmail.com>>
>>> Кому: "Damjan Jovanovic" <da...@apache.org>>
>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>> dev@openoffice.apache.org>>
>>> Отправлено: 04.07.2017 12:57:52
>>> Тема: Re[4]: Building OO
>>>
>>> I use following config script
>>>
>>> ./configure \
>>>    --with-frame-home="$SDK_PATH" \
>>>    --with-psdk-home="$SDK_PATH" \
>>>    --with-midl-path="$SDK_PATH/bin" \
>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>    --with-dmake-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>    --with-epm-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/epm-3.7.tar.gz" \
>>>    --disable-pch \
>>>    --disable-atl \
>>>    --disable-activex \
>>>    --disable-nss-module \
>>>    --without-junit \
>>>    --disable-directx
>>>
>>> On Windows 8.1 64 bit Hyper-v VM
>>>
>>> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
>>> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
>>> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>>>
>>> I've tried to rebuild with following script (full path) with no success
>>>
>>> ./configure \
>>>    --with-frame-home="$SDK_PATH" \
>>>    --with-psdk-home="$SDK_PATH" \
>>>    --with-midl-path="$SDK_PATH/bin" \
>>>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>    --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
>>>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
>>>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>> Studio 9.0/VC" \
>>>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
>> Studio 9.0/VC/bin" \
>>>    --with-dmake-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>>>    --with-epm-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/epm-3.7.tar.gz" \
>>>    --disable-pch \
>>>    --disable-atl \
>>>    --disable-activex \
>>>    --disable-nss-module \
>>>    --without-junit \
>>>    --disable-directx
>>>
>>> Now I have error on module gtest...
>>>
>>> dmake: Error code 2, while making './wntmsci12.pro/misc/build/
>> so_built_oo_gtest'
>>> 1 module(s):
>>> gtest
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
>> ext_libraries/gtest
>>> When you have fixed the errors in that module you can resume the build
>> by running:
>>> build --all:gtest
>>>
>>> ------ Исходное сообщение ------
>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
>> yodor_e@hotmail.com>>
>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>> dev@openoffice.apache.org>>
>>> Отправлено: 02.07.2017 16:46:09
>>> Тема: Re: Re[2]: Building OO
>>>
>>> I just succeeded in building trunk with:
>>> 32 bit VirtualBox VM
>>> Windows XP
>>> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
>> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
>> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6"
>> --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" --enable-pch
>> --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar"
>> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
>> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC"
>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
>> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
>> --disable-directx --with-package-format="installed"
>> --enable-wiki-publisher
>>> Please post your full setup and build options.
>>> Regards
>>> Damjan
>>>
>>> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <
>> fyodor_e@hotmail.com<ma...@hotmail.com>> wrote:
>>> Hello Damjan,
>>>
>>> I've commented out in main/udm/StaticLibrary_udm.mk
>>>
>>> #ifeq ($(OS),WNT)
>>> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
>>> #else
>>>
>>> Now build stopped on xml2cmp module...
>>>
>>>
>>>                         =============
>>>                         Building module xml2cmp
>>>                         =============
>>>
>>>                         Entering /cygdrive/c/source/aoo-trunk/
>> main/xml2cmp/prj
>>>                         cd .. && make -s -r -j1   && make -s -r
>> deliverlog
>>>                         [ info  ALL ] LinkTarget Library/msvcprt.lib not
>> defined: Assuming
>>> headers to be there!
>>>                         [ info  ALL ] LinkTarget Library/kernel32.lib
>> not defined: Assuming
>>> headers to be there!
>>>                         [ info  ALL ] LinkTarget Library/msvcrt.lib not
>> defined: Assuming
>>> headers to be there!
>>>                         [ info  ALL ] LinkTarget Library/oldnames.lib
>> not defined: Assuming
>>> headers to be there!
>>>                         [ build CXX ] xml2cmp/source/finder/dependy
>>>                         dependy.cxx
>>>                         [ build CXX ] xml2cmp/source/finder/dep_main
>>>                         dep_main.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>>>                         cr_html.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>>>                         cr_index.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>>>                         cr_metho.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>>>                         filebuff.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/parse
>>>                         parse.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>>>                         xmlelem.cxx
>>>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>>>                         xmltree.cxx
>>>                         [ build CXX ] xml2cmp/source/support/cmdline
>>>                         cmdline.cxx
>>>                         [ build CXX ] xml2cmp/source/support/heap
>>>                         heap.cxx
>>>                         [ build CXX ] xml2cmp/source/support/sistr
>>>                         sistr.cxx
>>>                         [ build CXX ] xml2cmp/source/support/syshelp
>>>                         syshelp.cxx
>>>                         [ build CXX ] xml2cmp/source/support/badcast
>>>                         badcast.cxx
>>>                         [ build DEP ] LNK:Executable/srvdepy.exe
>>>                         [ build CXX ] xml2cmp/source/xcd/main
>>>                         main.cxx
>>>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>>>                         ', needed by
>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://
>> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>>>   Stop.
>>>                         dmake:  Error code 2, while making 'all'
>>>
>>>                         1 module(s):
>>>                                 xml2cmp
>>>                         need(s) to be rebuilt
>>>
>>>                         Reason(s):
>>>
>>>                         ERROR: error 65280 occurred while making
>>> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>>>
>>>                         When you have fixed the errors in that module
>> you can resume the
>>> build by running:
>>>
>>>                                 build --all:xml2cmp
>>>
>>> ------ Исходное сообщение ------
>>> От: "Damjan Jovanovic" <da...@apache.org>>
>>> Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
>> yodor_e@hotmail.com>>
>>> Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
>> dev@openoffice.apache.org>>
>>> Отправлено: 28.06.2017 15:07:29
>>> Тема: Re: Building OO
>>>
>>>> Hi Fyodor
>>>>
>>>> The problem is almost certainly in
>>>> main/udm/StaticLibrary_udm.mk
>>>>
>>>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>>>
>>>> I'll try build it later.
>>>>
>>>> Damjan
>>>>
>>>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>>>> <fy...@hotmail.com>> wrote:
>>>>> Hi Damjan,
>>>>>
>>>>> I’ve got OO using svn co
>>>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>>>> ago.
>>>>>
>>>>> I've cd'ed to udm and tried build -all:udm
>>>>>
>>>>> This is output
>>>>>                         Admin@shr-pc
>>>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>>>                         $ build --all:udm
>>>>>                         build -- version: 1775979
>>>>>
>>>>>
>>>>>                         =============
>>>>>                         Building module udm
>>>>>                         =============
>>>>>
>>>>>                         Entering
>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>
>>>>>                         cd .. && make -s -r -j1   && make -s -r
>>>>> deliverlog
>>>>>                         ', needed by
>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/
>> CxxObject/udm/source/html/htmlitem.o>
>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>   Stop.
>>>>>                         dmake:  Error code 2, while making 'all'
>>>>>
>>>>>                         1 module(s):
>>>>>                                 udm
>>>>>                         need(s) to be rebuilt
>>>>>
>>>>>                         Reason(s):
>>>>>
>>>>>                         ERROR: error 65280 occurred while making
>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>
>>>>>                         When you have fixed the errors in that module
>>>>> you can resume the
>>>>> build by running:
>>>>>
>>>>>                                 build --all:udm
>>>>>
>>>>>
>>>>> I think I need to deep dive into dmake, so I'll be able to trace build
>>>>> and link processes and find what exactly done on udm module. So I'll
>>>>> appreciate reference to information on dmake.
>>>>>
>>>>> --
>>>>> Fyodor
>>>>>
>>>>>
>>>>> From: Damjan Jovanovic [mailto:damjan@apache.org<mailto:
>> damjan@apache.org>]
>>>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>>>> To: Apache OO <dev@openoffice.apache.org<mailto:dev@openoffice.apache.
>> org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>>>> Subject: Re: Building OO
>>>>>
>>>>> Hi Fyodor
>>>>> Welcome to AOO :).
>>>>> What version are you building?
>>>>> Can you "cd" into the udm directory, and post the full output of
>>>>> "build"
>>>>> run from there?
>>>>> Thank you
>>>>> Damjan
>>>>>
>>>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>>>> <fy...@hotmail.com>> wrote:
>>>>> =============
>>>>> Building module udm
>>>>> =============
>>>>>
>>>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>> Hello!
>>>>>
>>>>> I'm newbie in OO development, and as New Volunteer Orientation module
>>>>> suggests, I've established local build env, and try to build OO.
>>>>> I've installed required prerequisites from Building Guide
>>>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>>>> and
>>>>> started to build with this command
>>>>>
>>>>> ./configure \
>>>>>      --with-frame-home="$SDK_PATH" \
>>>>>      --with-psdk-home="$SDK_PATH" \
>>>>>      --with-midl-path="$SDK_PATH/bin" \
>>>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>>>
>>>>> --with-dmake-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/dmake-4.12.tar.bz2
>>>>> <https://sourceforge.net/projects/oooextras.mirror/
>> files/dmake-4.12.tar.bz2>"
>>>>> \
>>>>>
>>>>> --with-epm-url="https://sourceforge.net/projects/
>> oooextras.mirror/files/epm-3.7.tar.gz
>>>>> <https://sourceforge.net/projects/oooextras.mirror/
>> files/epm-3.7.tar.gz>"
>>>>> \
>>>>>      --disable-pch \
>>>>>      --disable-atl \
>>>>>      --disable-activex \
>>>>>      --disable-nss-module \
>>>>>      --without-junit \
>>>>>      --disable-directx
>>>>>
>>>>> There are some modules built successfully, but built stop on UDM
>>>>> module
>>>>> with following error
>>>>>
>>>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>>>> [ build CXX ] udm/source/html/htmlitem
>>>>> htmlitem.cxx
>>>>> [ build CXX ] udm/source/xml/xmlitem
>>>>> xmlitem.cxx
>>>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>>>> [ build PKG ] udm_inc
>>>>> ', needed by
>>>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
>> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/
>> CxxObject/udm/source/html/htmlitem.o>
>>>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>>>   Stop.
>>>>> dmake:  Error code 2, while making 'all'
>>>>>
>>>>> 1 module(s):
>>>>>          udm
>>>>> need(s) to be rebuilt
>>>>>
>>>>> Reason(s):
>>>>>
>>>>> ERROR: error 65280 occurred while making
>>>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>>>
>>>>> When you have fixed the errors in that module you can resume the build
>>>>> by running:
>>>>>
>>>>>          build --all:udm
>>>>>
>>>>> I'm not professional with dmake (yet), so any help would be
>>>>> appreciated.
>>>>>
>>>>> --
>>>>> Fyodor
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<mailto:
>> dev-unsubscribe@openoffice.apache.org>
>>>>> <mailto:dev-unsubscribe@openoffice.apache.org<mailto:d
>> ev-unsubscribe@openoffice.apache.org>>
>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>> <ma...@openoffice.apache.org>
>>
>>



Re: Building OO

Posted by Damjan Jovanovic <da...@apache.org>.
Since I am the main gbuild developer and Windows always builds for me, and
I cannot reproduce your problem, I only see the following solution.

svn log -v > /path/to/log.txt
(so you have an offline log.txt for easy future reference)
Look through log.txt, go to early 2015 or so.
Find a revision you want to try, and switch to it and try build it. I think
it was:
svn update -r <revision>
then clean the tree and try build.

When you find a revision that builds that way, do the equivalent of "git
bisect" between that revision and the latest revision, ie. go to a revision
about halfway between then and now, "svn update -r ..." and build, and keep
bisecting until you find the last working revision, then post the details.

It will probably take a long time, and a dozen or so attempted builds, but
once you find it, it should allow us to narrow down the problem and figure
out what went wrong.

Damjan

On Thu, Jul 20, 2017 at 11:11 AM, Matthias Seidel <
matthias.seidel@hamburg.de> wrote:

> Hi,
>
> When building trunk (on Windows) I get exactly the same errors...
>
> Branch 414 builds just fine (with Java 7):
> https://home.apache.org/~mseidel/AOO-builds/AOO-414-Test/
>
> Regards, Matthias
>
>
> Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
> > I’ve took another try to build OO on W7 x32
> > But got same errors, as on W8 x64
> > May be I missed some prerequisites?
> >
> > Errors are in modules gtest, xml2cmp, salhelper, udm
> > Cygwin seems to have bug on Windows as it only  shows full error text
> when resized to some size… So path to missed file is not full.
> > The gtest.h is in place, why gb_Deliver_deliver cannot find it?
> >
> > $ build --all:gtest
> > build -- version: 1775979
> >
> >
> > =============
> > Building module gtest
> > =============
> >
> > Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
> >
> > mkdir: cannot create directory './wntmsci12.pro/misc/build/gtest-1.7.0/':
> File exists
> > C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: ***
> gb_Deliver_deliver: file does not exist in solver, and cannot be deli.
> Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
> > dmake:  Error code 2, while making './wntmsci12.pro/misc/build/
> so_built_oo_gtest'
> >
> > 1 module(s):
> >         gtest
> > need(s) to be rebuilt
> >
> > Reason(s):
> >
> > ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
> ext_libraries/gtest
> >
> > When you have fixed the errors in that module you can resume the build
> by running:
> >
> >         build --all:gtest
> >
> > The sal helper cannot open include file conditn.h
> >
> > =============
> > Building module salhelper
> > =============
> >
> > Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
> >
> > mkout -- version: 1.8
> > Making:    all_salhelper.dpslo
> > Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
> > Compiling: salhelper/source/condition.cxx
> > ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open
> include file: 'osl/conditn.h': No such file or directory
> > dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj'
> >
> > 1 module(s):
> >         salhelper
> > need(s) to be rebuilt
> >
> > Reason(s):
> >
> > ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
> main/salhelper/source
> >
> > When you have fixed the errors in that module you can resume the build
> by running:
> >
> >         build --all:salhelper
> >
> >
> >
> > From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
> > Sent: Wednesday, July 19, 2017 10:51 AM
> > To: Damjan Jovanovic <da...@apache.org>; Apache OO <
> dev@openoffice.apache.org>
> > Subject: Re[5]: Building OO
> >
> > Hello!
> >
> > I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp
> installed
> > And OO built successfully! :-)
> >
> > Now trying to do the same on W7 x32.
> >
> > As Id like to deep dive into OO development, could you please share what
> dev environment do you use on Ubuntu and on W7 (I believe, that I'll
> finally success in building OO on Windows).
> > Any thoughts on establishing dev environment will be appreciated.
> >
> > --
> > Fyodor
> >
> > ------ Исходное сообщение ------
> > От: "Емельяненко Федор" <fyodor_e@hotmail.com<mailto:f
> yodor_e@hotmail.com>>
> > Кому: "Damjan Jovanovic" <da...@apache.org>>
> > Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
> dev@openoffice.apache.org>>
> > Отправлено: 04.07.2017 12:57:52
> > Тема: Re[4]: Building OO
> >
> > I use following config script
> >
> > ./configure \
> >    --with-frame-home="$SDK_PATH" \
> >    --with-psdk-home="$SDK_PATH" \
> >    --with-midl-path="$SDK_PATH/bin" \
> >    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
> >    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
> >    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
> >    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
> >    --with-dmake-url="https://sourceforge.net/projects/
> oooextras.mirror/files/dmake-4.12.tar.bz2" \
> >    --with-epm-url="https://sourceforge.net/projects/
> oooextras.mirror/files/epm-3.7.tar.gz" \
> >    --disable-pch \
> >    --disable-atl \
> >    --disable-activex \
> >    --disable-nss-module \
> >    --without-junit \
> >    --disable-directx
> >
> > On Windows 8.1 64 bit Hyper-v VM
> >
> > Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
> > CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
> > Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
> >
> > I've tried to rebuild with following script (full path) with no success
> >
> > ./configure \
> >    --with-frame-home="$SDK_PATH" \
> >    --with-psdk-home="$SDK_PATH" \
> >    --with-midl-path="$SDK_PATH/bin" \
> >    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >    --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
> >    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
> >    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
> Studio 9.0/VC" \
> >    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual
> Studio 9.0/VC/bin" \
> >    --with-dmake-url="https://sourceforge.net/projects/
> oooextras.mirror/files/dmake-4.12.tar.bz2" \
> >    --with-epm-url="https://sourceforge.net/projects/
> oooextras.mirror/files/epm-3.7.tar.gz" \
> >    --disable-pch \
> >    --disable-atl \
> >    --disable-activex \
> >    --disable-nss-module \
> >    --without-junit \
> >    --disable-directx
> >
> > Now I have error on module gtest...
> >
> > dmake: Error code 2, while making './wntmsci12.pro/misc/build/
> so_built_oo_gtest'
> >
> > 1 module(s):
> > gtest
> > need(s) to be rebuilt
> >
> > Reason(s):
> >
> > ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
> ext_libraries/gtest
> >
> > When you have fixed the errors in that module you can resume the build
> by running:
> >
> > build --all:gtest
> >
> > ------ Исходное сообщение ------
> > От: "Damjan Jovanovic" <da...@apache.org>>
> > Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
> yodor_e@hotmail.com>>
> > Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
> dev@openoffice.apache.org>>
> > Отправлено: 02.07.2017 16:46:09
> > Тема: Re: Re[2]: Building OO
> >
> > I just succeeded in building trunk with:
> > 32 bit VirtualBox VM
> > Windows XP
> > SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
> ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
> --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6"
> --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" --enable-pch
> --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar"
> --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
> --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC"
> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
> --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0"
> --disable-directx --with-package-format="installed"
> --enable-wiki-publisher
> >
> > Please post your full setup and build options.
> > Regards
> > Damjan
> >
> > On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <
> fyodor_e@hotmail.com<ma...@hotmail.com>> wrote:
> > Hello Damjan,
> >
> > I've commented out in main/udm/StaticLibrary_udm.mk
> >
> > #ifeq ($(OS),WNT)
> > #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
> > #else
> >
> > Now build stopped on xml2cmp module...
> >
> >
> >                         =============
> >                         Building module xml2cmp
> >                         =============
> >
> >                         Entering /cygdrive/c/source/aoo-trunk/
> main/xml2cmp/prj
> >
> >                         cd .. && make -s -r -j1   && make -s -r
> deliverlog
> >                         [ info  ALL ] LinkTarget Library/msvcprt.lib not
> defined: Assuming
> > headers to be there!
> >                         [ info  ALL ] LinkTarget Library/kernel32.lib
> not defined: Assuming
> > headers to be there!
> >                         [ info  ALL ] LinkTarget Library/msvcrt.lib not
> defined: Assuming
> > headers to be there!
> >                         [ info  ALL ] LinkTarget Library/oldnames.lib
> not defined: Assuming
> > headers to be there!
> >                         [ build CXX ] xml2cmp/source/finder/dependy
> >                         dependy.cxx
> >                         [ build CXX ] xml2cmp/source/finder/dep_main
> >                         dep_main.cxx
> >                         [ build CXX ] xml2cmp/source/xcd/cr_html
> >                         cr_html.cxx
> >                         [ build CXX ] xml2cmp/source/xcd/cr_index
> >                         cr_index.cxx
> >                         [ build CXX ] xml2cmp/source/xcd/cr_metho
> >                         cr_metho.cxx
> >                         [ build CXX ] xml2cmp/source/xcd/filebuff
> >                         filebuff.cxx
> >                         [ build CXX ] xml2cmp/source/xcd/parse
> >                         parse.cxx
> >                         [ build CXX ] xml2cmp/source/xcd/xmlelem
> >                         xmlelem.cxx
> >                         [ build CXX ] xml2cmp/source/xcd/xmltree
> >                         xmltree.cxx
> >                         [ build CXX ] xml2cmp/source/support/cmdline
> >                         cmdline.cxx
> >                         [ build CXX ] xml2cmp/source/support/heap
> >                         heap.cxx
> >                         [ build CXX ] xml2cmp/source/support/sistr
> >                         sistr.cxx
> >                         [ build CXX ] xml2cmp/source/support/syshelp
> >                         syshelp.cxx
> >                         [ build CXX ] xml2cmp/source/support/badcast
> >                         badcast.cxx
> >                         [ build DEP ] LNK:Executable/srvdepy.exe
> >                         [ build CXX ] xml2cmp/source/xcd/main
> >                         main.cxx
> >                         [ build DEP ] LNK:Executable/xml2cmp.exe
> >                         ', needed by
> > '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://
> wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
> >   Stop.
> >                         dmake:  Error code 2, while making 'all'
> >
> >                         1 module(s):
> >                                 xml2cmp
> >                         need(s) to be rebuilt
> >
> >                         Reason(s):
> >
> >                         ERROR: error 65280 occurred while making
> > /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
> >
> >                         When you have fixed the errors in that module
> you can resume the
> > build by running:
> >
> >                                 build --all:xml2cmp
> >
> > ------ Исходное сообщение ------
> > От: "Damjan Jovanovic" <da...@apache.org>>
> > Кому: "Yemelyanenko Fyodor" <fyodor_e@hotmail.com<mailto:f
> yodor_e@hotmail.com>>
> > Копия: "Apache OO" <dev@openoffice.apache.org<mailto:
> dev@openoffice.apache.org>>
> > Отправлено: 28.06.2017 15:07:29
> > Тема: Re: Building OO
> >
> >> Hi Fyodor
> >>
> >> The problem is almost certainly in
> >> main/udm/StaticLibrary_udm.mk
> >>
> >> Make try take out the contents of the ifeq ($(OS),WNT) section?
> >>
> >> I'll try build it later.
> >>
> >> Damjan
> >>
> >> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
> >> <fy...@hotmail.com>> wrote:
> >>> Hi Damjan,
> >>>
> >>> I’ve got OO using svn co
> >>> https://svn.apache.org/repos/asf/openoffice/trunk
> >>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
> >>> ago.
> >>>
> >>> I've cd'ed to udm and tried build -all:udm
> >>>
> >>> This is output
> >>>                         Admin@shr-pc
> >>> /cygdrive/c/source/aoo-trunk/main/udm
> >>>                         $ build --all:udm
> >>>                         build -- version: 1775979
> >>>
> >>>
> >>>                         =============
> >>>                         Building module udm
> >>>                         =============
> >>>
> >>>                         Entering
> >>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>
> >>>                         cd .. && make -s -r -j1   && make -s -r
> >>> deliverlog
> >>>                         ', needed by
> >>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/
> CxxObject/udm/source/html/htmlitem.o>
> >>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
> >>>   Stop.
> >>>                         dmake:  Error code 2, while making 'all'
> >>>
> >>>                         1 module(s):
> >>>                                 udm
> >>>                         need(s) to be rebuilt
> >>>
> >>>                         Reason(s):
> >>>
> >>>                         ERROR: error 65280 occurred while making
> >>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>
> >>>                         When you have fixed the errors in that module
> >>> you can resume the
> >>> build by running:
> >>>
> >>>                                 build --all:udm
> >>>
> >>>
> >>> I think I need to deep dive into dmake, so I'll be able to trace build
> >>> and link processes and find what exactly done on udm module. So I'll
> >>> appreciate reference to information on dmake.
> >>>
> >>> --
> >>> Fyodor
> >>>
> >>>
> >>> From: Damjan Jovanovic [mailto:damjan@apache.org<mailto:
> damjan@apache.org>]
> >>> Sent: Tuesday, June 27, 2017 5:38 PM
> >>> To: Apache OO <dev@openoffice.apache.org<mailto:dev@openoffice.apache.
> org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
> >>> Subject: Re: Building OO
> >>>
> >>> Hi Fyodor
> >>> Welcome to AOO :).
> >>> What version are you building?
> >>> Can you "cd" into the udm directory, and post the full output of
> >>> "build"
> >>> run from there?
> >>> Thank you
> >>> Damjan
> >>>
> >>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
> >>> <fy...@hotmail.com>> wrote:
> >>> =============
> >>> Building module udm
> >>> =============
> >>>
> >>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>> Hello!
> >>>
> >>> I'm newbie in OO development, and as New Volunteer Orientation module
> >>> suggests, I've established local build env, and try to build OO.
> >>> I've installed required prerequisites from Building Guide
> >>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
> >>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
> >>> and
> >>> started to build with this command
> >>>
> >>> ./configure \
> >>>      --with-frame-home="$SDK_PATH" \
> >>>      --with-psdk-home="$SDK_PATH" \
> >>>      --with-midl-path="$SDK_PATH/bin" \
> >>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
> >>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
> >>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
> >>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
> >>>
> >>> --with-dmake-url="https://sourceforge.net/projects/
> oooextras.mirror/files/dmake-4.12.tar.bz2
> >>> <https://sourceforge.net/projects/oooextras.mirror/
> files/dmake-4.12.tar.bz2>"
> >>> \
> >>>
> >>> --with-epm-url="https://sourceforge.net/projects/
> oooextras.mirror/files/epm-3.7.tar.gz
> >>> <https://sourceforge.net/projects/oooextras.mirror/
> files/epm-3.7.tar.gz>"
> >>> \
> >>>      --disable-pch \
> >>>      --disable-atl \
> >>>      --disable-activex \
> >>>      --disable-nss-module \
> >>>      --without-junit \
> >>>      --disable-directx
> >>>
> >>> There are some modules built successfully, but built stop on UDM
> >>> module
> >>> with following error
> >>>
> >>> cd .. && make -s -r -j1   && make -s -r deliverlog
> >>> [ build CXX ] udm/source/html/htmlitem
> >>> htmlitem.cxx
> >>> [ build CXX ] udm/source/xml/xmlitem
> >>> xmlitem.cxx
> >>> [ build DEP ] LNK:StaticLibrary/udm.lib
> >>> [ build PKG ] udm_inc
> >>> ', needed by
> >>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/
> CxxObject/udm/source/html/htmlitem.o>
> >>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
> >>>   Stop.
> >>> dmake:  Error code 2, while making 'all'
> >>>
> >>> 1 module(s):
> >>>          udm
> >>> need(s) to be rebuilt
> >>>
> >>> Reason(s):
> >>>
> >>> ERROR: error 65280 occurred while making
> >>> /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>>
> >>> When you have fixed the errors in that module you can resume the build
> >>> by running:
> >>>
> >>>          build --all:udm
> >>>
> >>> I'm not professional with dmake (yet), so any help would be
> >>> appreciated.
> >>>
> >>> --
> >>> Fyodor
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<mailto:
> dev-unsubscribe@openoffice.apache.org>
> >>> <mailto:dev-unsubscribe@openoffice.apache.org<mailto:d
> ev-unsubscribe@openoffice.apache.org>>
> >>> For additional commands, e-mail: dev-help@openoffice.apache.org
> <ma...@openoffice.apache.org>
> >>>
>
>
>

Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi,

When building trunk (on Windows) I get exactly the same errors...

Branch 414 builds just fine (with Java 7):
https://home.apache.org/~mseidel/AOO-builds/AOO-414-Test/

Regards, Matthias


Am 20.07.2017 um 04:56 schrieb Yemelyanenko Fyodor:
> I’ve took another try to build OO on W7 x32
> But got same errors, as on W8 x64
> May be I missed some prerequisites?
>
> Errors are in modules gtest, xml2cmp, salhelper, udm
> Cygwin seems to have bug on Windows as it only  shows full error text when resized to some size… So path to missed file is not full.
> The gtest.h is in place, why gb_Deliver_deliver cannot find it?
>
> $ build --all:gtest
> build -- version: 1775979
>
>
> =============
> Building module gtest
> =============
>
> Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
> mkdir: cannot create directory './wntmsci12.pro/misc/build/gtest-1.7.0/': File exists
> C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: *** gb_Deliver_deliver: file does not exist in solver, and cannot be deli.  Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
> dmake:  Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>
> 1 module(s):
>         gtest
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
> When you have fixed the errors in that module you can resume the build by running:
>
>         build --all:gtest
>
> The sal helper cannot open include file conditn.h
>
> =============
> Building module salhelper
> =============
>
> Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source
>
> mkout -- version: 1.8
> Making:    all_salhelper.dpslo
> Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
> Compiling: salhelper/source/condition.cxx
> ../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open include file: 'osl/conditn.h': No such file or directory
> dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj'
>
> 1 module(s):
>         salhelper
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/main/salhelper/source
>
> When you have fixed the errors in that module you can resume the build by running:
>
>         build --all:salhelper
>
>
>
> From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
> Sent: Wednesday, July 19, 2017 10:51 AM
> To: Damjan Jovanovic <da...@apache.org>; Apache OO <de...@openoffice.apache.org>
> Subject: Re[5]: Building OO
>
> Hello!
>
> I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp installed
> And OO built successfully! :-)
>
> Now trying to do the same on W7 x32.
>
> As Id like to deep dive into OO development, could you please share what dev environment do you use on Ubuntu and on W7 (I believe, that I'll finally success in building OO on Windows).
> Any thoughts on establishing dev environment will be appreciated.
>
> --
> Fyodor
>
> ------ Исходное сообщение ------
> От: "Емельяненко Федор" <fy...@hotmail.com>>
> Кому: "Damjan Jovanovic" <da...@apache.org>>
> Копия: "Apache OO" <de...@openoffice.apache.org>>
> Отправлено: 04.07.2017 12:57:52
> Тема: Re[4]: Building OO
>
> I use following config script
>
> ./configure \
>    --with-frame-home="$SDK_PATH" \
>    --with-psdk-home="$SDK_PATH" \
>    --with-midl-path="$SDK_PATH/bin" \
>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>    --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>    --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>    --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>    --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>    --disable-pch \
>    --disable-atl \
>    --disable-activex \
>    --disable-nss-module \
>    --without-junit \
>    --disable-directx
>
> On Windows 8.1 64 bit Hyper-v VM
>
> Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
> CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
> Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
>
> I've tried to rebuild with following script (full path) with no success
>
> ./configure \
>    --with-frame-home="$SDK_PATH" \
>    --with-psdk-home="$SDK_PATH" \
>    --with-midl-path="$SDK_PATH/bin" \
>    --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>    --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
>    --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
>    --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \
>    --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
>    --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>    --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>    --disable-pch \
>    --disable-atl \
>    --disable-activex \
>    --disable-nss-module \
>    --without-junit \
>    --disable-directx
>
> Now I have error on module gtest...
>
> dmake: Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'
>
> 1 module(s):
> gtest
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest
>
> When you have fixed the errors in that module you can resume the build by running:
>
> build --all:gtest
>
> ------ Исходное сообщение ------
> От: "Damjan Jovanovic" <da...@apache.org>>
> Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
> Копия: "Apache OO" <de...@openoffice.apache.org>>
> Отправлено: 02.07.2017 16:46:09
> Тема: Re: Re[2]: Building OO
>
> I just succeeded in building trunk with:
> 32 bit VirtualBox VM
> Windows XP
> SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH" --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6" --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" --enable-pch --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar" --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar" --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx --with-package-format="installed" --enable-wiki-publisher
>
> Please post your full setup and build options.
> Regards
> Damjan
>
> On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <fy...@hotmail.com>> wrote:
> Hello Damjan,
>
> I've commented out in main/udm/StaticLibrary_udm.mk
>
> #ifeq ($(OS),WNT)
> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
> #else
>
> Now build stopped on xml2cmp module...
>
>
>                         =============
>                         Building module xml2cmp
>                         =============
>
>                         Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>
>                         cd .. && make -s -r -j1   && make -s -r deliverlog
>                         [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
> headers to be there!
>                         [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
> headers to be there!
>                         [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
> headers to be there!
>                         [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
> headers to be there!
>                         [ build CXX ] xml2cmp/source/finder/dependy
>                         dependy.cxx
>                         [ build CXX ] xml2cmp/source/finder/dep_main
>                         dep_main.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>                         cr_html.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>                         cr_index.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>                         cr_metho.cxx
>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>                         filebuff.cxx
>                         [ build CXX ] xml2cmp/source/xcd/parse
>                         parse.cxx
>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>                         xmlelem.cxx
>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>                         xmltree.cxx
>                         [ build CXX ] xml2cmp/source/support/cmdline
>                         cmdline.cxx
>                         [ build CXX ] xml2cmp/source/support/heap
>                         heap.cxx
>                         [ build CXX ] xml2cmp/source/support/sistr
>                         sistr.cxx
>                         [ build CXX ] xml2cmp/source/support/syshelp
>                         syshelp.cxx
>                         [ build CXX ] xml2cmp/source/support/badcast
>                         badcast.cxx
>                         [ build DEP ] LNK:Executable/srvdepy.exe
>                         [ build CXX ] xml2cmp/source/xcd/main
>                         main.cxx
>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>                         ', needed by
> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
>   Stop.
>                         dmake:  Error code 2, while making 'all'
>
>                         1 module(s):
>                                 xml2cmp
>                         need(s) to be rebuilt
>
>                         Reason(s):
>
>                         ERROR: error 65280 occurred while making
> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>
>                         When you have fixed the errors in that module you can resume the
> build by running:
>
>                                 build --all:xml2cmp
>
> ------ Исходное сообщение ------
> От: "Damjan Jovanovic" <da...@apache.org>>
> Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
> Копия: "Apache OO" <de...@openoffice.apache.org>>
> Отправлено: 28.06.2017 15:07:29
> Тема: Re: Building OO
>
>> Hi Fyodor
>>
>> The problem is almost certainly in
>> main/udm/StaticLibrary_udm.mk
>>
>> Make try take out the contents of the ifeq ($(OS),WNT) section?
>>
>> I'll try build it later.
>>
>> Damjan
>>
>> On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
>> <fy...@hotmail.com>> wrote:
>>> Hi Damjan,
>>>
>>> I’ve got OO using svn co
>>> https://svn.apache.org/repos/asf/openoffice/trunk
>>> <https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>> ago.
>>>
>>> I've cd'ed to udm and tried build -all:udm
>>>
>>> This is output
>>>                         Admin@shr-pc
>>> /cygdrive/c/source/aoo-trunk/main/udm
>>>                         $ build --all:udm
>>>                         build -- version: 1775979
>>>
>>>
>>>                         =============
>>>                         Building module udm
>>>                         =============
>>>
>>>                         Entering
>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>>                         cd .. && make -s -r -j1   && make -s -r
>>> deliverlog
>>>                         ', needed by
>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>   Stop.
>>>                         dmake:  Error code 2, while making 'all'
>>>
>>>                         1 module(s):
>>>                                 udm
>>>                         need(s) to be rebuilt
>>>
>>>                         Reason(s):
>>>
>>>                         ERROR: error 65280 occurred while making
>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>>                         When you have fixed the errors in that module
>>> you can resume the
>>> build by running:
>>>
>>>                                 build --all:udm
>>>
>>>
>>> I think I need to deep dive into dmake, so I'll be able to trace build
>>> and link processes and find what exactly done on udm module. So I'll
>>> appreciate reference to information on dmake.
>>>
>>> --
>>> Fyodor
>>>
>>>
>>> From: Damjan Jovanovic [mailto:damjan@apache.org<ma...@apache.org>]
>>> Sent: Tuesday, June 27, 2017 5:38 PM
>>> To: Apache OO <de...@openoffice.apache.org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>> Subject: Re: Building OO
>>>
>>> Hi Fyodor
>>> Welcome to AOO :).
>>> What version are you building?
>>> Can you "cd" into the udm directory, and post the full output of
>>> "build"
>>> run from there?
>>> Thank you
>>> Damjan
>>>
>>> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>>> <fy...@hotmail.com>> wrote:
>>> =============
>>> Building module udm
>>> =============
>>>
>>> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>> Hello!
>>>
>>> I'm newbie in OO development, and as New Volunteer Orientation module
>>> suggests, I've established local build env, and try to build OO.
>>> I've installed required prerequisites from Building Guide
>>> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>> <http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>> and
>>> started to build with this command
>>>
>>> ./configure \
>>>      --with-frame-home="$SDK_PATH" \
>>>      --with-psdk-home="$SDK_PATH" \
>>>      --with-midl-path="$SDK_PATH/bin" \
>>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>>
>>> --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>>> <https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>> \
>>>
>>> --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>>> <https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>> \
>>>      --disable-pch \
>>>      --disable-atl \
>>>      --disable-activex \
>>>      --disable-nss-module \
>>>      --without-junit \
>>>      --disable-directx
>>>
>>> There are some modules built successfully, but built stop on UDM
>>> module
>>> with following error
>>>
>>> cd .. && make -s -r -j1   && make -s -r deliverlog
>>> [ build CXX ] udm/source/html/htmlitem
>>> htmlitem.cxx
>>> [ build CXX ] udm/source/xml/xmlitem
>>> xmlitem.cxx
>>> [ build DEP ] LNK:StaticLibrary/udm.lib
>>> [ build PKG ] udm_inc
>>> ', needed by
>>> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>>> <http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>>   Stop.
>>> dmake:  Error code 2, while making 'all'
>>>
>>> 1 module(s):
>>>          udm
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making
>>> /cygdrive/c/source/aoo-trunk/main/udm/prj
>>>
>>> When you have fixed the errors in that module you can resume the build
>>> by running:
>>>
>>>          build --all:udm
>>>
>>> I'm not professional with dmake (yet), so any help would be
>>> appreciated.
>>>
>>> --
>>> Fyodor
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>>> <ma...@openoffice.apache.org>>
>>> For additional commands, e-mail: dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>>



RE: Re[5]: Building OO

Posted by Yemelyanenko Fyodor <fy...@hotmail.com>.
I’ve took another try to build OO on W7 x32
But got same errors, as on W8 x64
May be I missed some prerequisites?

Errors are in modules gtest, xml2cmp, salhelper, udm
Cygwin seems to have bug on Windows as it only  shows full error text when resized to some size… So path to missed file is not full.
The gtest.h is in place, why gb_Deliver_deliver cannot find it?

$ build --all:gtest
build -- version: 1775979


=============
Building module gtest
=============

Entering /cygdrive/c/source/aoo-trunk/ext_libraries/gtest

mkdir: cannot create directory './wntmsci12.pro/misc/build/gtest-1.7.0/': File exists
C:/source/aoo-trunk/main/solenv/gbuild/Package.mk:28: *** gb_Deliver_deliver: file does not exist in solver, and cannot be deli.  Stop.nk/main/solver/420/wntmsci12.pro/inc/gtest/gtest.h
dmake:  Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'

1 module(s):
        gtest
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest

When you have fixed the errors in that module you can resume the build by running:

        build --all:gtest

The sal helper cannot open include file conditn.h

=============
Building module salhelper
=============

Entering /cygdrive/c/source/aoo-trunk/main/salhelper/source

mkout -- version: 1.8
Making:    all_salhelper.dpslo
Compiling: salhelper/wntmsci12.pro/misc/salhelper3MSC_version.c
Compiling: salhelper/source/condition.cxx
../inc\salhelper/condition.hxx(29) : fatal error C1083: Cannot open include file: 'osl/conditn.h': No such file or directory
dmake:  Error code 2, while making '../wntmsci12.pro/slo/condition.obj'

1 module(s):
        salhelper
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/main/salhelper/source

When you have fixed the errors in that module you can resume the build by running:

        build --all:salhelper



From: Yemelyanenko Fyodor [mailto:fyodor_e@hotmail.com]
Sent: Wednesday, July 19, 2017 10:51 AM
To: Damjan Jovanovic <da...@apache.org>; Apache OO <de...@openoffice.apache.org>
Subject: Re[5]: Building OO

Hello!

I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp installed
And OO built successfully! :-)

Now trying to do the same on W7 x32.

As Id like to deep dive into OO development, could you please share what dev environment do you use on Ubuntu and on W7 (I believe, that I'll finally success in building OO on Windows).
Any thoughts on establishing dev environment will be appreciated.

--
Fyodor

------ Исходное сообщение ------
От: "Емельяненко Федор" <fy...@hotmail.com>>
Кому: "Damjan Jovanovic" <da...@apache.org>>
Копия: "Apache OO" <de...@openoffice.apache.org>>
Отправлено: 04.07.2017 12:57:52
Тема: Re[4]: Building OO

I use following config script

./configure \
   --with-frame-home="$SDK_PATH" \
   --with-psdk-home="$SDK_PATH" \
   --with-midl-path="$SDK_PATH/bin" \
   --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
   --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
   --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
   --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
   --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
   --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
   --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
   --disable-pch \
   --disable-atl \
   --disable-activex \
   --disable-nss-module \
   --without-junit \
   --disable-directx

On Windows 8.1 64 bit Hyper-v VM

Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin

I've tried to rebuild with following script (full path) with no success

./configure \
   --with-frame-home="$SDK_PATH" \
   --with-psdk-home="$SDK_PATH" \
   --with-midl-path="$SDK_PATH/bin" \
   --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
   --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
   --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
   --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \
   --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
   --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
   --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
   --disable-pch \
   --disable-atl \
   --disable-activex \
   --disable-nss-module \
   --without-junit \
   --disable-directx

Now I have error on module gtest...

dmake: Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'

1 module(s):
gtest
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest

When you have fixed the errors in that module you can resume the build by running:

build --all:gtest

------ Исходное сообщение ------
От: "Damjan Jovanovic" <da...@apache.org>>
Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
Копия: "Apache OO" <de...@openoffice.apache.org>>
Отправлено: 02.07.2017 16:46:09
Тема: Re: Re[2]: Building OO

I just succeeded in building trunk with:
32 bit VirtualBox VM
Windows XP
SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH" --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6" --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" --enable-pch --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar" --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar" --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx --with-package-format="installed" --enable-wiki-publisher

Please post your full setup and build options.
Regards
Damjan

On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <fy...@hotmail.com>> wrote:
Hello Damjan,

I've commented out in main/udm/StaticLibrary_udm.mk

#ifeq ($(OS),WNT)
#$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
#else

Now build stopped on xml2cmp module...


                        =============
                        Building module xml2cmp
                        =============

                        Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj

                        cd .. && make -s -r -j1   && make -s -r deliverlog
                        [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
headers to be there!
                        [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
headers to be there!
                        [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
headers to be there!
                        [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
headers to be there!
                        [ build CXX ] xml2cmp/source/finder/dependy
                        dependy.cxx
                        [ build CXX ] xml2cmp/source/finder/dep_main
                        dep_main.cxx
                        [ build CXX ] xml2cmp/source/xcd/cr_html
                        cr_html.cxx
                        [ build CXX ] xml2cmp/source/xcd/cr_index
                        cr_index.cxx
                        [ build CXX ] xml2cmp/source/xcd/cr_metho
                        cr_metho.cxx
                        [ build CXX ] xml2cmp/source/xcd/filebuff
                        filebuff.cxx
                        [ build CXX ] xml2cmp/source/xcd/parse
                        parse.cxx
                        [ build CXX ] xml2cmp/source/xcd/xmlelem
                        xmlelem.cxx
                        [ build CXX ] xml2cmp/source/xcd/xmltree
                        xmltree.cxx
                        [ build CXX ] xml2cmp/source/support/cmdline
                        cmdline.cxx
                        [ build CXX ] xml2cmp/source/support/heap
                        heap.cxx
                        [ build CXX ] xml2cmp/source/support/sistr
                        sistr.cxx
                        [ build CXX ] xml2cmp/source/support/syshelp
                        syshelp.cxx
                        [ build CXX ] xml2cmp/source/support/badcast
                        badcast.cxx
                        [ build DEP ] LNK:Executable/srvdepy.exe
                        [ build CXX ] xml2cmp/source/xcd/main
                        main.cxx
                        [ build DEP ] LNK:Executable/xml2cmp.exe
                        ', needed by
'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
  Stop.
                        dmake:  Error code 2, while making 'all'

                        1 module(s):
                                xml2cmp
                        need(s) to be rebuilt

                        Reason(s):

                        ERROR: error 65280 occurred while making
/cygdrive/c/source/aoo-trunk/main/xml2cmp/prj

                        When you have fixed the errors in that module you can resume the
build by running:

                                build --all:xml2cmp

------ Исходное сообщение ------
От: "Damjan Jovanovic" <da...@apache.org>>
Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
Копия: "Apache OO" <de...@openoffice.apache.org>>
Отправлено: 28.06.2017 15:07:29
Тема: Re: Building OO

>Hi Fyodor
>
>The problem is almost certainly in
>main/udm/StaticLibrary_udm.mk
>
>Make try take out the contents of the ifeq ($(OS),WNT) section?
>
>I'll try build it later.
>
>Damjan
>
>On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
><fy...@hotmail.com>> wrote:
>>Hi Damjan,
>>
>>I’ve got OO using svn co
>>https://svn.apache.org/repos/asf/openoffice/trunk
>><https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>ago.
>>
>>I've cd'ed to udm and tried build -all:udm
>>
>>This is output
>>                         Admin@shr-pc
>>/cygdrive/c/source/aoo-trunk/main/udm
>>                         $ build --all:udm
>>                         build -- version: 1775979
>>
>>
>>                         =============
>>                         Building module udm
>>                         =============
>>
>>                         Entering
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>                         cd .. && make -s -r -j1   && make -s -r
>>deliverlog
>>                         ', needed by
>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>

>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>   Stop.
>>                         dmake:  Error code 2, while making 'all'
>>
>>                         1 module(s):
>>                                 udm
>>                         need(s) to be rebuilt
>>
>>                         Reason(s):
>>
>>                         ERROR: error 65280 occurred while making
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>                         When you have fixed the errors in that module
>>you can resume the
>>build by running:
>>
>>                                 build --all:udm
>>
>>
>>I think I need to deep dive into dmake, so I'll be able to trace build
>>and link processes and find what exactly done on udm module. So I'll
>>appreciate reference to information on dmake.
>>
>>--
>>Fyodor
>>
>>
>>From: Damjan Jovanovic [mailto:damjan@apache.org<ma...@apache.org>]
>>Sent: Tuesday, June 27, 2017 5:38 PM
>>To: Apache OO <de...@openoffice.apache.org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>Subject: Re: Building OO
>>
>>Hi Fyodor
>>Welcome to AOO :).
>>What version are you building?
>>Can you "cd" into the udm directory, and post the full output of
>>"build"
>>run from there?
>>Thank you
>>Damjan
>>
>>On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>><fy...@hotmail.com>> wrote:
>>=============
>>Building module udm
>>=============
>>
>>Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>Hello!
>>
>>I'm newbie in OO development, and as New Volunteer Orientation module
>>suggests, I've established local build env, and try to build OO.
>>I've installed required prerequisites from Building Guide
>>(http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO

>><http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>and
>>started to build with this command
>>
>>./configure \
>>      --with-frame-home="$SDK_PATH" \
>>      --with-psdk-home="$SDK_PATH" \
>>      --with-midl-path="$SDK_PATH/bin" \
>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>
>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>><https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>\
>>
>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>><https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>\
>>      --disable-pch \
>>      --disable-atl \
>>      --disable-activex \
>>      --disable-nss-module \
>>      --without-junit \
>>      --disable-directx
>>
>>There are some modules built successfully, but built stop on UDM
>>module
>>with following error
>>
>>cd .. && make -s -r -j1   && make -s -r deliverlog
>>[ build CXX ] udm/source/html/htmlitem
>>htmlitem.cxx
>>[ build CXX ] udm/source/xml/xmlitem
>>xmlitem.cxx
>>[ build DEP ] LNK:StaticLibrary/udm.lib
>>[ build PKG ] udm_inc
>>', needed by
>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>

>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>   Stop.
>>dmake:  Error code 2, while making 'all'
>>
>>1 module(s):
>>          udm
>>need(s) to be rebuilt
>>
>>Reason(s):
>>
>>ERROR: error 65280 occurred while making
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>When you have fixed the errors in that module you can resume the build
>>by running:
>>
>>          build --all:udm
>>
>>I'm not professional with dmake (yet), so any help would be
>>appreciated.
>>
>>--
>>Fyodor
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>><ma...@openoffice.apache.org>>
>>For additional commands, e-mail: dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>
>


Re[5]: Building OO

Posted by Yemelyanenko Fyodor <fy...@hotmail.com>.
Hello!

I've switched to Ubuntu 14.04 mini with xubuntu-desktop and xrdp installed
And OO built successfully! :-)

Now trying to do the same on W7 x32.

As Id like to deep dive into OO development, could you please share what dev environment do you use on Ubuntu and on W7 (I believe, that I'll finally success in building OO on Windows).
Any thoughts on establishing dev environment will be appreciated.

--
Fyodor

------ Исходное сообщение ------
От: "Емельяненко Федор" <fy...@hotmail.com>>
Кому: "Damjan Jovanovic" <da...@apache.org>>
Копия: "Apache OO" <de...@openoffice.apache.org>>
Отправлено: 04.07.2017 12:57:52
Тема: Re[4]: Building OO

I use following config script

./configure \
   --with-frame-home="$SDK_PATH" \
   --with-psdk-home="$SDK_PATH" \
   --with-midl-path="$SDK_PATH/bin" \
   --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
   --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
   --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
   --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
   --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
   --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
   --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
   --disable-pch \
   --disable-atl \
   --disable-activex \
   --disable-nss-module \
   --without-junit \
   --disable-directx

On Windows 8.1 64 bit Hyper-v VM

Full jdk path C:\Program Files (x86)\Java\jdk1.8.0_131
CL home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
Asm home C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin

I've tried to rebuild with following script (full path) with no success

./configure \
   --with-frame-home="$SDK_PATH" \
   --with-psdk-home="$SDK_PATH" \
   --with-midl-path="$SDK_PATH/bin" \
   --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
   --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_131" \
   --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
   --with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \
   --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin" \
   --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
   --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
   --disable-pch \
   --disable-atl \
   --disable-activex \
   --disable-nss-module \
   --without-junit \
   --disable-directx

Now I have error on module gtest...

dmake: Error code 2, while making './wntmsci12.pro/misc/build/so_built_oo_gtest'

1 module(s):
gtest
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/ext_libraries/gtest

When you have fixed the errors in that module you can resume the build by running:

build --all:gtest

------ Исходное сообщение ------
От: "Damjan Jovanovic" <da...@apache.org>>
Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
Копия: "Apache OO" <de...@openoffice.apache.org>>
Отправлено: 02.07.2017 16:46:09
Тема: Re: Re[2]: Building OO

I just succeeded in building trunk with:

32 bit VirtualBox VM
Windows XP
SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0" ./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH" --with-midl-path="$SDK_PATH/bin" --with-ant-home="/cygdrive/c/apache-ant-1.9.6" --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" --enable-pch --disable-atl --disable-activex --with-junit="/cygdrive/c/source/junit.jar" --with-hamcrest-core="/cygdrive/c/source/hamcrest.jar" --with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC" --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" --with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx --with-package-format="installed" --enable-wiki-publisher

Please post your full setup and build options.

Regards
Damjan

On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <fy...@hotmail.com>> wrote:
Hello Damjan,

I've commented out in main/udm/StaticLibrary_udm.mk

#ifeq ($(OS),WNT)
#$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
#else

Now build stopped on xml2cmp module...


                        =============
                        Building module xml2cmp
                        =============

                        Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj

                        cd .. && make -s -r -j1   && make -s -r deliverlog
                        [ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming
headers to be there!
                        [ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming
headers to be there!
                        [ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming
headers to be there!
                        [ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming
headers to be there!
                        [ build CXX ] xml2cmp/source/finder/dependy
                        dependy.cxx
                        [ build CXX ] xml2cmp/source/finder/dep_main
                        dep_main.cxx
                        [ build CXX ] xml2cmp/source/xcd/cr_html
                        cr_html.cxx
                        [ build CXX ] xml2cmp/source/xcd/cr_index
                        cr_index.cxx
                        [ build CXX ] xml2cmp/source/xcd/cr_metho
                        cr_metho.cxx
                        [ build CXX ] xml2cmp/source/xcd/filebuff
                        filebuff.cxx
                        [ build CXX ] xml2cmp/source/xcd/parse
                        parse.cxx
                        [ build CXX ] xml2cmp/source/xcd/xmlelem
                        xmlelem.cxx
                        [ build CXX ] xml2cmp/source/xcd/xmltree
                        xmltree.cxx
                        [ build CXX ] xml2cmp/source/support/cmdline
                        cmdline.cxx
                        [ build CXX ] xml2cmp/source/support/heap
                        heap.cxx
                        [ build CXX ] xml2cmp/source/support/sistr
                        sistr.cxx
                        [ build CXX ] xml2cmp/source/support/syshelp
                        syshelp.cxx
                        [ build CXX ] xml2cmp/source/support/badcast
                        badcast.cxx
                        [ build DEP ] LNK:Executable/srvdepy.exe
                        [ build CXX ] xml2cmp/source/xcd/main
                        main.cxx
                        [ build DEP ] LNK:Executable/xml2cmp.exe
                        ', needed by
'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o<http://wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o>'.
  Stop.
                        dmake:  Error code 2, while making 'all'

                        1 module(s):
                                xml2cmp
                        need(s) to be rebuilt

                        Reason(s):

                        ERROR: error 65280 occurred while making
/cygdrive/c/source/aoo-trunk/main/xml2cmp/prj

                        When you have fixed the errors in that module you can resume the
build by running:

                                build --all:xml2cmp

------ Исходное сообщение ------
От: "Damjan Jovanovic" <da...@apache.org>>
Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>>
Копия: "Apache OO" <de...@openoffice.apache.org>>
Отправлено: 28.06.2017 15:07:29
Тема: Re: Building OO

>Hi Fyodor
>
>The problem is almost certainly in
>main/udm/StaticLibrary_udm.mk
>
>Make try take out the contents of the ifeq ($(OS),WNT) section?
>
>I'll try build it later.
>
>Damjan
>
>On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
><fy...@hotmail.com>> wrote:
>>Hi Damjan,
>>
>>I’ve got OO using svn co
>>https://svn.apache.org/repos/asf/openoffice/trunk
>><https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
>>ago.
>>
>>I've cd'ed to udm and tried build -all:udm
>>
>>This is output
>>                         Admin@shr-pc
>>/cygdrive/c/source/aoo-trunk/main/udm
>>                         $ build --all:udm
>>                         build -- version: 1775979
>>
>>
>>                         =============
>>                         Building module udm
>>                         =============
>>
>>                         Entering
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>                         cd .. && make -s -r -j1   && make -s -r
>>deliverlog
>>                         ', needed by
>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>   Stop.
>>                         dmake:  Error code 2, while making 'all'
>>
>>                         1 module(s):
>>                                 udm
>>                         need(s) to be rebuilt
>>
>>                         Reason(s):
>>
>>                         ERROR: error 65280 occurred while making
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>                         When you have fixed the errors in that module
>>you can resume the
>>build by running:
>>
>>                                 build --all:udm
>>
>>
>>I think I need to deep dive into dmake, so I'll be able to trace build
>>and link processes and find what exactly done on udm module. So I'll
>>appreciate reference to information on dmake.
>>
>>--
>>Fyodor
>>
>>
>>From: Damjan Jovanovic [mailto:damjan@apache.org<ma...@apache.org>]
>>Sent: Tuesday, June 27, 2017 5:38 PM
>>To: Apache OO <de...@openoffice.apache.org>>; fyodor_e@hotmail.com<ma...@hotmail.com>
>>Subject: Re: Building OO
>>
>>Hi Fyodor
>>Welcome to AOO :).
>>What version are you building?
>>Can you "cd" into the udm directory, and post the full output of
>>"build"
>>run from there?
>>Thank you
>>Damjan
>>
>>On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>><fy...@hotmail.com>> wrote:
>>=============
>>Building module udm
>>=============
>>
>>Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>Hello!
>>
>>I'm newbie in OO development, and as New Volunteer Orientation module
>>suggests, I've established local build env, and try to build OO.
>>I've installed required prerequisites from Building Guide
>>(http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>><http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
>>and
>>started to build with this command
>>
>>./configure \
>>      --with-frame-home="$SDK_PATH" \
>>      --with-psdk-home="$SDK_PATH" \
>>      --with-midl-path="$SDK_PATH/bin" \
>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>
>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
>><https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>\
>>
>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
>><https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>\
>>      --disable-pch \
>>      --disable-atl \
>>      --disable-activex \
>>      --disable-nss-module \
>>      --without-junit \
>>      --disable-directx
>>
>>There are some modules built successfully, but built stop on UDM
>>module
>>with following error
>>
>>cd .. && make -s -r -j1   && make -s -r deliverlog
>>[ build CXX ] udm/source/html/htmlitem
>>htmlitem.cxx
>>[ build CXX ] udm/source/xml/xmlitem
>>xmlitem.cxx
>>[ build DEP ] LNK:StaticLibrary/udm.lib
>>[ build PKG ] udm_inc
>>', needed by
>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o<http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>
>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>   Stop.
>>dmake:  Error code 2, while making 'all'
>>
>>1 module(s):
>>          udm
>>need(s) to be rebuilt
>>
>>Reason(s):
>>
>>ERROR: error 65280 occurred while making
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>When you have fixed the errors in that module you can resume the build
>>by running:
>>
>>          build --all:udm
>>
>>I'm not professional with dmake (yet), so any help would be
>>appreciated.
>>
>>--
>>Fyodor
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org<ma...@openoffice.apache.org>
>><ma...@openoffice.apache.org>>
>>For additional commands, e-mail: dev-help@openoffice.apache.org<ma...@openoffice.apache.org>
>>
>



Re: Re[2]: Building OO

Posted by Damjan Jovanovic <da...@apache.org>.
I just succeeded in building trunk with:

32 bit VirtualBox VM
Windows XP
SDK_PATH="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0"
./configure --with-frame-home="$SDK_PATH" --with-psdk-home="$SDK_PATH"
--with-midl-path="$SDK_PATH/bin"
--with-ant-home="/cygdrive/c/apache-ant-1.9.6" --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"
--enable-pch --disable-atl --disable-activex
--with-junit="/cygdrive/c/source/junit.jar"
--with-hamcrest-core="/cygdrive/c/source/hamcrest.jar"
--with-cl-home="/cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC"
--with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5"
--with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0" --disable-directx
--with-package-format="installed" --enable-wiki-publisher

Please post your full setup and build options.

Regards
Damjan

On Fri, Jun 30, 2017 at 7:37 AM, Yemelyanenko Fyodor <fy...@hotmail.com>
wrote:

> Hello Damjan,
>
> I've commented out in main/udm/StaticLibrary_udm.mk
>
> #ifeq ($(OS),WNT)
> #$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
> #else
>
> Now build stopped on xml2cmp module...
>
>
>                         =============
>                         Building module xml2cmp
>                         =============
>
>                         Entering /cygdrive/c/source/aoo-trunk/
> main/xml2cmp/prj
>
>                         cd .. && make -s -r -j1   && make -s -r deliverlog
>                         [ info  ALL ] LinkTarget Library/msvcprt.lib not
> defined: Assuming
> headers to be there!
>                         [ info  ALL ] LinkTarget Library/kernel32.lib not
> defined: Assuming
> headers to be there!
>                         [ info  ALL ] LinkTarget Library/msvcrt.lib not
> defined: Assuming
> headers to be there!
>                         [ info  ALL ] LinkTarget Library/oldnames.lib not
> defined: Assuming
> headers to be there!
>                         [ build CXX ] xml2cmp/source/finder/dependy
>                         dependy.cxx
>                         [ build CXX ] xml2cmp/source/finder/dep_main
>                         dep_main.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_html
>                         cr_html.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_index
>                         cr_index.cxx
>                         [ build CXX ] xml2cmp/source/xcd/cr_metho
>                         cr_metho.cxx
>                         [ build CXX ] xml2cmp/source/xcd/filebuff
>                         filebuff.cxx
>                         [ build CXX ] xml2cmp/source/xcd/parse
>                         parse.cxx
>                         [ build CXX ] xml2cmp/source/xcd/xmlelem
>                         xmlelem.cxx
>                         [ build CXX ] xml2cmp/source/xcd/xmltree
>                         xmltree.cxx
>                         [ build CXX ] xml2cmp/source/support/cmdline
>                         cmdline.cxx
>                         [ build CXX ] xml2cmp/source/support/heap
>                         heap.cxx
>                         [ build CXX ] xml2cmp/source/support/sistr
>                         sistr.cxx
>                         [ build CXX ] xml2cmp/source/support/syshelp
>                         syshelp.cxx
>                         [ build CXX ] xml2cmp/source/support/badcast
>                         badcast.cxx
>                         [ build DEP ] LNK:Executable/srvdepy.exe
>                         [ build CXX ] xml2cmp/source/xcd/main
>                         main.cxx
>                         [ build DEP ] LNK:Executable/xml2cmp.exe
>                         ', needed by
> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'.
>   Stop.
>                         dmake:  Error code 2, while making 'all'
>
>                         1 module(s):
>                                 xml2cmp
>                         need(s) to be rebuilt
>
>                         Reason(s):
>
>                         ERROR: error 65280 occurred while making
> /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj
>
>                         When you have fixed the errors in that module you
> can resume the
> build by running:
>
>                                 build --all:xml2cmp
>
> ------ Исходное сообщение ------
> От: "Damjan Jovanovic" <da...@apache.org>
> Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>
> Копия: "Apache OO" <de...@openoffice.apache.org>
> Отправлено: 28.06.2017 15:07:29
> Тема: Re: Building OO
>
> >Hi Fyodor
> >
> >The problem is almost certainly in
> >main/udm/StaticLibrary_udm.mk
> >
> >Make try take out the contents of the ifeq ($(OS),WNT) section?
> >
> >I'll try build it later.
> >
> >Damjan
> >
> >On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor
> ><fy...@hotmail.com> wrote:
> >>Hi Damjan,
> >>
> >>I’ve got OO using svn co
> >>https://svn.apache.org/repos/asf/openoffice/trunk
> >><https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week
> >>ago.
> >>
> >>I've cd'ed to udm and tried build -all:udm
> >>
> >>This is output
> >>                         Admin@shr-pc
> >>/cygdrive/c/source/aoo-trunk/main/udm
> >>                         $ build --all:udm
> >>                         build -- version: 1775979
> >>
> >>
> >>                         =============
> >>                         Building module udm
> >>                         =============
> >>
> >>                         Entering
> >>/cygdrive/c/source/aoo-trunk/main/udm/prj
> >>
> >>                         cd .. && make -s -r -j1   && make -s -r
> >>deliverlog
> >>                         ', needed by
> >>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci1
> 2.pro/workdir/CxxObject/udm/source/html/htmlitem.o
> >><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
> >>   Stop.
> >>                         dmake:  Error code 2, while making 'all'
> >>
> >>                         1 module(s):
> >>                                 udm
> >>                         need(s) to be rebuilt
> >>
> >>                         Reason(s):
> >>
> >>                         ERROR: error 65280 occurred while making
> >>/cygdrive/c/source/aoo-trunk/main/udm/prj
> >>
> >>                         When you have fixed the errors in that module
> >>you can resume the
> >>build by running:
> >>
> >>                                 build --all:udm
> >>
> >>
> >>I think I need to deep dive into dmake, so I'll be able to trace build
> >>and link processes and find what exactly done on udm module. So I'll
> >>appreciate reference to information on dmake.
> >>
> >>--
> >>Fyodor
> >>
> >>
> >>From: Damjan Jovanovic [mailto:damjan@apache.org]
> >>Sent: Tuesday, June 27, 2017 5:38 PM
> >>To: Apache OO <de...@openoffice.apache.org>; fyodor_e@hotmail.com
> >>Subject: Re: Building OO
> >>
> >>Hi Fyodor
> >>Welcome to AOO :).
> >>What version are you building?
> >>Can you "cd" into the udm directory, and post the full output of
> >>"build"
> >>run from there?
> >>Thank you
> >>Damjan
> >>
> >>On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
> >><fy...@hotmail.com> wrote:
> >>=============
> >>Building module udm
> >>=============
> >>
> >>Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
> >>Hello!
> >>
> >>I'm newbie in OO development, and as New Volunteer Orientation module
> >>suggests, I've established local build env, and try to build OO.
> >>I've installed required prerequisites from Building Guide
> >>(http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
> >><http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>)
> >>and
> >>started to build with this command
> >>
> >>./configure \
> >>      --with-frame-home="$SDK_PATH" \
> >>      --with-psdk-home="$SDK_PATH" \
> >>      --with-midl-path="$SDK_PATH/bin" \
> >>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
> >>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
> >>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
> >>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
> >>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
> >>
> >>--with-dmake-url="https://sourceforge.net/projects/
> oooextras.mirror/files/dmake-4.12.tar.bz2
> >><https://sourceforge.net/projects/oooextras.mirror/
> files/dmake-4.12.tar.bz2>"
> >>\
> >>
> >>--with-epm-url="https://sourceforge.net/projects/
> oooextras.mirror/files/epm-3.7.tar.gz
> >><https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
> >"
> >>\
> >>      --disable-pch \
> >>      --disable-atl \
> >>      --disable-activex \
> >>      --disable-nss-module \
> >>      --without-junit \
> >>      --disable-directx
> >>
> >>There are some modules built successfully, but built stop on UDM
> >>module
> >>with following error
> >>
> >>cd .. && make -s -r -j1   && make -s -r deliverlog
> >>[ build CXX ] udm/source/html/htmlitem
> >>htmlitem.cxx
> >>[ build CXX ] udm/source/xml/xmlitem
> >>xmlitem.cxx
> >>[ build DEP ] LNK:StaticLibrary/udm.lib
> >>[ build PKG ] udm_inc
> >>', needed by
> >>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci1
> 2.pro/workdir/CxxObject/udm/source/html/htmlitem.o
> >><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
> >>   Stop.
> >>dmake:  Error code 2, while making 'all'
> >>
> >>1 module(s):
> >>          udm
> >>need(s) to be rebuilt
> >>
> >>Reason(s):
> >>
> >>ERROR: error 65280 occurred while making
> >>/cygdrive/c/source/aoo-trunk/main/udm/prj
> >>
> >>When you have fixed the errors in that module you can resume the build
> >>by running:
> >>
> >>          build --all:udm
> >>
> >>I'm not professional with dmake (yet), so any help would be
> >>appreciated.
> >>
> >>--
> >>Fyodor
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> >><ma...@openoffice.apache.org>
> >>For additional commands, e-mail: dev-help@openoffice.apache.org
> >>
> >
>
>

Re[2]: Building OO

Posted by Yemelyanenko Fyodor <fy...@hotmail.com>.
Hello Damjan,

I've commented out in main/udm/StaticLibrary_udm.mk

#ifeq ($(OS),WNT)
#$(eval $(call gb_StaticLibrary_add_cflags,udm,-GR))
#else

Now build stopped on xml2cmp module...


			============= 		
			Building module xml2cmp 		
			============= 		
			  		
			Entering /cygdrive/c/source/aoo-trunk/main/xml2cmp/prj 		
			  		
			cd .. && make -s -r -j1   && make -s -r deliverlog 		
			[ info  ALL ] LinkTarget Library/msvcprt.lib not defined: Assuming 
headers to be there! 		
			[ info  ALL ] LinkTarget Library/kernel32.lib not defined: Assuming 
headers to be there! 		
			[ info  ALL ] LinkTarget Library/msvcrt.lib not defined: Assuming 
headers to be there! 		
			[ info  ALL ] LinkTarget Library/oldnames.lib not defined: Assuming 
headers to be there! 		
			[ build CXX ] xml2cmp/source/finder/dependy 		
			dependy.cxx 		
			[ build CXX ] xml2cmp/source/finder/dep_main 		
			dep_main.cxx 		
			[ build CXX ] xml2cmp/source/xcd/cr_html 		
			cr_html.cxx 		
			[ build CXX ] xml2cmp/source/xcd/cr_index 		
			cr_index.cxx 		
			[ build CXX ] xml2cmp/source/xcd/cr_metho 		
			cr_metho.cxx 		
			[ build CXX ] xml2cmp/source/xcd/filebuff 		
			filebuff.cxx 		
			[ build CXX ] xml2cmp/source/xcd/parse 		
			parse.cxx 		
			[ build CXX ] xml2cmp/source/xcd/xmlelem 		
			xmlelem.cxx 		
			[ build CXX ] xml2cmp/source/xcd/xmltree 		
			xmltree.cxx 		
			[ build CXX ] xml2cmp/source/support/cmdline 		
			cmdline.cxx 		
			[ build CXX ] xml2cmp/source/support/heap 		
			heap.cxx 		
			[ build CXX ] xml2cmp/source/support/sistr 		
			sistr.cxx 		
			[ build CXX ] xml2cmp/source/support/syshelp 		
			syshelp.cxx 		
			[ build CXX ] xml2cmp/source/support/badcast 		
			badcast.cxx 		
			[ build DEP ] LNK:Executable/srvdepy.exe 		
			[ build CXX ] xml2cmp/source/xcd/main 		
			main.cxx 		
			[ build DEP ] LNK:Executable/xml2cmp.exe 		
			', needed by 
'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/xml2cmp/source/xcd/cr_html.o'. 
  Stop. 		
			dmake:  Error code 2, while making 'all' 		
			  		
			1 module(s): 		
			        xml2cmp 		
			need(s) to be rebuilt 		
			  		
			Reason(s): 		
			  		
			ERROR: error 65280 occurred while making 
/cygdrive/c/source/aoo-trunk/main/xml2cmp/prj 		
			  		
			When you have fixed the errors in that module you can resume the 
build by running: 		
			  		
			        build --all:xml2cmp 		

------ Исходное сообщение ------
От: "Damjan Jovanovic" <da...@apache.org>
Кому: "Yemelyanenko Fyodor" <fy...@hotmail.com>
Копия: "Apache OO" <de...@openoffice.apache.org>
Отправлено: 28.06.2017 15:07:29
Тема: Re: Building OO

>Hi Fyodor
>
>The problem is almost certainly in
>main/udm/StaticLibrary_udm.mk
>
>Make try take out the contents of the ifeq ($(OS),WNT) section?
>
>I'll try build it later.
>
>Damjan
>
>On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor 
><fy...@hotmail.com> wrote:
>>Hi Damjan,
>>
>>I’ve got OO using svn co
>>https://svn.apache.org/repos/asf/openoffice/trunk 
>><https://svn.apache.org/repos/asf/openoffice/trunk> aoo-trunk a week 
>>ago.
>>
>>I've cd'ed to udm and tried build -all:udm
>>
>>This is output
>>                         Admin@shr-pc 
>>/cygdrive/c/source/aoo-trunk/main/udm
>>                         $ build --all:udm
>>                         build -- version: 1775979
>>
>>
>>                         =============
>>                         Building module udm
>>                         =============
>>
>>                         Entering 
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>                         cd .. && make -s -r -j1   && make -s -r 
>>deliverlog
>>                         ', needed by
>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o 
>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>   Stop.
>>                         dmake:  Error code 2, while making 'all'
>>
>>                         1 module(s):
>>                                 udm
>>                         need(s) to be rebuilt
>>
>>                         Reason(s):
>>
>>                         ERROR: error 65280 occurred while making
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>                         When you have fixed the errors in that module 
>>you can resume the
>>build by running:
>>
>>                                 build --all:udm
>>
>>
>>I think I need to deep dive into dmake, so I'll be able to trace build
>>and link processes and find what exactly done on udm module. So I'll
>>appreciate reference to information on dmake.
>>
>>--
>>Fyodor
>>
>>
>>From: Damjan Jovanovic [mailto:damjan@apache.org]
>>Sent: Tuesday, June 27, 2017 5:38 PM
>>To: Apache OO <de...@openoffice.apache.org>; fyodor_e@hotmail.com
>>Subject: Re: Building OO
>>
>>Hi Fyodor
>>Welcome to AOO :).
>>What version are you building?
>>Can you "cd" into the udm directory, and post the full output of 
>>"build"
>>run from there?
>>Thank you
>>Damjan
>>
>>On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
>><fy...@hotmail.com> wrote:
>>=============
>>Building module udm
>>=============
>>
>>Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>>Hello!
>>
>>I'm newbie in OO development, and as New Volunteer Orientation module
>>suggests, I've established local build env, and try to build OO.
>>I've installed required prerequisites from Building Guide
>>(http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO 
>><http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO>) 
>>and
>>started to build with this command
>>
>>./configure \
>>      --with-frame-home="$SDK_PATH" \
>>      --with-psdk-home="$SDK_PATH" \
>>      --with-midl-path="$SDK_PATH/bin" \
>>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>>
>>--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2 
>><https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2>"
>>\
>>
>>--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz 
>><https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz>"
>>\
>>      --disable-pch \
>>      --disable-atl \
>>      --disable-activex \
>>      --disable-nss-module \
>>      --without-junit \
>>      --disable-directx
>>
>>There are some modules built successfully, but built stop on UDM 
>>module
>>with following error
>>
>>cd .. && make -s -r -j1   && make -s -r deliverlog
>>[ build CXX ] udm/source/html/htmlitem
>>htmlitem.cxx
>>[ build CXX ] udm/source/xml/xmlitem
>>xmlitem.cxx
>>[ build DEP ] LNK:StaticLibrary/udm.lib
>>[ build PKG ] udm_inc
>>', needed by
>>'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o 
>><http://wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o>'.
>>   Stop.
>>dmake:  Error code 2, while making 'all'
>>
>>1 module(s):
>>          udm
>>need(s) to be rebuilt
>>
>>Reason(s):
>>
>>ERROR: error 65280 occurred while making
>>/cygdrive/c/source/aoo-trunk/main/udm/prj
>>
>>When you have fixed the errors in that module you can resume the build
>>by running:
>>
>>          build --all:udm
>>
>>I'm not professional with dmake (yet), so any help would be 
>>appreciated.
>>
>>--
>>Fyodor
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org 
>><ma...@openoffice.apache.org>
>>For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>


Re: Building OO

Posted by Damjan Jovanovic <da...@apache.org>.
Hi Fyodor

The problem is almost certainly in
main/udm/StaticLibrary_udm.mk

Make try take out the contents of the ifeq ($(OS),WNT) section?

I'll try build it later.

Damjan

On Wed, Jun 28, 2017 at 6:00 AM, Yemelyanenko Fyodor <fy...@hotmail.com>
wrote:

> Hi Damjan,
>
> I’ve got OO using svn co
> https://svn.apache.org/repos/asf/openoffice/trunk aoo-trunk a week ago.
>
> I've cd'ed to udm and tried build -all:udm
>
> This is output
>                         Admin@shr-pc /cygdrive/c/source/aoo-trunk/main/udm
>                         $ build --all:udm
>                         build -- version: 1775979
>
>
>                         =============
>                         Building module udm
>                         =============
>
>                         Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
>
>                         cd .. && make -s -r -j1   && make -s -r deliverlog
>                         ', needed by
> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> workdir/CxxObject/udm/source/html/htmlitem.o'.
>   Stop.
>                         dmake:  Error code 2, while making 'all'
>
>                         1 module(s):
>                                 udm
>                         need(s) to be rebuilt
>
>                         Reason(s):
>
>                         ERROR: error 65280 occurred while making
> /cygdrive/c/source/aoo-trunk/main/udm/prj
>
>                         When you have fixed the errors in that module you
> can resume the
> build by running:
>
>                                 build --all:udm
>
>
> I think I need to deep dive into dmake, so I'll be able to trace build
> and link processes and find what exactly done on udm module. So I'll
> appreciate reference to information on dmake.
>
> --
> Fyodor
>
>
> From: Damjan Jovanovic [mailto:damjan@apache.org]
> Sent: Tuesday, June 27, 2017 5:38 PM
> To: Apache OO <de...@openoffice.apache.org>; fyodor_e@hotmail.com
> Subject: Re: Building OO
>
> Hi Fyodor
> Welcome to AOO :).
> What version are you building?
> Can you "cd" into the udm directory, and post the full output of "build"
> run from there?
> Thank you
> Damjan
>
> On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor
> <fy...@hotmail.com> wrote:
> =============
> Building module udm
> =============
>
> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
> Hello!
>
> I'm newbie in OO development, and as New Volunteer Orientation module
> suggests, I've established local build env, and try to build OO.
> I've installed required prerequisites from Building Guide
> (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO) and
> started to build with this command
>
> ./configure \
>      --with-frame-home="$SDK_PATH" \
>      --with-psdk-home="$SDK_PATH" \
>      --with-midl-path="$SDK_PATH/bin" \
>      --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>      --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>      --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>      --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>      --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>
> --with-dmake-url="https://sourceforge.net/projects/
> oooextras.mirror/files/dmake-4.12.tar.bz2"
> \
>
> --with-epm-url="https://sourceforge.net/projects/
> oooextras.mirror/files/epm-3.7.tar.gz"
> \
>      --disable-pch \
>      --disable-atl \
>      --disable-activex \
>      --disable-nss-module \
>      --without-junit \
>      --disable-directx
>
> There are some modules built successfully, but built stop on UDM module
> with following error
>
> cd .. && make -s -r -j1   && make -s -r deliverlog
> [ build CXX ] udm/source/html/htmlitem
> htmlitem.cxx
> [ build CXX ] udm/source/xml/xmlitem
> xmlitem.cxx
> [ build DEP ] LNK:StaticLibrary/udm.lib
> [ build PKG ] udm_inc
> ', needed by
> '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> workdir/CxxObject/udm/source/html/htmlitem.o'.
>   Stop.
> dmake:  Error code 2, while making 'all'
>
> 1 module(s):
>          udm
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making
> /cygdrive/c/source/aoo-trunk/main/udm/prj
>
> When you have fixed the errors in that module you can resume the build
> by running:
>
>          build --all:udm
>
> I'm not professional with dmake (yet), so any help would be appreciated.
>
> --
> Fyodor
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>

RE: Building OO

Posted by Yemelyanenko Fyodor <fy...@hotmail.com>.
Hi Damjan,

I’ve got OO using svn co 
https://svn.apache.org/repos/asf/openoffice/trunk aoo-trunk a week ago.

I've cd'ed to udm and tried build -all:udm

This is output
			Admin@shr-pc /cygdrive/c/source/aoo-trunk/main/udm 		
			$ build --all:udm 		
			build -- version: 1775979 		
			  		
			  		
			============= 		
			Building module udm 		
			============= 		
			  		
			Entering /cygdrive/c/source/aoo-trunk/main/udm/prj 		
			  		
			cd .. && make -s -r -j1   && make -s -r deliverlog 		
			', needed by 
'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'. 
  Stop. 		
			dmake:  Error code 2, while making 'all' 		
			  		
			1 module(s): 		
			        udm 		
			need(s) to be rebuilt 		
			  		
			Reason(s): 		
			  		
			ERROR: error 65280 occurred while making 
/cygdrive/c/source/aoo-trunk/main/udm/prj 		
			  		
			When you have fixed the errors in that module you can resume the 
build by running: 		
			  		
			        build --all:udm 		
			  		

I think I need to deep dive into dmake, so I'll be able to trace build 
and link processes and find what exactly done on udm module. So I'll 
appreciate reference to information on dmake.

--
Fyodor


From: Damjan Jovanovic [mailto:damjan@apache.org]
Sent: Tuesday, June 27, 2017 5:38 PM
To: Apache OO <de...@openoffice.apache.org>; fyodor_e@hotmail.com
Subject: Re: Building OO

Hi Fyodor
Welcome to AOO :).
What version are you building?
Can you "cd" into the udm directory, and post the full output of "build" 
run from there?
Thank you
Damjan

On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor 
<fy...@hotmail.com> wrote:
=============
Building module udm
=============

Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
Hello!

I'm newbie in OO development, and as New Volunteer Orientation module 
suggests, I've established local build env, and try to build OO.
I've installed required prerequisites from Building Guide 
(http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO) and 
started to build with this command

./configure \
     --with-frame-home="$SDK_PATH" \
     --with-psdk-home="$SDK_PATH" \
     --with-midl-path="$SDK_PATH/bin" \
     --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
     --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
     --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
     --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
     --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
     
--with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" 
\
     
--with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" 
\
     --disable-pch \
     --disable-atl \
     --disable-activex \
     --disable-nss-module \
     --without-junit \
     --disable-directx

There are some modules built successfully, but built stop on UDM module 
with following error

cd .. && make -s -r -j1   && make -s -r deliverlog
[ build CXX ] udm/source/html/htmlitem
htmlitem.cxx
[ build CXX ] udm/source/xml/xmlitem
xmlitem.cxx
[ build DEP ] LNK:StaticLibrary/udm.lib
[ build PKG ] udm_inc
', needed by 
'/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'. 
  Stop.
dmake:  Error code 2, while making 'all'

1 module(s):
         udm
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making 
/cygdrive/c/source/aoo-trunk/main/udm/prj

When you have fixed the errors in that module you can resume the build 
by running:

         build --all:udm

I'm not professional with dmake (yet), so any help would be appreciated.

--
Fyodor


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org

Re: Building OO

Posted by Damjan Jovanovic <da...@apache.org>.
Hi Fyodor

Welcome to AOO :).

What version are you building?

Can you "cd" into the udm directory, and post the full output of "build"
run from there?

Thank you
Damjan

On Tue, Jun 27, 2017 at 8:12 AM, Yemelyanenko Fyodor <fy...@hotmail.com>
wrote:

> =============
> Building module udm
> =============
>
> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
> Hello!
>
> I'm newbie in OO development, and as New Volunteer Orientation module
> suggests, I've established local build env, and try to build OO.
> I've installed required prerequisites from Building Guide (
> http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO) and
> started to build with this command
>
> ./configure \
>     --with-frame-home="$SDK_PATH" \
>     --with-psdk-home="$SDK_PATH" \
>     --with-midl-path="$SDK_PATH/bin" \
>     --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>     --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>     --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>     --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>     --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>     --with-dmake-url="https://sourceforge.net/projects/
> oooextras.mirror/files/dmake-4.12.tar.bz2" \
>     --with-epm-url="https://sourceforge.net/projects/
> oooextras.mirror/files/epm-3.7.tar.gz" \
>     --disable-pch \
>     --disable-atl \
>     --disable-activex \
>     --disable-nss-module \
>     --without-junit \
>     --disable-directx
>
> There are some modules built successfully, but built stop on UDM module
> with following error
>
> cd .. && make -s -r -j1   && make -s -r deliverlog
> [ build CXX ] udm/source/html/htmlitem
> htmlitem.cxx
> [ build CXX ] udm/source/xml/xmlitem
> xmlitem.cxx
> [ build DEP ] LNK:StaticLibrary/udm.lib
> [ build PKG ] udm_inc
> ', needed by '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/
> workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
> dmake:  Error code 2, while making 'all'
>
> 1 module(s):
>         udm
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/
> main/udm/prj
>
> When you have fixed the errors in that module you can resume the build by
> running:
>
>         build --all:udm
>
> I'm not professional with dmake (yet), so any help would be appreciated.
>
> --
> Fyodor
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>

Re: Building OO

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Fyodor,

I think I had the same Issue when trying to build 4.2.0 (trunk).

But then I concentrated on 4.1.4 and did successful build with Java 1.7
and Ant 1.9.9.

Kind regards, Matthias


Am 27.06.2017 um 08:12 schrieb Yemelyanenko Fyodor:
> =============
> Building module udm
> =============
>
> Entering /cygdrive/c/source/aoo-trunk/main/udm/prj
> Hello!
>
> I'm newbie in OO development, and as New Volunteer Orientation module suggests, I've established local build env, and try to build OO.
> I've installed required prerequisites from Building Guide (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO) and started to build with this command
>
> ./configure \
>     --with-frame-home="$SDK_PATH" \
>     --with-psdk-home="$SDK_PATH" \
>     --with-midl-path="$SDK_PATH/bin" \
>     --with-ant-home="/cygdrive/c/ant110/apache-ant-1.10.1" \
>     --with-jdk-home="C:/PROGRA~2/Java/JDK18~1.0_1" \
>     --with-csc-path="C:/Windows/Microsoft.NET/Framework/v3.5" \
>     --with-cl-home="C:/PROGRA~2/MICROS~1.0/VC" \
>     --with-asm-home="C:/PROGRA~2/MICROS~1.0/VC/bin" \
>     --with-dmake-url="https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2" \
>     --with-epm-url="https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz" \
>     --disable-pch \
>     --disable-atl \
>     --disable-activex \
>     --disable-nss-module \
>     --without-junit \
>     --disable-directx
>  
> There are some modules built successfully, but built stop on UDM module with following error
>
> cd .. && make -s -r -j1   && make -s -r deliverlog
> [ build CXX ] udm/source/html/htmlitem
> htmlitem.cxx
> [ build CXX ] udm/source/xml/xmlitem
> xmlitem.cxx
> [ build DEP ] LNK:StaticLibrary/udm.lib
> [ build PKG ] udm_inc
> ', needed by '/cygdrive/c/source/aoo-trunk/main/solver/420/wntmsci12.pro/workdir/CxxObject/udm/source/html/htmlitem.o'.  Stop.
> dmake:  Error code 2, while making 'all'
>
> 1 module(s):
>         udm
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making /cygdrive/c/source/aoo-trunk/main/udm/prj
>
> When you have fixed the errors in that module you can resume the build by running:
>
>         build --all:udm
>
> I'm not professional with dmake (yet), so any help would be appreciated.
>
> --
> Fyodor
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>