Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install opencamlib as DEB package #16

Open
aewallin opened this issue Sep 18, 2011 · 1 comment
Open

Install opencamlib as DEB package #16

aewallin opened this issue Sep 18, 2011 · 1 comment

Comments

@aewallin
Copy link

At least on Ubuntu, it makes sense to build packages and install them, instead of "sudo make install".

This code in the ubuntu-install.sh script now works for me:

Install opencamlib

cd ${BUILDPATH}/heekscad/heekscnc/opencamlib/
if [ -d build]; then
cd build
else
mkdir build
cd build
fi
cmake ../src
make -j8 package

sudo dpkg -i opencamlib_*.deb

the sub-module reference to the opencamlib project probably needs to be updated to the latest 'master' commit for this to work.

@neomilium
Copy link
Member

Hi,

opencamlib's "make package" produces the opencamlib-11.10.32-Linux.deb debian package on my system, so "sudo dpkg -i opencamlib_*.deb" does not match with the package.

The opencamlib section could be changed into:

# Install opencamlib
cd ${BUILDPATH}/heekscad/heekscnc/opencamlib/
mkdir -p build
cd build
cmake ../src

#make -j8 package #For faster build on multi-core machines, uncomment this line and comment out the next
make package
sudo dpkg -i opencamlib*.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants