sim build problem

More
30 Mar 2013 05:54 #32065 by jmelson
sim build problem was created by jmelson
I was trying to build a sim version on an old Centos 5.2 system, fixed a few missing dependencies, but then ran into a
bomb during the make. I was following the instructions in the wiki for building a sim-only version.

Compiling emc/rs274ngc/interp_read.cc
Compiling emc/rs274ngc/interp_write.cc
Compiling emc/rs274ngc/interp_o_word.cc
Compiling emc/rs274ngc/nurbs_additional_functions.cc
Compiling emc/rs274ngc/interp_namedparams.cc
emc/rs274ngc/interp_namedparams.cc: In member function ‘int Interp::lookup_named_param(const char*, double, double*)’:
emc/rs274ngc/interp_namedparams.cc:641: warning: passing ‘double’ for argument 1 to ‘int abs(int)’
Compiling emc/rs274ngc/interp_python.cc
emc/rs274ngc/interp_python.cc: In function ‘std::string handle_pyerror()’:
emc/rs274ngc/interp_python.cc:63: error: ‘import’ was not declared in this scope
make: *** [objects/emc/rs274ngc/interp_python.o] Error 1
make: Leaving directory `/home/elson/linuxcnc-dev/src'

Anyone recognize this and know what to do?

Thanks,

Jon

Please Log in or Create an account to join the conversation.

More
30 Mar 2013 06:21 #32070 by alan_3301
Replied by alan_3301 on topic sim build problem
What version of python do you have? Maybe you need an update.

Please Log in or Create an account to join the conversation.

More
30 Mar 2013 10:54 #32086 by jmelson
Replied by jmelson on topic sim build problem
I don't know, will check Monday. But, updates fro this system are getting hard
to find, at least pre-compiled from a repository. We are going to update it sometime,
but it never seems to happen.

Thanks

Jon

Please Log in or Create an account to join the conversation.

More
02 Apr 2013 05:56 #32171 by jmelson
Replied by jmelson on topic sim build problem
Looks like python-2.4.3-46.el5.x86_64, but I'm not sure I installed everything that is needed.

Thanks,

Jon

Please Log in or Create an account to join the conversation.

More
02 Apr 2013 07:00 #32172 by alan_3301
Replied by alan_3301 on topic sim build problem
That python version is from 2006. Maybe update it to something current when the version of emc2/linuxcnc you are using was released?
What version are you compiling?

www.hostucan.com/webmaster-tutorials/centos-python-2.6-install
maybe something like this can help you?

And I'm just guessing on all of this! I'm pretty good at figuring out how to fix my own errors, but I dont mind starting from scratch if I mess something up.
I don't want to break your system, so be careful.

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum