Saturday, March 03, 2007

Making RPMs

I got the January issue of linux Format - I was a fan of the Amiga Format ages ago - and they have a timely piece on creating RPMS. Now the article is the kickstart I needed to get things going. Of course I tried and failed - since I did not try and create the same package as they did.

I'm trying to get the tcptrace utility in an RPM for fedora. I picked this because I use it, it is a simple package - the old clasic : configure , make, make install. It creates a single binary with no config files that gets copied into the /usr/bin directory. So I figured this would be simple !! no dice yet.

For one - I get compile warnings - this is not bad in itself (the author redefines memcpy for some reason) - jsut not clean, and I have noticed that the example they use places things in the proper directories ( bin ) as it builds. So the automated items work - for me they don't. So I have got to dig a little more.

No comments: