You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Martin Tille <ed...@gruene.de> on 2014/09/08 16:41:21 UTC

Wiki:Step-By-Step Guide for Building on Windows not working

Hello Dev Team,

I'm trying to compile OO on Win7 64. I red through the guides here:
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_Windows
Thanks to Andrea Pescetti I 'repaired' the CPAN installation part but
now I'm stuck with the same problem as described here:
https://forum.openoffice.org/en/forum/viewtopic.php?f=47&t=57054

I noticed that the a unicode directory is created next to
aoo\main\solenv\wntmsci12.pro named:
aoo\main\solenv\wntmsci12.pro

When changing in aoo\main\solenv\bin\mkout.pl line 88 from
$envpath = $ARGV[0] if defined($ARGV[0]); to
$envpath = "wntmsci12pro";
the solenv is build but deliver fails with:
Neither common nor platform tree? at
/home/MartinT/aoo/main/solenv/bin/deliver.pl line 1158.
deliver: /home/MartinT/aoo/main/solenv/prj/d.lst: ERROR: can't copy
build.lst: No such file or directory
deliver: /home/MartinT/aoo/main/solenv/prj/d.lst: ERROR: directory
'/inc/solenv' does not exist

My PATH variable is (launched within cygwin):
$ echo $PATH
.:/home/MartinT/aoo/main/solenv/bin:/home/MartinT/aoo/main/solenv/wntmsci12.pro/bin:/cygdrive/c/PROGRA~2/Java/JDK17~1.0_6/bin:/cygdrive/c/PROGRA~2/Java/JDK17~1.0_6/jre/bin/client:/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin:/cygdrive/c/PROGRA~2/MICROS~1.0/Common7/IDE:/cygdrive/c/PROGRA~1/MICROS~4/Windows/v7.0/bin:/cygdrive/c/Windows/MICROS~1.NET/FRAMEW~1/V20~1.507:/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin:/usr/bin::/usr/local/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows

My configure switches are the same from the wiki guide (without
--disable-binfilter because not recognized/used anymore). I tryed the
procedure with Win7 32 too and I'm stucked at the same point.

Any suggestions?

Regards
-- 
Martin Tille

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


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 15.09.2014 10:28, Martin Tille wrote:
>> Hi Martin,
>>
>> [snip]
>>
> Hi Oliver,
>
> have written an additional advice at the wiki, hope it helps.
>
> The problem with gtest is/was that an awk check fails. The variable
> GBUILDDIR makes troubles. In main\solenv\gbuild\platform\windows.mk at
> the end line 745 a check against processdeps.awk should run.
> The line is set to:
> awk -f C:/Progs/cygwin$S/solenv/gbuild/processdeps.awk
> but the variable is then evaluated to
> C:/Progs/cygwinc:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/processdeps.awk
> which is wrong, because it should be:
> c:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/processdeps.awk
> When I get it right $S is set to
> S=$R/main
> and $R is set to
> R=c:/Progs/cygwin/home/MartinT/oo
> I didn't found the place where GBUILDDIR is set (for windows enviroment)
> so I set it manually at the platform file and it compiles one second and
> I got stuck again at oo\main\solenv\inc\version_so.hrc which includes
> versionlist.hrc at the same directory but the file wasn't there.
> I found the file at at solenv\wntmsci12.pro\inc and at
> solver\wntmsci12.pro\inc and copied it manually to the required folder.
>
> Something with the path variables seems wrong at one key place but I
> don't have the knowledge to find that place. I'm used to other
> programming languages/systems and just want to fix something at the pdf
> creation module for windows.
>
> Anyways after that two "corrections" the build runs for a while (like 20
> minutes) till comphelper.
>
> Here I get the error:
> c:/Progs/cygwin/home/MartinT/oo/main/comphelper/source/inc\comphelper_module.hxx(27)
> : fatal error C1083: Cannot open include file:
> 'comphelper/componentmodule.hxx': No such file or directory
> C:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/LinkTarget.mk:126:
> recipe for target
> '/home/MartinT/oo/main/solver/420/wntmsci12.pro/workdir/CxxObject/comphelper/source/compare/AnyCompareFactory.o'
> failed
>
> I didn't looked further on that because I had some other things to do,
> but will look at it this week.
>
> If you have any idea let me know, I test it.
>

I never encountered such problems in my Windows 7 64bit AOO build 
environment.

Could you share the log of the configure step? (I am not sure, but I 
think most attachments are stripped from the mailing list. Thus, I would 
be good to put myself on CC)

Best regards, Oliver.


> Best Regards, Martin.
>

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


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 16.09.2014 13:38, Hung Mark wrote:
> Hi ,
>
> I was stuck by the same problem. Build process stopped because missing
> processdeps.awk
> ( and has similar path problem. )
> Is there anyone successfully set up and build under Windows 7 64bit ?
>
>

Yes, I am on Windows 7 64bit since years and I built at least all AOO 
versions released at Apache (3.4.0 and later) on such a machine.

Best regards, Oliver.

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


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Hung Mark <ma...@gmail.com>.
Hi ,

I was stuck by the same problem. Build process stopped because missing
processdeps.awk
( and has similar path problem. )
Is there anyone successfully set up and build under Windows 7 64bit ?


2014-09-15 16:28 GMT+08:00 Martin Tille <ed...@gruene.de>:

> > Hi Martin,
> >
> > On 11.09.2014 13:07, Martin Tille wrote:
> >> Hi Oliver, hello Dev Team,
> >>
> >> first, sorry I forgot to subscribe, I catched up with that now.
> >
> > no problem.
> > I also forgot to look in advance, if the posting was moderated.
> >
> >> I also made some experiments and found the error. I'm going to
> >> change/describe the steps at the wiki page within the next 2 days.
> >>
> >> The mistake was to use a Windows subversion programm (from apache
> >> itself) svn, version 1.8.10 (r1615264) to get the sources.
> >> Apparently the line breaks got broken because after using dos2unix
> >> program from cygwin on some packages they could be compiled. I now
> >> used the package subversion from cygwin directly and downloaded the
> >> sources again. It compiles at least to gtest with the identical
> >> configure/build settings as last time.
> >>
> >
> > Yes, Windows subversion programs often change the line endings on
> > check-out.
> >
> > Thus, please use the cygwin subversion under Windows to work with the
> > AOO subversion repository.
> > Would be really great, if you could update the wiki accordingly.
> >
> > What are your problems in module gtest?
> >
> > Best regards, Oliver.
> >
> Hi Oliver,
>
> have written an additional advice at the wiki, hope it helps.
>
> The problem with gtest is/was that an awk check fails. The variable
> GBUILDDIR makes troubles. In main\solenv\gbuild\platform\windows.mk at
> the end line 745 a check against processdeps.awk should run.
> The line is set to:
> awk -f C:/Progs/cygwin$S/solenv/gbuild/processdeps.awk
> but the variable is then evaluated to
>
> C:/Progs/cygwinc:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/processdeps.awk
> which is wrong, because it should be:
> c:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/processdeps.awk
> When I get it right $S is set to
> S=$R/main
> and $R is set to
> R=c:/Progs/cygwin/home/MartinT/oo
> I didn't found the place where GBUILDDIR is set (for windows enviroment)
> so I set it manually at the platform file and it compiles one second and
> I got stuck again at oo\main\solenv\inc\version_so.hrc which includes
> versionlist.hrc at the same directory but the file wasn't there.
> I found the file at at solenv\wntmsci12.pro\inc and at
> solver\wntmsci12.pro\inc and copied it manually to the required folder.
>
> Something with the path variables seems wrong at one key place but I
> don't have the knowledge to find that place. I'm used to other
> programming languages/systems and just want to fix something at the pdf
> creation module for windows.
>
> Anyways after that two "corrections" the build runs for a while (like 20
> minutes) till comphelper.
>
> Here I get the error:
>
> c:/Progs/cygwin/home/MartinT/oo/main/comphelper/source/inc\comphelper_module.hxx(27)
> : fatal error C1083: Cannot open include file:
> 'comphelper/componentmodule.hxx': No such file or directory
> C:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/LinkTarget.mk:126:
> recipe for target
> '/home/MartinT/oo/main/solver/420/
> wntmsci12.pro/workdir/CxxObject/comphelper/source/compare/AnyCompareFactory.o
> '
> failed
>
> I didn't looked further on that because I had some other things to do,
> but will look at it this week.
>
> If you have any idea let me know, I test it.
>
> Best Regards, Martin.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>


-- 
Mark Hung

dev-unsubscribe@openoffice.apache.org

Posted by ci...@gmx.com.
On 15 Oct 2014, at 15:48, Martin Tille wrote:

> dev-unsubscribe@openoffice.apache.org


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Martin Tille <ed...@gruene.de>.
Hi,

I checked this out today and moved my source tree to /aoo it but didn't
worked for me, same problem. Whatever I'm doing wrong I can't find it
and the bug I was trying to fix, I could solve in another way and it was
accepted today.
Hope after the next release I have less phone calls "The button makes a
pdf but all the umlauts are not in it." will stop.

When the next problem arises I'll check back in aoo devel. Thanks for
all the help. Best Regards - Martin
> Hi ,
> 
> I just found an old mail that is worth trying.  It suggest to move source
> code out of user's home directory:
> 
> http://openoffice.markmail.org/search/?q=processdeps.awk#query:processdeps.awk+page:1+mid:vq7qlbsdq77ctyfm+state:results
> 
> Best Regard
> 
>>>> [Snip]
>>>> I give up with this and try to solve my problem (pdfs with type 1 fonts
>>>> are not correctly generated at windows) in an other way.
>>>>
>>>
>>> Unfortunately, the setup of the AOO Windows build environment is a hard
>>> task.
>>> But, I can tell you that it works on Windows 7 64bit. I am working with
>>> it since years.
>>>
>>> I hope I will find the time to support you on setting up your AOO build
>>> environment on Windows 7 64bit.
>>>
>>>
>>> Best regards, Oliver.
>> Hi Oliver,
>>
>> as I told, I gave up. I wanted to fix a bug specific to windows:
>> https://issues.apache.org/ooo/show_bug.cgi?id=63015
>> and I did it with the help of another office product *wink* which had
>> the same error. This I could compile within 6 hours (yes my pc is not
>> new) and fix the problem. Hopefully someone actually writes a patch for
>> my description :).
>>
>> Maybe you can make a "zip" of your cygwin directory which aparrently
>> works and upload it to some share/cloudhoster so that others can just
>> extract and use it. Attach a small readme to it (please put this in
>> C:\somewhere) and a link to the wikientry how to go on further (dl the
>> source, to dir somewhere2 etc.).
>>
>> Thanks for the help so far. Best Regards - Martin

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


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Hung Mark <ma...@gmail.com>.
Hi ,

I just found an old mail that is worth trying.  It suggest to move source
code out of user's home directory:

http://openoffice.markmail.org/search/?q=processdeps.awk#query:processdeps.awk+page:1+mid:vq7qlbsdq77ctyfm+state:results



Best Regard



2014-09-25 18:49 GMT+08:00 Martin Tille <ed...@gruene.de>:

> >> [Snip]
> >> I give up with this and try to solve my problem (pdfs with type 1 fonts
> >> are not correctly generated at windows) in an other way.
> >>
> >
> > Unfortunately, the setup of the AOO Windows build environment is a hard
> > task.
> > But, I can tell you that it works on Windows 7 64bit. I am working with
> > it since years.
> >
> > I hope I will find the time to support you on setting up your AOO build
> > environment on Windows 7 64bit.
> >
> >
> > Best regards, Oliver.
> Hi Oliver,
>
> as I told, I gave up. I wanted to fix a bug specific to windows:
> https://issues.apache.org/ooo/show_bug.cgi?id=63015
> and I did it with the help of another office product *wink* which had
> the same error. This I could compile within 6 hours (yes my pc is not
> new) and fix the problem. Hopefully someone actually writes a patch for
> my description :).
>
> Maybe you can make a "zip" of your cygwin directory which aparrently
> works and upload it to some share/cloudhoster so that others can just
> extract and use it. Attach a small readme to it (please put this in
> C:\somewhere) and a link to the wikientry how to go on further (dl the
> source, to dir somewhere2 etc.).
>
> Thanks for the help so far. Best Regards - Martin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>


-- 
Mark Hung

Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Martin Tille <ed...@gruene.de>.
>> [Snip]
>> I give up with this and try to solve my problem (pdfs with type 1 fonts
>> are not correctly generated at windows) in an other way.
>>
> 
> Unfortunately, the setup of the AOO Windows build environment is a hard
> task.
> But, I can tell you that it works on Windows 7 64bit. I am working with
> it since years.
> 
> I hope I will find the time to support you on setting up your AOO build
> environment on Windows 7 64bit.
> 
> 
> Best regards, Oliver.
Hi Oliver,

as I told, I gave up. I wanted to fix a bug specific to windows:
https://issues.apache.org/ooo/show_bug.cgi?id=63015
and I did it with the help of another office product *wink* which had
the same error. This I could compile within 6 hours (yes my pc is not
new) and fix the problem. Hopefully someone actually writes a patch for
my description :).

Maybe you can make a "zip" of your cygwin directory which aparrently
works and upload it to some share/cloudhoster so that others can just
extract and use it. Attach a small readme to it (please put this in
C:\somewhere) and a link to the wikientry how to go on further (dl the
source, to dir somewhere2 etc.).

Thanks for the help so far. Best Regards - Martin


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


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 18.09.2014 12:05, Martin Tille wrote:
>>> Hi Martin,
>>>
>>> [snip]
>>>
>>
> Hi dev Team,
>
> I had some time to look further but couldn't make it work. I svn'ed the
> source again in a different folder, and tried different approaches to
> solve it. When looking at GBUILDDIR where the helpervars are generated
> it is set right, but at some later point the replacement with $S is made
> and all gets wrong.
> I set the variable GBUILDDIR to /home/MartinT/oo/main/solenv/gbuild/
> whenever I struggled with it (+ the above mentioned correction with
> versionlist.hrc) and it compiles till ucpp.
> Here I get:
> Entering /home/MartinT/aoo/main/ucpp
>
> dmake:  Error: --
> `./wntmsci12.pro/misc/0168229624cfac409e766913506961a8-ucpp-1.3.2.unpack' not
> found, and can't be made
>
> which is very strange because that file never exists nor will exist as
> according to what I found. At the Makefile for ucpp:
> # --- Files --------------------------------------------------------
> TARFILE_NAME=ucpp-1.3.2
> TARFILE_ROOTDIR=ucpp
> TARFILE_MD5=0168229624cfac409e766913506961a8
> PATCH_FILES=ucpp.patch
> I could reconstruct that ucpp.patch is a diff file which probably should
> be executed instead of "dmake'd".
>
> After all I ask myself if it was only my setup, but I tried it with a
> fresh installed Win7 32bit which didn't worked out either. Also the
> reply from Hung Mark (16.9) that it didn't worked out for him too I must
> conclude that the build of OO within Windows 7 currently isn't working
> (with the steps described at the wiki).
> As a sidenote, with Ubuntu it worked like a charm for me.
>
> I give up with this and try to solve my problem (pdfs with type 1 fonts
> are not correctly generated at windows) in an other way.
>

Unfortunately, the setup of the AOO Windows build environment is a hard 
task.
But, I can tell you that it works on Windows 7 64bit. I am working with 
it since years.

I hope I will find the time to support you on setting up your AOO build 
environment on Windows 7 64bit.


Best regards, Oliver.

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


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Martin Tille <ed...@gruene.de>.
>> Hi Martin,
>>
>> On 11.09.2014 13:07, Martin Tille wrote:
>>> Hi Oliver, hello Dev Team,
>>>
>>> first, sorry I forgot to subscribe, I catched up with that now.
>>
>> no problem.
>> I also forgot to look in advance, if the posting was moderated.
>>
>>> I also made some experiments and found the error. I'm going to
>>> change/describe the steps at the wiki page within the next 2 days.
>>>
>>> The mistake was to use a Windows subversion programm (from apache
>>> itself) svn, version 1.8.10 (r1615264) to get the sources.
>>> Apparently the line breaks got broken because after using dos2unix
>>> program from cygwin on some packages they could be compiled. I now
>>> used the package subversion from cygwin directly and downloaded the
>>> sources again. It compiles at least to gtest with the identical
>>> configure/build settings as last time.
>>>
>>
>> Yes, Windows subversion programs often change the line endings on
>> check-out.
>>
>> Thus, please use the cygwin subversion under Windows to work with the
>> AOO subversion repository.
>> Would be really great, if you could update the wiki accordingly.
>>
>> What are your problems in module gtest?
>>
>> Best regards, Oliver.
>>
> Hi Oliver,
> 
> have written an additional advice at the wiki, hope it helps.
> 
> The problem with gtest is/was that an awk check fails. The variable
> GBUILDDIR makes troubles. In main\solenv\gbuild\platform\windows.mk at
> the end line 745 a check against processdeps.awk should run.
> The line is set to:
> awk -f C:/Progs/cygwin$S/solenv/gbuild/processdeps.awk
> but the variable is then evaluated to
> C:/Progs/cygwinc:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/processdeps.awk
> which is wrong, because it should be:
> c:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/processdeps.awk
> When I get it right $S is set to
> S=$R/main
> and $R is set to
> R=c:/Progs/cygwin/home/MartinT/oo
> I didn't found the place where GBUILDDIR is set (for windows enviroment)
> so I set it manually at the platform file and it compiles one second and
> I got stuck again at oo\main\solenv\inc\version_so.hrc which includes
> versionlist.hrc at the same directory but the file wasn't there.
> I found the file at at solenv\wntmsci12.pro\inc and at
> solver\wntmsci12.pro\inc and copied it manually to the required folder.
> 
> Something with the path variables seems wrong at one key place but I
> don't have the knowledge to find that place. I'm used to other
> programming languages/systems and just want to fix something at the pdf
> creation module for windows.
> 
> Anyways after that two "corrections" the build runs for a while (like 20
> minutes) till comphelper.
> 
> Here I get the error:
> c:/Progs/cygwin/home/MartinT/oo/main/comphelper/source/inc\comphelper_module.hxx(27)
> : fatal error C1083: Cannot open include file:
> 'comphelper/componentmodule.hxx': No such file or directory
> C:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/LinkTarget.mk:126:
> recipe for target
> '/home/MartinT/oo/main/solver/420/wntmsci12.pro/workdir/CxxObject/comphelper/source/compare/AnyCompareFactory.o'
> failed
> 
> I didn't looked further on that because I had some other things to do,
> but will look at it this week.
> 
> If you have any idea let me know, I test it.
> 
> Best Regards, Martin.
> 
Hi dev Team,

I had some time to look further but couldn't make it work. I svn'ed the
source again in a different folder, and tried different approaches to
solve it. When looking at GBUILDDIR where the helpervars are generated
it is set right, but at some later point the replacement with $S is made
and all gets wrong.
I set the variable GBUILDDIR to /home/MartinT/oo/main/solenv/gbuild/
whenever I struggled with it (+ the above mentioned correction with
versionlist.hrc) and it compiles till ucpp.
Here I get:
Entering /home/MartinT/aoo/main/ucpp

dmake:  Error: --
`./wntmsci12.pro/misc/0168229624cfac409e766913506961a8-ucpp-1.3.2.unpack' not
found, and can't be made

which is very strange because that file never exists nor will exist as
according to what I found. At the Makefile for ucpp:
# --- Files --------------------------------------------------------
TARFILE_NAME=ucpp-1.3.2
TARFILE_ROOTDIR=ucpp
TARFILE_MD5=0168229624cfac409e766913506961a8
PATCH_FILES=ucpp.patch
I could reconstruct that ucpp.patch is a diff file which probably should
be executed instead of "dmake'd".

After all I ask myself if it was only my setup, but I tried it with a
fresh installed Win7 32bit which didn't worked out either. Also the
reply from Hung Mark (16.9) that it didn't worked out for him too I must
conclude that the build of OO within Windows 7 currently isn't working
(with the steps described at the wiki).
As a sidenote, with Ubuntu it worked like a charm for me.

I give up with this and try to solve my problem (pdfs with type 1 fonts
are not correctly generated at windows) in an other way.

Best Regards - Martin

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


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Martin Tille <ed...@gruene.de>.
> Hi Martin,
> 
> On 11.09.2014 13:07, Martin Tille wrote:
>> Hi Oliver, hello Dev Team,
>>
>> first, sorry I forgot to subscribe, I catched up with that now.
> 
> no problem.
> I also forgot to look in advance, if the posting was moderated.
> 
>> I also made some experiments and found the error. I'm going to
>> change/describe the steps at the wiki page within the next 2 days.
>>
>> The mistake was to use a Windows subversion programm (from apache
>> itself) svn, version 1.8.10 (r1615264) to get the sources.
>> Apparently the line breaks got broken because after using dos2unix
>> program from cygwin on some packages they could be compiled. I now
>> used the package subversion from cygwin directly and downloaded the
>> sources again. It compiles at least to gtest with the identical
>> configure/build settings as last time.
>>
> 
> Yes, Windows subversion programs often change the line endings on
> check-out.
> 
> Thus, please use the cygwin subversion under Windows to work with the
> AOO subversion repository.
> Would be really great, if you could update the wiki accordingly.
> 
> What are your problems in module gtest?
> 
> Best regards, Oliver.
> 
Hi Oliver,

have written an additional advice at the wiki, hope it helps.

The problem with gtest is/was that an awk check fails. The variable
GBUILDDIR makes troubles. In main\solenv\gbuild\platform\windows.mk at
the end line 745 a check against processdeps.awk should run.
The line is set to:
awk -f C:/Progs/cygwin$S/solenv/gbuild/processdeps.awk
but the variable is then evaluated to
C:/Progs/cygwinc:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/processdeps.awk
which is wrong, because it should be:
c:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/processdeps.awk
When I get it right $S is set to
S=$R/main
and $R is set to
R=c:/Progs/cygwin/home/MartinT/oo
I didn't found the place where GBUILDDIR is set (for windows enviroment)
so I set it manually at the platform file and it compiles one second and
I got stuck again at oo\main\solenv\inc\version_so.hrc which includes
versionlist.hrc at the same directory but the file wasn't there.
I found the file at at solenv\wntmsci12.pro\inc and at
solver\wntmsci12.pro\inc and copied it manually to the required folder.

Something with the path variables seems wrong at one key place but I
don't have the knowledge to find that place. I'm used to other
programming languages/systems and just want to fix something at the pdf
creation module for windows.

Anyways after that two "corrections" the build runs for a while (like 20
minutes) till comphelper.

Here I get the error:
c:/Progs/cygwin/home/MartinT/oo/main/comphelper/source/inc\comphelper_module.hxx(27)
: fatal error C1083: Cannot open include file:
'comphelper/componentmodule.hxx': No such file or directory
C:/Progs/cygwin/home/MartinT/oo/main/solenv/gbuild/LinkTarget.mk:126:
recipe for target
'/home/MartinT/oo/main/solver/420/wntmsci12.pro/workdir/CxxObject/comphelper/source/compare/AnyCompareFactory.o'
failed

I didn't looked further on that because I had some other things to do,
but will look at it this week.

If you have any idea let me know, I test it.

Best Regards, Martin.

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


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi Martin,

On 11.09.2014 13:07, Martin Tille wrote:
> Hi Oliver, hello Dev Team,
>
> first, sorry I forgot to subscribe, I catched up with that now.

no problem.
I also forgot to look in advance, if the posting was moderated.

> I also made some experiments and found the error. I'm going to
> change/describe the steps at the wiki page within the next 2 days.
>
> The mistake was to use a Windows subversion programm (from apache
> itself) svn, version 1.8.10 (r1615264) to get the sources.
> Apparently the line breaks got broken because after using dos2unix
> program from cygwin on some packages they could be compiled. I now
> used the package subversion from cygwin directly and downloaded the
> sources again. It compiles at least to gtest with the identical
> configure/build settings as last time.
>

Yes, Windows subversion programs often change the line endings on check-out.

Thus, please use the cygwin subversion under Windows to work with the 
AOO subversion repository.
Would be really great, if you could update the wiki accordingly.

What are your problems in module gtest?

Best regards, Oliver.

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


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Martin Tille <ed...@gruene.de>.
Hi Oliver, hello Dev Team,

first, sorry I forgot to subscribe, I catched up with that now. I also
made some experiments and found the error.
I'm going to change/describe the steps at the wiki page within the next
2 days.

The mistake was to use a Windows subversion programm (from apache
itself) svn, version 1.8.10 (r1615264) to get the sources. Apparently
the line breaks got broken because after using dos2unix program from
cygwin on some packages they could be compiled. I now used the package
subversion from cygwin directly and downloaded the sources again.
It compiles at least to gtest with the identical configure/build
settings as last time.

Best Regards,

Martin

Am 10.09.2014 17:15, schrieb Oliver-Rainer Wittmann:
> looks like as if the original posters is not subscribed to the mailing
> list - thus, forwarding
> 
> Best regards, Oliver.
> 
> On 09.09.2014 10:23, Oliver-Rainer Wittmann wrote:
>> Hi,
>>
>> On 08.09.2014 16:41, Martin Tille wrote:
>>> Hello Dev Team,
>>>
>>> I'm trying to compile OO on Win7 64. I red through the guides here:
>>> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step
>>>
>>>
>>>
>>>
>> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_Windows
>>
>>
>>> Thanks to Andrea Pescetti I 'repaired' the CPAN installation part
>>> but now I'm stuck with the same problem as described here:
>>> https://forum.openoffice.org/en/forum/viewtopic.php?f=47&t=57054
>>>
>>
>> The forum post reports a problem when building OOo 3.3.
>> You are also trying to build OOo 3.3?
>> As the mentioned building guides are for building AOO version 3.4.0 and
>> later, may be here is the problem.
>>
>> The mentioned file ../mail/solenv/[PLATFORM OUTPUT
>> DIRECTORY]/inc/myworld.mk is created during the build of solenv.
>> Thus, currently I have no idea, why it should be missing.
>>
>> Note: [PLATFORM OUTPUT DIRECTORY] should be 'wntmsci12.pro' for a
>> product build under Windows and 'wntmsci12' for a non-product build
>> under Windows.
>>
>>> I noticed that the a unicode directory is created next to
>>> aoo\main\solenv\wntmsci12.pro named: aoo\main\solenv\wntmsci12.pro
>>>
>>
>> That sounds strange. I never observed something like this.
>>
>>
>>> When changing in aoo\main\solenv\bin\mkout.pl line 88 from $envpath =
>>> $ARGV[0] if defined($ARGV[0]); to $envpath = "wntmsci12pro";
>>
>> It should not be necessary to change ..\mkout.pl to get a AOO build
>> under Windows.
>> I never made changes to certain build and environment scripts.
>>
>>
>>
>>> the solenv is build but deliver fails with: Neither common nor
>>> platform tree? at /home/MartinT/aoo/main/solenv/bin/deliver.pl line
>>> 1158. deliver: /home/MartinT/aoo/main/solenv/prj/d.lst: ERROR: can't
>>> copy build.lst: No such file or directory deliver:
>>> /home/MartinT/aoo/main/solenv/prj/d.lst: ERROR: directory
>>> '/inc/solenv' does not exist
>>>
>>> My PATH variable is (launched within cygwin): $ echo $PATH
>>> .:/home/MartinT/aoo/main/solenv/bin:/home/MartinT/aoo/main/solenv/wntmsci12.pro/bin:/cygdrive/c/PROGRA~2/Java/JDK17~1.0_6/bin:/cygdrive/c/PROGRA~2/Java/JDK17~1.0_6/jre/bin/client:/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin:/cygdrive/c/PROGRA~2/MICROS~1.0/Common7/IDE:/cygdrive/c/PROGRA~1/MICROS~4/Windows/v7.0/bin:/cygdrive/c/Windows/MICROS~1.NET/FRAMEW~1/V20~1.507:/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin:/usr/bin::/usr/local/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows
>>>
>>>
>>>
>>
>> your PATH variable looks ok - I did not check it in detail
>>
>>>  My configure switches are the same from the wiki guide (without
>>> --disable-binfilter because not recognized/used anymore). I tryed
>>> the procedure with Win7 32 too and I'm stucked at the same point.
>>>
>>
>> Nevertheless, I have got the feeling that something went wrong in the
>> configure step.
>>
>> Could you please send the corresponding log file of your configure step?
>> It is found in .../main/ and is called config.log.
>> May be the mailing list will strip a corresponding mail attachment - I
>> do not have the mailing list's attachment rules at hand. Thus, please
>> send the mail also to my personal mail address (orw@apache.org).
>>
>> I would have a look at the log file.
>>
>>
>> Best regards, Oliver.
>>
>>> Any suggestions?
>>>
>>> Regards
>>>

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


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
looks like as if the original posters is not subscribed to the mailing 
list - thus, forwarding

Best regards, Oliver.

On 09.09.2014 10:23, Oliver-Rainer Wittmann wrote:
> Hi,
>
> On 08.09.2014 16:41, Martin Tille wrote:
>> Hello Dev Team,
>>
>> I'm trying to compile OO on Win7 64. I red through the guides here:
>> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step
>>
>>
>>
> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_Windows
>
>> Thanks to Andrea Pescetti I 'repaired' the CPAN installation part
>> but now I'm stuck with the same problem as described here:
>> https://forum.openoffice.org/en/forum/viewtopic.php?f=47&t=57054
>>
>
> The forum post reports a problem when building OOo 3.3.
> You are also trying to build OOo 3.3?
> As the mentioned building guides are for building AOO version 3.4.0 and
> later, may be here is the problem.
>
> The mentioned file ../mail/solenv/[PLATFORM OUTPUT
> DIRECTORY]/inc/myworld.mk is created during the build of solenv.
> Thus, currently I have no idea, why it should be missing.
>
> Note: [PLATFORM OUTPUT DIRECTORY] should be 'wntmsci12.pro' for a
> product build under Windows and 'wntmsci12' for a non-product build
> under Windows.
>
>> I noticed that the a unicode directory is created next to
>> aoo\main\solenv\wntmsci12.pro named: aoo\main\solenv\wntmsci12.pro
>>
>
> That sounds strange. I never observed something like this.
>
>
>> When changing in aoo\main\solenv\bin\mkout.pl line 88 from $envpath =
>> $ARGV[0] if defined($ARGV[0]); to $envpath = "wntmsci12pro";
>
> It should not be necessary to change ..\mkout.pl to get a AOO build
> under Windows.
> I never made changes to certain build and environment scripts.
>
>
>
>> the solenv is build but deliver fails with: Neither common nor
>> platform tree? at /home/MartinT/aoo/main/solenv/bin/deliver.pl line
>> 1158. deliver: /home/MartinT/aoo/main/solenv/prj/d.lst: ERROR: can't
>> copy build.lst: No such file or directory deliver:
>> /home/MartinT/aoo/main/solenv/prj/d.lst: ERROR: directory
>> '/inc/solenv' does not exist
>>
>> My PATH variable is (launched within cygwin): $ echo $PATH
>> .:/home/MartinT/aoo/main/solenv/bin:/home/MartinT/aoo/main/solenv/wntmsci12.pro/bin:/cygdrive/c/PROGRA~2/Java/JDK17~1.0_6/bin:/cygdrive/c/PROGRA~2/Java/JDK17~1.0_6/jre/bin/client:/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin:/cygdrive/c/PROGRA~2/MICROS~1.0/Common7/IDE:/cygdrive/c/PROGRA~1/MICROS~4/Windows/v7.0/bin:/cygdrive/c/Windows/MICROS~1.NET/FRAMEW~1/V20~1.507:/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin:/usr/bin::/usr/local/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows
>>
>>
>
> your PATH variable looks ok - I did not check it in detail
>
>>  My configure switches are the same from the wiki guide (without
>> --disable-binfilter because not recognized/used anymore). I tryed
>> the procedure with Win7 32 too and I'm stucked at the same point.
>>
>
> Nevertheless, I have got the feeling that something went wrong in the
> configure step.
>
> Could you please send the corresponding log file of your configure step?
> It is found in .../main/ and is called config.log.
> May be the mailing list will strip a corresponding mail attachment - I
> do not have the mailing list's attachment rules at hand. Thus, please
> send the mail also to my personal mail address (orw@apache.org).
>
> I would have a look at the log file.
>
>
> Best regards, Oliver.
>
>> Any suggestions?
>>
>> Regards
>>

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


Re: Wiki:Step-By-Step Guide for Building on Windows not working

Posted by Oliver-Rainer Wittmann <or...@googlemail.com>.
Hi,

On 08.09.2014 16:41, Martin Tille wrote:
> Hello Dev Team,
>
> I'm trying to compile OO on Win7 64. I red through the guides here:
> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step
>
>
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_Windows
> Thanks to Andrea Pescetti I 'repaired' the CPAN installation part
> but now I'm stuck with the same problem as described here:
> https://forum.openoffice.org/en/forum/viewtopic.php?f=47&t=57054
>

The forum post reports a problem when building OOo 3.3.
You are also trying to build OOo 3.3?
As the mentioned building guides are for building AOO version 3.4.0 and
later, may be here is the problem.

The mentioned file ../mail/solenv/[PLATFORM OUTPUT 
DIRECTORY]/inc/myworld.mk is created during the build of solenv.
Thus, currently I have no idea, why it should be missing.

Note: [PLATFORM OUTPUT DIRECTORY] should be 'wntmsci12.pro' for a 
product build under Windows and 'wntmsci12' for a non-product build 
under Windows.

> I noticed that the a unicode directory is created next to
> aoo\main\solenv\wntmsci12.pro named: aoo\main\solenv\wntmsci12.pro
>

That sounds strange. I never observed something like this.


> When changing in aoo\main\solenv\bin\mkout.pl line 88 from $envpath =
> $ARGV[0] if defined($ARGV[0]); to $envpath = "wntmsci12pro";

It should not be necessary to change ..\mkout.pl to get a AOO build
under Windows.
I never made changes to certain build and environment scripts.



> the solenv is build but deliver fails with: Neither common nor
> platform tree? at /home/MartinT/aoo/main/solenv/bin/deliver.pl line
> 1158. deliver: /home/MartinT/aoo/main/solenv/prj/d.lst: ERROR: can't
> copy build.lst: No such file or directory deliver:
> /home/MartinT/aoo/main/solenv/prj/d.lst: ERROR: directory
> '/inc/solenv' does not exist
>
> My PATH variable is (launched within cygwin): $ echo $PATH
> .:/home/MartinT/aoo/main/solenv/bin:/home/MartinT/aoo/main/solenv/wntmsci12.pro/bin:/cygdrive/c/PROGRA~2/Java/JDK17~1.0_6/bin:/cygdrive/c/PROGRA~2/Java/JDK17~1.0_6/jre/bin/client:/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin:/cygdrive/c/PROGRA~2/MICROS~1.0/Common7/IDE:/cygdrive/c/PROGRA~1/MICROS~4/Windows/v7.0/bin:/cygdrive/c/Windows/MICROS~1.NET/FRAMEW~1/V20~1.507:/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin:/usr/bin::/usr/local/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows
>

your PATH variable looks ok - I did not check it in detail

>  My configure switches are the same from the wiki guide (without
> --disable-binfilter because not recognized/used anymore). I tryed
> the procedure with Win7 32 too and I'm stucked at the same point.
>

Nevertheless, I have got the feeling that something went wrong in the 
configure step.

Could you please send the corresponding log file of your configure step? 
It is found in .../main/ and is called config.log.
May be the mailing list will strip a corresponding mail attachment - I 
do not have the mailing list's attachment rules at hand. Thus, please 
send the mail also to my personal mail address (orw@apache.org).

I would have a look at the log file.


Best regards, Oliver.

> Any suggestions?
>
> Regards
>

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