My Build Environment and step: 1.Solaris 10 x 86 u10(10/8) "full installation". 2.Solaris Studio 12.3 "full installation". 3.install blastwave csw's svn 4.compile and install gnu's coreutils , bison , patch to /usr/gnu/ 5.compile and install epm 3.7(patched version) to /usr (4 and 5 is ./configure --prefix=XXX && make && make install) (5 first need /usr/gnu/bin/patch -i epm-3.7.patch) 6./opt/csw/bin/svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo 7.wget http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll to main/external/unowinreg 8.wget https://github.com/downloads/KentBeck/junit/junit-4.10.jar to /one-place 9.mv /usr/ccs/bin/make /usr/ccs/bin/sunmake && mv /usr/sfw/bin/gmake /usr/bin/make 10.export CC=/opt/solarisstudio12.3/bin/cc 11.export CXX=/opt/solarisstudio12.3/bin/CC 12.export PATH=/usr/gnu/bin/:/usr/bin/:/opt/solarisstudio12.3/bin/:/usr/sfw/bin/:$PATH 13.cd main/ && autoconf (I forget autoconf,automake is exist or not in default Solaris System) 14. ./configure --disable-cups --disable-mozilla --with-junit=/one-place/junit-4.10.jar --disable-gtk 15. ./bootstrape 16. source SolarisX86Env.Set.sh 17.cd instsetoo_native && build --all 18.play to the score to modify code
2011/12/19 Andrew Rist <[email protected]>: > On 12/18/2011 5:54 PM, L'oiseau de mer wrote: >> >> Build Success in Solaris 10 with binfilter. > > Can you share your complete build 'recipe' for Solaris? > - What is the full version of you OS and what packages have you added in > order to build AOO? > - What are the exact commands you run to build? > - What patches are required currently to get the build to finish? > > This would be extremely helpful in setting up the Solaris build bot. > >> I modify this file "main/solenv/inc/unxsoli4.mk" in line 47: >> ARCH_FLAGS*="-features=rvalueref" >> ================================================= >> But i also modify these file for building pass. >> 1.main/python/unxsoli4.pro/misc/build/Python-2.6.1/Modules/getbuildinfo.c >> in final line: >> >> const char * >> _Py_svnversion(void) >> { >> // /* the following string can be modified by subwcrev.exe */ >> // static const char svnversion[] = SVNVERSION; >> // if (svnversion[0] != '$') >> // return svnversion; >> // return "exported"; >> } >> >> 2.main/libxslt/unxsoli4.pro/misc/build/libxslt-1.1.26/libxslt/extra.c >> in line 246 >> //#if defined(__GLIBC__) >> lmt = gmt - timezone; >> //#else /* FreeBSD DOESN'T HAVE such side-ffect */ >> // lmt = gmt - local_tm->tm_gmtoff; >> //#endif >> >> >> 2011/12/18 L'oiseau de mer<[email protected]>: >>> >>> I use version 4.2. from here to download and install: >>> http://www.epmhome.org/software.php >>> >>> Ok,thanks, i continue tying...... >>> >>> 2011/12/18 Ariel Constenla-Haile<[email protected]>: >>>> >>>> Hi L'oiseau de mer, >>>> >>>> On Sun, Dec 18, 2011 at 09:21:03PM +0800, L'oiseau de mer wrote: >>>>> >>>>> Thank you very much, this part i still build and deal with it. >>>>> Now i first report another problem,when i arrive the step that make >>>>> packages. >>>>> It appear this message:(This is another build machine (solaris 11 >>>>> express)) >>>>> i check this dir >>>>> "unxsoli4.pro/OpenOffice/pkg/install/en-US_witherror/packages/" >>>>> it always create two file (and 1 subdir): >>>>> 1. XXX/ >>>>> 2. XXX-3.4.0-1-solaris-11-intel.pkg.gz >>>>> 3. XXX-3.4.0-1-solaris-11-intel.pkg.tgz >>>>> >>>>> I have tryed move one to other place, and progress can pass to another >>>>> package, >>>>> but always need move one to other place, and start become circle >>>>> infinite....... >>>>> (same package appear again) >>>>> But i don't know configure where for solving this problem. >>>>> >>>>> >>>>> ************************************************** >>>>> ERROR: ERROR: More than one new package in directory >>>>> >>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages >>>>> ( >>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.gz >>>>> >>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc >>>>> >>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/install/en-US_inprogress/packages/ooobasis34-calc-3.4.0-1-solaris-11-intel.pkg.tgz) >>>>> in function: determine_new_packagename (packagepool) >>>>> >>>>> ************************************************** >>>>> >>>>> ************************************************** >>>>> ERROR: Saved logfile: >>>>> >>>>> /UNIX-LAB/ooo/main/instsetoo_native/unxsoli4.pro/OpenOffice/pkg/logging/en-US/log_OOO340_en-US.log >>>>> ************************************************** >>>>> Sun Dec 18 20:54:43 2011 (00:35 min.) >>>>> dmake: Error code 255, while making 'openoffice_en-US.pkg' >>>>> ---* tg_merge.mk *--- >>>>> >>>>> 1 module(s): >>>>> instsetoo_native >>>>> need(s) to be rebuilt >>>>> >>>>> Reason(s): >>>>> >>>>> ERROR: error 65280 occurred while making >>>>> /UNIX-LAB/ooo/main/instsetoo_native/util >>>>> >>>>> When you have fixed the errors in that module you can resume the build >>>>> by running: >>>>> >>>>> build --all:instsetoo_native >>>> >>>> >>>> what epm version are you using? >>>> >>>> Building AOO requires a *patched* epm 3.7 version >>>> >>>> http://www.epmhome.org/software.php?VERSION=4.2&FILE=epm/3.7/epm-3.7-source.tar.bz2 >>>> patched with this patch: >>>> >>>> http://hg.services.openoffice.org/OOO340/raw-file/c904c1944462/epm/epm-3.7.patch >>>> >>>> >>>> Regards >>>> -- >>>> Ariel Constenla-Haile >>>> La Plata, Argentina > >
