deufeufeu | 11 Oct 22:23 2008
Picon

Redistributing a windows executable

Hi,
  I'm a linux user and I need to build an executable version of my program for my students.
 Because I don't want to put too much stress on them, like installing ghc, wxwindows and wxhaskell, and compile themselves the program, I'd like to redistribute a complete package with executables and needed dlls.
 Currently I have compiled it in vista, when i try to run the program, with the wxc-msw2.6.4-0.10.3.dll in the same directory, with wine, it crashes. It might be a wine issue... But when I try to run it in windows XP (with no ghc, ect...), I get a 0xc0150002 error...
  Is there a way to pack it for good ? so that it works flawlessly on the first try on any of my students computer ?
 
  Best,
   Marc de Falco
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
shelarcy | 12 Oct 18:08 2008
Picon

Re: Redistributing a windows executable

Hi,

On Sun, 12 Oct 2008 05:23:52 +0900, deufeufeu <deufeufeu@...> wrote:
>  Currently I have compiled it in vista, when i try to run the program, with
> the wxc-msw2.6.4-0.10.3.dll in the same directory, with wine, it crashes. It
> might be a wine issue... But when I try to run it in windows XP (with no
> ghc, ect...), I get a 0xc0150002 error...
>   Is there a way to pack it for good ? so that it works flawlessly on the
> first try on any of my students computer ?

I don't know about wine.

But we know XP's 0xc0150002 error. Please install Microsoft Visual C++ 2005
SP1 Redistributable Package. You can fix problem by this way.

http://haskell.org/haskellwiki/WxHaskell/Troubleshooting#Runtime_issues

And John Lask pointed out where is a wrong. So, I fixed that in the darcs
repository.

http://www.mail-archive.com/wxhaskell-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f <at> public.gmane.org/msg00212.html
http://www.mail-archive.com/wxhaskell-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f <at> public.gmane.org/msg00214.html

We hope that above problem is fixed completely and people doesn't cause
same problem in the next binary release.

Best Regards,

--

-- 
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
shelarcy | 14 Oct 11:54 2008
Picon

Re: [Haskell-cafe] Congrats. to wxHaskell

Hi Henk-Jan,

On Tue, 14 Oct 2008 07:53:57 +0900, Henk-Jan van Tuyl <hjgtuyl <at> chello.nl> wrote:
> I downloaded wxWindows 2.8.9 and tried to build it with the supplied
> makefile as
> suggested in the installation manual (I have MinGW and MSSY installed):
>
> (snip)
>
> Trying to install wxHaskell:
>> cabal install --global wx
> [...]
> install: /usr/local/lib/wxcore.o
> install directory: /usr/local/lib/
> install: /usr/local/lib/wxcore.pkg
> cat config/wxcore.pkg | sed -e "s|\${wxhlibdir}|/usr/local/lib|" | ghc-pkg
> update -
> Reading package info from stdin ... done.
> ghc-pkg.exe: /usr/local/lib/imports doesn't exist or isn't a directory
> (use --force to override)
> "make": *** [wxcore-register] Error 1
> cabal: Error: some packages failed to install:
> wx-0.10.5 depends on wxcore-0.10.5 which failed to install.
> wxcore-0.10.5 failed during the final install step. The exception was:
> exit: ExitFailure 2

wxHaskell requires to use cygwin when building on Windows currently. 
Because Cabal doesn't support binary distribution yet. If you want to
build wxHaskell yourself on Windows, you must install cygwin.

http://www.haskell.org/haskellwiki/WxHaskell/Cygwin

And I'm finding where causes this problem now.

Best Regards,

--

-- 
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/
shelarcy | 14 Oct 12:01 2008
Picon

Re: [Haskell-cafe] Congrats. to wxHaskell

On Tue, 14 Oct 2008 18:54:45 +0900, shelarcy <shelarcy <at> gmail.com> wrote:
> wxHaskell requires to use cygwin when building on Windows currently.
> Because Cabal doesn't support binary distribution yet.

And there is a lot of incompatibility between cygwin and MSYS. We
don't care about that now.

> If you want to
> build wxHaskell yourself on Windows, you must install cygwin.
>
> http://www.haskell.org/haskellwiki/WxHaskell/Cygwin

--

-- 
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/

Gmane