Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2998 connectés 

  FORUM HardWare.fr
  Apple

  Problème Installation ActivePerl 5.14 sur MacBook

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Problème Installation ActivePerl 5.14 sur MacBook

n°367024
thales69
Posté le 21-04-2012 à 16:57:58  profilanswer
 

Bonjour à tous,
 
j'ai actuellement un problème avec l'installation de ActivePerl 5.14 sur mon mac.
 
J'ai téléchargé + installé ActivePerl 5.14 en suivant les instructions(avec une grande aide de Gilou).
 
Au moment où je fais: sudo installer -pkg /Users/Christophe/ActivePerl-5.14.pkg -target /
j'obtiens ça sur la console, est-ce que quelqu'un sait pourquoi et comment régler ce problème?
----------------------------------------
macbook-de-christophe-magnin-746:~ Christophe$ sudo installer -pkg /Users/Christophe/ActivePerl-5.14.pkg -target /
Password:
installer: Error the package path specified was invalid: '/Users/Christophe/ActivePerl-5.14.pkg'.
macbook-de-christophe-magnin-746:~ Christophe$  
----------------------------------------
 
Je précise que mon MDP n'est plus vide(je l'ai changé). Par contre je n'ai aucun ActivePerl-5.14.pkg dans Users/Christophe, ActivePerl-5-14 est dans Macintosh HD/usr/local. Voilà je suis bloqué et je ne sais pas comment faire. L'ensemble du cheminement de mon installation est sur le lien http://forum.hardware.fr/hfr/Progr [...] 6712_1.htm. Merci à vous.
 
 
 
 
Voici les instructions d'installation:
----------------------------------------------
Installing ActivePerl  
Prerequisites  
 • Hardware: 200 MB hard disk space for typical install  
 • Operating System: OS X 10.5 "Leopard" or later  
 
Installing  
ActivePerl is distributed on Mac OS X as a disk image (.dmg file). The disk image contains this installer package (.pkg bundle).  
 • Follow the remaining Installer prompts. The installer will ask for administrative authentication if the current user does not have administrative priviledges.  
 • After installation is complete, you may eject the ActivePerl disk image and move ActivePerl-version.dmg to the Trash.  
 
OS X includes a non-interactive command line interface to Apple's Installer. To install the ActivePerl Apple installer from the command line:  
  $ sudo installer \  
   -pkg /Users/<username>/ActivePerl-5.14.pkg \  
   -target /  
 
More information on the command line interface to Installer can be found in its man page.  
Configuration  
The Apple Installer package installs ActivePerl in /usr/local/ActivePerl-5.14. To run the perl interpreter and PPM package manager (without having to enter the full path), add /usr/local/ActivePerl-5.14/bin to your PATH environment variable. For example:  
  $ export PATH=/usr/local/ActivePerl-5.14/bin:$PATH  
 
To permanently add the directory to your PATH, add it to the .profile or .bashrc file in the user's home directory. For example:  
  PATH=/usr/local/ActivePerl-5.14/bin:$PATH  
  export PATH  
 
Alternatively, symbolic links to the binaries can be created in any bin directory currently in the PATH. For example:  
  $ PATH=/Users/<username>/bin:$PATH  
  $ export PATH  
  $ ln -s /usr/local/ActivePerl-5.14/bin/perl \  
   /Users/<username>/bin/perl  
  $ ln -s /usr/local/ActivePerl-5.14/bin/ppm \  
   /Users/<username>/bin/ppm  
 
Uninstalling ActivePerl  
To uninstall ActivePerl, run the uninstall script:  
    $ sudo /usr/local/ActivePerl-5.14/bin/ap-uninstall  
Removing ActivePerl will not remove perl modules manually installed using PPM. If you want to remove them run:  
    $ rm -rf /Users/<username>/Library/ActivePerl-5.14  
If neccessary, remove any symbolic links created during configuration. For example:  
    $ rm /Users/<username>/bin/perl  
----------------------------------------------------------------


Message édité par thales69 le 21-04-2012 à 17:04:32
mood
Publicité
Posté le 21-04-2012 à 16:57:58  profilanswer
 

n°367042
thales69
Posté le 21-04-2012 à 19:47:04  profilanswer
 

Problème résolu, il fallait que je copie-colle le fichier ActivePerl-5.14.pkg dans le dossier de mon compte utilisateur.


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Apple

  Problème Installation ActivePerl 5.14 sur MacBook

 

Sujets relatifs
Gros problème de bootProblème de configuration Exchange iOS 5
Mac OS Lion - Macbook Pro - erreurs intempestivesProbléme de localisation avec baseband 06.15.00
[HELP] Installation simple de windows sur mac pour réseau avec PCprobleme d'affichage etendu IMAC ou KARAFUN
Probleme vitre et écran lcd iphone 3gsMACBOOK ET IPOD TOUCH
Problème SSD sur Macbook Pro Mid 2009 : Bridé ? 
Plus de sujets relatifs à : Problème Installation ActivePerl 5.14 sur MacBook


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR