Hi There,
While attempting to create a deb package for easy reinstallation of swish
api (in the swish-e-2.4.5/perl directory), I had a problem. I first ran
Makefile.PL, then make. Next I ran checkinstall to create my deb package
with the following command
sudo checkinstall -D --pakdir ~/some_dir
I received the following error:
=========================================
(Reading database ... 98546 files and directories currently installed.)
Unpacking libswish-api-perl (from .../libswish-api-perl_2.4.5-1_i386.deb)
...
dpkg: error processing
/home/ubuntu/download/swish-e-2.4.5/perl/libswish-api-perl_2.4.5-1_i386.deb
(--install):
trying to overwrite `/usr/share/doc/perl/AUTHORS.gz', which is also in
package perl-base
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/home/ubuntu/download/swish-e-2.4.5/perl/libswish-api-perl_2.4.5-1_i386.deb
=========================================
It was trying to install AUTHORS.gz into /usr/share/doc/perl/AUTHORS.gz
which I guess was already there. In my swish-e-2.4.5 folder, I renamed the
perl folder to swish-api. Then the install worked fine. Not sure if this
is a problem with the install or what, but I thought I'd alert you to it in
case anyone knows about Makefiles and there was something that could be
fixed. I'm not sure if with a standard 'sudo make install' if it would
happlily overwrite that file or not. Anyway, I'm happy-- I got my package
built.
Eric
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon Jun 11 10:51:59 2007