Forum Home
Press F1
 
Thread ID: 41500 2004-01-13 07:35:00 Problem creating RPM stevie_boy (478) Press F1
Post ID Timestamp Content User
207103 2004-01-13 07:35:00 Using Mandrake Linux 9.1, 2.4.21-0.27mdk, i686.

I upgraded the kernel the other day and have since been trying to make an rpm file for my Lucent winmodem as there are none for the 0.27 revision at heby.de/ltmodem (www.sfu.ca).

I have the source and followed the instructions in the 1st-Read file. The kernel-headers are installed and I have made a symbolic link to /usr/src/linux as per the instructions.

Running ./build_module worked fine and the modem can connect to the internet. The problem is that when trying to run ./build_rpm I get the following error:

rm -rf rpmball
mkdir rpmball
cp -f lt_modem.o lt_serial.o rpmball
cp -af 1ST-READ CHANGELOG UPDATES-BUGS DOCs utils rpmball
cp -f ltmodem.spec rpmball
cp -f debian/etc_devfs_conf.d_ltmodem rpmball
tar czf rpmball.tar.gz rpmball
rpm -tb --clean rpmball.tar.gz
/usr/lib/rpm/rpmb: No such file or directory
make: *** [rpm] Error 1
rpm build failed

Obviously the problem is the line starting /usr/lib. Is this supposed to be a directory? There are files named rpmd, rpme, rpmi, rpmk, rpmq, rpmu and rpmv in the /usr/lib/rpm/ folder. How can I fix this?
stevie_boy (478)
207104 2004-01-13 09:57:00 You need to install the rpm-build package. "urpmi rpm-build" will do it. bmason (508)
207105 2004-01-14 07:56:00 Thanks Brett, that did the trick. B-) stevie_boy (478)
1