ubuntu@ubuntu:~$ cd '/home/ubuntu/x264' ubuntu@ubuntu:~/x264$ sudo checkinstall --pkgname=x264 --pkgversion "2:0.`grep X264_BUILD x264.h -m1 | cut -d' ' -f3`.`git rev-list HEAD | wc -l`+git`git rev-list HEAD -n 1 | head -c 7`" --backup=no --default checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran This software is released under the GNU GPL. ***************************************** **** Debian package creation selected *** ***************************************** This package will be built according to these values: 0 - Maintainer: [ root@ubuntu ] 1 - Summary: [ Package created with checkinstall 1.6.2 ] 2 - Name: [ x264 ] 3 - Version: [ 2:0.100.1659+git57b2e56 ] 4 - Release: [ 1 ] 5 - License: [ GPL ] 6 - Group: [ checkinstall ] 7 - Architecture: [ i386 ] 8 - Source location: [ x264 ] 9 - Alternate source location: [ ] 10 - Requires: [ ] 11 - Provides: [ x264 ] 12 - Conflicts: [ ] 13 - Replaces: [ ] Enter a number to change any of them or press ENTER to continue: Installing with make install... ========================= Installation results =========================== install -d /usr/local/bin install -d /usr/local/include install -d /usr/local/lib install -d /usr/local/lib/pkgconfig install: cannot change permissions of `/usr/local/lib/pkgconfig': No such file or directory make: *** [install] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. ubuntu@ubuntu:~/x264$ sudo mkdir /usr/local/lib/pkgconfig ubuntu@ubuntu:~/x264$ sudo checkinstall --pkgname=x264 --pkgversion "2:0.`grep X264_BUILD x264.h -m1 | cut -d' ' -f3`.`git rev-list HEAD | wc -l`+git`git rev-list HEAD -n 1 | head -c 7`" --backup=no --default checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran This software is released under the GNU GPL. ***************************************** **** Debian package creation selected *** ***************************************** This package will be built according to these values: 0 - Maintainer: [ root@ubuntu ] 1 - Summary: [ Package created with checkinstall 1.6.2 ] 2 - Name: [ x264 ] 3 - Version: [ 2:0.100.1659+git57b2e56 ] 4 - Release: [ 1 ] 5 - License: [ GPL ] 6 - Group: [ checkinstall ] 7 - Architecture: [ i386 ] 8 - Source location: [ x264 ] 9 - Alternate source location: [ ] 10 - Requires: [ ] 11 - Provides: [ x264 ] 12 - Conflicts: [ ] 13 - Replaces: [ ] Enter a number to change any of them or press ENTER to continue: Installing with make install... ========================= Installation results =========================== install -d /usr/local/bin install -d /usr/local/include install -d /usr/local/lib install -d /usr/local/lib/pkgconfig install -m 644 x264.h /usr/local/include install -m 644 libx264.a /usr/local/lib install -m 644 x264.pc /usr/local/lib/pkgconfig install x264 /usr/local/bin ranlib /usr/local/lib/libx264.a ======================== Installation successful ========================== Copying documentation directory... ./ ./doc/ ./doc/ratecontrol.txt ./doc/regression_test.txt ./doc/standards.txt ./doc/threads.txt ./doc/vui.txt ./COPYING ./AUTHORS Copying files to the temporary directory...OK Stripping ELF binaries and libraries...OK Compressing man pages...OK Building file list...OK Building Debian package...OK Installing Debian package...OK Erasing temporary files...OK Deleting temp dir...OK ********************************************************************** Done. The new package has been installed and saved to /home/ubuntu/x264/x264_0.100.1659+git57b2e56-1_i386.deb You can remove it from your system anytime using: dpkg -r x264 ********************************************************************** ubuntu@ubuntu:~/x264$