Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Distributing executables (Jo?o Paulo Pizani Flor)
2. Re: Distributing executables (Magnus Therning)
3. Re: Distributing executables (Alp Mestan)
4. Re: Distributing executables (Magnus Therning)
5. Re: Distributing executables (Alp Mestan)
6. Re: Distributing executables (Magnus Therning)
7. Re: Distributing executables (Lyndon Maydwell)
8. Re: Distributing executables (Alp Mestan)
----------------------------------------------------------------------
Message: 1
Date: Mon, 28 Sep 2009 20:23:57 -0300
From: Jo?o Paulo Pizani Flor <[email protected]>
Subject: Re: [Haskell-beginners] Distributing executables
To: Joe Van Dyk <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="utf-8"
I'm also prety interested in that point. Last semester I've programmed some
coursework on formal language theory in Haskell and had to run the software
on my PC. Only if I knew how to easily statically link everything
together...
Has anyone here experience in doing this?
Thanks in advance,
João Paulo Pizani Flor
http://pet.inf.ufsc.br/~joaopizani
CS Student - Third year @ Brazilian Federal University - UFSC
2009/9/27 Joe Van Dyk <[email protected]>
> How hard is it to distribute a haskell binary that contains a bunch of
> libraries embedded in the executable? Is it pretty easy to make a
> large statically-linked executable?
>
> --
> Joe Van Dyk
> http://fixieconsulting.com
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.haskell.org/pipermail/beginners/attachments/20090928/6123baf8/attachment-0001.html
------------------------------
Message: 2
Date: Tue, 29 Sep 2009 06:43:23 +0100
From: Magnus Therning <[email protected]>
Subject: Re: [Haskell-beginners] Distributing executables
To: [email protected]
Message-ID: <20090929054323.ga28...@tatooine>
Content-Type: text/plain; charset="utf-8"
On Mon, Sep 28, 2009 at 08:23:57PM -0300, João Paulo Pizani Flor wrote:
> I'm also prety interested in that point. Last semester I've programmed some
> coursework on formal language theory in Haskell and had to run the software
> on my PC. Only if I knew how to easily statically link everything
> together...
>
> Has anyone here experience in doing this?
What OS is it for? (I'm inclined to believe it's windows, but I can't be
sure.)
In either case, why distribute it as a _completely_ statically linked
executable, wouldn't putting together an installer just as good?
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnusï¼ therningï¼org Jabber: magnusï¼ therningï¼org
http://therning.org/magnus identi.ca|twitter: magthe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url :
http://www.haskell.org/pipermail/beginners/attachments/20090929/5381498e/attachment-0001.bin
------------------------------
Message: 3
Date: Tue, 29 Sep 2009 08:36:19 +0200
From: Alp Mestan <[email protected]>
Subject: Re: [Haskell-beginners] Distributing executables
To: Magnus Therning <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
On Tue, Sep 29, 2009 at 7:43 AM, Magnus Therning <[email protected]>wrote:
> What OS is it for? (I'm inclined to believe it's windows, but I can't be
> sure.)
>
> In either case, why distribute it as a _completely_ statically linked
> executable, wouldn't putting together an installer just as good?
>
It would. But actually, while going to work, I was wondering if a sort of
Haskell application deployer would be a good idea ?
It'd package Haskell apps with the necessary dynamic libraries, etc,
depending on the target system of course, just like NSIS or so does. Except
if nobody can't find a good reason not to use tools like NSIS which are
already portable IIRC.
--
Alp Mestan
http://blog.mestan.fr/
http://alp.developpez.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.haskell.org/pipermail/beginners/attachments/20090929/e0b3c82d/attachment-0001.html
------------------------------
Message: 4
Date: Tue, 29 Sep 2009 09:15:11 +0100
From: Magnus Therning <[email protected]>
Subject: Re: [Haskell-beginners] Distributing executables
To: Alp Mestan <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
On Tue, Sep 29, 2009 at 7:36 AM, Alp Mestan <[email protected]> wrote:
> On Tue, Sep 29, 2009 at 7:43 AM, Magnus Therning <[email protected]>
> wrote:
>>
>> What OS is it for? Â (I'm inclined to believe it's windows, but I can't be
>> sure.)
>>
>> In either case, why distribute it as a _completely_ statically linked
>> executable, wouldn't putting together an installer just as good?
>
> It would. But actually, while going to work, I was wondering if a sort of
> Haskell application deployer would be a good idea ?
> It'd package Haskell apps with the necessary dynamic libraries, etc,
> depending on the target system of course, just like NSIS or so does. Except
> if nobody can't find a good reason not to use tools like NSIS which are
> already portable IIRC.
It could be a good extension to Cabal (not the tool), currently
there's the target 'sdist', maybe add a target 'wininst'. Similar to
how Python's distutils have targets for MSI and Windows installers.
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnusï¼ therningï¼org Jabber: magnusï¼ therningï¼org
http://therning.org/magnus identi.ca|twitter: magthe
------------------------------
Message: 5
Date: Tue, 29 Sep 2009 10:53:48 +0200
From: Alp Mestan <[email protected]>
Subject: Re: [Haskell-beginners] Distributing executables
To: Magnus Therning <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
On Tue, Sep 29, 2009 at 10:15 AM, Magnus Therning <[email protected]>wrote:
> It could be a good extension to Cabal (not the tool), currently
> there's the target 'sdist', maybe add a target 'wininst'. Similar to
> how Python's distutils have targets for MSI and Windows installers.
>
Actually, I was more thinking about a separate tool. Something you'd just
install, from cabal/apt/pacman/whatever, using some external system tools to
check out dependencies of the application, then packaging everything and
putting some install.sh script around for linux, and a nice installer under
Windows, etc. It is just an idea, but the main point here is that it'd just
be "simple". (of course, the idea I describe may fail heavily for packaging
very complex and heavy apps, IMO, but I think there are workarounds)
PS : shouldn't we move this discussion to -cafe ?
--
Alp Mestan
http://blog.mestan.fr/
http://alp.developpez.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.haskell.org/pipermail/beginners/attachments/20090929/dc06a91d/attachment-0001.html
------------------------------
Message: 6
Date: Tue, 29 Sep 2009 10:13:59 +0100
From: Magnus Therning <[email protected]>
Subject: Re: [Haskell-beginners] Distributing executables
To: Alp Mestan <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
On Tue, Sep 29, 2009 at 9:53 AM, Alp Mestan <[email protected]> wrote:
> On Tue, Sep 29, 2009 at 10:15 AM, Magnus Therning <[email protected]>
> wrote:
>>
>> It could be a good extension to Cabal (not the tool), currently
>> there's the target 'sdist', maybe add a target 'wininst'. Â Similar to
>> how Python's distutils have targets for MSI and Windows installers.
>
> Actually, I was more thinking about a separate tool. Something you'd just
> install, from cabal/apt/pacman/whatever, using some external system tools to
> check out dependencies of the application, then packaging everything and
> putting some install.sh script around for linux, and a nice installer under
> Windows, etc. It is just an idea, but the main point here is that it'd just
> be "simple". (of course, the idea I describe may fail heavily for packaging
> very complex and heavy apps, IMO, but I think there are workarounds)
Linux ought to be simple, a script based on output from ldd would most
likely do it. Or even better, run prelink on the executable (I
suspect it'd work, but I'm not sure). Though for Linux I don't
understand why anyone would do this, since it's so simple to put
together distro packages :-)
IMNSHO Windows is the only OS where it's useful to create binary
installers. There are quite a few tools out there for that, I'd
expect most of them would be suitable for Haskell binaries.
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnusï¼ therningï¼org Jabber: magnusï¼ therningï¼org
http://therning.org/magnus identi.ca|twitter: magthe
------------------------------
Message: 7
Date: Tue, 29 Sep 2009 17:19:03 +0800
From: Lyndon Maydwell <[email protected]>
Subject: Re: [Haskell-beginners] Distributing executables
To: Magnus Therning <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
No love for OS X?
On Tue, Sep 29, 2009 at 5:13 PM, Magnus Therning <[email protected]> wrote:
> On Tue, Sep 29, 2009 at 9:53 AM, Alp Mestan <[email protected]> wrote:
>> On Tue, Sep 29, 2009 at 10:15 AM, Magnus Therning <[email protected]>
>> wrote:
>>>
>>> It could be a good extension to Cabal (not the tool), currently
>>> there's the target 'sdist', maybe add a target 'wininst'. Â Similar to
>>> how Python's distutils have targets for MSI and Windows installers.
>>
>> Actually, I was more thinking about a separate tool. Something you'd just
>> install, from cabal/apt/pacman/whatever, using some external system tools to
>> check out dependencies of the application, then packaging everything and
>> putting some install.sh script around for linux, and a nice installer under
>> Windows, etc. It is just an idea, but the main point here is that it'd just
>> be "simple". (of course, the idea I describe may fail heavily for packaging
>> very complex and heavy apps, IMO, but I think there are workarounds)
>
> Linux ought to be simple, a script based on output from ldd would most
> likely do it. Â Or even better, run prelink on the executable (I
> suspect it'd work, but I'm not sure). Â Though for Linux I don't
> understand why anyone would do this, since it's so simple to put
> together distro packages :-)
>
> IMNSHO Windows is the only OS where it's useful to create binary
> installers. Â There are quite a few tools out there for that, I'd
> expect most of them would be suitable for Haskell binaries.
>
> /M
>
> --
> Magnus Therning             (OpenPGP: 0xAB4DFBA4)
> magnusï¼ therningï¼org      Jabber: magnusï¼ therningï¼org
> http://therning.org/magnus     identi.ca|twitter: magthe
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
------------------------------
Message: 8
Date: Tue, 29 Sep 2009 11:29:45 +0200
From: Alp Mestan <[email protected]>
Subject: Re: [Haskell-beginners] Distributing executables
To: Lyndon Maydwell <[email protected]>
Cc: Magnus Therning <[email protected]>, [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
On Tue, Sep 29, 2009 at 11:19 AM, Lyndon Maydwell <[email protected]>wrote:
> No love for OS X?
>
No knowledge of OS X binary/library interactions, actually :-)
Magnus : I agree about Linux. At least, a cabal package is enough, since
there are a lot of cabal-to-<insert distro package format here> tools
around. For Windows, which tool do you know that'd make it for Haskell apps
?
--
Alp Mestan
http://alpmestan.wordpress.com/
http://alp.developpez.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.haskell.org/pipermail/beginners/attachments/20090929/9c10a701/attachment.html
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 15, Issue 19
*****************************************