Build failure on Windows Xp

From: Tom Roberts <tjrob_at_fnal.gov>
Date: Fri, 1 Aug 2008 10:09:24 -0500


I am trying to build a static library of Root. I have already succeeded on Linux and Mac OS, and am now working on Windows.

I chose Root 5.16 because I've had too many troubles with later releases (related to building and to plugins).

I copied my own configure-disable-all to the Root 5.6 directory and ran it without problems (file attached below). It disables everything that can be disabled and still work on Linux and Mac OS X.

On Windows I am using the Microsoft VC++ express edition (2005). This causes the problem that there are two version of link.exe: MS and cygwin. MS link was first in the path when configure was run (when I build Geant4 this is required). Unfortunately each version of link.exe gives an error:

With cygwin link.exe first in PATH:
link: invalid option -- D
Try `link --help' for more information.
make: *** [lib/libCint.dll] Error 1
make: *** Waiting for unfinished jobs....

With MS link.exe first in PATH:

    link.exe -lib /nologo /machine:I386 /out:./\libpcre-6.4.lib [...] link: invalid option -- l
Try `link --help' for more information.
NMAKE : fatal error U1077: 'link.exe' : return code '0x1' Stop.
make: *** [pcre/src/pcre-6.4/Win32/libpcre-6.4.lib] Error 2 make: *** Waiting for unfinished jobs.... rm utils/src/RStl_tmp.cxx utils/src/rootcint_tmp.cxx

How is this supposed to work? Which link.exe is it looking for? How can I fix this?

Tom Roberts

Received on Fri Aug 01 2008 - 17:09:52 CEST

This archive was generated by hypermail 2.2.0 : Fri Aug 01 2008 - 17:50:01 CEST