Send Beginners mailing list submissions to beginners@haskell.org 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 beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org 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 <joaopiz...@gmail.com> Subject: Re: [Haskell-beginners] Distributing executables To: Joe Van Dyk <j...@fixieconsulting.com> Cc: beginners@haskell.org Message-ID: <325156ff0909281623k1a38ac84rfa1f0109219bf...@mail.gmail.com> 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 <j...@fixieconsulting.com> > 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 > Beginners@haskell.org > 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 <mag...@therning.org> Subject: Re: [Haskell-beginners] Distributing executables To: beginners@haskell.org 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 <a...@mestan.fr> Subject: Re: [Haskell-beginners] Distributing executables To: Magnus Therning <mag...@therning.org> Cc: beginners@haskell.org Message-ID: <cbe39dfc0909282336m44850f59q11e3450c0a475...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" On Tue, Sep 29, 2009 at 7:43 AM, Magnus Therning <mag...@therning.org>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 <mag...@therning.org> Subject: Re: [Haskell-beginners] Distributing executables To: Alp Mestan <a...@mestan.fr> Cc: beginners@haskell.org Message-ID: <e040b520909290115w79b580bg443686d744f8c...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 On Tue, Sep 29, 2009 at 7:36 AM, Alp Mestan <a...@mestan.fr> wrote: > On Tue, Sep 29, 2009 at 7:43 AM, Magnus Therning <mag...@therning.org> > 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 <a...@mestan.fr> Subject: Re: [Haskell-beginners] Distributing executables To: Magnus Therning <mag...@therning.org> Cc: beginners@haskell.org Message-ID: <cbe39dfc0909290153p24b2f048i3ae41a8e27a11...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" On Tue, Sep 29, 2009 at 10:15 AM, Magnus Therning <mag...@therning.org>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 <mag...@therning.org> Subject: Re: [Haskell-beginners] Distributing executables To: Alp Mestan <a...@mestan.fr> Cc: beginners@haskell.org Message-ID: <e040b520909290213s6f7905c4ofefac361c54f2...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 On Tue, Sep 29, 2009 at 9:53 AM, Alp Mestan <a...@mestan.fr> wrote: > On Tue, Sep 29, 2009 at 10:15 AM, Magnus Therning <mag...@therning.org> > 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 <maydw...@gmail.com> Subject: Re: [Haskell-beginners] Distributing executables To: Magnus Therning <mag...@therning.org> Cc: beginners@haskell.org Message-ID: <da8fea9e0909290219t6239075cr76b21542d4b99...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 No love for OS X? On Tue, Sep 29, 2009 at 5:13 PM, Magnus Therning <mag...@therning.org> wrote: > On Tue, Sep 29, 2009 at 9:53 AM, Alp Mestan <a...@mestan.fr> wrote: >> On Tue, Sep 29, 2009 at 10:15 AM, Magnus Therning <mag...@therning.org> >> 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 > Beginners@haskell.org > http://www.haskell.org/mailman/listinfo/beginners > ------------------------------ Message: 8 Date: Tue, 29 Sep 2009 11:29:45 +0200 From: Alp Mestan <a...@mestan.fr> Subject: Re: [Haskell-beginners] Distributing executables To: Lyndon Maydwell <maydw...@gmail.com> Cc: Magnus Therning <mag...@therning.org>, beginners@haskell.org Message-ID: <cbe39dfc0909290229w6a11f90bob11e7fe4e107d...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" On Tue, Sep 29, 2009 at 11:19 AM, Lyndon Maydwell <maydw...@gmail.com>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 Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners End of Beginners Digest, Vol 15, Issue 19 *****************************************