X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=JidXZGD 92IChFEOw693920YPHcfpx6LWrJ2QIErY1gNg9HWk5Vk22iPhlghQwAUTbP0OvjV oXxs5+QzQWmSJNDXWHxGYUR0Nmd3gMuW8j3Cpii2umxxZ8YPLYHpY96opqvBT4bz XVeH1X6G0lsIepLn1qEAr9Z0QTG9nMFFsk80= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=Zl0xCTF7oPeM/ DuuoMI/GFMgfBs=; b=ebQ7WQue85do/M9MsOcVWXMnRdGn+rtzu1i6UmBdemubt WQ2kFZK/t7p8mJcM8FLjnCcvclUA+Xj/vlcUSTav6nBblCM8PYyVrFOZmF30HjjS YOWkx0Q2Nd6pUFLsglOZbsNgpzfPwWujQvShw6DLgd0H3yOMKrKL95NmSx+m0U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=lyons, Lyons, boots, HX-Received:Sat X-HELO: mail-qk0-f169.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Ud5Gtw4t9tvk6Audx2Pd3u+IcqVtNzLNH6QQ0h0TwCw=; b=VGX4ierhfrxEZhISOZRjSBHV/dORI1i44QAmOEH1IcA5OKeovrO5MZBuOsc2gjQy0h rUGenr1JVY8OOm4oid/XAyd/jHWRPM02fxO6h/J5xgCT19yRmSla5RiEyfqThoUH40di TDwpnEtw7e175ZAJbctFESX+ai6JU2sQU+h/j+VpsIy5g3kgkozgs4+l+Hij/iJyWbGy E0g/xrvT/hHcuqRrchHGox4+GbAEG5lLL2i+JML4uRjfes0tLXDKsADEeN7+H9iCGAe5 kv1qtduX4rE1Qd1ywo0EsIpMGBne+iPpXw+r5IZp8fcV/e/eJjgf5pAw1ElRasDo3dsD xiug== X-Gm-Message-State: AKS2vOxnmVwGhWRpJCkQ5+/mcei4dZYJWE79+0cGBwJbp8tlhAd5PqwU yNQzAF4madQzMMuIsPgFEIzoBoXKGBa0 X-Received: by 10.55.79.145 with SMTP id d139mr12961342qkb.32.1498292579383; Sat, 24 Jun 2017 01:22:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <62f0dbb2-2362-5e16-8155-e416ee244a04@virginmedia.com> References: <1497687629 DOT 111995 DOT ezmlm AT cygwin DOT com> <62f0dbb2-2362-5e16-8155-e416ee244a04 AT virginmedia DOT com> From: Csaba Raduly Date: Sat, 24 Jun 2017 10:22:58 +0200 Message-ID: Subject: Re: cygwin Digest 17 Jun 2017 08:20:29 -0000 Issue 10294 To: cygwin list Content-Type: text/plain; charset="UTF-8" On Sat, Jun 17, 2017 at 8:20 PM, Stephen Lyons wrote: > I am new to *writing* to mailing lists so if I've done something wrong > please forgive me. > > I would like to "cygport" the Mudlet GPL MUD {Multi-User Dungeon} client > to Cygwin - I have a cygport file (and currently a patch) that works to > compile a workable binary of the 3.1.0 release available as a tarball > from https://github.com/Mudlet/Mudlet/archive/Mudlet-3.1.0.tar.gz {other > distribution methods are available!} but Mudlet possesses a Lua > sub-system that users/MUD system operators can use to provide additional > functionality and this is currently proving awkward! > > The issue I am having is that Mudlet needs some Lua "modules" to operate > and Cygwin currently only provides a sub-set of the needed ones, the > lua-file-system "lfs" IS available but also needed is: > > * "rex_pcre" > > * "zip" > > * "luasql.sqlite3" > > What is the best way to get those "run-time" dependencies into Cygwin? I > have found "luarocks" packaged versions (as "lrexlib-pcre", "luazip" and > "luasql-sqlite3" respectly) but it is not immediately apparent how I > might use that to generate the things needed as part of the "cygport" > process. I imagine luarocks may work similar to Perl's CPAN on Cygwin: some Perl modules can be installed via Cygwin's setup.exe (e.g. perl-Tk, perl-Data-Dump), the rest can be installed with the CPAN client. IANALU (I am not a Lua user), but it seems to me that these Lua modules should be outside the scope of Mudlet's cygport. Mudlet should simply require these modules to be present for its Lua subsystem. The user can be directed to install the required modules by whichever means available (rex_pcre and luasql.sqlite may be too complicated to be installed by luarocks; they may need to be made into Cygwin packages like lua-file-system). Mudlet should not mess with the user's Lua installation. Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple