Hi Thomas,


A bit unclear about in which line the if true conditions needs to be added
in Cx-Freeze/setup.py. The link opens entire setup.py script. The http link
says default#cl-79 so I go to line 79 which is highlighted below.



*if* *not* vars*.*get("Py_ENABLE_SHARED", 0):

                libraryDirs*.*append(vars["LIBPL"])

                libraries*.*append("python%s.%s" *%* sys*.*version_info[:2])

                *if* vars["LINKFORSHARED"] *and* sys*.*platform *!=*
"darwin":

                    extraArgs*.*extend(vars["LINKFORSHARED"]*.*split())

                *if* vars["LIBS"]:

                    extraArgs*.*extend(vars["LIBS"]*.*split())

                *if* vars["LIBM"]:

                    extraArgs*.*append(vars["LIBM"])

                *if* vars["BASEMODLIBS"]:

                    extraArgs*.*extend(vars["BASEMODLIBS"]*.*split())

                *if* vars["LOCALMODLIBS"]:

                    extraArgs*.*extend(vars["LOCALMODLIBS"]*.*split())

            extraArgs*.*append("-s")



*elif*



Regards,



*Sucheta Belvi** | **Convergence Practices*

sucheta.be...@gslab.com | Extn – 9186 | Cell: +91-9822197608



*[image: gslab_logo]*

*www.gslab.com <http://www.gslab.com/>*



*From:* Thomas Kluyver [mailto:tak...@gmail.com]
*Sent:* 14 November 2015 23:01
*To:* primary discussion list for use and development of cx_Freeze <
cx-freeze-users@lists.sourceforge.net>
*Subject:* Re: [cx-freeze-users] Python 2.7 - Error while CX-Freeze on
Ubuntu 12.04.4 LTS



Hi Sucheta,

It looks like you're trying to run cx_Freeze from its own source directory,
and its missing the base executables, which need to be compiled from their
source code (in source/bases/). You can try to compile it with "pip install
.", but on Ubuntu you'll probably need to work around this issue:

https://bitbucket.org/anthony_tuininga/cx_freeze/issues/32/cant-compile-cx_freeze-in-ubuntu-1304#comment-None

Once you've done that, create your setup script somewhere other than the
cx_Freeze source directory, so that it imports the installed copy, rather
than the source copy.

Thomas



On 13 November 2015 at 06:26, Sucheta Belvi <sucheta.be...@gslab.com> wrote:

Dear CX Freeze Team,



I am new to Python world and currently using ./cxfreeze-quickstart script
to build a binary out of hello.py program which prints “Hello World”.  I
gave following options – Used Service by giving S, used console but getting
below error. Could someone please support in resolving this issue. I have
checked the problem on google and there are multiple links answering the
question; and am lost in which solution to use exactly.







Regards,



*Sucheta Belvi** | **Convergence Practices*

sucheta.be...@gslab.com | Extn – 9186 | Cell: +91-9822197608



*[image: gslab_logo]*

*www.gslab.com <http://www.gslab.com/>*




------------------------------------------------------------------------------

_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
------------------------------------------------------------------------------
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to