After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 636282 - Using makefile for MSVC ends with error message
Using makefile for MSVC ends with error message
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
2.7.8
Other Windows
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2010-12-02 10:43 UTC by Mark Van Peteghem
Modified: 2021-07-05 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mark Van Peteghem 2010-12-02 10:43:47 UTC
Overview: 

There seems to be an error in the file Makefile.msvc that prevents building with this makefile.


Steps to Reproduce:

Run the command cscript configure.js 
Set up environment to use MSVC from the command line.
Run the command nmake /f Makefile.msvc > errors.txt


Actual Results: 

1) This error is printed:

Makefile.msvc(465) : fatal error U1020: end-of-file found before next directive
Stop.

2) The library is not built.

Expected Results:

1) No error message
2) Building of the library

Build Date & Platform:
4/11/2010 on Windows XP

Additional Information:

The offending lines seem to be

+!if "$(WITH_ICU)" == "1"
+LIBS = $(LIBS) icu.lib
+!endif

Removing the pluses at the begin of these lines solves the problem.
Comment 1 Morten Hauknes 2011-05-05 11:10:38 UTC
Had the same problem, and "fixed" it by remving pluses.

In addition there is a problem with using /OPT:NOWIN98 compiler on msvc 2010. The flag have been removed, but should be set for previus version. Need to make a check on e.g. $(VCINSTALLDIR) for 10.0, or maybe someone have a better solution.
Comment 2 GNOME Infrastructure Team 2021-07-05 13:22:36 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/libxml2/-/issues/

Thank you for your understanding and your help.