Thanks for this but unfortunately my command line knowledge really lets me down right about now. My Python isn't via Macports (dmg from Python.org) so I am not sure whether your suggestion would help or not?
Adam. -----Original Message----- From: Rob Reilink [mailto:[email protected]] Sent: Tue 28/02/2012 11:54 To: primary discussion list for use and development of cx_Freeze Subject: Re: [cx-freeze-users] cx_Freeze on OS X? I found that if you used Macports to install your python, you have to set the LIBRARY_PATH to /opt/local/lib: LIBRARY_PATH='/opt/local/lib' python3.1 setup.py install --user the problem here is that python3.1-config --ldflags gives: -L/opt/local/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/config -lintl -ldl -framework CoreFoundation -lpython3.1 which references libintl (-lintl) but does not reference the Macports library path where it is located. This can cause all sorts of problems, especially when the same library of a different architecture (i.e. 32 vs 64 bits) is located in e.g. /usr/lib Hope this helps. Rob Op 28 feb 2012, om 12:26 heeft McNicol, Adam het volgende geschreven: > Hi Rob, > > I get a similar error: > > lipo: can't figure out the architecture type of: > /var/folders/zj/7xymy_2n3s71ws30v3v_qnlw0000gn/T//ccOhVjdF.out > error: command 'gcc-4.2' failed with exit status 1 > > > Python.org 3.2.2 and Mac OS X 10.7.3 > > > Adam. > > > -----Original Message----- > From: Rob Reilink [mailto:[email protected]] > Sent: Tue 28/02/2012 10:58 > To: primary discussion list for use and development of cx_Freeze > Subject: Re: [cx-freeze-users] cx_Freeze on OS X? > > Hi Florian, > > What error do you get? > > I just tried to install it from the bitbucket repo, and it gives an error: > > running build_ext > /Developer/usr/bin/llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic > -isysroot / -pipe -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes > -Ibuild/temp.macosx-10.6-x86_64-3.1 > -I/opt/local/Library/Frameworks/Python.framework/Versions/3.1/include/python3.1 > -c source/bases/Console.c -o > build/temp.macosx-10.6-x86_64-3.1/source/bases/Console.o > /Developer/usr/bin/llvm-gcc-4.2 > build/temp.macosx-10.6-x86_64-3.1/source/bases/Console.o > -L/opt/local/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/config > -lpython3.1 -o build/lib.macosx-10.6-x86_64-3.1/cx_Freeze/bases/Console > -lintl -ldl -framework CoreFoundation -s > ld: warning: option -s is obsolete and being ignored > ld: library not found for -lintl > collect2: ld returned 1 exit status > error: command '/Developer/usr/bin/llvm-gcc-4.2' failed with exit status 1 > > However, install using Macports works without any problems (my python3.1 also > comes from Macports) > > Rob > > > Op 28 feb 2012, om 10:15 heeft Florian Berger het volgende geschreven: > >> Hi Adam, >> >> "McNicol, Adam" <[email protected]>: >>> >>> I am using cx_Freeze under OS X - I would be loathe to loose it! It >>> is the only program I've found that will compile Python 3 for OS X. >> >> Could you please tell me which versions of OS X, Python and cx_Freeze >> you are using? >> >> cx_Freeze 4.2.3 on Python 3.14 on OS X 10.6.6 (Snow Leopard) does not >> compile / install here. >> >> Do you use Apple's Python, or a vanilla one? >> >> How did you install cx_Freeze? Did you use a package manager? >> >> Thanks a lot, >> >> Florian >> >> >> -- >> My OpenPGP-Key: http://florian-berger.de/fberger-gpg_key.txt >> If you don't know what this is, please ignore the attachment. >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d_______________________________________________ >> cx-freeze-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > cx-freeze-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users > > <winmail.dat>------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d_______________________________________________ > cx-freeze-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
<<winmail.dat>>
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
