I am having exactly the same problem when building libxmlsecurity. I solved by editing the makefile.mk of this module. I uncommented two lines with the CONFIGURE_FLAGS, and quoted the arguments of the INC and LIB directories. These lines are now:
CONFIGURE_FLAGS=crypto=$(CRYPTOLIB) debug=yes xslt=no iconv=no static=no include="$(BASEINC)" lib="$(BASELIB)" CONFIGURE_FLAGS=crypto=$(CRYPTOLIB) xslt=no iconv=no static=no include="$(BASEINC)" lib="$(BASELIB)" I checked that the file makefile.mk did not change in the most recent version in the mercurial repository. So I ask, is this supposed to compile cleanly under Windows? I can't see how, if these lines are not uncommented. -----Mensaje original----- De: Ramón García Fernández [mailto:ram...@cnmv.es] Enviado el: Monday, June 21, 2010 1:32 PM Para: dev@openoffice.org Asunto: [dev] Issue building OpenOffice under Windows Hello, I am builing OpenOffice under Windows using Cygwin and Visual Studio Express. I am having some issues, some small, and others not so small. I am using the DEV300_m79 milestone. This is the last error that I am fighting (sorry for the messages in Spanish, I could not yet find a way to change the language): ---------------------------------------------------------------------------------------------------------------------------- ============= Building module libxslt ============= Entering /openoffice/local_DEV300/libxslt mkdir: cannot create directory `./wntmsci12.pro/misc/build/libxslt-1.1.24/win32': File exists Utilidad de mantenimiento de programas de Microsoft (R) versión 9.00.21022.08 (C) Microsoft Corporation. Reservados todos los derechos. link.exe /nologo /LIBPATH:bin.msvc /LIBPATH:.\lib /OPT:NOWIN98 /DLL /VERSION:1.1 /IMPLIB:bin.msvc\libxslt.lib /OUT:bin.msvc\libxslt.dll int.xslt.msvc\attributes.obj int.xslt.msvc\documents.obj int.xslt.msvc\extensions.obj int.xslt.msvc\extra.obj int.xslt.msvc\functions.obj int.xslt.msvc\imports.obj int.xslt.msvc\keys.obj int.xslt.msvc\namespaces.obj int.xslt.msvc\numbers.obj int.xslt.msvc\pattern.obj int.xslt.msvc\preproc.obj int.xslt.msvc\security.obj int.xslt.msvc\templates.obj int.xslt.msvc\transform.obj int.xslt.msvc\variables.obj int.xslt.msvc\xslt.obj int.xslt.msvc\xsltutils.obj int.xslt.msvc\attrvt.obj wsock32.lib libxml2.lib LINK : warning LNK4224: ya no se admite /OPT:NOWIN98; se ha omitido LINK : fatal error LNK1181: no se puede abrir el archivo de entrada 'libxml2.lib ' NMAKE : fatal error U1077: 'C:\ARCHIV~1\MICROS~1.0\VC\bin\link.exe' : código dev uelto '0x49d' Stop. dmake: Error code 2, while making './wntmsci12.pro/misc/build/so_built_so_libxs lt' 1 module(s): libxslt need(s) to be rebuilt Reason(s): Attention: if you fix the errors in above module(s) you may prolongue your the b uild issuing command: build --all:libxslt dmake: Error code 1, while making 'build_instsetoo_native' ---------------------------------------------------------------------------------------------------------------------------- libxml2.lib was successfully installed and copied to solver/300/wntmsci12.pro/lib/libxml2.lib. It seems that Microsoft linker is not searching libraries in this directory. It is listed in the linker flags in ${SOLARLIB}. On the other hand, what conditions should meet a new build system to be accepted? I find the current one somewhat odd. It is a mixture of perl and dmake. I could contribute a new one. Aviso legal – Comisión Nacional del Mercado de Valores Este mensaje y, en su caso, los ficheros que lleve incorporados, está dirigido exclusivamente a su destinatario y es de carácter confidencial. Si fuere recibido por error o se tuviere conocimiento del mismo sin ser su destinatario, rogamos nos lo comunique por la misma vía o telefónicamente (91 585 15 00) y proceda a su destrucción, debiendo abstenerse de utilizar, transmitir, divulgar o reproducir la información contenida en el mismo. La CNMV se reserva las acciones legales que procedan contra todo tercero que acceda de forma ilegítima al contenido de cualquier mensaje externo procedente de la entidad Para información y consultas visite nuestra web: http://www.cnmv.es Disclaimer - Comisión Nacional del Mercado de Valores This message, its content and any file attached thereto is for the intended recipient only and is confidential. If you have received this e-mail in error or had access to it, you should note that the information in it is private and any use thereof is unauthorised. In such an event please notify us by e-mail or by telephone (+ 34 91 585 15 00). Any reproduction of this e-mail by whatsoever means and any transmission or dissemination thereof to other persons is prohibited. The Comisión Nacional del Mercado de Valores reserves the right to take legal action against any persons unlawfully gaining access to the content of any external message it has emitted For additional information, please visit our website: http://www.cnmv.es