[otrs] (no subject)

Marcus Dennis MDennis at depaulindustries.com
Thu Jul 5 08:42:35 GMT 2007


If you are running otrs.checkModules as a direct command, it is run as a shell script with a specified interpreter. If you look at the beginning of this file, you'll see that the specified interpreter is /usr/bin/perl -w, so the perl installed into /usr/bin will always be used. This is the behavior of most perl scripts.

If you instead invoke this as perl -w /path/to/otrs.checkModules, you will get the first version of perl found in your path. You can also edit the first line of the script to point to a different location of perl.

________________________________________
From: otrs-bounces at otrs.org [mailto:otrs-bounces at otrs.org] On Behalf Of Dan King
Sent: Wednesday, July 04, 2007 11:22 AM
To: User questions and discussions about OTRS.org
Subject: [otrs] (no subject)

I have perl 5.6 and 5.8 installed on a Unix comptuer. The $PATH variable references perl version 5.8 and I have confirmed that by running perl -v. The problem I am having is that when I run otrs.checkModules I do not see any of the modules I have already installed in perl. Such as DBI and Date::Format. If I run perl otrs.checkModules then I receive the correct output. What I have found is that otrs.checkModules somehow runs perl version 5.6.

Does anyone know how to fix it so it uses the perl that is references in the PATH variable?

Thanks for the help.

Dan King
Software Developer
Canadian Resident Matching Service
613.237.0075  ext. 241
(Toll free) 877.CARMS.42
171 Nepean Street, Suite 300
Ottawa, ON, CAN    K2P 0B4
www.carms.ca

------------------------------------------------------------------------------------

This e-mail message, including any attachments, is for the sole use of the intended recipients and may contain confidential and or privileged information.  If you are not the intended recipient or this information has been forwarded in error, please contact the sender by reply e-mail and destroy copies of the original message.  Ce message (incluant toute pièce jointe) s'adresse uniquement au(x) destinataire(s) prévu(s) ou à une personne autorisée à le recevoir en son (leur) nom. Il pourrait contenir des renseignements confidentiels ou protégés.  Si vous l'avez reçu par erreur, nous vous prions d'en informer l'auteur dans les meilleurs délais, de ne pas divulguer son contenu et de le supprimer de votre système. Merci.



More information about the otrs mailing list