Thursday, October 1, 2009

Progress on Building Filezilla

So after having the all the problems in class with installing ettercap I decided to avoid it completely and instead build Filezilla.

So at first I just filled in the basic spec file, then ran the "rpmbuild -ba filezilla.spec" command, and it got stuck because it said that I didnt have gcc. I thought that I did have it so I of course did a quick google search are saw that I needed to install gcc-c++ so i did a quick yum install gcc-c++ and everything was fine for that error.

I recieved a few more errors later because I needed to install libidn-devel,
gnutls-devel, and wxGTK-devel. I found these specific packages using "yum provides "*errorInBuild*" command, replacing the error in the quotes of course.

It made it to the end of the build on my next try except it said that there was a whole load of files that were "unpackaged but not installed" or something along those lines. I did a google search of that error and I came to a forum that said to add the file paths of the files not being removed to the %files section of the SPEC file. So I added the following lines-

/usr/share/locale
/usr/share/filezilla
/usr/bin/filezilla
/usr/bin/fzsftp
/usr/share/applications/filezilla.desktop
/usr/share/pixmaps/filezilla.png

and the build finished successfully. I then ran rpmlint on the rpm, source rpm, and the spec file. First errors was that there was no documentation so I added README COPYING INSTALL after the %docs section. I found these files in the tarball and assumed they were what the error wanted me to add. So currently I am getting the errors -

filezilla.i386: E: incorrect-locale-el /usr/share/locale/gr/filezilla.mo
filezilla.i386: W: file-not-in-%lang /usr/share/locale/gr/filezilla.mo
filezilla.i386: W: file-not-in-%lang /usr/share/locale/he_IL/filezilla.mo

and there is about 40 lines like this. I am not really sure where to go from here so I plan on getting help in class today.

Heres my source rpm

No comments:

Post a Comment