Bonjour,
Je cherche a convertir un package .deb en rpm pour la prise en charge de Leap Motion (
Pour les curieux ...)
Dans le README, on me dis :
Q. How can I install on Fedora?
A. For Fedora 16 and later, first download alien (a package converter written
in Perl) in .tar.gz format from http://packages.debian.org/unstable/source/al
ien
and unpack. Next, run:
sudo alien/alien.pl --to-rpm --scripts Leap-0.8.0-x64.deb
sudo rpm -i --nodeps leap-0.8.0-2.x86_64.rpm
Q. How do I uninstall on Fedora?
A. Run:
rpm -ev leap-0.8.0-2-x86_64.rpm
Q. How do I start the Leap Motion pipeline?
A. Run:
leapd
and also:
LeapControlPanel
Donc je télécharge alien (j'ai pas trouvé de rpm), je compile et j'install (oui c pas nécessaire mais je trouve ça plus "propre".
[root@vfx alien]# more INSTALL
To try alien before installing, just run ./alien.pl from this directory. Most
features will work prior to installation.
To install alien, become root and type:
perl Makefile.PL; make; make install
To use alien, you'll need a variety of other software. See the README for
details.
[root@vfx alien]# perl Makefile.PL
Writing Makefile for Alien
[root@vfx alien]# make
Skip blib/lib/Alien/Package/Tgz.pm (unchanged)
Skip blib/lib/Alien/Package/Deb.pm (unchanged)
Skip blib/lib/Alien/Package.pm (unchanged)
Skip blib/lib/Alien/Package/Rpm.pm (unchanged)
Skip blib/lib/Alien/Package/Pkg.pm (unchanged)
Skip blib/lib/Alien/Package/Lsb.pm (unchanged)
Skip blib/lib/Alien/Package/Slp.pm (unchanged)
cp alien blib/script/alien
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/alien
Manifying blib/man1/alien.1
Manifying blib/man3/Alien::Package::Deb.3pm
Manifying blib/man3/Alien::Package::Tgz.3pm
Manifying blib/man3/Alien::Package::Rpm.3pm
Manifying blib/man3/Alien::Package.3pm
Manifying blib/man3/Alien::Package::Pkg.3pm
Manifying blib/man3/Alien::Package::Lsb.3pm
Manifying blib/man3/Alien::Package::Slp.3pm
perl -i -pe "s/\@version\@/8.88/g" <alien.lsm.in >alien.lsm
perl -i -pe "s/\@version\@/8.88/g" <alien.spec.in >alien.spec
[root@vfx alien]# make install
perl -i -pe "s/\@version\@/8.88/g" <alien.lsm.in >alien.lsm
perl -i -pe "s/\@version\@/8.88/g" <alien.spec.in >alien.spec
Installing /usr/local/share/perl5/Alien/Package.pm
Installing /usr/local/share/perl5/Alien/Package/Slp.pm
Installing /usr/local/share/perl5/Alien/Package/Tgz.pm
Installing /usr/local/share/perl5/Alien/Package/Deb.pm
Installing /usr/local/share/perl5/Alien/Package/Rpm.pm
Installing /usr/local/share/perl5/Alien/Package/Lsb.pm
Installing /usr/local/share/perl5/Alien/Package/Pkg.pm
Installing /usr/local/share/man/man1/alien.1
Installing /usr/local/share/man/man3/Alien::Package::Tgz.3pm
Installing /usr/local/share/man/man3/Alien::Package::Deb.3pm
Installing /usr/local/share/man/man3/Alien::Package::Lsb.3pm
Installing /usr/local/share/man/man3/Alien::Package::Slp.3pm
Installing /usr/local/share/man/man3/Alien::Package.3pm
Installing /usr/local/share/man/man3/Alien::Package::Pkg.3pm
Installing /usr/local/share/man/man3/Alien::Package::Rpm.3pm
Installing /usr/local/bin/alien
install -d /usr/local/share/alien/patches \
/var/lib/alien
Appending installation info to /usr/lib64/perl5/perllocal.pod
[root@vfx alien]#
Petit vérification d'usage :
[root@vfx alien]# alien -V
alien version 8.88
Le problème est le suivant :
[root@vfx ~]# alien --to-rpm --scripts /root/Leap-0.8.0-x64.deb
Control file couldn't be read! at Alien/Package/Deb.pm line 162.
Bon je me dis que l'installation c'est peut être mal passé, je réessaie avec le script Perl directement :
[root@vfx alien]# ./alien.pl --to-rpm --scripts /root/Leap-0.8.0-x64.deb
Control file couldn't be read! at Alien/Package/Deb.pm line 162.
Auriez vous une idée du problème. Google ne m'a pas bcp aidé pour une fois ! 🙁