Results 1 to 2 of 2
Hello,
I am trying to install the cp210x-3.0.0 driver on debian Linux 2.6.22-3-686 kernel. I followed all the steps that are described in the installation file which u can see ...
- 09-18-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 1
cp210x-3.0.0 driver problem
Hello,
I am trying to install the cp210x-3.0.0 driver on debian Linux 2.6.22-3-686 kernel. I followed all the steps that are described in the installation file which u can see below . When I arrive at step 4 , I won’t come any further. After I entered the ./makerpm in my command window , I get the following errors.
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.6T0oX5 (%build)
+ '[' -f /root/.rpmmacros.cp210x ']'
+ rm /root/.rpmmacros
+ mv -f /root/.rpmmacros.cp210x /root/.rpmmacros
What do I have to do to solve these errors ?
Kind regards,
1. Extract the source package into the home directory by running:
gzip -cd cp210x-x.y.z-i.tar.gz | tar xvf -
2. Modify line 17 of the ./cp210x/Rules.make file to set KENELDIR to point to
the local source directory. (2.4 kernel only)
3. Modify line 98 of the ./cp210x/cp210x.h file to set the include directory to
point to the local source directory's copy of usb-serial.h. (2.4 kernel only)
4. Use the following command to build the rpm:
./makerpm
It will be generated in:
/var/tmp/silabs/rpmbuild/RPM/i386/cp210x-x.y.z-i.rpm
where x.y.z-i is the current release number.
5. Browse to the directory above containing the new rpm and run:
rpm -Uvh cp210x-x.y.z-i.rpm
where x.y.z-i is the current release number.
6. This will install the driver if it is not already installed and up to date.
Reboot the computer to complete the installation. (optional)
- 09-19-2009 #2
Hi.
I think that RPM means RedHat Package Manager. Maybe it's the reason why it's not working. Anyway, I found some stuff on the web that might (I didn't read on it) help you (in case you know / find that RPM files can also be used under debian).
Here's the link:
RPM HOWTO
chris81


Reply With Quote
