Tuesday, November 24, 2009

Re-Packaging Dehydra

During our class today, we were testing out the packages we created for our project. And sadly for me, my package failed during the yum install process.

So, I had to start from scratch again. The error I was getting was concerning SpiderMonkey. When I looked at David Humphrey Build-tools.sh script again, I did notice it was compiling SpiderMonkey from a tarball, but my spec file only copied certain files from the tarball, so I guess that is where my error was.

I did some more research into SpiderMonkey, because my professor did mention that Fedora had a SpiderMonkey package, and I soon found out that the package name was "js" and the libraries were in the package "js-devel"

I edited my spec file, removed one of the sources that grabs the JS tarball from Mozilla, and instead for the BuildRequires I put in js and js-devel.

Here is my updated spec file: Here

I went ahead, and rebuilt the rpms on
Germany an i386 architecture machine and HongKong a x86_64 architecture machine

And again they both build with no errors, hopefully on our next trial run the package would install properly.


Here is a screenshot of the successful

1 comments:

dave said...

Very nice. Keep going!

Post a Comment