LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   CAM software (https://www.linuxquestions.org/questions/slackware-14/cam-software-4175605360/)

Wed 05-06-2017 04:55 AM

CAM software
 
I would like to attempt building Camotics http://www.camotics.org/download.html

It seems to be quite an undertaking, moving me well out of my comfort zone.

I suppose I ought to get the prerequisites in place first. I can't find all these at SBo (actually none), and guess I have to build them from source as well. But then I am not sure what to translate some of them with, since a few seem Debian specific.

Any help and hints are most welcome.

Code:

scons
build-essential
libbz2-dev
zlib1g-dev
libexpat1-dev
libssl-dev
libboost-iostreams-dev
libboost-system-dev
libboost-filesystem-dev
libboost-regex-dev
libsqlite3-dev
libv8-dev
qt4-dev-tools
libqt4-dev
libqt4-opengl-dev
libcairo2-dev
git


montagdude 05-06-2017 06:08 AM

Most or all of those things are already in Slackware, with different packages names, of course. Just try building it and see if it complains about anything being missing.

Wed 05-07-2017 03:36 AM

The first part probably ended well. There was some sort of warning right at the start. But I didn't see what it was.

Quote:

# Build C!
scons -C cbang
export CBANG_HOME=$PWD/cbang
Code:

scons: done building targets.
source/camotics/cbang# export CBANG_HOME=$PWD/cbang
source/camotics/cbang#

The main piece of work didn't go so well.

Quote:

# Build CAMotics
cd CAMotics
scons
This is the result:

Code:

source/camotics/cbang# cd ../CAMotics/
source/camotics/CAMotics# scons
scons: Reading SConscript files ...
EnvironmentError: No tool named 'config': not a Zip file:
  File "/home/wed/slackpacks64_14.2/source/camotics/CAMotics/SConstruct", line 14:
    env.Tool('config', toolpath = [cbang])
  File "/usr/lib64/python2.7/site-packages/SCons/Environment.py", line 1807:
    tool = SCons.Tool.Tool(tool, toolpath, **kw)
  File "/usr/lib64/python2.7/site-packages/SCons/Tool/__init__.py", line 97:
    module = self._tool_module()
  File "/usr/lib64/python2.7/site-packages/SCons/Tool/__init__.py", line 157:
    raise SCons.Errors.EnvironmentError(m)
source/camotics/CAMotics#

I don't know where it is looking for the tool 'config'. Or why it should be a Zip-file.

Richard Cranium 05-07-2017 11:08 AM

First off, your export command was given in the wrong directory. If you try something like this, you'll get "better" errors:

Code:

mkdir testing
cd testing
git clone https://github.com/CauldronDevelopmentLLC/cbang
git clone https://github.com/CauldronDevelopmentLLC/CAMotics
scons -C cbang
export CBANG_HOME=$PWD/cbang
cd CAMotics
scons

The reason why I wrote "better" is that you'll find out that you'll need either Microsoft's Chakra or Google's V8.
The latter is a beast to compile and I haven't found any current slackbuilds for it.


All times are GMT -5. The time now is 09:12 AM.