From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24000 invoked by alias); 22 Dec 2016 22:33:36 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22261 Received: (qmail 5129 invoked from network); 22 Dec 2016 22:33:36 -0000 X-Qmail-Scanner-Diagnostics: from mta01.eastlink.ca by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(24.224.136.30):SA:0(-3.8/5.0):. Processed in 0.726454 secs); 22 Dec 2016 22:33:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-3.8 required=5.0 tests=RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.eastlink.ca designates 24.224.136.30 as permitted sender) X-Authority-Analysis: v=2.2 cv=ZvqvEJzG c=1 sm=1 tr=0 a=28Ntk8jg+Dho8ABWn/CRtA==:117 a=28Ntk8jg+Dho8ABWn/CRtA==:17 a=N659UExz7-8A:10 a=pP7_u_2q--xgIEAe4CcA:9 a=pILNOxqGKmIA:10 X-EL-IP-NOAUTH: 24.207.16.108 Subject: Re: 5.3.1 To: zsh-users@zsh.org References: <9974e7a9-0b41-c642-5055-a58871123069@eastlink.ca> <4436d067-0d1f-173e-ea7a-ab14e32fa215@eastlink.ca> <161221161237.ZM31435@torch.brasslantern.com> <161221190310.ZM3041@torch.brasslantern.com> <9d3951c3-265e-1815-11d3-e71934dad7db@eastlink.ca> <1e43afe0-d53c-af6b-f28f-bc1c0c7a229b__8484.77827753431$1482382855$gmane$org@eastlink.ca> <20161222115745.GA14525@fujitsu.shahaf.local2> <161222134052.ZM3838@torch.brasslantern.com> From: Ray Andrews Message-id: <7fa2df4f-4aac-44f6-5493-d28bf0597d5e@eastlink.ca> Date: Thu, 22 Dec 2016 14:33:31 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-version: 1.0 In-reply-to: <161222134052.ZM3838@torch.brasslantern.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 22/12/16 01:40 PM, Bart Schaefer wrote: > On Dec 22, 8:03am, Ray Andrews wrote: > } Subject: Re: 5.3.1 > } > } Marvellous. Five years kicking around in Linux and I only learn this > } now. > > apt-get build-dep is a Debian thing, not a Linux thing in general. Sure. These competing package managers all have their own ideas. > > } BTW, why is it that an edit of 'config.modules' is always quietly > } overwritten by the installer? > > It's not overwritten by "the installer". It has a dependency on the > files generated by the "configure" script, so it will only be remade > if configure has been re-run. Normally this happens during the > execution of configure itself, so any edits to config.modules that > you do will cause config.modules to be newer than its dependencies, > and it will not be rebuilt. Rather in the style of 'make' itself. So in my case, the wiping out of my edits can be considered as a report that the module was not built, yes? > > If configure is running, the assumption is that preconditions for the > build have changed, so config.modules is regenerated from the defaults > in Src/**/*.mdd files. This is also how new modules are picked up. > > You aren't supposed to need to run "configure" more than once on the > same build tree unless something about the preconditions is changing. > If you are routinely re-running configure when none of the templates > from which it is built (e.g. configure.ac) has changed, you're doing > more work than necessary. Good to know. Yes, I have tended to do it every time for lack of knowing that I don't need to. I'm also unclear as to 'make' and 'make install' so again I do them both. > > Anyway, if you actually read either the INSTALL file or the comments > in config.modules itself: > > # Values of `auto' are `yes' or `no'. configure sets the value to > # `yes'. If you set it by hand to `no', the line will be retained > # when the file is regenerated in future. Before yesterday I didn't really expect things to be overwritten anyway, so I took the 'retained' as meaning 'autoload'. INSTALL is rather intimidating if one simply wants a plain vanilla situation. You have to already be an expert to really understand it. Typical of 'nix culture tho, the docs are a summary of the knowledge of the expert written for others exactly like himself and not much use to people who don't already understand everything that's in it. zsh no more hierographic than any other tho. > > I should have remembered that. I've forgotten why I stopped using it > and went with a local copy ... probably because for quite a while I > was switching back and forth between static and dynamic linking on > a regular basis and needed two copies of the file to do so. > It is comforting to know that even you forget some of this stuff, I don't feel quite so stupid.