I am following this thread
HTML Code:
https://help.ubuntu.com/community/HardwareSupportComponentsPrinters/CanonPrinters/Canon_LBP_2900#Compiling%20the%20driver%20%28amd64%29%20Steps:
and in the first few steps I am running into problems. My system is 10.04 64bit desktop

My printer is LBP3200

Code:
#installing packages needed for compiling
sudo aptitude install libxml2-dev libcups2-dev cups-ppdc libgtk2.0-dev libtool automake autoconf libglib2.0-dev debhelper gettext build-essential -y;
tar xf CAPT_Printer_Driver_for_Linux_V200_uk_EN.tar.gz;
cd CAPT_Printer_Driver_for_Linux_V200_uk_EN/Src/;
tar xf cndrvcups-capt-2.00-2.tar.gz;
cd cndrvcups-capt-2.00/;
I checked my installed programs from the list I generated using
Code:
dpkg --get-selections > installed-software
and I had all but cups-ppdc and -y; (is -y; a program because apt-get can't find it???)

Then I started following the above install steps.

So all went well until I cd into cndrvcups-capt-2.00/;

and run
Code:
dpkg-buildpackage -uc -rfakeroot
after editing the debian/rules to reflect the amd64 architecture of course.

I get the error
Code:
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
I noticed that in the instructions it says to run the above command from
Code:
Change “Architecture: i386” in debian/control to “Architecture: amd64” 
Run dpkg-buildpackage -uc -rfakeroot in cndrvcups-common-2.00 
however the cndrvcups-common-2.00 has not yet been unpacked (according to the instructions) therefore I presumed it was a typo and should have read "in cndrvcups-capt-2.00

So - 2 questions, what does the error mean and is there a missing step in the install instructions in the thread?

Canon printers are very good, but such a headache to install. geez!