delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/06/22/13:31:16

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=MsuH0JBF636mKW2j
QBBq3Pxd1Thjq5MiINdh4iAFsh/O45ypLKXcK+ULQSrjWkQyiFHLSjtWAg28kbWD
YhuZeb6LOn/S5Zeee1BGd2c5cvV4VCYZCdXOO69cJNXSM+/sKxzHp13siojPLLke
cCUkH4KWqFs+aoq6OQAqdALWhnY=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=XHXQ2eITjkUk2cFhEVDgYD
wLxjs=; b=GA2TuzUHlSZoYaMrh2RSiGtDCevRchuXvN0cZHTFEMgXVxGLZr8fXi
+yUF7Eovgr3KRc4aXPTE2JXBYYjQq7hifxY5vXTIu4xZ/ZiGVSPVOr5ZCfoTkWK9
ckwA+Xo6WtKNNz7i/thfvhFYqoWvI2FW7P88OUR1UuHuaIw9PaBJc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-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
X-CornellRouted: This message has been Routed already.
Subject: Re: unable to map cygSDL error
To: cygwin AT cygwin DOT com
References: <7ae17db1-d84c-c966-00a0-cb79ede50fb4 AT cornell DOT edu> <1529686954576-0 DOT post AT n5 DOT nabble DOT com>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <4ad70c81-dd68-18a0-8ed1-895ac8736d99@cornell.edu>
Date: Fri, 22 Jun 2018 13:30:03 -0400
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>
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019