PraveenMax PraveenMax - 4 months ago 16
Linux Question

Unable to generate *.deb file after running this sh script

I am trying to build the source of Cura for Linux Mint 64 Bit. The project has info on how to build as follows,

git clone https://github.com/daid/Cura.git

sudo apt-get install python-opengl python-numpy python-serial python-setuptools python-wxgtk2.8 curl arduino

cd Cura

./package.sh debian_amd64 # or debian_i386 for 32bit
# this will prompt for your root password to run dpkg-deb

sudo dpkg -i ./scripts/linux/cura*.deb


This is the build script.
package.sh

After executing
./package.sh debain_amd64
, a new tar.gz is created instead of .deb file. Why so?

I have tried unzipping and searched for INSTALL or README file but it contains the same description from the site.

Am I missing any additional packages related to Linux Mint ?

Answer

Re: After executing ./package.sh debain_amd64 , a new tar.gz is created instead of .deb file. Why so?

The problem is the typo in your argument is causing the script to build for darwin (OS X) and not debian. Fix the typo debain, so that it's debian:

./package.sh debian_amd64
Comments