[dev] Re: [tools-dev] Windows Compiler Versions
Martin Hollmichel wrote: Martin Hollmichel wrote: There are also the Windows (Platform SDK's, also available as free download) * v5.0 ( just SDK header and Libraries) * v6.0 comes additionally with the C/C++ Compiler 14.00.50727 for x86 aka VS .NET 2005 (not Professional so if used to build one needs to use --disable-activex and set DISABLE_ATL to TRUE). * v6.1 comes addtionally with the C/C++ Compiler 15.00.20706 for x86, this one is the compiler also available with Visual Studio 9.0 Beta. aka VS 2008. I didn't check if --disable-activex and DISABLE_ATL=TRUE are still needed. Both SDK's as well as both compilers are supported by configure after vq41 is integrated. See http://www.openoffice.org/issues/show_bug.cgi?id=87346 for details. They are *NOT* automatically recognized yet (oowintool needs to be adapted), the --with-cl-home and --with-psdk-home parameters need to be passed to configure to used the SDK's and their compilers. I successfully build vq41 with SDK v6.1 and the VS 9.0 that came with it. As for some feature for Windows Vista at least the SDK v6.0 is rquired, I would like to propose: - after the creation of the OOH680 code line for 2.4 release, we switch from 2003 to 2005 Compiler as default for the Developer Snapshots on the SRC680 code line. If that seems to be feasible, drop the support of the 2003 Compiler after 3.0 release. Is there any need to continue the support of the older SDK's ? Martin +1 Drop .NET 2003 support +1 Require SDK v6.1 Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Build configure problem.
Details please! Eric Burke wrote: Hi, I am currently configuring my computer to build Open Office. Which version, what exactly? I am building on Windows XP. I am encountering the following error: mscoree.lib (.NET Framework) not found. Make sure you use --with-frame-home. I have put one location (of three) on the Path, and I have also put the location on the command line with the '--with-frame-home' option, (which solved similar problems with other files) but it still can't 'find' mscoree.lib. http://wiki.services.openoffice.org/wiki/Debug_Build_Problems Any help appreciated, thanks, Eric. -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] svx/intro building leads to error on Windows
KAMI911 KAMI911 wrote: Hello! I want to build OOo 2.3 M6 on Windows/Cygwin but the svx module leads error in intro folder: /cygdrive/c/ooo2/svx/source/intro -- Making: ../../wntmsci10.pro/misc/intro.dpr dmake -f makefile.mk NO_HIDS=true make_srs_deps=true ../../wntmsci10.pro/misc/ intro.iso.dprr ../../wntmsci10.pro/misc/intro.ooo.dprr -- Making: ../../wntmsci10.pro/misc/intro.iso.dprr guw.exe rscdep -CHARSET_DONTKNOW -s -I. -I -I../inc -I../../inc -I../../wntms ci10.pro/inc -DWNT -DNT351 -DMSC -DM1310 -DSUPD=680 -DSOLAR_JAVA -DFULL_DESK -DP RODUCT -DPRODUCT_FULL -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOOO_VENDOR=OxygenOffice P rofessional Team -DUPDVER=680m6(Build:9226) -fp=../../wntmsci10.pro/srs/iso.s rs -fo=../../wntmsci10.pro/misc/intro.iso.dprr iso.src Error: cannot create short name of OxygenOffice Professional Team dmake: Error code 1, while making '../../wntmsci10.pro/misc/intro.iso.dprr' ---* tg_merge.mk *--- dmake: Error code 255, while making '../../wntmsci10.pro/misc/intro.dpr' ---* TARGET.MK *--- ERROR: Error 65280 occurred while making /cygdrive/c/ooo2/svx/source/intro [EMAIL PROTECTED] ...ooo2/svx]$ guw seems not like the spaces in the parameter to -DOOO_VENDOR. Use underscores in that string or file an issue to the tools project to vq. Volker Do you have an idea what's going wrong? I do not understand why it want to create a file with VENDOR name. It's called a bug. I think I have problem with cygwin, first I try to update that. Any other idea? Best regards, KAMI -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
[dev] Is someone still building OOo with tcsh?
CC'ing ESC and [EMAIL PROTECTED], please reply to [EMAIL PROTECTED] only. Hi, while working on some build feature/improvement for OOo W32 builds I realized that we have quite a lot of special casing of tcsh vs. bash. Is that still needed? I would like to remove the support for tcsh builds if possible. Opinions? Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
[dev] Re: [council-esc] Is someone still building OOo with tcsh?
Volker Quetschke wrote: CC'ing ESC and [EMAIL PROTECTED], please reply to [EMAIL PROTECTED] only. Please don't reply to the previous message! I botched the reply-to setting, please respond to [EMAIL PROTECTED] Sorry! Hi, while working on some build feature/improvement for OOo W32 builds I realized that we have quite a lot of special casing of tcsh vs. bash. Is that still needed? I would like to remove the support for tcsh builds if possible. Opinions? Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Is someone still building OOo with tcsh?
Hans-Joachim Lankenau wrote: hi! Volker Quetschke wrote: CC'ing ESC and [EMAIL PROTECTED], please reply to [EMAIL PROTECTED] only. Hi, while working on some build feature/improvement for OOo W32 builds I realized that we have quite a lot of special casing of tcsh vs. bash. really? beside setting up the environment, i'm can't think of any atm. Is that still needed? I would like to remove the support for tcsh builds if possible. Opinions? tcsh is still the default shell here for all builds not done on windows. removing tcsh support would mean quite some impact here and doing so without need doesn't sound reasonable to me. Ah! That is why I asked, I didn't now that. Unfortunately there is no way of knowing how the official OOo builds are made (part of a problem currently discussed somewhere else ;) ) than asking. Anyway, no it is easy enough *not* to change anything in this respect :) I just thought I asked because nowrapcmd1 touches tome of this bash/tcsh stuff. Anyway, it would be interesting to know who outside of Hamburg uses tcsh. I don't especially like the current situation. I see it like this: Hamburg uses tcsh for non-Windows and 4nt for Windows builds of OOo. The community uses bash[*] for all OOo builds and discourages the use of 4nt. This frequently leads to broken milestones for the community that seem to build fine and are OKed by RE and QA. Volker [*] I am not sure if this is true, that is why I am asking. -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] To OOo Builders ...
Pavel Janík wrote: Actually I think, the output should per default look like: compiling module/source/bla.cxx compiling module/source/foo.cxx linking module/unxlngi6.pro/lib/libgr.so Looks good. I'd like to see an option to do build this way at least. But sometimes both methods are good. Well disabling the recipe has to be done in the makefiles, i.e. place an '@' sign at the beginning. To get back the full, verbose output pass '-vr' to dmake. (Use `build -- -vr`) I upload full build logs along my builds and they were used a lot of times in the past... Indeed, if everything works smoothly the long logfile is anoying, but if something fails it's nice to have it already. Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] FW:building problems on XP, need your help :)
Mathias Bauer wrote: Canghua Qu wrote: There are pathes like BIG SNIP Besides that: is there a reason why you are using 4NT shell? As far as I know this is not officially supported. Building with Cygwin alone should work. If you need I can give you step by step instructions how to set up, configure and use a build environment with Cygwin. As I already wrote in my answer to your question in [EMAIL PROTECTED] a lot of your configure switches are obsolete and your build environment is partially bogus. Please don't bother the people in this list before you followed my advice in [EMAIL PROTECTED] Regards, Volker Quetschke BTW: it seems that your mail client is broken. The character set it declared is not suitable for all characters you are using. So some characters are unreadable. Perhaps you can find a way to fix that, it would make improve the legibility of your mails. Best regards, Mathias -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] configure script
Vinay Anand Yadav wrote: Hello, I am getting the following error at the end of ./configure command. You are using the wrong perl. Please follow the build instructions, and don't try to use Activestate Perl, it wont work for the cygwin style bash build. http://tools.openoffice.org/dev_docs/build_windows_tcsh.html (Yes, it says tcsh, but it's also for bash builds.) (SNIP) I am trying to build OOE680_m6 on windows xp using cygwin Configure options used are $ ./configure --with-use-shell=bash --with-perl-home=/cygdrive/c/Perl/ ---^ Doesn't work, use the cygwin perl and make sure that the other perl is not in your path. Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Re: Errors while building m202 on windows, ask for help
FangYaqiong wrote: Hi, I have changed the TEMP path, but it is useless. And I find the basicsrvdepot.zip can be unzipped successfully in anywhere else. So it was not the TEMP variable, I have a hunch that you are not using a cygwin unzip. I just tried with a MSDOS unzip and I get: $ unzip.exe -o -q somezip.zip -d /cygdrive/c/TEMP/ checkdir: cannot create extraction directory: /cygdrive/c/TEMP So, check with unzip -v that you are using the cygwin unzip and if its the MSDOS version remove it from your path and try again. Volker P.S.: Use `which unzip.exe` to find out which unzip.exe is found in the cygwin shell. -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Re: Errors while building m202 on windows, ask for help
blueeagle wrote: Hi, I don't think the path name is too long , because I can build the M196 successful. And that proves it for you? There might be changes from milestone to milestone Anyway, this really looks like your TEMP path is too long, see for example http://www.openoffice.org/issues/show_bug.cgi?id=59187 So just follow Ruediger's advice and do: $ export TEMP=/tmp ; export TMP=/tmp before you start your build. This might not be the problem but unless you try we will never know. Volker Regards, LiuTao Perhaps the path name is too long. Try setting TEMP dir to something more basic, f.e. /cygdrive/c/temp Ruediger blueeagle wrote: Hello all,Hello Martin, I am building the M205 now. this error occured too. Wish you can give me some advices. Regards, LiuTao Hello Martin, Thank you for your reply. I checked the disc space,It is enough,almost 4G free. I also tried to create the directory manually but the temp folder i_26281173858510 is always changed. Regards, Fang FangYaqiong [EMAIL PROTECTED] 2007-03-16 发件人: Martin Hollmichel 发送时间: 2007-03-16 21:48:50 收件人: FangYaqiong 抄送: dev 主题: (瑞星提示-此邮件可能是垃圾邮件)[dev] Re: Errors while building m202 on windows, ask for help Hi, have you checked if there's still enough disk space ? Are you able to create the directory manually ?: /cygdrive/c/DOCUME~1/fangyq1/LOCA LS~1/Temp/i_26281173858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdepot_zip Martin FangYaqiong wrote: Hi Martin, I am compiling the version m202 on windows, I download the code by CVS. But there are some errors in the instsetoo_native. --- ... languages en-US ... ... analyzing files ... ... analyzing files with flag ARCHIVE ... checkdir: cannot create extraction directory: /cygdrive/c/DOCUME~1/fangyq1/LOCA LS~1/Temp/i_26281173858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdep ot_zip ... cleaning the output tree ... ... removing directory /cygdrive/c/DOCUME~1/fangyq1/LOCALS~1/Temp/i_262811738585 10 ... ** ERROR: ERROR: Systemcall: unzip.exe -o -q e:/SRC680_m202/solver/680/wntmsci10.pr o/pck/basicsrvdepot.zip -d /cygdrive/c/DOCUME~1/fangyq1/LOCALS~1/Temp/i_26281173 858510/wntmsci10.pro/OpenOffice/msi/zip/en-US/00/basicsrvdepot_zip/ in function: resolving_archive_flag ** ** ERROR: Saved logfile: e:/SRC680_m202/instsetoo_native/wntmsci10.pro/OpenOffice/m si/logging/en-US/log_SRC680__en-US.log ** Wed Mar 14 15:49:01 2007 (00:31 min.) dmake.exe: Error code 255, while making 'openoffice_en-US' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /cygdrive/e/SRC680_m202/instsetoo_nativ e/util I have tried a lot to solve it, but nothing is in effect. Can you give me some suggestion? P.S. I have built m6 on my computer, it works well. So I think the building entironment is OK. Thank you very much. Looking forward to your reply. Regards, Fang FangYaqiong [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 2007-03-16 RegardsThanks! Tel:010-5802-2828 Ext.693 Beijing Redflag CH2000 Software Co., Ltd. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] autoreconf: aclocal-1.9: cannot open aclocal.m4: Permission denied
KAMI wrote: Hi Masters! I appled a patch that needs to run autoreconf, but I can't run it because of error: $ autoreconf Try autoconf instead. Autoreconf is way to clever for a simple change in configure.in. Volker aclocal-1.9: cannot open aclocal.m4: Permission denied autoreconf-2.61: aclocal failed with exit status: 1 I want to build OpenOffice.org 2.1 under Windows/Cygwin environment. I am an administartor of that windows machine, an I use Cygwin with same admin user. Thank you in advance! KAMI - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Port for Visual Studio 2005 Express (free compiler) available
Hi Tor, Tor Lillqvist wrote: ti 2006-09-26 klockan 00:56 -0400 skrev Volker Quetschke: You have to use --disable-activex or the build will fail at one point. Is that the --disable-activex from CWS tml04 (which I have largely been ignoring working on, No, it's an independent implementation that. tml04 also disables ole stuff but this switch might already solve the problems you try to fix in that CWS. Please try! That switch should also work with the usual .NET 2003 builds. .. it needs to be resynced to a current milestone etc) (the same stuff as in ooo-build patch win32-activex-disable.diff) or does some other CWS, or the master code, nowadays already have such a switch? Quite a few things would have to be changed in that CWS (read my comment there) so I decided I just name the work that Oliver already had done, namely disabling ActiveX, --disable-activex. If that switch is not enough to solve your tml04 problem we should add another --disable-someOle or so to disable the missing pieces. Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Port for Visual Studio 2005 Express (free compiler) available
Hi, Oliver Bolte wrote: Tor Lillqvist wrote: ti 2006-09-26 klockan 10:17 +0200 skrev Oliver Bolte: I've reused the NETTOOLKIT environment variable (in the past it was used for .NET Toolkit 2003 which wasn't usable for OOo). I've removed this variable from other makefiles and with m186 it controls activex only. Isn't that kinda confusing, i.e. disabling ActiveX might be desireable for other reasons than that you have the VS2005E compiler. And why reuse a name for a completely different purpose? The name of this environment variable may be changed in the future. My intention is to use it to differentiate between express and professional edition - not to switch activex selective on/off. Erm, as long as it's not used for something else we should rename that variable to DISABLE_ACTIVEX. This is already on my todo list. Please invent a new variable for the next difference between Express and normal compiler versions. Volker In win32-activex-disable.diff a.k.a. tml04, when one does --disable-activex, that also ifndefs out the ActiveX -related registry entries from scp2/source/calc/registryitem_*.scp . You can find it at: scp2/util/makefile.mk Ah, is the winexplorerext stuff also useless without ActiveX? AFAIR yes. Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Port for Visual Studio 2005 Express (free compiler) available
Oliver Bolte wrote: Hi, the port for Visual Studio 2005 Express (CWS obo05) has been integrated and will be available with milestone m186 (SRC680). Known limits: * ActiveX Control isn't supported due to missing ATL/MFC support You have to use --disable-activex or the build will fail at one point. * .NET (CLI) bridge doesn't work with Framework 2.0 (see issue #69457#) Build requirements (free download): * Compiler * Platform SDK * Patch in the header Microsoft Platform SDK/include/atl/atlwin.h (Line 1753): - for(i = 0; i m_aChainEntry.GetSize(); i++) + for(int i = 0; i m_aChainEntry.GetSize(); i++) * Framework SDK 2.0 You also need (--with-asm-home): * A Microsoft assembler Many thanks to Volker Quetschke (changes in configure, QA), Daniel Boelzle (fix for UNO bridge) and Helge Delfs (QA). Erm, I should elaborate a little on the configure part. Automatic compiler detection is not yet implemented (I wanted to file an issue for Michael M. once this CWS was integrated) so I better show what configure switches might be useful. I used: $ ./configure --with-use-shell=bash \ --with-directx-home=/cygdrive/c/Program Files/Microsoft DirectX 9.0 SDK (April 2005) \ --with-cl-home=/cygdrive/c/Program Files/Microsoft Visual Studio 8/VC \ --disable-activex \ --with-midl-path=/cygdrive/c/Program Files/Microsoft Platform SDK/Bin \ --with-asm-home=/cygdrive/c/mas/bin/win98 \ --with-jdk-home=/cygdrive/c/j2sdk1.4.2_05 \ --with-ant-home=/cygdrive/c/apache-ant-1.6.5 \ --with-csc-path=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727 \ --with-nsis-path=/cygdrive/c/PROGRA~1/NSIS Note that --with-csc-path must point to a Framework 2 csc! Have fun! Indeed :) Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] About OOo Math / looking for developers
Hi, please help using the new link, we are not building vanilla or chocolate: Thomas Lange wrote: (snip) The respective documentation would be http://wiki.services.openoffice.org /wiki /Building_vanilla http://wiki.services.openoffice.org/wiki/Building_OpenOffice.org Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Build instructions are out of date - Was: [dev] Code Review configure19: config_office/configure.in
Giuseppe Castagno wrote: On 9/10/06, Volker Quetschke [EMAIL PROTECTED] wrote: Hi! Kai Backman wrote: configure19 contained a change in default behaviour for ./configure (in this case --enable-build-mozilla was changed to --disable-build-mozilla). This has broken the the build instruction (http://tools.openoffice.org/) for all platforms. Who it be good to require whoever does such changes to also update the build instructions? +1 While we are on this topic. There will probably be a few changes in the build system of the coming OOo 2.1. (More choices: W32-bash, maybe VS2005 Express, Jam?, ...) Also we should mention the parallel build stuff somewhere. any chance of VS2005 Professional as well ? Well, that depends on the (OOo) developer having a VS2005 Professional licence ;) Even though that is currently not the case with a little luck it might still work with that compiler. Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Build instructions are out of date
Hi Christian, IMHO it's the time to start a wiki page for build instructions of the current development versions (SRC680 and newer) and leave the instructions for the current release (up to OOo 2.04) on that webpage. That process was already started a while ago. Question: Is there an easy way to a webpage into our wiki. I'd rather not start with using the old site and then bringing it up-to-date, but to only copy'n'paste the relevant sections only. Err, you propably didn't notice why I'm asking this. There are build instructions for W32-tcsh for 2.0.x (and hidden also for W32-4nt) and also for 1.x for 4nt/tcsh. The wikipage you mention below is near worthless for Windows builders. So I'd like to bring the the http://tools.openoffice.org/dev_docs/build_windows_tcsh.html instructions to a usable state for OOo 2.0.4 and then forget about them. The changed/new OOo 2.x build instructions should go on a website that is also usable for windows builders. (The current wiki page doesn't take the many specialties of windows builds into account.) I'll try what I can do. Shall we keep separate wiki pages for the build instructions for each architecture? I think we only need one general page for all OSs but we should add links to separate wiki pages for the build requirements of each of these OSs. The wiki already has some distro-specifig instructions and special instructions for Mac or linux/sparc. see http://wiki.services.openoffice.org/wiki/Building http://wiki.services.openoffice.org/wiki/Building_vanilla http://wiki.services.openoffice.org/wiki/MacOSXBuildInstructions http://wiki.services.openoffice.org/wiki/GNULinuxSparcPorting http://wiki.services.openoffice.org/wiki/Category:Distribution-Specific_Build_Instructions It's a start, but a lot has to be done ... Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Build instructions are out of date
Volker Quetschke wrote: The changed/new OOo 2.x build instructions should go on a website I mean wiki page. I hope it is possible to enhance the current linux-centric version to a cross-platform version with a few OS specific subsections/wiki links. Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Re: Compling just doesnt proceed stays stuck at boost..
Hi Maulik, in addition to Kai's answer I must add that you didn't give a usefull problem description. Try: http://wiki.services.openoffice.org/wiki/Debug_Build_Problems Volker Maulik Gordhandas wrote: hii please help me i with this.. the compling of openoffice just doesntgo aheah.. it just stucks at boost and in that i get the error of 65280 if i cancel the compling.. can u please send me the build requirements with the specific versions.. i have following : VS .net 2003 Enterprise Edition Directx SDK - summer 2004 Platform SDK - the latest Cgywin - 1.5.21-2 -- in it modules alternatives - 1.3.20a-2 ash - 20040127-3 base-files - 3.7-1 base-passwd - 2.2-1 bash - 3.1-6 binutils - 20060709-1 bison - 2.3-1 bzip2 - 1.0.3-1 cabextract - 1.1-1 coreutils - 5.97-1 crypt - 1.1-1 cygrunsrv - 1.17-1 cygutils - 1.3.0-1 cygwin-docs - 1.4.3 diffutils - 2.8.7-1 editrights - 1.01-1 expat - 1.95.8-1 findutils - 4.3.0-2 flex - 2.5.4a-3 gawk - 3.15-4 gcc - 3.4.4-1 gcc-core - 3.4.4-1 gcc-g++ - 3.4.4-1 gcc-mingw-core - 20050522-1 gcc-mingw-g++ - 20050522-1 gdbm - 1.8.3-7 gnugp - 1.4.2.1-1 gnutls - 1.0.25-2 grep - 2.5.1a-2 groff - 1.18.1-2 gzip - 1.3.5-2 less - 381-1 libbz2_1 - 1.0.3-1 libcharset1 - 1.9.2-2 libdb4.2 - 4.2.52-1 libdb4.3 - 4.3.28-1 libgcrypt - 1.2.1-1 libgdbm - 1.8.0-5 libgdbm-devel - 1.8.3-7 libgdm3 - 1.8.3-3 libgdm4 - 1.8.3-7 libgnutls11 - 1.0.25-2 libgpg-error - 1.1-1 libiconv - 1.9.2-2 libiconv2 - 1.9.2-2 libintl - 0.10.38-3 libintl1 - 0.10.40-1 libintl2 - 0.12.1-3 libintl3 - 0.14.5-1 libncurses5 - 5.2-1 libncurses6 - 5.2-8 libncurses7 - 5.3-4 libncurses8 - 5.5-2 libopencdk8 - 0.5.7-1 libpcre0 - 6.6-1 libpopt0 - 1.6.4-4 libreadline4 - 4.1-2 libreadline5 - 4.3-5 libreadline6 - 5.1.5 libtasn1 - 0.2.15.1 login - 1.9-7 lynx - 2.8.5-4 m4 - 1.4.5-1 make - 3.80-1 man - 1.5p-1 mingw-runtime - 3.10-1 minires - 1.00-1 mktemp - 1.5-3 ncftp - 3.1.7-1 ncurses - 5.5-2 openssh - 4.3p2-3 openssl - 0.9.8b-1 openssl-dev - 0.9.8b-1 openssl097 - 0.9.7j-1 patch - 2.5.8-8 perl - 5.8.7-5 run - 1.1.10-1 rxvt - 20050409-3 sed - 4.1.5-2 tar - 1.15.91-1 tcsh - 6.14.00-5 termcap - 20050421-1 terminfo - 5.5_20060323-1 texinfo - 4.8-3 unzip - 5.50-5 w32api - 3.7-1 wget - 1.10.2-1 which - 1.7-1 zip - 2.-6 zlib - 1.2.3-1 also attaching the config.log file and i have also uploaded the image of the error on http://img118.imageshack.us/img118/3929/errorwb8.jpg My config.log file is given below : This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --with-cl-home=/cygdrive/c/program files/Microsoft Visual Studio .NET 2003/Vc7 --with-jdk-home=/cygdrive/c/jdk1.5.0_07 --with-use-shell=tcsh --with-ant-home=/cygdrive/c/ant ## - ## ## Platform. ## ## - ## hostname = sauver uname -m = i686 uname -r = 1.5.21(0.156/4/2) uname -s = CYGWIN_NT-5.1 uname -v = 2006-07-30 14:21 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/X11R6/bin PATH: /cygdrive/c/Perl/bin/ PATH: /cygdrive/c/WINDOWS/system32 PATH: /cygdrive/c/WINDOWS PATH: /cygdrive/c/WINDOWS/System32/Wbem PATH: /cygdrive/c/Program Files/Zone Labs/ZoneAlarm/MailFrontier ## --- ## ## Core tests. ## ## --- ## configure:2483: checking for gawk configure:2499: found /usr/bin/gawk configure:2509: result: gawk configure:2521: checking for gawk configure:2539: found /usr/bin/gawk configure:2551: result: /usr/bin/gawk configure:2568: checking for sed configure:2586: found /usr/bin/sed configure:2598: result: /usr/bin/sed configure:2614: checking for solenv environment configure:2618: result: default configure:2676: checking build system type configure:2694: result: i686-pc-cygwin configure:2702: checking host system type configure:2716: result: i686-pc-cygwin configure:2724: checking target system type configure:2738: result: i686-pc-cygwin configure:2760: checking Cygwin version configure:2763: result: 1.5.21(0.156/4/2) configure:2903: checking whether to enable crashdump feature configure:2925: result: no configure:2941: checking whether to check for the MS VC Toolkit 2003 configure:2945: result: no configure:2954: checking whether to use the standard non-optimizing compiler configure:2958: result: no configure:2968: checking whether to do a debug build configure:2979: result: no
Re: [dev] new build requirement on !Windows - mingw32
Christian Lohmaier wrote: On Mon, Aug 07, 2006 at 09:32:39AM +0200, Rene Engelhard wrote: Volker Quetschke wrote: Windows builders are *unaffected*. [...] Actually the configure message should mention the download/copy part. No. (Had that discussion already on IRC...) Not with me. Where is it documented? Well, the discussion on IRC basically was you stating: I did not add the URL on purpose and don't want to add it (paraphrased) That's a thorough discussion! Because your (debians) opinion is against this all other people that try to build this beast have to suffer. It was your wish (and I support that wish) to get rid of the dll in cvs, but that doesn't mean everyone on any *nix installation has to install some funny mingw cross compiler. Did you check with our friends from *BSD, MacOSX, ... ? Volker -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] new build requirement on !Windows - mingw32
Moin! Rene Engelhard wrote: Rene Engelhard wrote: Hi, Volker Quetschke wrote: Well, the discussion on IRC basically was you stating: I did not add the URL on purpose and don't want to add it (paraphrased) That's a thorough discussion! Because your (debians) opinion is against this all other people that try to build this beast have to suffer. That might be true, that's why that external/common mechanism is in place. Anyway, cloph is simplyfing because rebuild from source *is* a principle in the OSS world, not just for Debian.. Although many people apparently don't care that much Thank you. Err, sorry, text got lost. Add there: And that was what I said. So the default should be to rebuild it and the idea that I didn't add the URL was that I want to save people from using it. Alright, my opinion pales in front of the OSS gods, but we are talking about developing a nice project here. I don't want to add extra time to the build by rebuilding external dependencies. So why do I have to add the switches to disable the rebuilding just so that distros that don't have to provide the enable switches? Like, see what happen(s/ed) with gpc? There's basegfx' implementation any serious distribution nowadays use, and community builder which doesn't have gpc.c/gpc.h in external/gpc use and it works. But people still use gpc? Why? Because the build instructions tell so and old versions even failed unless you specified --disable-gpc (changed longer ago). Cool, ever thought about fixing the build instructions when changing configure? Breaking stuff for the greater OSS good is always easy, but _we_ are trying to maintain a cross-platform product here and have to show some tolerance. Volker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] new build requirement on !Windows - mingw32
Rene Engelhard wrote: Volker Quetschke wrote: Rene Engelhard wrote: Hi, with integration of cws unowinregcross (and therefore in m181) we have a new build requirement: mingw32. See issue 49178. This is not completely true, since m181 and only for non-Windows targets there is the possibility to either install mingw32 or to copy unowinreg.dll to external/unowinreg/ (You can get it here: http://tools.openoffice.org/unowinreg_prebuild/680/). Windows builders are *unaffected*. /me repeats this to prevent some confusion that Windows builds now require mingw. Actually the configure message should mention the download/copy part. So you want me to error out in the unowinreg.dll not found case instead of warning and continuing to try to use mingw32? Or just mentioning them in the warning? Mentioning the possibility of a download of that dll as alternative to installing the mingw package would be nice for the builder that just got bitten by this configure problem. Volker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] new build requirement on !Windows - mingw32
Rene Engelhard wrote: Hi, with integration of cws unowinregcross (and therefore in m181) we have a new build requirement: mingw32. See issue 49178. This is not completely true, since m181 and only for non-Windows targets there is the possibility to either install mingw32 or to copy unowinreg.dll to external/unowinreg/ (You can get it here: http://tools.openoffice.org/unowinreg_prebuild/680/). Windows builders are *unaffected*. /me repeats this to prevent some confusion that Windows builds now require mingw. Actually the configure message should mention the download/copy part. Volker It is used for building unowinreg.dll (because using random binaries out of CVS is bad(tm)). So you need to install mingw32; IIRC mingw32 has binaries; if not, you also can take the Debian debs and alienize them: http://packages.debian.org/mingw32 http://packages.debian.org/mingw32-runtime http://packages.debian.org/mingw32-binutils You need to add --with-mingwin=mingw32-g++-binary-name to your configure flags (e.g. --with-mingwin=i586-mingw32msvc-g++). Regards, Rene -- = http://wiki.services.openoffice.org/wiki/Debug_Build_Problems = PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D signature.asc Description: OpenPGP digital signature
Re: [dev] Building
Hi Alexandre Laforest wrote: Hi All, quick questions: 1) Is there a big difference between the tarball source code (I have OOo_2.0.2_src.tar.gz, which I extracted through a command-line since WinZip extracted some files at the root level :S) and the sources from CVS??? No, Winzip is just broken. Use something different. 2) Also, there are 2 configure files in the SRC_ROOT directory: 1st one is the 'config_office' directory, 2nd is in the 'dmake' directory. Thus which one should I use? Follow the build instructions: http://tools.openoffice.org/#Build Volker Thanks for all the help, Regards Alexandre Laforest -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Need help with build procedure.
Hi! comments below. Work Klo wrote: Dear all, I really need help. I need to build OpenOffice. For the last 10 days, I am struggling with setting up a good building enviornment. I have started building OpenOffice successfully since about 1.5 years ago. I have set up the build environment many times before. I should have no problem but I get stuck now! Platform: = snip Location C drive: All required software (those described in Software section) installed to C drive. D drive: The OpenOffice source directory. Problem === 1) bootstrap and dmake - Source: OOA680_m1. I use CVS to get it. - I built this source at end of March/beginning of April. - Yes I rebuild an old source without 'dmake clean' (cleaning the source) first. - I run configure like this, in a cygwin window: $ cd config_office $ ./configure --with-mspdb-path=/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7/ide --with-cl-home=/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/vc7 --with-midl-path=/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7 --with-asm-home=/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/vc7/bin --with-csc-path=/cygdrive/c/windows/Microsoft.NET/Framework/v1.1.4322 --with-jdk-home=/cygdrive/c/j2sdk1.4.2_11 --with-ant-home=/cygdrive/c/apache-ant-1.6.5 --with-lang=en-US zh-CN zh-TW ko jp --with-use-shell=tcsh $ cd .. - Output: snip Configure completed * WARNINGS ISSUED * You might want to install NSIS to silence this, but it's unrelated to your problem. - I then run ./bootstrap only to find out this error: cp: cannot stat '/cygdrive/d/OOA680_m1/dmake/dmake.exe': No such file or directory I remember a problem with bootstrap back in the old OOo 2.0.1 days, you would have to search issuetracker for this, or have a look at the bootstrap file and check why it didn't build dmake (or post it here). Actually 2.0.1 is old, so we need details if you want help. - I check the dmake directory. There is no dmake.exe. There would be output from bootstrap if it would have been build. - If I cd to dmake directory and do a 'make all', I get dmake.exe. - Output: snip - I then 'cp dmake.exe ..' (Copy dmake.exe from OOA680_m1/dmake/dmake.exe to OOA680_m1). Well, dmake goes into /solenv/wntmsci10/bin/ but if it works for you. ... - I then do a dmake (of course, run tcsh, source winenv.set and rehash before running dmake). - Now the build goes on. - Somehow the build hangs on the extra module. See http://wiki.services.openoffice.org/wiki/Windows#Miscellaneous_info for more info about the problem. 2) dmake - I use a new source OOB680_m5. - This set of source allows me to configure and bootstrap without any problem. - Yet hang during build. Same as above, until someone provides a recipe to reproduce this problem with a small testcase we have to hope that the cygwin developers accidentally find and fix this problem. (Un-)fortunately I could never reproduce this problem. snip Question 1) I hope somebody will be able to examine the output from configure and probably that from bootstrap. Is there something wrong? 2) According to http://wiki.services.openoffice.org/wiki/Windows, hyperthreading may be a problem for the build to hang. I prefer to disable hyperthreading last. If there is anything I can do in software, I would do it. 3) I really don't want to downgrade the BIOS. So unsure... Read that FAQ entry again, try the ls /proc/*/fd part. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] bootstrap error: cp cannot stat dmake: no such file or directory
Hi! Work Klo wrote: Dear all, I am building OO source with CVS tag: OOA680_m1. I have built it once last month and everything works fine. (My machine is a Windows XP.) Last week I rebuilt my machine. I tried to build the same source. I was stuck in the configure part. After some searching, I find out there is a space in my PATH environment variable that is causing the problem. I resolve my problem by checking out this: http://www.openoffice.org/servlets/ReadMsg?listName=devmsgNo=16246 Now I get pass the configure part. I am onto the bootstrap part. I open up a cygwin windows, cd to my source directory (/cygdrive/d/OOA680_m1) and type ./bootstrap Why do you open a new window after configure? I get this error message: cp: cannot stat '/cygdrive/d/OOA680_m1/dmake/dmake.exe': No such file or directory I check the OOA680_m1/dmake directory. There is no dmake.exe. Hum... Is the dmake.exe built during the configure part, or during the bootstrap part? During bootstrap. Please help. http://wiki.services.openoffice.org/wiki/Debug_Build_Problems Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Building on Windows
Hi! Subir Pradhanang wrote: Hi all, I have been trying to build OOB680_m5 on Windows XP SP2 following the instructions on http://tools.openoffice.org/dev_docs/build_windows_tcsh.html. But while doing ./configure, I have been getting the following error even though I have installed PSDK from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm checking for PSDK files... configure: error: Some (all?) PSDK files not found, please check if all needed Platform SDKs are installed or use --with-psdk-home. - I have set the following variables: export PATH=/cygdrive/c/PROGRA~1/MICROS~1.NET/Common7/Tools/Bin:/cygdrive/c/PRO GRA~1/MICROS~1.NET/Common7/IDE:/cygdrive/c/PROGRA~1/MICROS~1.NET/Vc7/bin:/cygdri ve/c/PSDK/Bin/:${PATH} export DOTNET_PATH=/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/SDK/v1.1 You can just use --with-cl-home instead of playing with $PATH. My ./configure options are: $ ./configure --with-csc-path=/cygdrive/c/WINDOWS/MICROS~1.NET/Framework/v1.1.4322 --with-frame-home=${DOTNET_PATH} --with-jdk-home=/cygdrive/c/j2sdk1.4.2_11 --with-psdk-path=/cygdrive/c/PSDK --with-ant-home=/cygdrive/c/apache-ant-1.6.5 Is there anything else I need to do? Can you check which of these files is missing $PSDK_HOME/Include/AdoCtint.h $PSDK_HOME/Include/SqlUcode.h $PSDK_HOME/Include/usp10.h $PSDK_HOME/lib/unicows.lib and report back? Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] warnings01: status and how to proceed
What about asking the community for these builds? We have currently a few volunteer tinderbox clients running, see http://go-ooo.org/tinderbox/all_trees.express.html. Yes, I know that there are clients already running - though, are they covering the range of platforms that Stephan mentioned? Well, we have ~1.5 pretty fast Windows build systems, currently one linux (but that number should be easy to increase as it's the most popular platform with respect to self-building and some linux distributions involved here ..) and I guess you guy's (Sun) should be able to provide some tinderbox clients for unxsol{i|s}4 builds. The Mac's are a bonus and shouldn't be broken by new CWSs either. But we're clearly not the ones discouraging this proposal. ;-) IMHO tinderbox builds should be FULL builds with the community style build system, i.e. not reusing old stuff that's in solver from previous builds. Can you do that? Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Packimages.pl error during Windows build
$ ls -l /home/build/oo | grep default_images show? drwx--+ 27 Administrators None 0 Feb 24 15:34 default_images And what is the result of: $ /usr/bin/perl -e 'if( -x /home/build/oo/default_images){ print OK;};' ? That returns nothing. Ha, welcome to Windows ACLs and perl usually only using ugo rights. I wonder why that works for me and Pavel for example. There was a certain use XXX; command to convince perl to do the right thing, but I have to leave now. You should file an issue in the meantime with the information from this thread, so that we can fix this problem. I'll look into it later ... Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] warnings01: status and how to proceed
Thorsten Behrens wrote: Stephan Bergmann [EMAIL PROTECTED] writes: (snip) I guess it is largely unrealistic to have every community CWS built on the four mentioned platforms - unless we (Sun) do it ourselves (me thinks that especially wntmsci10 will pose problems). Thus it's maybe a bit moot to think about requesting self-contained OOo builds on top of that (if we do it ourselves, it's for free anyway). But what about providing tinderbox slaves, dedicated to community CWS? What about asking the community for these builds? We have currently a few volunteer tinderbox clients running, see http://go-ooo.org/tinderbox/all_trees.express.html. Those are mainly building master milestones because we don't know if there is need for special CWSs to be verified. We could certainly need more tinderbox clients, and sure enough we could need some framework to request tinderbox builds, but what we have is a good start. See here for some hints how to setup a tinderbox: http://wiki.services.openoffice.org/wiki/Tinderbox_Setup. (It's on the wiki, improvements are very welcome.) I would also love to see that master milestones would only be declared ready by Hamburg RE if a few successfull community builds are reported, but that is a different story. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Packimages.pl error during Windows build
Volker Quetschke wrote: You build in a mounted cygwin directory, that's also brave ;) Last time (it's bin a while) I tried that, it actually worked for me, ... s/bin/been/ Oops, :) Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Packimages.pl error during Windows build
Another stumbling block on my way to a Windows build of Open Office. I am building on Windows 2003 using Visual Studio 2003. Here are my configure options: I didn't express my respect that you try to do this on Windows 2003, to my knowledge noone else tried this before. ./configure --with-use-shell=tcsh --with-build-version=uberOffice build 20060228 --with-nsis-path=$nsis --with-num-cpus=2 ---^ Where did you find this one? Try -P2 for build.pl instead ;) (Forget that, only do that after it works without parallel building. ;) ) --with-jdk-home=/cygdrive/c/j2sdk1.4.2_10 --with-ant-home=/cygdrive/c/ant --with-psdk-home=$psdk --with-cl-home=$vchome --with-midl-path=$midlpath --with-csc-path=$cscpath The actual error is below. It says Cant Search /home/build/oo/default_images. That directory is present and has the appropriate permissions. You still wont tell us which version you are trying to build. Did you search issuezilla for this problem? I can only say that it builds fine for me. You build in a mounted cygwin directory, that's also brave ;) Last time (it's bin a while) I tried that, it actually worked for me, but who knows ... Volker Any help would be appreciated. --Chris = Building project automation = /home/build/oo/automation/packimages mkout -- version: 1.5 - -- Making: ../wntmsci10.pro/bin/images_tt.zip cp /home/build/oo/solver/680/wntmsci10.pro/res/img/stt*.ilst ../wntmsci10.pro/misc cp /home/build/oo/solver/680/wntmsci10.pro/res/img/svt*.ilst ../wntmsci10.pro/misc cp /home/build/oo/solver/680/wntmsci10.pro/res/img/fps*.ilst ../wntmsci10.pro/misc cp /home/build/oo/solver/680/wntmsci10.pro/res/img/vcl*.ilst ../wntmsci10.pro/misc mkdir.pl ../wntmsci10.pro/bin /usr/bin/perl /home/build/oo/solenv/bin/packimages.pl -g /home/build/oo/default_images -m /home/build/oo/default_images -c . /util -l ../wntmsci10.pro/misc -o ../wntmsci10.pro/bin/images_tt.zip packimages -- version: 1.12 packimages: ERROR: can't search directory: '/home/build/oo/default_images' FAILURE: packimages aborted. dmake: Error code 2, while making '../wntmsci10.pro/bin/images_tt.zip' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /home/build/oo/automation/packimages dmake: Error code 1, while making 'build_instsetoo_native' ---* tg_merge.mk *--- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Packimages.pl error during Windows build
Chris H wrote: I was trying to build against OOA680_m1which looks like the latest stable. What version should I be working with instead? m156? No, how about the current release candidate, RC4, aka. OOB680_m5. This will most propably not fix your problem, but configure should be able to work with the 2006 DirectX SDK. You say: The actual error is below. It says Cant Search /home/build/oo/default_images. That directory is present and has the appropriate permissions. Did you try? What does: $ ls -l /home/build/oo | grep default_images show? And what is the result of: $ /usr/bin/perl -e 'if( -x /home/build/oo/default_images){ print OK;};' ? Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] windows xp, cygwin, OOo 2.0.1 dmake gives: mv: cannot stat and hangs after a while
Hi Henrik, I didn't read this before answering in the issue. Sorry for this. I just started a build with the 29.12. snapshot. Just to confirm, with the 29.12. snapshot I also get lots of hangs and strange behaviour. Unfortunately I'm leaving for a week in a few hours. I have the same problems while using the 29.12. snapshot. I've added more to issue 51560. If someone could prepare a small testcase to reproduce the hang and post it to the cygwin mailing list (cygwin at cygwin dot com) that would be really fantastic. I haven't been able to do that (I dont consider try to compile OOo as a small testcase...). I know too little about dmake and tcsh and bash and sed. I would like to test what's happening when giving the same sed command as dmake directly from the tcsh prompt. That would be an excellent catch. I also get random coredumps running ./configure. If you can find what coredumps in configure, that would also be nice. Configure is a script. If you can strip it down to the few lines that throw the core for you that would also be a great testcase. It's good enough that once in while a core is thrown with this reduced sript. I'll be back next week and can see what I find next week. Thanks for trying ;) Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] windows xp, cygwin, OOo 2.0.1 dmake gives: mv: cannot stat and hangs after a while
Henrik Sundberg wrote: The most (only?) important problem is number three: dmake hangs. I describe them in chronological order, = Environment description: = I checked out the tower using: cvs -d:pserver:[EMAIL PROTECTED]:/cvs update -r OpenOffice_2_0_1 OpenOffice hesu/cvs_update_log.txt Nothing is changed except that I use version 1.143.2.3 of config_office/configure.in, due to problems with my DirectX installation. I've tried to get my environment functional by using free alternatives to Visual studio 2003 and therefor have to use these configure parameters: $ ./configure --with-cl-home=/cygdrive/c/Program/Microsoft Visual Studio .NET 2003/Vc7 --with-jdk-home=/cygdrive/c/Program/Java/j2sdk1.4.2_10 --with-use-shell=tcsh --with-midl-path=/cygdrive/c/Program/Microsoft Platform SDK/Bin --with-csc-path=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322 --with-frame-home=/cygdrive/c/Program/Microsoft.NET/SDK/v1.1 --with-ant-home=/cygdrive/c/Program/apache-ant-1.6.5 Just to make sure. It were not the missing instmsia.exe and instmsiw.exe that let the build fail, there are important libraries missing. configure is not checking if these libraries are present and therefore it will not complain. But you are welcome to find workarounds. (I just had to fetch instmsia.exe and instmsiw.exe from my computer at work. I think this is OK according to the MS license, since I'm using parts of the paid-for studio for private use at home.) = Problem 1: mv: cannot stat = I get this error output from dmake: mv: cannot stat `./wntmsci10.pro/misc/build/ttf-bitstream-vera-1.10': No such file or directory mv: cannot stat `./wntmsci10.pro/misc/build/boost-1.30.2': No such file or directory mv: cannot stat `../wntmsci10.pro/misc/build/spirit-1.6.1': No such file or directory What does it mean? Do I have to fix this? You don't provide any context. Please always provide a few lines before the actual error to get an idea what you mean. In general this: http://wiki.services.openoffice.org/wiki/Debug_Build_Problems gives some hints. (Not needed in this case) I now what that is, tg_ext.mk is using a mv / rm combination to clean up.\ If there is nothing to delete it complains about this. This is just noise. = Problem 2: zip not found or empty = dmake then reports this in errror output: zipdep -- version: 1.12 Multi Platform Enabled Edition zip warning: ../../wntmsci10.pro/bin/autotextuser.zip not found or empty zipdep -- version: 1.12 Multi Platform Enabled Edition zipdep -- version: 1.12 Multi Platform Enabled Edition zipdep -- version: 1.12 Multi Platform Enabled Edition zip warning: ../../../wntmsci10.pro/bin/autotextshare_en-US.zip not found or empty zip warning: ../../../wntmsci10.pro/bin/autocorr.zip not found or empty zipdep -- version: 1.12 Multi Platform Enabled Edition zipdep -- version: 1.12 Multi Platform Enabled Edition zipdep -- version: 1.12 Multi Platform Enabled Edition zipdep -- version: 1.12 Multi Platform Enabled Edition zip warning: ../../wntmsci10.pro/bin/database.zip not found or empty zip warning: ../../wntmsci10.pro/bin/databasebiblio.zip not found or empty zipdep -- version: 1.12 Multi Platform Enabled Edition zipdep -- version: 1.12 Multi Platform Enabled Edition zipdep -- version: 1.12 Multi Platform Enabled Edition zip warning: ../../wntmsci10.pro/bin/gallroot.zip not found or empty zipdep -- version: 1.12 Multi Platform Enabled Edition zipdep -- version: 1.12 Multi Platform Enabled Edition zip warning: ../../../wntmsci10.pro/bin/gallbullets.zip not found or empty zipdep -- version: 1.12 Multi Platform Enabled Edition zipdep -- version: 1.12 Multi Platform Enabled Edition zip warning: ../../../wntmsci10.pro/bin/gallsound.zip not found or empty zipdep -- version: 1.12 Multi Platform Enabled Edition What can I do to avaoid this? Nothing! Or provide patches. This is just a warning from zip that -u (update) is used even though there is nothing to update. You can always look at: http://go-ooo.org/tinderbox/all_trees.express.html for successfull builds and compare the buildlogs. = Problem 3: dmake hangs = After the output above, dmake hangs. Without consuming more CPU (I waited an hour). The file containing standard output ends like this: -- Making: ../../../wntmsci10.pro/bin/gallsound.zip rebuilding zipfiles -- zip -u -j ../../../wntmsci10.pro/bin/gallsound.zip * -x makefile.* -x delzip -x *CVS* || if ($status != 12 $status != 1) exit $status echo Nothing to update for zip adding: sg100.sdv (deflated 95%) adding: sg100.thm (deflated 93%) adding: sg30.sdv (deflated 95%) adding: sg30.thm (deflated 88%)
Re: [dev] Problem checking out/updating OpenOffice with cvs (windows XP)
Henrik Sundberg wrote: (snip) I was using cvs from cmd.exe, not from cygwin. cvs --version refererred to http://www.cvsnt.org I initially fetched a few separate modules. I might have had incompatible versions. I also had a go at fetching everything from one big rc3.tar.gx(?) file and then cvs. Well I think I haven't done it in a very straight forward way... I've now fetched everything from scratch from within cygwin. No problems! Good! But I still would suspect a hickup of the server during your first try. OpenOffice is just an alias that checkouts the individual modules, not a module by itself. Aha, I was surprized that all modules were placed in the root folder and not in OpenOffice. I was trying to do as it is said in http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildingaFullBuildofOpenOffice, but that can never have worked then (the cvs update part). Do you mean: http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#GetTheSourceCode ? That seems OK to me. If you have proposals (or rewritten passages) for that document, just post and I'll commit them. Thanks for the answers, they really help me not to give up. Thanks for trying :) Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Problem checking out/updating OpenOffice with cvs (windows XP)
Henrik Sundberg wrote: 2005/12/31, Volker Quetschke [EMAIL PROTECTED]: I was trying to do as it is said in http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildingaFullBuildofOpenOffice, but that can never have worked then (the cvs update part). Do you mean: http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#GetTheSourceCode ? Yes. That seems OK to me. If you have proposals (or rewritten passages) for that document, just post and I'll commit them. I'll try to, if I eventually understands whats happening. Do you think I should try with an older version of cvs? Which? Nah, any cvs version should do. Sometimes there were spurious errors (propably on the server or the network) that weren't reproducible on a second try. I doubt that the actual cvs client is to blame. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] windows xp, cygwin, OOo 2.0.1 dmake gives: mv: cannot stat and hangs after a while
Hi! Does $ ls /proc/*/fd help to cure the hang? If yes, you are member of an elite club. ;) Yes! And ps shows sed every time dmake hangs (and not otherwise), is there a possibility to use another implementation of sed? Which? Is the problem inside cygwin1.dll, not in sed? Most propably it's cygwin. Please try the 24.12. snapshot. (Reboot even if it's not needed.) I just started a build with the 29.12. snapshot. Just to confirm, with the 29.12. snapshot I also get lots of hangs and strange behaviour. Unfortunately I'm leaving for a week in a few hours. If someone could prepare a small testcase to reproduce the hang and post it to the cygwin mailing list (cygwin at cygwin dot com) that would be really fantastic. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Building OOo on XP: Problems running ./configure
Hi Henrik, My command line for configure is getting rather long (all parameters are added due to separate error reports from configure), ./configure --with-cl-home=/cygdrive/c/Program/Microsoft Visual Studio .NET 2003/Vc7 Is this Visual C++ Express Edition? If this is what was called Microsoft Visual C++ Toolkit 2003 it will not work. See http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements Btw, I doubt that a .NET2005 build will work without problems, as the corresponding cws is not yet finished/integrated. See http://eis.services.openoffice.org/EIS2/servlet/cws.ShowCWS?Id=2981Path=SRC680%2Fobo2005b I don't know the differences between the different Microsoft packages. I've got these installed (according to the control panel): Microsoft .NET Framework 1.1 Microsoft .NET Framework SDK (English) 1.1 Microsoft .NET Framework 2.0 Microsoft DirectX SDK (December 2005) Microsoft Platform SDK (3790.1830) Microsoft Visual C++ 2005 Express Edition - ENU Microsoft Visual C++ Toolkit 2003 Ah, this is what you used with --with-cl-home=/cygdrive/c/Program/Microsoft Visual Studio .NET 2003/Vc7 Unfortunately the Microsoft Visual C++ Toolkit 2003 is not enough to build OOo. The compiler is fine, but MS omitted some libraries that are needed to build OOo but that are only available in the sold Standard or Professional version. See http://qa.openoffice.org/issues/show_bug.cgi?id=32040 for problems with VCTK. Microsoft Visual C++ 2005 Express Edition - ENU might work, but OOo itself is not ready yet to be build with a .NET 2005 :( I was missing ml.exe, but was able to find it in http://www.masm32.com/ (I hope it is legal). ml is also included in the Standard or Professional version but not in the VCTK. But the version you found should work. --with-jdk-home=/cygdrive/c/Program/Java/j2sdk1.4.2_10 --with-use-shell=tcsh --with-midl-path=/cygdrive/c/Program\Microsoft Platform SDK\Bin --with-csc-path=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322 --with-frame-home=/cygdrive/c/Program/Microsoft.NET/SDK/v1.1 --disable-directx --with-ant-home=/cygdrive/c/Program/apache-ant-1.6.5 Problems: 1 DirectX a) with --with-directx-home=/cygdrive/c/Program/Microsoft DirectX SDK (December 2005) I get: checking for DirectX SDK files... configure: error: DirectX SDK files not found, please use --with-directx-home or -disable-directx. Hmmm, did you follow http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements and also install DirectX 9.0 SDK Update - (? 2005) Extras? No I didn't think it was appropriate to add older Updates in the December 2005-version. There are some files in it that were needed at that time. If yes, can you please tell me where MS now put strmif.h and strmiids.lib? These are the files that configure checks to see if you have everything from DirectX SDK. I haven't downloaded anything extra for DirectX. At http://msdn.microsoft.com/directx/sdk/ i can not find Extras. And this is said about Symbols (I therefore did not download it (I've got XP SP2): This download contains all the symbol files for the DirectX release for Windows 98, Windows ME, Windows 2000, Windows XP, and Windows Server 2003. The Windows XP Service Pack 2 symbol files are located in the Platform SDK. I found strmiids.lib at: C:\Program\Microsoft Platform SDK\Lib and strmif.h at: C:\Program\Microsoft Platform SDK\Include I should choose a better check then and really check for a DirectX related file. Earlier these files were not in the PlatformSDK. Sorry, but MS is shuffeling stuff around. b) with --disable-directx I get: checking for DirectX SDK files... cat: /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX SDK/* Doc Path: No such file or directory cygpath: can't convert empty path cygpath: can't convert empty path Hmm, looks like a bug as configure shouldn't search in the registry when --disable-directx is given ;( (can you file a bug to the tools project?) But as you have the directx SDK installed you shouldn't trip this bug. Obviously M$ changed some registry keys. Can you tell me the output of the following command: $ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX* Obviously this has to be entered in a cygwin shell. $ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX* /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX: total 0 -r--r- 1 Administratörer SYSTEM 0 Dec 18 00:24 @ -r--r- 1 Administratörer SYSTEM 2 Dec 18 00:24 Debug -r--r- 1 Administratörer SYSTEM 4 Dec 18 00:24 InstallMDX -r--r- 1 Administratörer SYSTEM 8 Dec 18 00:24 InstalledVersion -r--r- 1 Administratörer SYSTEM 4 Dec 18 00:24 PvtDXBuild -r--r- 1 Administratörer SYSTEM 2 Dec 18 00:24 RC -r--r- 1 Administratörer SYSTEM 14 Dec 18 00:24 SDKVersion -r--r- 1 Administratörer SYSTEM 13 Dec 18 00:24 Version /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DirectX Diagnostic Tool: total 0
Re: [dev] Building OOo on XP: Problems running ./configure
Problems: 1 DirectX a) with --with-directx-home=/cygdrive/c/Program/Microsoft DirectX SDK (December 2005) I get: checking for DirectX SDK files... configure: error: DirectX SDK files not found, please use --with-directx-home or -disable-directx. Hmmm, did you follow http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements and also install DirectX 9.0 SDK Update - (? 2005) Extras? If yes, can you please tell me where MS now put strmif.h and strmiids.lib? These are the files that configure checks to see if you have everything from DirectX SDK. It might be that you now need DirectX SDK (December 2005) Symbol Files. Please check. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Configure script error while trying with tcsh
Rajith Ravi wrote: hi volker, I told that there was an error in my configure script in using the cygwin perl below is the errors i logged. You send this before. And I already told you: I cannot reproduce your cygwin perl problem. Try this: $ perl -e 'use strict;print OK;' Works for me without problem. Fix your cygwin installation to fix this problem. Check what cygcheck -c reports about your installation. Let me repeat: ActiveState perl is not supported, if it fails you are on you own. While building with 4nt it is the soltools error and with tcsh there is script error. Then the reason for building the OOo1.1.2 and OOo1.1.4 is that linux versions of this have been build and we need to create a windows version of these sources. I thought that being a stable version building these will be a little more easier when compared to OOo2.0. And you are wrong with this assumptions. The 1.1.x series might be more stable in your eyes, but it got a lot less attention since the 680er series was created (At least from the windows build system point of view.) But i think that since these have been built earlier it is very tough for you people to recall these errors and their solutions. Fix your perl problem. Any Way if u can help me i will be grateful to you. See above Volker ./configure --with-cl-home=/cygdrive/c/visualstudio/VC98 --with-asm-home=/cyg drive/e/98DDK/bin/win98 --with-jdk-home=/cygdrive/c/j2sdk1.4.0_04 --with-psdk-h ome=/cygdrive/c/PSDK --with-use-shell=tcsh * * * OpenOffice.org build configuration.* * * * The configure proces checks your platform to see whether * * you can build OpenOffice.org on it.* * This proces checks all pre-requisites and generates a file * * containing the necessary environment variables.* * Source this file after configure has ended successfully. * * * * Any warning that is generated during the configure process * * must be taken into account, since it can be a reason for * * an unsuccessfull build of OpenOffice.org * * * * * * Checking the platform pre-requisites. * * * checking for gawk... gawk checking for gawk... /usr/bin/gawk checking for sed... /usr/bin/sed checking the operating system... checked (WINNT) checking the GNU make version... checked (make 3.79.1) checking the Microsoft C/C++ Compiler... checking for mspdb70.dll... no checking for mspdb60.dll... /usr/bin/mspdb60.dll found. checking the Version of Microsoft C/C++ Compiler... found Compiler version 00120 0008804. checking try to compile exception code... Exceptions type: dwarf2 checking for STLport4 headers... using internal stlport. checking whether to build with Java support... yes checking the installed JDK... checked (JDK 1.4.0_04) checking for perl... /usr/bin/perl checking the Perl version... checked (perl 5) checking for tcsh... /usr/bin/tcsh checking for dmake... no checking which zlib to use... internal checking PSDK files... PSDK files found checking for bison... /usr/bin/bison checking the bison version... checked (/usr/bin/bison 1.875b) checking for flex... /usr/bin/flex checking for patch... /usr/bin/patch checking for bash... /usr/bin/bash checking for zip... /usr/bin/zip checking unicows.dll... found checking dbghelp.dll... found checking GPC files... GPC files found checking whether to build mozilla connectivity... yes checking whether to include Bitstream Vera fonts... yes checking for jakarta-ant... no checking for ant... /cygdrive/c/ant/apache-ant-1.6.5/bin/ant checking if /cygdrive/c/ant/apache-ant-1.6.5/bin/ant works... Ant works * * * Setting up the build environment variables.* * * configure: creating ./config.status config.status: creating set_soenv Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin /usr/li b/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /us
[dev] Who builds OOo with W32-tcsh?
The question really is: Who can reproduce the hangs when building with a current cygwin snapshot. http://cygwin.com/snapshots/ We (that is mainly ause) are hunting spurious hangs when using current snapshots of the cygwin dll. See discussion on IRC and the cygwin mailing list. (Un-)fortunately we can only reproduce that hang on his system, so I'm really looking for other people with the same problem. The problem is that the build seems to freeze, but that it can be un-hang by entering: $ ls /proc/*/fd (sometimes several times) in a separate cygwin prompt. I'd like to get a small survey: Who is building OOo 2.x / m1xx with W32-tcsh with which cygwin dll version / snapshot version? Who Cygwin version me 1.5.19-snapshot-20051106 me 1.5.19-snapshot-20051106 (on two different systems) Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] soltools
Hi Rajith, Hi Volker, I posted mail on error after using cygwin's perl and on running configure script. I get the below mentioned error. I think u didnt get that mail. So im posting it again so that u can help me. I cannot reproduce your cygwin perl problem. Try this: $ perl -e 'use strict;print OK;' Works for me without problem. Fix your cygwin installation to fix this problem. Check what cygcheck -c reports about your installation. Let me repeat: ActiveState perl is not supported, if it fails you are on you own. im using windows 2000,vc6sp6, now trying with OOo1.1.4 Hmmm, I must admit that our OOo 1.1.x build instructions http://tools.openoffice.org/dev_docs/build_windows_tcsh_1.1.x.html#BuildRequirements might be out of date with respect to MSVC 6. I don't know when someone managed to compile OOo with it. All current community builds (that I know of) and the Sun builds of OO 1.1.x are done with .NET 2002. It might just fail somewhere. Sorry, but for MSVC6 you are really on your own. I'll update the build instructions and remove the MSVC6 part. Did you mention why you want to build 1.1.4? 1.1.5 is the latest release of the 1.1.x series. $ configure --with-cl-home=/cygdrive/c/visualstudio/VC98 --with-asm-home=/cygdr ive/e/98DDK/bin/win98 --with-jdk-home=/cygdrive/c/j2sdk1.4.0_04 --with-unzip-ho me=/cygdrive/e/ziptcsh/bin --with-psdk-home=/cygdrive/c/PSDK --with-perl-home=/cygdrive/e/perl Strange path to a cygwin perl! If perl is installed as a cygwin package you don't need the --with-perl-home parameter at all. The --with-unzip-home path is also strange and should not be needed. --with-use-shell=tcsh (snip) configure: creating ./config.status config.status: creating set_soenv Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin /usr/li b/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /us r/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/v endor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at ./set_soenv line 33. BEGIN failed--compilation aborted at ./set_soenv line 33. As said above, broken installation. Removing cygwin's perl and using external perl the following error in soltools occured With an activestate perl and a W32-tcsh build everything can be the reason. It doesn't make sense to look into this. But the logfile snippet below does show a lot of DOS style paths and no sign of guw.pl. That is definitively no tcsh build, it looks like a 4nt build. Volker = Building project soltools = C:\oo12\src\soltools\mkdepend -- Making:..\wntmsci9.pro\obj\cppsetup.obj c:\visualstudio\VC98\bin\cl.exe -Zm200 -c -nologo -Gs -Gy -I. -I. -I..\inc -I. .\inc -I..\WIN\inc -I..\wntmsci9.pro\inc -I. -Ic:\oo12\src\solver\645\wntmsci9.p ro\inc\dont_use_stl -Ic:\oo12\src\solver\645\wntmsci9.pro\inc\external -Ic:\oo12 \src\solver\645\wntmsci9.pro\inc -Ic:\oo12\src\solenv\wntmsci9\inc -Ic:\oo12\src \solenv\inc -Ic:\oo12\src\res -Ic:\oo12\src\solver\645\wntmsci9.pro\inc\dont_use _stl -Ic:\j2sdk1.4.0_04\include\win32 -Ic:\j2sdk1.4.0_04\include -Ic:\PSDK\inclu de -Ic:\visuastudio\VC98\include -I. -I..\res -I. -Ob1 -Ox -Oy- -Gd -DWN T -DWNT -DNT351 -DMSC -DMI200 -DINTEL -D_USE_NAMESPACE -D_X86_=1 -DFULL_DESK -D STLPORT_VERSION=400 -DWINVER=0x400 -D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUP D=645 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTI ONS_OFF -DCUI -DSOLAR_JAVA -DSRX645 -DNO_X11 -DXP_PC -DHW_THREADS -DINCLUDEDIR= \.\ -DSINGLETHREAD -DWIN32 -D_DLL -DWIN32 -D_DLL -W3 -Fo..\wntmsci9.pro\obj\cp psetup.obj cppsetup.c Cflags: -Zm200 -c -nologo -Gs -Gy -I. -I. -I..\inc -I..\inc -I..\WIN\inc -I..\ wntmsci9.pro\inc -I. -Ic:\oo12\src\solver\645\wntmsci9.pro\inc\stl -Ic:\oo12\src \solver\645\wntmsci9.pro\inc\external -Ic:\oo12\src\solver\645\wntmsci9.pro\inc -Ic:\oo12\src\solenv\wntmsci9\inc -Ic:\oo12\src\solenv\inc -Ic:\oo12\src\res -Ic :\oo12\src\solver\645\wntmsci9.pro\inc\stl -Ic:\j2sdk1.4.0_04\include\win32 -Ic: \j2sdk1.4.0_04\include -Ic:\PSDK\include -Ic:\visuastudio\VC98\include -I. - I..\res -I. -Ob1 -Ox -Oy- -Gd c:\visualstudio\VC98\bin\cl.exe @D:\DOCUME~1\Aksa\LOCALS~1\Temp\mk13 cppsetup.c .\stdio.h(31) : fatal error C1189: #error : ERROR: Use of C runtime library int ernal header file. dmake: Error code 130, while making '..\wntmsci9.pro\obj\cppsetup.obj' ---*TG_SLO.MK*--- ERROR: Error 65280 occurred while making C:\oo12\src\soltools\mkdepend dmake: Error code 129, while making 'build_all' Can anyone help? Regards, Rajith ---*TG_SLO.MK*--- -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Error building windows installation set
Hi! All modules are compiled rather smoothly, finally came to the building of installation set, but couldn't resolve the following problem: (snip) ** ERROR: ERROR: Systemcall: unzip.exe -o -q d:/OOo_2.0.0rc3_src/solver/680/wntmsci 10.pro/pck/basicsrvdepot.zip -d /cygdrive/d/temp/instsetunpack_14841131416970/wn tmsci10.pro/OpenOffice/zipfiles/en-US/00/basicsrvdepot_zip/ in function: resolving_archive_flag ** First of all, have a quick look at: http://tools.openoffice.org#Build Especially the part about the build with - 4nt tools build is currently broken - should give you a hunch that you are heavily on your own if you try to build with 4nt. Having said this I must say that I tried to fix the W32-4nt build before 2.0.0 was released and I thought it should work. I guess you are using the native W32 unzip.exe. Can you try the following: Use the native W32 zip.exe, like mentioned in the 4nt build instructions, but use the unzip.exe from the cygwin unzip package. This might help, please report back. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
[dev] Re: [tools-dev] Soltools
Hi Rajith, Hi I got the pass in the stlport error. In winenv.bat i manually changed IF DEFINED STLPORT4 unset STLPORT4 set STLPORT4=NO_STLPORT4 to set STLPORT4=C:\STLport-4.0 Then you are using an external stlport instead of the custom build/patched OOo version. You're on your own if further problems arise. But ... Then i get a pass and within seconds another error in soltools occured. Can anyone help me? = Building project soltools = C:\oo12\src\soltools\mkdepend -- Making:..\wntmsci9.pro\obj\cppsetup.obj c:\visualstudio\VC98\bin -Zm200 -c -nologo -Gs -Gy -I. -I. -I..\inc -I..\inc - I..\WIN\inc -I..\wntmsci9.pro\inc -I. -Ic:\oo12\src\solver\645\wntmsci9.pro\inc\ dont_use_stlport-Ic:\oo12\src\solver\645\wntmsci9.pro\inc\external -Ic:\oo12\src \solver\645\wntmsci9.pro\inc -Ic:\oo12\src\solenv\wntmsci9\inc -Ic:\oo12\src\sol env\inc -Ic:\oo12\src\res -Ic:\oo12\src\solver\645\wntmsci9.pro\inc\dont_use_stl -Ic:\j2sdk1.4.0_04\include\win32 -Ic:\j2sdk1.4.0_04\include -Ic:\visualstudio\V C98\include-Ic:\PSDK\include -I-I. -I..\res -I. -Ob1 -Ox -Oy- -Gd -^ this one is easy. Either you or configure made an error and lost the needed separation there. This might also have been your stlport problem, but you never send your winenv.bat. Or answer the question what hangs if you build with cygwin tcsh? See: http://www.catb.org/~esr/faqs/smart-questions.html#beprecise although the rest of that page is always worth to read. -DWNT -DWNT -DNT351 -DMSC -DMI200 -DINTEL -D_USE_NAMESPACE -D_X86_=1 -DFULL_DESK -DS TLPORT_VERSION=400 -DWINVER=0x400 -D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUPD =645 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIO NS_OFF -DCUI -DSOLAR_JAVA -DSRX645 -DNO_X11 -DXP_PC -DHW_THREADS -DINCLUDEDIR=\ .\ -DSINGLETHREAD -DWIN32 -D_DLL -DWIN32 -D_DLL -W3 -Fo..\wntmsci9.pro\obj\cpp setup.obj cppsetup.c Cflags: -Zm200 -c -nologo -Gs -Gy -I. -I. -I..\inc -I..\inc -I..\WIN\inc -I..\ wntmsci9.pro\inc -I. -Ic:\oo12\src\solver\645\wntmsci9.pro\inc\stlport-Ic:\oo12\ src\solver\645\wntmsci9.pro\inc\external -Ic:\oo12\src\solver\645\wntmsci9.pro\i nc -Ic:\oo12\src\solenv\wntmsci9\inc -Ic:\oo12\src\solenv\inc -Ic:\oo12\src\res -Ic:\oo12\src\solver\645\wntmsci9.pro\inc\stl -Ic:\j2sdk1.4.0_04\include\win32 - Ic:\j2sdk1.4.0_04\include -Ic:\visualstudio\VC98\include-Ic:\PSDK\include -I -I. -I..\res -I. -Ob1 -Ox -Oy- -Gd c:\visualstudio\VC98\bin\cl.exe @D:\DOCUME~1\Aksa\LOCALS~1\Temp\mk15 cppsetup.c def.h(39) : fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory dmake: Error code 130, while making '..\wntmsci9.pro\obj\cppsetup.obj' ---*TG_SLO.MK*--- ERROR: Error 65280 occurred while making C:\oo12\src\soltools\mkdepend dmake: Error code 129, while making 'build_all' Regards, Rajith http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/[EMAIL PROTECTED] -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] error building stlport
Rajith Ravi wrote: hi all When building OOo 1.1.2 from 4NT under Win2000, dmake fails as showing the following messages. Im Using VC6 SP6.. OOo 1.1.2? The latest version of the OOo 1.1.x series is 1.1.5. But if possible (requires .NET 2003) build the 2.0 series. Volker = Building project stlport = C:\oo12\src\stlport - c:\oo12\src\solenv\bin\mkdir.btm .\wntmsci9.pro\misc\build\STLport-4.0\src rem @echo off iff %PERL% == then call %PERL% %SOLARENV%\bin\mkdir.pl %1 cd .\wntmsci9.pro\misc\build\STLport-4.0\src nmake -f vc6.mak E:\cygwin\bi n\touch.exe so_built_so_stlport Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. 4NT: (Sys) Cannot create a file when that file already exists. C:\oo12\src\stlport\wntmsci9.pro\misc\build\STLport-4.0\src\obj 4NT: (Sys) Cannot create a file when that file already exists. C:\oo12\src\stlport\wntmsci9.pro\misc\build\STLport-4.0\src\obj\VC6 cl.exe /Zm800 /nologo /W3 /GR /GX /FI vc_warning_disable.h /D WIN32 /D _WINDOWS /I ..\\stlport /D __SGI_STL_OWN_IOSTREAMS /D _MBCS /D _NTSD K /D _LIB /FD /O2 /MT /D NDEBUG /Foobj\\VC6\\Release\\ /Fdobj\\VC6\\Rele ase\\ /YXstlport_prefix.h /Fpobj\\VC6\\Release\stlport.pch /c .\complex.cpp complex.cpp Command line error D2027 : cannot execute 'c1xx' NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. dmake: Error code 130, while making '.\wntmsci9.pro\misc\build\so_built_so_stlp ort' ---*TG_SLO.MK*--- ERROR: Error 65280 occurred while making C:\oo12\src\stlport dmake: Error code 129, while making 'build_all' ---*TG_SLO.MK*--- Regards, Rajith -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] error: stripped_parser.y: conflicts: 5 shift/reduce
I am trying to build OpenOffice under Windows platform. Source File is: OOo_2.0beta2_src.tar.gz My OS is : Windows XP with Service Pack 2 Compiler: MS visual studio 2003 Bison version: 1.875b(20030307-1) I met this problem: = Making: ../wntmsci10.pro/misc/parser.cxx tr -d \015 parser.y ../wntmsci10.pro/misc/stripped_parser.y bison -d -l -o ../wntmsci10.pro/misc/parser.cxx ../wntmsci10.pro/misc/stripped_p arser.y ../wntmsci10.pro/misc/stripped_parser.y: conflicts: 5 shift/reduce dmake: Error code 141, while making '../wntmsci10.pro/misc/parser.cxx' ---* TARGET.MK *--- dmake: Error code 255, while making '../wntmsci10.pro/misc/idlc.dpc' ---* TG_SLO.MK *--- Can you check that you don't have another bison in your path? Make sure that you don't use text mounts. Sorry, I cannot reproduce. It builds here in the same configuration. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] dmake pausing in extras on cygwin
Hi David, I did my build last week with 20050907. It worked better than 1.5.18 but I still had two freezes, detailed below: as the snapshots come on a daily basis and they are at 20050913 now this info comes a little bit late. My newest stats: 20050908 worked for me but 20050913 hangs. The problem is already reported. Volker * scripting project hung for hours doing nothing (no CPU time) because there was a shell script hanging. Unfortunately I didn't realize this and went to bed expecting it to be built in the morning so lost 5 hours build time... * instsetoo_native building afrikaans had a defunct shell script taking up 100% CPU time for 25 minutes (looked at /proc/$pid/cmdline, it said defunct - same pid as in Windows task manager but task doesn’t appear with ps -ef) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] building error
Hi hj066, I am trying to build OOo myself. The Env is: win2ksp4 + vc6sp6 + cygwin + tcsh -^^ You don't tell us *which* OOo version you want to build, but neither OOo 1.1.x nor OOo 1.9.x build with vc6 anymore. See here http://tools.openoffice.org#Build for details. Volker It failed and show these messages: [ooo_source]$ cd vcl [ooo_source/vcl]$ build build -- version: 1.86.18.1 /cygdrive/e/oo/ooo_source/vcl/source/unotypes dmake: /cygdrive/e/oo/ooo_source/solenv/inc/startup/startup.mk: line 26: Error -- Name contains non-printable character [0xffd7] ---* *--- ERROR: Error 65280 occurred while making /cygdrive/e/oo/ooo_source/vcl/source/un otypes anyone will help me? thanks -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] dmake pausing in extras on cygwin
Hi David, I've noticed that dmake appears to freeze when building the extras project (no CPU time consumed, just sits there for a long time). In order to try debug this, I was looking at the command lines of the various processes by looking at /proc//cmdline This is interesting, what did you do? $ cat /proc//cmdline ? It is known that cygwin 1.5.18 has freeze problems with OOo, there were several snapshots that solved problems in the process handling. Did it hang with newer snapshots to? I had freeze problems with 1.5.18 too, and again, new problems with 20050905. 20050828 worked for me. I'm testing 20050906 now. Amazingly, this seems to 'unfreeze' dmake and it continues happily... The cmdline of the process that unfroze it is as follows: /usr/bin/tcsh -fc find ./ -type d ! -name CVS ! -name . | sed s/\.\/\/// | sed s/\.\/// As you are using stock 1.5.18, that freeze (or the next I found, see archives) had something to do with piping. Thanks for pointing to /proc/, I completely forgot that this works :) This is using the latest standard cygwin (1.5.18) - apparently there are some issues relating to processes hanging, I thought I'd report this but not sure if its related Sure, many thanks for this! Ause, do you still see the hangs with the newest snapshots in $(shell pws)? Can you try this trick? Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Build getting stuck in icu
I'm trying to build on Windows. The build is getting stuck building ICU. It says cannot find windows.h I wonder if this is related to the guw.pl errors about not converting -X switches at the top of the log (below). As include switches are not converted (see guw error) this is highly possible. Please open an issue and attach your winenv.set so that we can investigate what went wrong. Even better would be if you tell us the configure switches you used and the output of configure. Volker Unfortunately its a bit difficult to debug as cl.exe is being given its parameters in a temporary file which gets deleted after build fails. So I was wondering if someone has a hint for me. The output is below Regards David Building project icu = /cygdrive/c/ooo-build/vs-scratch/OOo_2.0beta2/icu Error: guw.pl: WinFormat: Not converted -X/... type switch in :-I/cygdrive/c/DevTools/MICROS~2//include:. Error: guw.pl: WinFormat: Not converted -X/... type switch in :-I/cygdrive/c/DevTools/MICROS~1.0SD//include:. - mkdir.pl ./wntmsci10.pro/misc/build/icu/source cd ./wntmsci10.pro/misc/build/icu/source cd allinone/all cmd /c nmake /f all.mak CFG=all - Win32 Release cd ../.. /usr/bin/touch.exe so_built_so_icu Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. cd c:\ooo-build\vs-scratch\OOo_2.0beta2\icu\wntmsci10.pro\misc\build\icu\source\allinone\all\..\..\layout nmake / /F .\layout.mak CFG=layout - Win32 Release Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. cd ..\common nmake / /F .\common.mak CFG=common - Win32 Release Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. cd ..\stubdata nmake / /F .\stubdata.mak CFG=stubdata - Win32 Release Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. cd ..\common tempfile.bat 1 file(s) copied. tempfile.bat 1 file(s) copied. tempfile.bat 1 file(s) copied. [[[lots of above message]]] cl.exe @c:\DOCUME~1\DAVIDF~1\LOCALS~1\Temp\nm28A3.tmp NMAKE : fatal error U1077: 'cl.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: 'c:\PROGRA~1\MICROS~1.NET\Vc7\bin\nmake.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'c:\PROGRA~1\MICROS~1.NET\Vc7\bin\nmake.exe' : return code '0x2' Stop. dmake: Error code 2, while making './wntmsci10.pro/misc/build/so_built_so_icu' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /cygdrive/c/ooo-build/vs-scratch/OOo_2.0beta2/icu dmake: Error code 1, while making 'build_instsetoo_native' ---* tg_merge.mk *--- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
[dev] AMD64 donation
I'm proud to announce that I now can use a 64bit system for my OOo development. Thanks go to: * AMD for an Opteron with 2.4 GHz plus Asus SK8N motherboard and 2 GB ram. * Team OpenOffice.org e.V. for the sponsoring of a MS Windows XP Pro Edition OEM Version. It was intended to exchange this version, according to Microsofts Microsoft® Windows® XP Professional x64 Edition Technology Advancement Program, into a Windows XP Professional x64 Edition. Absolutely *no thanks* go to: Microsoft! Even though the OEM version was bought during the correct time frame, Technology Advancement Program Eligibility In order to be eligible to receive Windows XP Professional x64 Edition, your computer must have been ordered or built between March 31, 2003 and June 30, 2005 and must contian an x64 processor. You must also have a Retail (Full Packaged Product), System Builder, or OEM version of Microsoft Windows® XP Pro (32-bit) to exchange. the order page didn't accept the order. The response to my email inquiry sounded promising, On Tue, 12 Jul 2005 ms64bitupgrade wrote: Thank you for your interest. Your order was not completed; this information is being sent to be researched. We will get back with you within 48 hours. Regards, but that was the last I heard from [EMAIL PROTECTED] All further inquiries were ignored. I have a few month left on my 180 day trial Windows XP Professional x64 Trial Software Kit but it seems I have to buy a 64bit edition once it is available. (Did I really write that? Maybe I should just put a 64 bit Linux on that partition.) Again, thanks to AMD and Team OpenOffice.org e.V.! Volker P.S.: For the curious: A W32-tcsh build of OOo 1.9.125 takes 7h 45m on this system. P.P.S.: System specs: Opteron 850, 2GB DDR300 REG/ECC, Asus SK8N, 160 GB Seagate IDE. -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] makecab locks up during installer creation
Michael Thomsen wrote: I've completed building m123 from CVS, but makecab has hung up during the installer creation. It's just sitting there and it's been that way for around 2 hours. Could someone tell me what's going on? Unless you tell us which cygwin version you are using I assume this is: http://qa.openoffice.org/issues/show_bug.cgi?id=51560 -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
[dev] Re: issue compiling win32
Please don't send personal emails regarding OpenOffice issues! Redirected to dev@openoffice.org Gonzalo Cordero wrote: Hi Vq: I got this issue while compiling on win32 m99. Error with java_uno_accesbridge.dll. Error code 96 when trying to make that library. Any ideas?? First of all: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html In the case of building OpenOffice that means: * Which version/source are you building? * Which shell are you using? * Which compiler are you using? * What is the exact configure command you used? * What is the complete output of the error you are seeing? Don't give only the name of the failing target, that helps noone. Hint: You should keep a logfile of your build by redirecting the output. Add something like myOOo to your build command. Also, I would like to learn how to apply one of the patches that you wrote (.diff) I don’t know how to apply them! Ever heard of google? Search for apply patches, or make yourself familiar with a unix like environment. Cygwin provides a nearly complete posix environment with most of its tools. Hint: Try man patch. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] OpenOffice compiler
Hi Laurent, Cyrille, Then it appears it might be my turn to stand corrected... But on that page it states that These are the same compiler and linker that ship with Visual Studio .NET 2003 Professional (regarding the C/C++ compiler and linker) so I'm a bit puzzled as to which magical features we need for compilation. The magical features are MFC and ATL. I spend quite a lot of time getting an early 680 to build with VCTK (Hint search issuezilla for VCTK) and got it to run with the libraries from my .NET2003. But that was rather academic because you need the .NET2003 (VS|C++) license to be allowed to use these. (And, yes I know that some libraries come with the PSDK, but not these ( not for x86, you might be lucky if you try a port to AMD64/Xeon :( ) are not included. Then again, I was under the impression that the inclusion of the optimising compiler as opposed to some downgraded one in the toolkit was a recentish move, so possibly the comment is not accurate. It would have to be tested. At any rate, I apologise if I caused confusion on this topic. The compiler is fine, unfortunately MS omitted some crucial libs, so that you are forced to buy a real version. (As a sidenote, you can buy the cheap (non-optimising) .NET professional C++ compiler, and add the compiler (the programs) from VCTK and update your installation to a full optimized compiler installation with all libraries ;) ) There is no problem for me :) And i'm very happy that you pointed the toolkit in fact, after switching to linux to compil OOo (as it was far more easier even if i discovered this OS), i now want to go back to windows (only to compil, this time i'll not change my working tools - i definitivelly stuck with linux ;) ) so, as i've a new winXP PC, i want to setup a build environnement where i can test things (and perharps doing some test for the french labo if requested ;) ) So, perharps the page i pointed is out of date but i think we should provide links at this level where to retreive the needed compiler No, the page is very up to date. If you find something that is missing in the build instructions, please post, and I'll add it. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Build project POSTPROCESS fail !
I having a problem when building project POSTPROCESS. I read similar issues: issue 36845, issue 38176, issue 41780, issue 50129. But I DID NOT solve the problem. Please read my detail problem at Issue 50512 and help me to solve this. I just wrote the same answer in that issue, please follow the build instructions carefully: http://tools.openoffice.org/#Build The build using 4nt is currently *NOT* supported! Please bin you source tree to avoid interactions with a previous W32-4nt build and start over with W32-tcsh. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Help to build oo2 on Windows XP
Hi! tuan khanh dang wrote: 1. Without the patch: ./boostrap reports an error like this: http://img276.echo.cx/my.php?image=a26lj.jpg and here is boostrap's log: Making distclean in msdos (snip) checking for gcc... /cygdrive/c/PROGRA~1/MICROS~2.NET/Vc7/bin/cl.exe Oops, you forgot to install gcc for cygwin. This happens only if gcc is missing. In this case the dmake configure grabs the next compiler in the path (MS cl.exe) and that does produce an invalid dmake. checking for C compiler default output file name... conftest.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... obj checking whether we are using the GNU C compiler... no See, but it is needed. Install all cygwin packages that are mentioned here: http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Help to build oo2 on Windows XP
Hi! Thank Volker, By changing USE_SHELL in winenv.set to tcsh I finally seccessfully compiled the dmake.exe without the patch. The error caused by adding one more '-'('with--use-shell') in the 'with-use-shell' . Oops, I missed that. Ignore the mail I wrote 2 minutes ago ;) Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Help to build oo2 on Windows XP
Hi! There is another error while running 'dmake': http://img270.echo.cx/my.php?image=a48ee.jpg Did you start from scratch? If not, do so. It might be that the wrong dmake did something wrong. Which OOo version (1.9.m???) are you trying to build? Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Help to build oo2 on Windows XP
tuan khanh dang wrote: You wrote that you used: ./configure ... --with-use-shell=tcsh that implies that you generate a dmake that is build with the cygwin gcc. I suspect this is not the case. You wrote earlier that you patched the dmake sources. This is not necessary, there is another bug. can you report what dmake -V reports? When I added these commands: setenv DMAKEROOT c:\OpenOfficeCVS\solenv\inc\startup setenv DMAKE_INC c:\OpenOfficeCVS\solenv\inc I fixed the last error, but I got a new error like this: No this doesn't fix anything, a cygwin build dmake is REQUIRED to successfully build in this setup. Clean dmake and solenv (get fresh checkouts, delete them first) and report ALL what ./bootstrap outputs. (Hint, you can redirect the output with something like ./bootsrap bla.log to a file. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] ssh key problem
Hi! C: ssh-keygen -d R: key DSA made, password added fingerprint 5e.. Stupid question, did the new key get generated in $HOME/.ssh/ or did you copy it there? C: ssh -2 -x -L 2401:localhost:2401 [EMAIL PROTECTED] Try ssh -2 -v -v -v -x -L 2401:localhost:2401 [EMAIL PROTECTED] to get some debug information. Btw. what is C: ? Do you use the cygwin bash prompt? Which cygwin? Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Help to build oo2 on Windows XP
Hi! I'm trying to build oo2 on Windows XP with MS Visual Studio .NET 2003. Firstly, to get the source code I ran a command: cvs z4 co -r cws_src680_ooo20040815 OpenOffice cws_src680_ooo20040815 is nearly one year old, discard it and use SRC680_m105 instead. Then, successfully ran the script ./configure No parameters? Please read: http://tools.openoffice.org/#Build But when ran the ./boostrap, I got an error: Utime NULL not supported. And I fixed that by ignoring the Utime flag in the sysintf.c like that: //#ifdef HAVE_UTIME_NULL return( utime(name, NULL) ); //#else //# error Utime NULL not supported //#endif After that, I had dmake.exe without any error. When I run dmake, I got another error: /cygdrive/c/OpenofficeCVS/solenv/inc/startup\startup.mk not found, but that is not true because the file actually exists. Can anyone help me to fix it? Report back if the error still exists with the current version. -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Help to build oo2 on Windows XP
Hi Philip, *NO* , When I run dmake, I got another error: /cygdrive/c/OpenofficeCVS/solenv/inc/startup\startup.mk not found, but that is not true because the file actually exists. Can anyone help me to fix it? Perhaps the mix of slashes and that backslash might be the problem? You'd probably have to replace ever slash in every path with the appropriate backslash... /cygdrive/c/OpenofficeCVS/solenv/inc/startup_\_startup.mk you don't have to change anything manually in the build environment files, configure, bootstrap and friend take care of this. If you have to change something, please file an issue and report to this mailing list. Volker P.S.: If you are really interested why the slash is wrong: He didn't use --with-use-shell=tcsh, and at that time (9 month ago) that meant use 4NT. 4NT builds don't need the ./bootstrap command, therfore nothing worked. P.P.S.: The default changed to tcsh a while ago. -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
[dev] OOo build fails with current MS Platform SDK - April 2005 Edition
I filed this as http://www.openoffice.org/issues/show_bug.cgi?id=49856. The old feb 2003 Platform SDK works well for my OOo builds, but it is not available anymore therefore we should find a solution to keep OOo buildable outside of already existing build environments. While setting up a new build environment I found that the build of icu fails with the current Microsoft® Windows Server 2003 SP1 Platform SDK - April 2005 Edition I installed MS Windows Core SDK MS Web Workshop (IE) SDK MS Internet Information Server (IIS) SDK MS Data Access Services (MDAC) SDK MS Windows Installer SDK from the SDK. In the OOo environment ILIB (and therefore LIB) uses the following order: ILIB=(OOoLibs): (Java Libs): (PSDK Libs): (1) (Framework SDK from .NET2003 Libs): (.NET 2003 Libs): (2) (DirectX SDK Libs) If I place the PSDK libs (1) behind the actual compiler libs (2) the build of icu (and the rest? The build is still running and currently in filter ) finishes. But with the unpatched, and IMHO correct order it fails, see errorlog at the end. What is the order of the lib dirs in the Hamburg environment? How to proceed from here? Volker Errorlog: Generating Code... link.exe @c:\DOKUME~1\q\LOKALE~1\Temp\nm3668.tmp Creating library .\..\..\..\lib\icuio.lib and object .\..\..\..\lib\icuio.exp ustream.obj : error LNK2019: unresolved external symbol public: void __thiscall std::locale::facet::_Register(void) ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@QAEXXZ) referenced in function class std::ctypechar const __cdecl std::use_facetclass std::ctypechar (class std::locale const ) ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@0@@Z) ustream.obj : error LNK2019: unresolved external symbol public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int)const ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) referenced in function class std::ctypechar const __cdecl std::use_facetclass std::ctypechar (class std::locale const ) ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@0@@Z) ..\..\..\bin\icuio26.dll : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: 'link.exe' : return code '0x460' Stop. NMAKE : fatal error U1077: 'c:\PROGRA~1\MICROS~1.NET\Vc7\bin\nmake.exe' : return code '0x2' Stop. dmake: Error code 2, while making './wntmsci10.pro/misc/build/so_built_so_icu' ---* tg_merge.mk *--- -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Help to build oo2 on Windows XP
tuan dang wrote: Thanks for your help. Does it work now? I only had a quick glance at your files, they look reasonable. Do you still have problems? Did you do the rehash after sourcing winenv.set ? Volker --- Volker Quetschke [EMAIL PROTECTED] wrote: Hi Philip, *NO* , Perhaps the mix of slashes and that backslash might be the problem? You'd probably have to replace ever slash in every path with the appropriate backslash... you don't have to change anything manually in the build environment files, configure, bootstrap and friend take care of this. If you have to change something, please file an issue and report to this mailing list. Here is my config command: ./configure --with-cl-home=/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/vc7 --with-jdk-home=/cygdrive/c/j2sdk1.4.2_7 --with-use-shell=tcsh --with-frame-home=/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/SDK/V1.1 --with-pdsk-home=/cygdrive/c/Program Files/Microsoft Platform SDK for Windows XP SP2 And here is my winenv.set: # # # OpenOffice.org 680 build environment file for: WINNT. # Generated on: Wed May 25 08:11:51 SEAST 2005 # Source this file to set up the build environment. # 1. exec (t)csh # 2. source winenv.set # # setenv SRC_ROOT /cygdrive/c/OpenOfficeCVS setenv JAVA_HOME /cygdrive/c/j2sdk1.4.2_07 setenv XSLTPROC NO_XSLTPROC setenv ANT_HOME /cygdrive/c/apache-ant-1.6.4 setenv ANT_LIB /cygdrive/c/apache-ant-1.6.4/lib setenv JDKLIB /cygdrive/c/j2sdk1.4.2_07/lib setenv STLPORT4 NO_STLPORT4 setenv ASM_PATH ASM_IN_PATH setenv BUILD_SOSL true setenv LOCAL_SOLENV true # # Platform independent constant values. # setenv DIC_DADK TRUE setenv DIC_DEDE TRUE setenv DIC_ENGB TRUE setenv DIC_ENUS TRUE setenv DIC_ITIT TRUE setenv DIC_RURU TRUE setenv RES_ENUS TRUE setenv CALL_CDECL TRUE setenv COMMON_OUTDIR setenv common_build setenv NO_SRS_PATCH true setenv PRODUCT full setenv PROFULLSWITCH product=full setenv BIG_GOODIES TRUE setenv BMP_WRITES_FLAG TRUE setenv BUILD_SOSL_RELEASE TRUE setenv MK_UNROLL TRUE setenv MULTITHREAD_OBJ TRUE setenv NO_REC_RES TRUE setenv PROEXT .pro setenv SO3 TRUE setenv SOLAR_PLUGIN TRUE setenv TF_PACKAGES TRUE setenv TF_FILEURL TRUE setenv TF_CFGDATA TRUE setenv TF_SVDATA TRUE setenv TF_SDBAPI ist_da setenv TF_UCB ist_da setenv UPDATER YES setenv build_deliver true setenv USE_NEWCHARSET TRUE setenv USE_NEW_RSC TRUE setenv VCL TRUE setenv USE_NAMESPACE TRUE setenv ENABLEUNICODE TRUE setenv NEW_JAR_PACK TRUE setenv NO_BSYMBOLIC TRUE setenv TF_FILTER TRUE setenv ENABLE_STATIC_GTK FALSE setenv PSPRINT TRUE setenv MKDEPENDSOLVER TRUE # # Platform dependent constant values. # setenv SOLAR_JAVA TRUE setenv COM MSC setenv COMPATH /cygdrive/c/progra~1/micros~2.net/vc7 setenv CPU I setenv CPUNAME INTEL setenv CVER M1310 setenv DLLSUFFIX mi setenv GUI WNT setenv GLIBC setenv GUIBASE WIN setenv GUIENV WNT setenv GVER NT351 setenv OS WNT setenv EXCEPTIONS dwarf2 setenv PTHREAD_CFLAGS setenv PTHREAD_LIBS setenv OUTPATH wntmsci10 setenv INPATH wntmsci10.pro setenv GVERDIR wntmsci10.pro setenv PATH_SEPERATOR ; setenv COMEX 10 setenv BOTH TRUE setenv DEMO_ENV FALSE setenv DYNAMIC_CRT TRUE setenv SET_EXCEPTIONS TRUE setenv emergency FALSE setenv use_shl_versions TRUE setenv WRAPCMD # # Variable values. # setenv CYGWIN_PATH /usr/bin setenv PSDK_HOME /cygdrive/c/PROGRA~1/MI9D60~1 setenv USE_NEW_SDK TRUE setenv NO_HIDS TRUE setenv PERL /usr/bin/perl setenv GNUMAKE make setenv UPD 680 setenv SOLARUPD 680 setenv WORK_STAMP SRC680 setenv TF_ONE51 SRC680 setenv TF_SVDATA TRUE setenv TF_CFGDATA TRUE setenv TF_FILEURL TRUE setenv URD_ONLY SRC680 setenv SOLARROOT $SRC_ROOT setenv RSCRES $SRC_ROOT setenv SOLARVER /cygdrive/c/OpenOfficeCVS/solver setenv SOLARVERSION $SOLARVER/680 setenv SOLARENV /cygdrive/c/OpenOfficeCVS/solenv setenv SOLARENVINC $SOLARENV/inc setenv LOCALINI $SOLARENV/config setenv STAR_INIROOT $SOLARENV/config setenv STAR_INIROOTOLD $SOLARENV/config setenv STAR_STANDLST $SOLARENV/config/stand.lst setenv STAR_SSCOMMON $SOLARENV/config/ssolar.cmn setenv STAR_SSOLARINI $SOLARENV/config/ssolar.ini setenv STAR_RESOURCEPATH $SOLARVER/$UPD/$INPATH/bin setenv STAR_REGISTRY $STAR_RESOURCEPATH/applicat.rdb setenv DMAKEROOT $SOLARENVINC/startup setenv CLASSPATH $JAVA_HOME/jre/lib/rt.jar:. setenv XCLASSPATH $JAVA_HOME/jre/lib/rt.jar:. setenv SCPDEFS setenv PATH .:$SOLARVER/$UPD/$INPATH/bin:$SOLARENV/bin:$SOLARENV/$OUTPATH/bin:/cygdrive/c/j2sdk1.4.2_07/bin:/cygdrive/c/j2sdk1.4.2_07/jre/bin/client:$COMPATH/bin:/cygdrive/c/WINDOWS/MICROS~1.NET/FRAMEW~1/V11~1.432:/cygdrive/c/PROGRA~1/COMMON~1/MICROS~1/VSA/7.1/VsaEnv:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/PROGRA~1/MICROS~2.NET/Vc7/bin:/cygdrive/c/Perl/bin/:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/PROGRA~1/COMMON~1/MICROS~1/VSA/7.1
[dev] Make W32-tcsh the default instead of W32-4nt
I'd like to change the default shell to be used for windows builds to be tcsh instead of 4nt. See iz 42284 http://www.openoffice.org/issues/show_bug.cgi?id=42284. Opinions on this? IMHO W32-tcsh is the more common and better tested build environment at the moment and I'd like configure to reflect this. Volker (P.S.: The patch is ready, with a little luck this can be integrated before the beta release.) -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev] Re: build 680 error - rebase: unknown option -- C
Hi Michael, -- rebase dlls -- guw.pl rebase -v -b 0x6800 -C ../wntmsci10.pro/misc/coffbase.txt -d ... Anybody can help me on this? IIRC, something in the way Cygwin gets fork() to work interferes with relocating DLL base addresses, so DLLs under Cygwin all have to have non-overlapping addresses. Rebase goes through all DLLs it is aware of and straightens things out. Sorry to interfere, but we really need the rebase that is build with OOo. Cygwin's rebase is picked by accident. You are more likely to get a useful answer at cygwin at cygwin dot com . I recommend reading http://cygwin.com/lists.html before you write them. Maybe, but the real problem is using the wrong rebase. Don't bother the cygwin ml. Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Re: [dev]Windows build
[EMAIL PROTECTED] wrote: Is it possible to modify winenv.set generation to put path to cygwin at first place. Windows XP Find.exe is launched all the time. (Not for me, i modify it, but for other one) No, I wouldn't recommend that. Files in /bin might hide windows / OOo build tool executables. But configure should error out when windows find.exe is found. Can you please file an issue for this problem? Volker -- If you like my work consider: http://www.scytek.de/donations.html PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D