Issue 30561 - icu has to be buildable without IDE for MS VC .NET 2003
Summary: icu has to be buildable without IDE for MS VC .NET 2003
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: 680m41
Hardware: Other Windows XP
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: oliver.bolte
QA Contact: issues@porting
URL:
Keywords:
: 27657 (view as issue list)
Depends on:
Blocks: 32040
  Show dependency tree
 
Reported: 2004-06-22 12:21 UTC by oliver.bolte
Modified: 2004-09-02 09:43 UTC (History)
2 users (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description oliver.bolte 2004-06-22 12:21:54 UTC
MS VC .NET 2003 Toolkit doesn't include a IDE (devenv.exe) . The build process
has to be changed to makefiles.
Comment 1 oliver.bolte 2004-06-22 12:22:42 UTC
.
Comment 2 oliver.bolte 2004-06-29 11:26:52 UTC
Hi Volker,

I've commited the patches. These are tagged with cws_src680_icu2003tk
(makefile.mk and makefiles.zip). With my environment it works fine, but I can't
check it with the .NET2003 Toolkit (VS is installed).

Oliver.
Comment 3 quetschke 2004-06-29 15:04:15 UTC
Oliver, I'll have to find a computer where I can install .NET2003 Toolkit.
I'll then report back.
Comment 4 quetschke 2004-06-30 20:37:22 UTC
Hallo Oliver,

first test of this module.

First Problem: The cl.exe version is 13.10.3052, this is detected as COMEX=8
in configure and configure complains about missing wdevenv.exe. Not your
problems, I'll fix.

Second: Please use $/.
-BUILD_ACTION=cd allinone\all && cmd /c nmake /f all.mak CFG="all - Win32
Release" && cd ..\..
+BUILD_ACTION=cd allinone$/all && cmd /c nmake /f all.mak CFG="all - Win32
Release" && cd ..$/..

Third: nmake is required. This is not part of the toolkit, but I found
a version in the 64 bit part of the psdk:
Microsoft SDK/Bin/Win64/nmake.exe (Seems to work)

But finally it fails with:
        link.exe kernel32.lib user32.lib /nologo /dll /incremental:no /pdb:".\Re
                                              lease\icudt26l.pdb" /machine:I386
/out:"..\..\bin\icudt26l.dll" /implib:"..\..\l                                 
             ib\icudata.lib" ".\Release\stubdata.obj"
LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib'
NMAKE : fatal error U1077: 'link.exe' : return code '0x450'
Stop.
NMAKE : fatal error U1077: 'c:\Programme\MICROS~3\Bin\Win64\nmake.exe' : return
                                               code '0x2'
Stop.

On this machine I only have one msvcrt.lib:
$ find /cygdrive/c/Programme/ -iname msvcrt.lib
/cygdrive/c/Programme/Microsoft SDK/Lib/IA64/msvcrt.lib

But I'm a bit reluctant about using IA64 libraries.
Comment 5 quetschke 2004-06-30 23:45:58 UTC
Hi Oliver,

at <http://sapdb.2scale.net/moin.cgi/MS_20C_2b_2b_20Toolkit> they say
it is included in the .NET Framework SDK.

But on that page is also a nice trick to generate needed import libs
on the fly.
Comment 6 quetschke 2004-07-01 04:55:17 UTC
Grr, that will get interesting for configure, but for the moment I just
copied msvcrt.lib to the lib directory of the toolkit installation and
the build continued until:

Generating Code...
        link.exe @c:\tmp\nm11E.tmp
   Creating library .\..\..\lib\icuuc.lib and object .\..\..\lib\icuuc.exp
LINK : warning LNK4098: defaultlib 'LIBC' conflicts with use of other libs; use
/NODEFAULTLIB:library
        bscmake.exe @c:\tmp\nm124.tmp
Der Befehl "bscmake.exe" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
NMAKE : fatal error U1077: 'bscmake.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'c:\PROGRA~1\MICROS~3\Bin\Win64\nmake.exe' : return
code '0x2'
Stop.
NMAKE : fatal error U1077: 'c:\PROGRA~1\MICROS~3\Bin\Win64\nmake.exe' : return
code '0x2'
Stop.
NMAKE : fatal error U1077: 'c:\PROGRA~1\MICROS~3\Bin\Win64\nmake.exe' : return
code '0x2'
Stop.
dmake:  Error code 2, while making './wntmsci10.pro/misc/build/so_built_so_icu'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /w1/cws_src680_ooo20040704/icu

bscmake??
Comment 7 quetschke 2004-07-01 05:19:59 UTC
Last update for today:

By borrowing bscmake from another computer with .NET2002 installed
icu builds to the end.

Hmm, that means one can build without the convert tool, but you still
need access to a real MS Visual Studio version.

I guess we cannot write: ... and borrow a bscmake from a friend with a
Visual Studio version ... ? 
Comment 8 oliver.bolte 2004-07-01 12:20:55 UTC
Hi Volker,

many thanks for your help!

I've commited a new makefiles.zip which doesn't use bscmake.exe anymore.

Oliver.
Comment 9 quetschke 2004-07-02 04:00:44 UTC
The new version builds for me with vc toolkit.
Comment 10 helge.delfs 2004-07-28 12:47:41 UTC
Updatetests didn't show strange results
Comment 11 oliver.bolte 2004-08-18 13:02:45 UTC
.
Comment 12 oliver.bolte 2004-09-02 09:43:39 UTC
*** Issue 27657 has been marked as a duplicate of this issue. ***