I do apologize for taking too much of your time.
I followed your method and edited the file before building.
however I get this error
Add here commands to compile the arch part of the package.
dh_clean -k -s
dh_clean: Pretending DH_COMPAT was set to 5
dh_clean: - this is a temporary measure to avoid FTBFS in packages
dh_clean: relying on cdbs to set debian/compat to 5 during the build
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_clean: No compatibility level specified in debian/compat
dh_clean: This package will soon FTBFS; time to fix it!
dh_installdirs: No compatibility level specified in debian/compat
dh_installdirs: This package will soon FTBFS; time to fix it!
dh_installdirs: Compatibility levels before 4 are no longer supported (level 1 requested)
END failed–call queue aborted.
debian/rules:69: recipe for target ‘install-arch’ failed
make: *** [install-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
ERROR: command failed!
FYI, I made the switch command to 5 just as the book said, and edited the file as you mentioned.
I tried looking in the internet, but didn’t get a clear result.
EDIT: following this post, I managed to get it to work
as stated in one of the replies:
This tricks works for me:
delete the existing dev directory --> rm -rf dev, re-download dev by using
git clone, and ./clone.sh (don’t run ./switchto.sh) by default it’s already
in master branch.
Then follow michael suggestion:
git submodule init
git submodule update
So it worked, then I got a problem of some dependency which was solved with apt-get -f install.
then lastly, it turns out that Ubuntu 17.04 doesn’t support upstart, which means I can’t start these services ! I tried to install upstart which ended up screwing the whole VM.
So I’m off to start again with Ubuntu 12.04
Lets hope this time it works !