Using checkinstall on CentOS

Issues related to software problems
Post Reply
ehurst
Posts: 13
Joined: 2005/11/19 03:27:36
Location: Oklahoma City
Contact:

Using checkinstall on CentOS

Post by ehurst » 2006/11/28 13:32:49

Does anyone know much about the peculiarities of checkinstall on CentOS?

I'm trying to create an RPM from a Bibletime build (x86-64, using KDE-RedHat update to 3.5.5). It keeps giving me an error near the end, not finding some files which are very much there. In fact, I ran the same failed commands manually and they work just fine, but that won't fix the problem.

[quote]mkdir -p /usr/share/doc/HTML/en/bibletime/handbook/;
chmod -R a+r+X /usr/share/doc/HTML/en/bibletime;
chmod: `/usr/share/doc/HTML/en/bibletime': No such file or directory
make[4]: *** [install-data-local] Error 1
make[4]: Leaving directory `/usr/local/src/bibletime-1.5.3/docs/handbook/unicode'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/usr/local/src/bibletime-1.5.3/docs/handbook/unicode'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/bibletime-1.5.3/docs/handbook'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/bibletime-1.5.3/docs'
make: *** [install-recursive] Error 1

**** Installation failed. Aborting package creation.[/quote]

But:

[quote]ls /usr/share/doc/HTML/en/bibletime
handbook howto[/quote]

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: Using checkinstall on CentOS

Post by Lenard » 2006/11/28 21:28:12

Hmm.... that version is a lttle bit old......

How about trying out the spec file with the latest bibletime-1.6.1.tar.bz2 version. Just copy the downloaded tar file to /usr/src/redhat/SOURCES and use the spec file attached to this reply in the SPECS.zip file.

You will need the clucene 0.9.15 rpms and sword 1.5.9-1 rpms installed. If you do not have them then you can download the sword source rpm package from Fedora Extras and build;

http://download.fedora.redhat.com/pub/fedora/linux/extras/4/SRPMS/sword-1.5.8-5.fc4.src.rpm

The clucene 0.9.15 source rpm from pbone.net can be rebuilt for the Red Hat Family with minor changes to the spec file. I have edited this also and included it in the SPECS.zip file.

ftp://ftp.pbone.net/mirror/carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/devel/cooker/SRPMS/contrib/release/clucene-0.9.15-2mdv2007.0.src.rpm

ehurst
Posts: 13
Joined: 2005/11/19 03:27:36
Location: Oklahoma City
Contact:

Re: Using checkinstall on CentOS

Post by ehurst » 2006/11/29 00:09:31

You know, it's crazy I can find an FC4 RPM for Sword 1.5.9 on i386, but not for x86-64, nor even a source RPM. Where do they hide those things?

Thanks. I'll try these out and get back to the list tomorrow my time.

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: Using checkinstall on CentOS

Post by Lenard » 2006/11/29 01:05:24

Strange indeed, I provided you a direct link to the source rpm file (right click on the link below);

http://download.fedora.redhat.com/pub/fedora/linux/extras/4/SRPMS/sword-1.5.8-5.fc4.src.rpm

The sword x86.64.rpms for are needed to build the bibletime binary x86_64 rpm, the FC4 binaries may work but I'm not sure.
The 64-bit binaries for FC4 are (where else);

http://download.fedora.redhat.com/pub/fedora/linux/extras/4/x86_64/

sword-1.5.8-5.fc4.x86_64.rpm
sword-devel-1.5.8-5.fc4.x86_64.rpm

ehurst
Posts: 13
Joined: 2005/11/19 03:27:36
Location: Oklahoma City
Contact:

Re: Using checkinstall on CentOS

Post by ehurst » 2006/11/30 17:44:45

Well, yes, but that link gives me 1.5.8-5, and it requires 1.5.9. As it is, I used the same trick suggested for Bibletime by using the SPEC file from 1.5.8 and applying it to the source for 1.5.9, changing only the release number. Worked like a charm. At this point, Bibletime 1.6.1 is running just fine and I have the collection of packages to share with others:

[quote]bibletime-1.6.1-1.x86_64.rpm
bibletime-debuginfo-1.6.1-1.x86_64.rpm
clucene-0.9.15-2.x86_64.rpm
clucene-debuginfo-0.9.15-2.x86_64.rpm
clucene-devel-0.9.15-2.x86_64.rpm
sword-1.5.9-1.x86_64.rpm
sword-debuginfo-1.5.9-1.x86_64.rpm
sword-devel-1.5.9-1.x86_64.rpm[/quote]

along with a handful of other goodies.

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: Using checkinstall on CentOS

Post by Lenard » 2006/11/30 18:04:41

Good, I'm glad this worked out for you.

You really do not need to have the debuginfo rpm's installed unless you are developing addons to the the bibletime
and related packages.

Feel free to share the files and consider the bibletime.spec file rewrite and the clucene.spec file editing (if you used them) free
as well, I enjoyed doing them and I am enjoying the bibletime rpms also;

$ rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'bible*' 'clu*' 'sword*' | sort
bibletime-1.6.1-1.x86_64.rpm
clucene-0.9.15-2.x86_64.rpm
clucene-devel-0.9.15-2.x86_64.rpm
sword-1.5.9-1.fc7.x86_64.rpm
sword-devel-1.5.9-1.fc7.x86_64.rpm

Post Reply

Return to “CentOS 4 - Software Support”