Building deb package for the Raspberry Pi

4 posts
by booman » Mon Jun 25, 2012 6:17 pm

so I have received a Raspberry Pi this week and I want to use it as home server. Since I am using a Canon Printer (LBP3010) I have to install additional drivers. The driver is open source but I have difficulties building a deb package. After compiling the source code with
Code: Select all
sudo dpkg-buildpackage

and installing it with
Code: Select all
sudo dpkg -i cndrvcups-capt-2.40_armel.deb

I always get an error when executing ccpd (executable file from that package)

The output of file shows, that the package is not built for the ARM architecture (at least I think so).

Code: Select all
file /usr/sbin/ccpd
/usr/sbin/ccpd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped

What am I doing wrong? Any help?
Posts: 2
Joined: Mon Jun 25, 2012 6:08 pm
by booman » Tue Jun 26, 2012 9:37 am
I think I have found the problem. Some parts of the driver are compiled and therefore not open source. So I think there is no change of getting them to work for ARM architecture. What a pitty!
Posts: 2
Joined: Mon Jun 25, 2012 6:08 pm
by Jensb » Sat Jul 14, 2012 5:03 pm

Sorry for my english is not very good;)

How could you compile the driver? I get error messages. What you install packages must be tested.

Did you solve the problem?

Posts: 1
Joined: Sat Jul 14, 2012 5:00 pm
by sneeco » Fri Sep 28, 2012 7:52 am
Apparently this guy has managed to compile version 1.6 on an ARM architecture. (in 2008.....)

I'm trying to build the 220 version now.
This is as far as I've come:

1. setup cups

2. download the drivers from

3. Extract the source for cndrvcups-common-2.20 and cndrvcups-capt-2.20 found in Src folder

4. install dependencies
Code: Select all
sudo apt-get install autoconf libtool automake gtk+-2.0 ibgtk2.0-dev libglade2-dev cups libcups2-dev

5. compiled and installed cndrvcups-common-2.20
Posts: 4
Joined: Sun Sep 09, 2012 10:37 am
Location: Norway