Re: Need help with building DEV300m106 with cygwin

Mathias Bauer <[email protected]> Tue, 17 May 2011 08:33:21 +0200
Newsgroups gmane.comp.openoffice.devel.general
Message-ID <[email protected]>
On 17.05.2011 08:13, Dmitry A. Ashkadov wrote:
> 17.05.2011 00:25, Mathias Bauer пишет:
>> On 16.05.2011 17:31, Regina Henschel wrote:
>>> Hi Mathias,
>>>
>>> Mathias Bauer schrieb:
>>>>>
>>>>> Without --enable-cairo setting or with setting --disable-cairo it
>>>>> doesn't build at all, because pango is missing cairo.h. If I then
>>>>> try to
>>>>> build cairo manually, it says that it is not enabled.
>>>>
>>>> I can not confirm this problem. I had no problem with building OOo
>>>> DEV300_m106 on Windows/cygwin without specifying any cairo related
>>>> switches.
>>>
>>> I have patch rsvglips_glib_win32.patch applied.
>>> Then I have used
>>> ./configure \
>>> --with-directx-home="/cygdrive/c/Programme/Microsoft DirectX SDK (March
>>> 2009)" \
>>> --with-cl-home="/cygdrive/c/Programme/Microsoft Visual Studio 9.0/VC" \
>>> --disable-activex \
>>> --disable-build-mozilla \
>>> --disable-nss-module \
>>> --disable-atl \
>>> --with-frame-home="/cygdrive/c/Programme/Microsoft SDKs/Windows/v6.1" \
>>> --with-psdk-home="/cygdrive/c/Programme/Microsoft SDKs/Windows/v6.1" \
>>> --with-midl-path="/cygdrive/c/Programme/Microsoft
>>> SDKs/Windows/v6.0A/bin" \
>>> --with-asm-home="/cygdrive/c/Programme/Microsoft Visual Studio
>>> 9.0/VC/bin" \
>>> --with-jdk-home="/cygdrive/c/Programme/Java/jdk1.6.0_20" \
>>> --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
>>> --with-ant-home=/ant \
>>> --without-junit \
>>> --enable-dbgutil \
>>> --with-vendor="Regina" \
>>> --with-build-version="16Mai11"
>>
>> I used the same switches as you did and my build broke exactly where
>> Dmitry's build broke: nmake crashed while building glib.  But I didn't
>> even reach "pango". AFAIK this has been fixed on the OOO340 code line,
>> so I didn't try the patch in bugzilla, but the fixes in the ooo340
>> code line. Then the build proceeded as expected. As it seems, on
>> cygwin glib and pango don't need to be built and are used from the
>> system.
>>
>> Currently no code has been integrated into dev300 after the code
>> branch and AFAIK it's not very probable than any integrations will be
>> done on this code line in the next weeks. So ooo340_m0 is the most
>> current milestone that I recommend to use. When you use it, you should
>> also get all master fixes for this code line up to change set
>> 0636cee64117. They are still not ported to dev300. You could also wait
>> until ooo340_m1 is done. Currently it's under way.
>>
>> Regards,
>> Mathias
>>
> A patch for glib was applied earlier, so OOO340 hasn't such problem with
> glib. Pango and rhino modules are built successful. But I have another
> problem when I build OOo from OOO340 with last changes (tip):
>
>     awk: fatal: can't open source file
>     `C:/cygwinc:/cygwin/home/user/projects/ooo_temp/OOO340/solenv/gbuild/processdeps.awk'
>     for reading (No such file or directory)
>     make: ***
>     [/home/user/projects/ooo_temp/OOO340/solver/340/wntmsci12/workdir/WinResTarget/comphelper/default.res]
>     Error 2
>     dmake:  Error code 2, while making 'all'
>
> A path "C:/cygwinc:/cygwin/..." seems stange.

IIRC the new build system has a problem with building from the cygwin 
home directory. Please move your OOO340 folder elsewhere and run 
configure again.

Regards,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to "[email protected]".
I use it for the OOo lists and only rarely read other mails sent to it.
-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help