Bug#319999: nsis: Invalid command: System::Call

2005-07-26 Thread Greg Hazel
Package: nsis
Version: 2.06-6
Severity: important


when compiling a script with System::Call I get:
Invalid command: System::Call and the makensis process aborts. This script 
compiles fine with NSIS on windows.

docs for System are at:
http://nsis.sourceforge.net/Docs/System/System.html



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages nsis depends on:
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1 1:4.0.1-2GCC support library
ii  libstdc++6  4.0.1-2  The GNU Standard C++ Library v3

nsis recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#319999: nsis: Invalid command: System::Call

2005-07-26 Thread Paul Wise
severity 31 normal
tag 31 + help confirmed
thanks (not) for the non-free build-dep nsis authors ;)

Greg Hazel  wrote:
 when compiling a script with System::Call I get:
 Invalid command: System::Call and the makensis process aborts. This script 
 compiles fine with NSIS on windows.
 
 docs for System are at:
 http://nsis.sourceforge.net/Docs/System/System.html

Unfortunately, the System plugin cannot be compiled on debian, because
it requires Microsoft's non-free C compiler for the MS inline assembly
in the source files. If you send a patch to convert all the inline
assembly to the format understood by GCC (I have very little knowledge
of assembly and no knowledge of either inline assembly format), I will
add in the #ifdef's necessary for compilation on both MSVC and GCC and
submit it upstream. I don't know if upstream would accept such a patch -
they may or may not be able to maintain GCC inline assembly. This is
also explained in the README.Debian in version 2.07-1 (not recommended -
see 319929) and 2.08-1 (on mentors.debian, but not yet in experimental).
Upstream know about this issue, but I don't think it is a high priority
for them.

A workaround is to download the binary file from upstream, or in the
source package for 2.06-6 (2.07-1 and later do not have precompiled
files in the source) and place it in /usr/share/nsis/Plugins/.

-- 
bye,
pabs

http://qa.debian.org/developer.php?login=Paul+Wisecomaint=yes


signature.asc
Description: This is a digitally signed message part