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

 


Dernière réponse
Sujet : Problème Installation ActivePerl 5.14 sur MacBook
thales69 Problème résolu, il fallait que je copie-colle le fichier ActivePerl-5.14.pkg dans le dossier de mon compte utilisateur.

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
thales69 Problème résolu, il fallait que je copie-colle le fichier ActivePerl-5.14.pkg dans le dossier de mon compte utilisateur.
thales69 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  
----------------------------------------------------------------

Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)