From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1798 invoked by alias); 22 Jun 2018 17:30:50 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 1411 invoked by uid 89); 22 Jun 2018 17:30:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=explained X-HELO: limerock04.mail.cornell.edu Received: from limerock04.mail.cornell.edu (HELO limerock04.mail.cornell.edu) (128.84.13.244) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 22 Jun 2018 17:30:05 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id w5MHU2XX002572 for ; Fri, 22 Jun 2018 13:30:03 -0400 Received: from [192.168.0.4] (mta-68-175-129-7.twcny.rr.com [68.175.129.7] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id w5MHU1JG029912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 22 Jun 2018 13:30:02 -0400 Subject: Re: unable to map cygSDL error To: cygwin@cygwin.com References: <7ae17db1-d84c-c966-00a0-cb79ede50fb4@cornell.edu> <1529686954576-0.post@n5.nabble.com> From: Ken Brown Message-ID: <4ad70c81-dd68-18a0-8ed1-895ac8736d99@cornell.edu> Date: Fri, 22 Jun 2018 20:12:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1529686954576-0.post@n5.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00250.txt.bz2 On 6/22/2018 1:02 PM, massimiliano wrote: > Ken Brown-6 wrote >> On 6/14/2018 11:22 AM, Massi Alvioli wrote: >> >>> As you mention in your post, I ran into the same problem: >>> >>> https://cygwin.com/ml/cygwin/2018-05/msg00207.html >>> >>> so I would like to know if you can help me solve the problem. >> >> Until someone figures out the underlying cause of the "unable to map" >> error for cygSDL*.dll, my only suggestion is to try to work around the >> problem as I did for gimp: avoid using SDL. In your case, I think SDL >> is brought in via the package libwx_gtk3u3.0_0. If you look at the >> source for that package, you'll see that it uses the configure option >> --with-sdl. So you could try to rebuild it without that option. >> >> Hi Ken, >> >> I tried to compile the libwx_gtk3u3.0_0 package: I installed the package >> source using cygwin's setup, then cd /usr/src/wxWidgets3.0-3.0.3-1.src, >> edited wxWidgets3.0.cygport to remove --with-dsl, and issued the commands >> cygport wxWidgets3.0.cygport prep/compile/test/install. After installing >> loads of new cygwin packages required to build wxwidgets, I compiled >> GRASS GIS again but still I have no luck - same "unable to map >> cygSDL2xxx.dll >> error message at startup. >> >> Is there any obvious flaw in my procedure? any other idea? Two things: 1. --with-sdl occurs twice in the .cygport file. Be sure to remove both occurrences. 2. Running 'cygport wxWidgets3.0.cygport prep/compile/test/install' is not enough. The 'install' part of this uses a destination directory 'inst' in the work directory created by cygport. You also have to run 'cygport wxWidgets3.0.cygport package', which creates several package tarballs in the 'dist' directory. The best way to proceed from there is explained in https://cygwin.com/package-server.html under "Creating an overlay Cygwin package server". If you use this method, then you'll have to bump the release number in the .cygport file so that setup will recognize that there's a new version of libwx_gtk3u3.0_0. Ken -- 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