public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: unable to map cygSDL error
       [not found] <CAG0O4LuJ63tJgoThKyLmEVUceaPwdtu+NwszP7WuUoao_-hMuA@mail.gmail.com>
@ 2018-06-15 19:45 ` Ken Brown
  2018-06-22 18:27   ` massimiliano
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Brown @ 2018-06-15 19:45 UTC (permalink / raw)
  To: Massi Alvioli; +Cc: cygwin

On 6/14/2018 11:22 AM, Massi Alvioli wrote:
> dear Ken,
> 
> I found your post on the web
> 
> http://cygwin.1069669.n5.nabble.com/gimp-crashes-due-to-libSDL1-2-0-problem-td140811.html
> 
> but did not find it in the cygwin users mailing list

It's there:

   https://cygwin.com/ml/cygwin/2018-05/msg00226.html

> , so I decided to
> write to your adress only.

It's better to keep the discussion on the mailing list, so that others 
can benefit (and help) also.

> 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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: unable to map cygSDL error
  2018-06-15 19:45 ` unable to map cygSDL error Ken Brown
@ 2018-06-22 18:27   ` massimiliano
  2018-06-22 20:12     ` Ken Brown
  0 siblings, 1 reply; 3+ messages in thread
From: massimiliano @ 2018-06-22 18:27 UTC (permalink / raw)
  To: cygwin

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?  
> 
> thanks in advance.
> 
> 
> Massi





--
Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: unable to map cygSDL error
  2018-06-22 18:27   ` massimiliano
@ 2018-06-22 20:12     ` Ken Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Ken Brown @ 2018-06-22 20:12 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-22 17:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAG0O4LuJ63tJgoThKyLmEVUceaPwdtu+NwszP7WuUoao_-hMuA@mail.gmail.com>
2018-06-15 19:45 ` unable to map cygSDL error Ken Brown
2018-06-22 18:27   ` massimiliano
2018-06-22 20:12     ` Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).