cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1753344 ] nmake vc8 fails due to sed expression

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 13 Jul 2007 07:42:50 -0700

Bugs item #1753344, was opened at 2007-07-13 10:08
Message generated for change (Comment added) made by djc0
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1753344&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: portability problem
Status: Closed
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Daniel Cater (djc0)
Assigned to: Daniel Stenberg (bagder)
Summary: nmake vc8 fails due to sed expression

Initial Comment:
\curl-7.16.4\curl-7.16.4>nmake vc8

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

        echo "generate VC8 makefiles"
"generate VC8 makefiles"
        sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e 's#/GZ#/RTC1#' -e 's/wsock32.lib/wsock32.lib bufferoverflowu.lib/g' -e 's/VC6/VC8/g' lib/Makefile.vc6 > lib/Makefile.vc8
sed: -e expression #2, char 1: unknown command: `''
NMAKE : fatal error U1077: 'sed' : return code '0x1'
Stop.

\curl-7.16.4\curl-7.16.4>

This is with http://curl.haxx.se/download/curl-7.16.4.zip

Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: VC Express

Microsoft Visual C++ 2005 76542-000-0000011-00125
Microsoft Visual C++ 2005

I've attached a patch which I used to fix the problem.

----------------------------------------------------------------------

>Comment By: Daniel Cater (djc0)
Date: 2007-07-13 14:42

Message:
Logged In: YES
user_id=1843236
Originator: YES

Indeed I didn't notice that the .vc8 files were already there and do not
need to be generated. That being said, I still think the patch is a valid
one. It makes the expressions more consistent and allows it to work on more
versions of sed.

This was using the GnuWin32 4.1.5 version.

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2007-07-13 11:30

Message:
Logged In: YES
user_id=1110
Originator: NO

'make vc8' is used to generate the VC8-compatible makefiles on systems
that have sed.

If you want to build (lib)curl with nmake with vc8, you should use the
pre-generated vc8 makefiles and do something like:

"nmake VC=vc8 vc"

(or use one of the many other existing vc-related targets)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1753344&group_id=976
Received on 2007-07-13

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET