changing perl path to "/opt/local/bin/perl5.8.8"
hello list, i would like to run a little "analysis tool " whitch is writen in perl on my leopard ppc mac. After upgrading my perl librarys *) on OSX PPC with macports I need to change the systemwide variable for using perl5.8.8 to /opt/local/bin/perl5.8.8 instead of using /usr/bin/perl5.8.8 could someone provide me a comand line for dummys to change it ;) ? thanks a lot marc -- *) -----> Activating zlib 1.2.3_1 ---> Activating freetype 2.3.5_1 --> Activating libart_lgpl 2.3.20_0 ---> Activating libpng 1.2.25_0 ---> Activating tcl 8.5.1_0 ---> Activating cgilib 0.5_3 ---> Cleaning cgilib ---> Activatin rrdtool 1.2.27_0 ---> Activatin pkgconfig 0.23_0 ---> Activating libxml 1.8.17_0 ---> Activating p5-xml-namespacesupport 1.09_0 ---> Activating p5-xml-sax-expat 0.39_0
On Fri, Mar 21, 2008 at 5:03 PM, Marc Manthey <marc@let.de> wrote:
hello list,
i would like to run a little "analysis tool " whitch is writen in perl on my leopard ppc mac. After upgrading my perl librarys *) on OSX PPC with macports I need to change the systemwide variable for using perl5.8.8 to
*/opt/local/bin/perl5.8.8 *
instead of using
*/usr/bin/perl5.8.8*
could someone provide me a comand line for dummys to change it ;) ?
use the PATH, Luke. What does "echo $PATH" tell you? -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
Am 22.03.2008 um 04:15 schrieb paul beard:
On Fri, Mar 21, 2008 at 5:03 PM, Marc Manthey <marc@let.de> wrote: hello list,
i would like to run a little "analysis tool " whitch is writen in perl on my leopard ppc mac. After upgrading my perl librarys *) on OSX PPC with macports I need to change the systemwide variable for using perl5.8.8 to
/opt/local/bin/perl5.8.8
instead of using
/usr/bin/perl5.8.8
could someone provide me a comand line for dummys to change it ;) ?
use the PATH, Luke.
morning paul , all :)
What does "echo $PATH" tell you?
mini:~ mini$ echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin and now ? Marc -- Quid tacet, consentire videtur. Wer schweigt, scheint zuzustimmen. Marc Manthey - Hildeboldplatz 1a D - 50672 Köln - Germany Tel.:0049-221-3558032 Mobil:0049-1577-3329231 jabber :marc@kgraff.net blog : http://www.let.de ipv6 http://stattfernsehen.com
On Mar 22, 2008, at 04:10, Marc Manthey wrote:
Am 22.03.2008 um 04:15 schrieb paul beard:
On Fri, Mar 21, 2008 at 5:03 PM, Marc Manthey wrote:
i would like to run a little "analysis tool " whitch is writen in perl on my leopard ppc mac. After upgrading my perl librarys *) on OSX PPC with macports I need to change the systemwide variable for using perl5.8.8 to
/opt/local/bin/perl5.8.8
instead of using
/usr/bin/perl5.8.8
could someone provide me a comand line for dummys to change it ;) ?
What does "echo $PATH" tell you?
mini:~ mini$ echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
and now ?
And now you set up your PATH to include /opt/local/bin as advised in the MacPorts guide: http://guide.macports.org/#installing.shell
Am 22.03.2008 um 11:54 schrieb Ryan Schmidt:
On Mar 22, 2008, at 04:10, Marc Manthey wrote:
Am 22.03.2008 um 04:15 schrieb paul beard:
On Fri, Mar 21, 2008 at 5:03 PM, Marc Manthey wrote:
i would like to run a little "analysis tool " whitch is writen in perl on my leopard ppc mac. After upgrading my perl librarys *) on OSX PPC with macports I need to change the systemwide variable for using perl5.8.8 to
/opt/local/bin/perl5.8.8
instead of using
/usr/bin/perl5.8.8
could someone provide me a comand line for dummys to change it ;) ?
What does "echo $PATH" tell you?
mini:~ mini$ echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
and now ?
And now you set up your PATH to include /opt/local/bin as advised in the MacPorts guide:
come on , i just changed #!/usr/bin/perl to #!/opt/local/bin/perl5.8.8 thanks
On Sat, Mar 22, 2008 at 4:04 AM, Marc Manthey <marc@let.de> wrote:
come on , i just changed
#!/usr/bin/perl
to
#!/opt/local/bin/perl5.8.8
You asked:
I need to change the systemwide variable for using perl5.8.8 to
* /opt/local/bin/perl5.8.8 * instead of using * /usr/bin/perl5.8.8 * could someone provide me a comand line for dummys to change it ;) ? And that's what changing your PATH will do. The instructions that Ryan sent you to aren't optional. MacPorts is not guaranteed to work without that (indeed, without the right PATH, nothing will work properly). If you're going to ask for help, take it when it's offered. -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
On Mar 22, 2008, at 10:28, paul beard wrote:
The instructions that Ryan sent you [for setting up the PATH] to aren't optional. MacPorts is not guaranteed to work without that (indeed, without the right PATH, nothing will work properly).
Well setting up the PATH is optional, I'd say. But without it, you'll have to type the complete path to all MacPorts binaries that you want to use. MacPorts itself should still function, and all ports should still build, because MacPorts internally sets the PATH to include ${prefix}/ bin and ${prefix}/sbin (right?) for the duration of the build.
participants (3)
-
Marc Manthey
-
paul beard
-
Ryan Schmidt