Page 1 sur 1

[Aur - pdfsam] Erreur lors de la compilation (Résolu)

Publié : ven. 22 oct. 2010, 22:53
par Pafrapé
Bonsoir tout le monde.

J'essaie depuis plusieurs heures d'installer pdfsam qui se trouve sur Aur.
A chaque fois, j'ai le droit à un beau message d'erreur.

Code : Tout sélectionner

  -> pdfsam.desktop trouvé
==> Validation des fichiers sources avec md5sums...
    pdfsam-2.2.0e-out-src.zip ... Réussite
    pdfsam.desktop ... Réussite
==> Extraction des sources...
  -> Extraction de pdfsam-2.2.0e-out-src.zip avec bsdtar
==> Lancement de build()...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/emp4j-1.0.2-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/launcher-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/nsi.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-2.2.0e-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-2.2.0e-libraries.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-2.2.0e-template.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-console-2.3.0e-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-cover-0.3.4e-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-decrypt-0.0.7e-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-docinfo-0.0.2e-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-encrypt-0.3.1e-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-jcmdline-1.0.5-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-langpack-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-merge-0.7.4-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-mix-0.2.0-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-rotate-0.0.5-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-setviewer-0.0.8e-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-split-0.5.7-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-unpack-0.1.0e-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-vcomposer-0.0.8-build-src.zip...
Inflating /tmp/yaourt-tmp-patrick/aur-pdfsam/src/pdfsam-vpagereorder-0.0.7-build-src.zip...
/tmp/yaourt-tmp-patrick/aur-pdfsam/./PKGBUILD: line 39: ant : commande introuvable
    Abandon...
==> ERROR: Makepkg n'a pas pu construire pdfsam.
Un commentaire précise que pour que la compilation se déroule sans problème il faut installer jdk.
J'ai donc installé jdk, mais cela ne résout rien.

Merci beaucoup de votre aide pour m'aider à compiler pdfsam.

Re: [Aur - pdfsam] Erreur lors de la compilation

Publié : ven. 22 oct. 2010, 23:21
par benjarobin
Ce n'est pas ceci qui te manque : http://www.archlinux.org/packages/extra ... pache-ant/

Il faut bien lire les messages, en gros reboot ou source le fichier
Well, that isn't a problem of my package.

It was answered before times ago, but I repeat it again since previous comments dissappeared: reboot, relogin or source /etc/profile.d/apache-ant.sh, because if you installed apache-ant just for pdfsam, ant won't be exported in your PATH variable so it can't be found till you do that manually.

Just in case I'll not hardcode the path of apache-ant inside the PKGBUILD.

Re: [Aur - pdfsam] Erreur lors de la compilation

Publié : dim. 24 oct. 2010, 00:12
par Pafrapé
Merci beaucoup pour l'aide.

Effectivement, il faut lancer la compilation avant même de se connecter, en utilisant la console.

La compilation s'est ainsi déroulée sans aucun problème.