From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25619 invoked by alias); 15 Jun 2012 15:57:46 -0000 Received: (qmail 25582 invoked by uid 22791); 15 Jun 2012 15:57:45 -0000 X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_WX X-Spam-Check-By: sourceware.org Received: from mail-yx0-f171.google.com (HELO mail-yx0-f171.google.com) (209.85.213.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jun 2012 15:57:31 +0000 Received: by yenq11 with SMTP id q11so2601507yen.2 for ; Fri, 15 Jun 2012 08:57:31 -0700 (PDT) Received: by 10.236.121.194 with SMTP id r42mr8573881yhh.64.1339775851214; Fri, 15 Jun 2012 08:57:31 -0700 (PDT) Received: from [172.21.193.105] (85-18-126-22.ip.fastwebnet.it. [85.18.126.22]) by mx.google.com with ESMTPS id l49sm33042273yhj.8.2012.06.15.08.57.29 (version=SSLv3 cipher=OTHER); Fri, 15 Jun 2012 08:57:30 -0700 (PDT) Message-ID: <4FDB5B62.8050602@gmail.com> Date: Fri, 15 Jun 2012 15:57:00 -0000 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Some issues with "/usr/lib/" and "/lib/" and wx References: <20120615143709.EF34614DBED@smtp.hushmail.com> In-Reply-To: <20120615143709.EF34614DBED@smtp.hushmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2012-06/txt/msg00292.txt.bz2 On 6/15/2012 4:37 PM, matt_bali@mac.hush.com wrote: >> If it is a native (doesn't require cygwin1.dll) then yes, wx won't >> be able to read the Cygwin POSIX paths. > > I compiled wx it under Cygwin > wx libraries are are in /usr/local/lib/ > > Everything works as expected, only some programs won't start because of this issue, or throw error about missing resource file if file is located beneath /usr/lib/ eventually you build a partially hybrid application On cygwin /usr/lib is a mount of /lib so a pure cygwin program will see no difference between /usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png /lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png > Please see this output from python interpreter: > > ======================================== > $ python > Python 2.6.8 (unknown, Jun 9 2012, 11:30:32) > [GCC 4.5.3] on cygwin > Type "help", "copyright", "credits" or "license" for more information. >>>> import wx >>>> wx.Image.CanRead('/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png') > True >>>> wximg = wx.Image('/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png', wx.BITMAP_TYPE_ANY) > 14:36:44: Error: Can't load image from file '/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png': file does not exist. >>>> > ======================================== > > Only wx has this issue for some reason > have you tried using Yaakov wx libraries ? http://sourceware.org/cygwinports/ Regards Marco -- 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