Re: [cx-freeze-users] Pb with wxPython PATH
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2009-09-28 13:59:07
|
On Sun, Sep 27, 2009 at 8:19 AM, Cor Bos <co...@ce...> wrote: > Hi, > You need to add all the libwx_XXXXXXX.so libraries in usr/lib on your > build system, to the created application folder by hand( should be 11). > cxFreeze doen't collect them. To be more precise, cx_Freeze by default ignores any files in "standard" system directories -- which includes /usr/lib. You can turn off that behavior though by using the switch --bin-includes in your setup.py. The assumption is that files found in /usr/lib are to be found on all systems. That isn't always the case, of course, but differentiating between "standard" and "non-standard" cannot be done in any other reasonable way, I believe. If you have different ideas, please let me know. :-) Anthony > I had the same problem. > > Cor > > Ggamer schreef: >> >> Hi all >> >> (sorry for my english : im french) >> >> when i try to compile on Linux the wx sample (given with cx_Freeze), all >> works well. But when i try the executable on another computer, i have an >> error with wxPython : >> >> ImportError: usr/lib/libwx_gtk2u_core-2.8.so.0: version 'WXU_2.8.10' >> >> So, the executable is searching for wxPython in 'usr/lib' instead of >> inside the executable !!! >> >> How can i solve this problem ? >> >> Thx for your help. >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register now! >> http://p.sf.net/sfu/devconf >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> cx-freeze-users mailing list >> cx-...@li... >> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > cx-freeze-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > |