bob | 16 Jul 2012 21:10
Picon

build error for ecl 12.7.1 under MSVC 2008, 2010

Hi, 

I dont have any experience in nmake. I have got the latest ecl from CVS (12.7.1) and am trying to build ecl using both VS 2010 express and VS 2008 (x64 and x86) (Win7) but am getting this error:

c:\lisp\ecl\ecl\msvc>nmake

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

C++ compiler flags: /EHsc /DGC_DLL /DGC_BUILD /nologo /D_CRT_SECURE_NO_DEPRECATE
 /Zi /D_DEBUG /MDd /Od
C++ linker flags: /link /incremental:no /nologo /nodefaultlib:libcmt /nodefaultl
ib:libcmtd /nodefaultlib:libc /nodefaultlib:libcd /debug /nodefaultlib:msvcrt.li
b
ECL Modules:  cmp asdf sockets rt defsystem profile bytecmp ecl-curl deflate
ECL Features: (cons :wants-deflate (cons :wants-ecl-curl (list* :builtin-bytecmp
 :wants-bytecmp (cons :wants-profile (cons :wants-defsystem (cons :wants-rt (con
s :wants-sockets (cons :wants-asdf (cons :wants-cmp (cons :wants-dlopen *feature
s*))))))))))
        cd gmp
        "c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" "M
PN_TYPE=p4" "CFLAGS_CONFIG=/Zi /D_DEBUG /MDd /Od "  "BITS=64" "YASM=yasm-1.2.0-w
in32.exe"

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

makefile(5) : fatal error U1023: syntax error in expression
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\nmake.exe"' : return code '0x2'
Stop.

Also, am trying to build ecl-docs but cant find the xmlto package under windows. Do you have any substitute for it or any other instructions to build it in windows ?

bob
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list
Dima Pasechnik | 17 Jul 2012 08:12
Picon

Re: build error for ecl 12.7.1 under MSVC 2008, 2010

On 17 July 2012 03:10, bob <bobatnet@...> wrote:
> Hi,
>
> I dont have any experience in nmake. I have got the latest ecl from CVS
> (12.7.1) and am trying to build ecl using both VS 2010 express and VS 2008
> (x64 and x86) (Win7) but am getting this error:
>
> c:\lisp\ecl\ecl\msvc>nmake
>
> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> C++ compiler flags: /EHsc /DGC_DLL /DGC_BUILD /nologo
> /D_CRT_SECURE_NO_DEPRECATE
>  /Zi /D_DEBUG /MDd /Od
> C++ linker flags: /link /incremental:no /nologo /nodefaultlib:libcmt
> /nodefaultl
> ib:libcmtd /nodefaultlib:libc /nodefaultlib:libcd /debug
> /nodefaultlib:msvcrt.li
> b
> ECL Modules:  cmp asdf sockets rt defsystem profile bytecmp ecl-curl deflate
> ECL Features: (cons :wants-deflate (cons :wants-ecl-curl (list*
> :builtin-bytecmp
>  :wants-bytecmp (cons :wants-profile (cons :wants-defsystem (cons :wants-rt
> (con
> s :wants-sockets (cons :wants-asdf (cons :wants-cmp (cons :wants-dlopen
> *feature
> s*))))))))))
>         cd gmp
>         "c:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\BIN\nmake.exe" "M
> PN_TYPE=p4" "CFLAGS_CONFIG=/Zi /D_DEBUG /MDd /Od "  "BITS=64"
> "YASM=yasm-1.2.0-w
> in32.exe"
>
> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> makefile(5) : fatal error U1023: syntax error in expression

isn't it just due to nmake located in a directory with spaces in pathname?
http://connect.microsoft.com/VisualStudio/feedback/details/101719/nmake-fatal-error-u1023-syntax-error-in-expression

It's been more than 10 years since I used nmake, but this sounds oh so
familiar :)
Dmitrii

> Stop.
> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio
> 9.0\
> VC\BIN\nmake.exe"' : return code '0x2'
> Stop.
>
> Also, am trying to build ecl-docs but cant find the xmlto package under
> windows. Do you have any substitute for it or any other instructions to
> build it in windows ?
>
> bob
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Ecls-list mailing list
> Ecls-list@...
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
bob | 18 Jul 2012 07:58
Picon

Re: build error for ecl 12.7.1 under MSVC 2008, 2010

On Tue, Jul 17, 2012 at 11:42 AM, Dima Pasechnik <dimpase+ecl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On 17 July 2012 03:10, bob <bobatnet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi,
>
> I dont have any experience in nmake. I have got the latest ecl from CVS
> (12.7.1) and am trying to build ecl using both VS 2010 express and VS 2008
> (x64 and x86) (Win7) but am getting this error:
>
> c:\lisp\ecl\ecl\msvc>nmake
>
> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> C++ compiler flags: /EHsc /DGC_DLL /DGC_BUILD /nologo
> /D_CRT_SECURE_NO_DEPRECATE
>  /Zi /D_DEBUG /MDd /Od
> C++ linker flags: /link /incremental:no /nologo /nodefaultlib:libcmt
> /nodefaultl
> ib:libcmtd /nodefaultlib:libc /nodefaultlib:libcd /debug
> /nodefaultlib:msvcrt.li
> b
> ECL Modules:  cmp asdf sockets rt defsystem profile bytecmp ecl-curl deflate
> ECL Features: (cons :wants-deflate (cons :wants-ecl-curl (list*
> :builtin-bytecmp
>  :wants-bytecmp (cons :wants-profile (cons :wants-defsystem (cons :wants-rt
> (con
> s :wants-sockets (cons :wants-asdf (cons :wants-cmp (cons :wants-dlopen
> *feature
> s*))))))))))
>         cd gmp
>         "c:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\BIN\nmake.exe" "M
> PN_TYPE=p4" "CFLAGS_CONFIG=/Zi /D_DEBUG /MDd /Od "  "BITS=64"
> "YASM=yasm-1.2.0-w
> in32.exe"
>
> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> makefile(5) : fatal error U1023: syntax error in expression

isn't it just due to nmake located in a directory with spaces in pathname?
http://connect.microsoft.com/VisualStudio/feedback/details/101719/nmake-fatal-error-u1023-syntax-error-in-expression

It's been more than 10 years since I used nmake, but this sounds oh so
familiar :)
Dmitrii

Tried moving nmake to the msvc directory, still same error. Even made a directory link of the entire nmake folder to a path with no spaces and still the same problem.

bob

> Stop.
> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio
> 9.0\
> VC\BIN\nmake.exe"' : return code '0x2'
> Stop.
>
> Also, am trying to build ecl-docs but cant find the xmlto package under
> windows. Do you have any substitute for it or any other instructions to
> build it in windows ?
>
> bob
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Ecls-list mailing list
> Ecls-list-5NWGOfrQmneHXe+LvDLADg@public.gmane.orgrceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list
Juan Jose Garcia-Ripoll | 17 Jul 2012 08:46
Picon
Gravatar

Re: build error for ecl 12.7.1 under MSVC 2008, 2010

On Mon, Jul 16, 2012 at 9:10 PM, bob <bobatnet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I dont have any experience in nmake. I have got the latest ecl from CVS (12.7.1) and am trying to build ecl using both VS 2010 express and VS 2008 (x64 and x86) (Win7) but am getting this error:

As a rule of thumb, avoid CVS if possible. The main repository is the one based on git. The one based on CVS is synced more or less automatically but the process tends to fail quite often
 
c:\lisp\ecl\ecl\msvc>nmake
[...] 
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

makefile(5) : fatal error U1023: syntax error in expression
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\nmake.exe"' : return code '0x2'
Stop.


No idea. I just built my copy of ECL in a Windows Server 2008 without problems, using both Visual Studio Express 2010 and Microsoft's SDK, which also comes with a compiler. Both have nmake and none of them caused problems.
 
Also, am trying to build ecl-docs but cant find the xmlto package under windows. Do you have any substitute for it or any other instructions to build it in windows ?

I am not an XML savvy and I am just using the tool that comes with OS X. There might be other xsl processors around, though.

But... why don't you install cygwin? I install it even if I don't use it to build ECL so often, just because of the tools: rsync, ssh, xmlto...

Juanjo 

--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain) 
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list
bob | 18 Jul 2012 07:55
Picon

Re: build error for ecl 12.7.1 under MSVC 2008, 2010

On Tue, Jul 17, 2012 at 12:16 PM, Juan Jose Garcia-Ripoll <juanjose.garciaripoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On Mon, Jul 16, 2012 at 9:10 PM, bob <bobatnet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I dont have any experience in nmake. I have got the latest ecl from CVS (12.7.1) and am trying to build ecl using both VS 2010 express and VS 2008 (x64 and x86) (Win7) but am getting this error:

As a rule of thumb, avoid CVS if possible. The main repository is the one based on git. The one based on CVS is synced more or less automatically but the process tends to fail quite often

I am able to compile from the CVS on a windows XP box without any problems. I guess it must be something with windows.

 
c:\lisp\ecl\ecl\msvc>nmake
[...] 
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

makefile(5) : fatal error U1023: syntax error in expression
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\nmake.exe"' : return code '0x2'
Stop.


No idea. I just built my copy of ECL in a Windows Server 2008 without problems, using both Visual Studio Express 2010 and Microsoft's SDK, which also comes with a compiler. Both have nmake and none of them caused problems.
 
Also, am trying to build ecl-docs but cant find the xmlto package under windows. Do you have any substitute for it or any other instructions to build it in windows ?

I am not an XML savvy and I am just using the tool that comes with OS X. There might be other xsl processors around, though.

But... why don't you install cygwin? I install it even if I don't use it to build ECL so often, just because of the tools: rsync, ssh, xmlto...


Ya cygwin is the way to go !! thanks. 

Now that I have a compiled ECL 12.7.1, I configure it with the latest slime  and emacs. But I get a continuous error: SWANK:wait-for-input and the debug trace goes on increasing.

Also, could you guys please give an indication or put up a tutorial somewhere as to how to make slime work in the best way with ecl ?

Juanjo 

--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain) 
http://juanjose.garciaripoll.googlepages.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list
Matthew Mondor | 18 Jul 2012 09:15

Re: build error for ecl 12.7.1 under MSVC 2008, 2010

On Wed, 18 Jul 2012 11:25:59 +0530
bob <bobatnet@...> wrote:

> Also, could you guys please give an indication or put up a tutorial
> somewhere as to how to make slime work in the best way with ecl ?

In my experience SLIME from CVS works fine with ECL as-is, as with
other implementations one has to configure emacs to use it.  In my
~/.emacsrc I have:

(set-language-environment "UTF-8")
(setq slime-net-coding-system 'utf-8-unix)
(setq inferior-lisp-program "/usr/local/ecl/bin/ecl")
(add-to-list 'load-path "~/emacs-scripts/slime")
(require 'slime)
(slime-setup '(slime-fancy slime-asdf))
(slime)

You might want to use something else than UTF-8 if your locale is not a
UTF-8 one, though (ASCII or possibly ISO-8859-1, etc).

I hope this helps,
--

-- 
Matt

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane