On Tue, Feb 2, 2016 at 6:10 PM, Patricia Shanahan <p...@acm.org> wrote:
> OpenGrok looks and sounds like something I should learn about. > > I think my next step is to look into the state of python. Matters may have > been complicated because I did a "dmake clean" after changing my configure > parameters to use a 32 bit JDK, before continuing the steps from configure > on. > > Yes, I think "dmake clean" requires re-running configure, bootstrap, source winenv.set.sh and only then build. > There may be a pause - I have some non-programming stuff to do today and > tomorrow morning. > > Thanks for all the help. Posting immediately on hitting a problem is > definitely getting faster progress than when I tried to puzzle things out > for myself first. > > It's a pleasure, sorry it's so hard, and thank you for your perseverance through this building nightmare. I think Sun Microsystems really had a knack for "comedy build systems" as someone described them. OpenJDK was similarly painful to compile, especially when they first open-sourced it. > > On 2/2/2016 6:39 AM, Damjan Jovanovic wrote: > >> OpenGrok[1] tells me the pyversion.mk file is in main/python; through >> building it would get delivered to main/solver/... and found by pyuno. Did >> python not build before pyuno did? pyuno/prj/build.lst lists a dependency >> on python when PYTHON is defined[2]: >> >> bgpu pyuno : stoc cpputools cppuhelper bridges tools PYTHON:python >> LIBXSLT:libxslt NULL >> >> but earlier you posted your config.log which had this in it: >> >> PYTHON='' >> >> and I am not sure whether that's enough. If the problem is that the python >> module isn't getting built first, you can force it to build first through >> one of these hacks: >> * delete the "PYTHON:" prefix to "python" from the build.lst line >> * manually building python before resuming the build: >> cd main/python >> build >> deliver >> cd ../instsetoo_native >> build --all -P2 -- -P2 >> >> References: >> [1] >> >> http://opengrok.adfinis-sygroup.org/source/search?q=&defs=&refs=&path=pyversion.mk&hist=&project=aoo-trunk >> [2] >> >> http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/pyuno/prj/build.lst >> >> On Tue, Feb 2, 2016 at 4:21 PM, Patricia Shanahan <p...@acm.org> wrote: >> >> Thanks. Now I get to: >>> >>> ============= >>> Building module pyuno >>> ============= >>> >>> Entering /cygdrive/c/OpenOfficeDev/Trunk/main/pyuno/source/module >>> >>> mkout -- version: 1.8 >>> dmake: makefile.mk: line 56: Error: -- Include file pyversion.mk, not >>> found >>> >>> >>> >>> >>> >>> On 2/2/2016 4:18 AM, Damjan Jovanovic wrote: >>> >>> For me, main/icu fails to build on Windows about 50% of the time for no >>>> apparent reason; I've begun to think it's some sort of build race >>>> condition >>>> within that module. I haven't seen the buildbots fail there, and nobody >>>> else has reported this problem. >>>> >>>> If this is your problem, the only fix I know is the following hack: >>>> >>>> cd main/icu >>>> >>>> then keep cleaning and rebuilding it until it builds successfully: >>>> >>>> rm -rf wntmsci12.pro >>>> one of: dmake / build -P2 / build -- -P2 / build -P2 -- -P2 >>>> >>>> then when it does, continue as before: >>>> >>>> cd ../instsetoo_native >>>> build --all -P2 -- -P2 >>>> >>>> >>>> On Tue, Feb 2, 2016 at 2:00 PM, Patricia Shanahan <p...@acm.org> wrote: >>>> >>>> Good. My latest error is: >>>> >>>>> >>>>> NMAKE : fatal error U1073: don't know how to make >>>>> '".\..\..\lib\icuin.lib"' >>>>> Stop. >>>>> NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\nmake.exe' : >>>>> return code '0x2' >>>>> Stop. >>>>> dmake: Error code 2, while making './ >>>>> wntmsci12.pro/misc/build/so_built_so_icu' >>>>> >>>>> I am hoping after this is all done to add a section on gotchas and >>>>> their >>>>> symptoms to the step-by-step guide. That may save future new developers >>>>> some time. >>>>> >>>>> >>>>> >>>>> >>>>> On 2/2/2016 3:32 AM, Damjan Jovanovic wrote: >>>>> >>>>> I've documented this gotcha on both >>>>> >>>>>> >>>>>> >>>>>> >>>>>> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step >>>>>> and https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO >>>>>> >>>>>> On Tue, Feb 2, 2016 at 10:29 AM, Patricia Shanahan <p...@acm.org> >>>>>> wrote: >>>>>> >>>>>> Thanks. >>>>>> >>>>>> >>>>>>> >>>>>>> On 2/1/2016 11:50 PM, Damjan Jovanovic wrote: >>>>>>> >>>>>>> According to >>>>>>> >>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> http://stackoverflow.com/questions/19641685/java-jni-jawt-error-unresolved-external-symbol-imp-jawt-getawt8 >>>>>>>> you're using a 64 bit JDK instead of a 32 bit one. >>>>>>>> >>>>>>>> On Tue, Feb 2, 2016 at 9:40 AM, Patricia Shanahan <p...@acm.org> >>>>>>>> wrote: >>>>>>>> >>>>>>>> After checking out with Cygwin's svn rather than TortoiseSVN, my >>>>>>>> build >>>>>>>> >>>>>>>> failed in "Building module bean" with the following message: >>>>>>>> >>>>>>>>> >>>>>>>>> Creating library ../../wntmsci12.pro/lib/iofficebean_t1.lib >>>>>>>>> and >>>>>>>>> object >>>>>>>>> ../../wntmsci12.pro/lib/iofficebean_t1.exp >>>>>>>>> officebean.lib(com_sun_star_comp_beans_LocalOfficeWindow.obj) : >>>>>>>>> error >>>>>>>>> LNK2019: unresolved external symbol __imp__JAWT_GetAWT@8 >>>>>>>>> referenced >>>>>>>>> in >>>>>>>>> function >>>>>>>>> _Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow@8 >>>>>>>>> ../../wntmsci12.pro/bin/officebean.dll : fatal error LNK1120: 1 >>>>>>>>> unresolved externals >>>>>>>>> dmake: Error code 96, while making '../../ >>>>>>>>> wntmsci12.pro/bin/officebean.dll' >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> --------------------------------------------------------------------- >>>>>>>>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>>>>>>>> For additional commands, e-mail: dev-h...@openoffice.apache.org >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> --------------------------------------------------------------------- >>>>>>>>> >>>>>>>> >>>>>>>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>>>>>> For additional commands, e-mail: dev-h...@openoffice.apache.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>> >>>>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>>>> For additional commands, e-mail: dev-h...@openoffice.apache.org >>>>> >>>>> >>>>> >>>>> >>>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>> For additional commands, e-mail: dev-h...@openoffice.apache.org >>> >>> >>> >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > >