Code: Select all
# apt-get build-dep openfoam
Code: Select all
apt-get source --compile openfoam
Code: Select all
make[2]: *** [/home/user01/Downloads/openfoam-4.1+dfsg1/wmake/makefiles/apps:39: multiphase] Error 2
make[1]: *** [debian/rules:70: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/user01/Downloads/openfoam-4.1+dfsg1'
make: *** [debian/rules:7: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
W: Download is performed unsandboxed as root as file 'openfoam_4.1+dfsg1-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Build command 'cd openfoam-4.1+dfsg1 && dpkg-buildpackage -b -uc' failed.
#
I have no clue where to start digging here and would be very grateful for any help!