Thursday, October 15, 2009

What the MOCK!

After several days of struggling, I have finally successfully built my package (wireshark) in mock.

First problem: required flex
Solution: added flex under the build requires in my spec file.

Just when I thought everything was okay, I find out I had to take a step back. My %files section of my spec file was incomplete. After reading up on it and getting much needed help from Prof. Tyler, I added the required macros that would grab all the files I needed for that section.

Finally, I built again without mock (rpmbuild -ba wireshark.spec) and had a successful build. I ran rpmlint to ensure no errors (which there weren't).

NOW that I was back on track, I copied my src rpm onto the CDOT machine (Scotland) and ran the mock build.

SUCCESS!

Next up... KOJI!

No comments:

Post a Comment