[Rust-users] problem & fix: can't "make install" known good software in crust --chroot
Status: Beta
Brought to you by:
psychogenic
From: Belden L. <bl...@ii...> - 2004-03-04 00:29:32
|
Sorry for the long subject line. I'll make up for it by being witty. If you get fed up with my lack of wit, skip forward to the end, or skip back to the beginning, or just close your eyes and click your email client until you think this message has been deleted. I've decided to make a set of RPMs for Sawfish, my preferred window manager. Sawfish depends on a few libraries, so I set out today to turn librep-0.17.tar.gz into librep-0.17.blahblahblah.rpm. I say blahblahblah a lot because I've barely mastered English. Now, I'm pretty dense about things, so I've just been using the guide at http://rust.sourceforge.net/crust.html to do my rpmification. And after fixing makeRPM.sh the other day, I was (ook) able to follow the steps (ook ook) and create a RPM from fltk-1.1.4.tar.gz like the banana-eating monkey that I am. A monkey who has blahblahblah English. Ook! Today I followed the same steps: unpack into /my/litterbox/build, configure, make, su, crust --chroot /blahblah, make install. Boom: the install didn't work. This puzzled me, because I built and installed librep-0.17.tar.gz on this selfsame box not 6 days ago. (It was 5 days ago, which I'm sure you'll agree is not 6 days.) No hassles during the make install phase then. Today, in the chroot jail, no end of woes. Ook. Now I'm a puzzled monkey who can't communicate. At first I thought this was a missing dependency problem- such problems are discussed on the page mentioned above; the solution is to --include some directories. But then I decided that if that were the problem, it would be too much work for me to solve it, so I looked for something else to blame. Oook! Screech! A lazy puzzled monkey with no faculty for English. After a coffee I decided to just start over from scratch and do everything from unpack up through install in the chroot environment. So now I'm a highly-caffeinated lazy puzzled monkey who blahblahblah. $ su # cd /my/sandbox/build # \rm -rf librep-0.17 # crust --chroot /my/sandbox bin/sh-2.05b# cd build bin/sh-2.05b# tar xzvf librep-0.17.tar.gz bin/sh-2.05b# cd librep-0.17 bin/sh-2.05b# ./configure bin/sh-2.05b# make bin/sh-2.05b# make install bin/sh-2.05b# exit # chown -R blyman librep-0.17 # exit $ crust & This worked: the RPM was built successfully. Hopefully this helps someone else who finds they're in a similar pickle. And will someone please fling filth at me if I shouldn't use the resulting RPM? Thanks. Belden -- ______________________________________________! <insert monkey pounding on keyboard joke above> |