The tag has no usage guidance.

learn more… | top users | synonyms

8
votes
3answers
9k views

why can't macports find make

I am trying to run macports like thus: port install php5 When I do so, however, I get this error: Error: Unable to open port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/...
0
votes
2answers
127 views

How to upgrade the version of Python used by Apache?

On a Red Hat box, I upgraded Python from 2.3 to 2.6.4 and changed the symlink to python so when I type in python the 2.6.4 interpreter comes up. However my .py file works from the command-line, but ...
0
votes
3answers
5k views

psExec doesn't have path

I have a brand new windows 2008 server (64 bit), and the remote deployment scripts using nant and psExec are not behaving like they do on the old servers. This works: psExec \\newserver.myco.com cmd ...
6
votes
3answers
20k views

How do I set the global PATH environment in a batch file?

The group policy in our environment overwrites the PATH variable every time I log on and, as I run a 'non-standard' computer, it gets it completely wrong (C:\Windows vs C:\WINNT, missing directories ...
1
vote
2answers
189 views

Unable to get defined path in 'source' type on AIX node

I am trying to create a set of users on my AIX node and trying to get their authorized_keys which are already hosted on my server with name like, 'myuser_id_dsa.pub'. Currently i am managing 2 nodes ...
1
vote
1answer
4k views

Calling a batch file using relative path

Oh gosh, gotta expose myself as a noob here ;) In Windows, I need to execute a batch file in a subdirectory of the working directory. However, just running subdir/foo.bat cmd1 cmd2 does not work, and ...
1
vote
2answers
1k views

OSX Leopard - PATH change doesn't persist

I tried to change the $PATH using the following command: export PATH=/opt/subversion/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:...
1
vote
2answers
608 views

where is the “module” a command coming from - aka why it doesn't show up in alias?

Consider the following: $ module cmdModule.c(166):ERROR:11: Usage is 'module command [arguments ...] ' Modules Release 3.2.6 2007-02-14 (Copyright GNU GPL v2 1991): Usage: module [ switches ] [...
1
vote
2answers
135 views

System path does not extend to all accounts?

In Control Panel->System->Advanced->Environment Variables, the PATH variable in the bottom part (the system, not just my profile) contains my perl path. Yet when I try to run system('perl ...') from ...
0
votes
6answers
1k views

Whence for Windows?

I'm trying to determine the location of an executable (java.exe) on Windows. I know it must exist somewhere in the PATH since I can run it, but I don't know the exact directory that it is being run ...
0
votes
4answers
8k views

Path for Windows Services?

I've got a service that I need to start as a different user to 'Local System' There is a user specific PATH I need to add to the default path in order for the service to work correctly. The default ...
5
votes
2answers
6k views

ErrorDocument in .htaccess, is it possible to use relative path?

This doesn't work: ErrorDocument 401 ../../src/wrong_pwd.php it renders the path as text, it really prints ../../src/wrong_pwd.php and doesn't output the real file. If I put the absolute ...
7
votes
2answers
5k views

pkg-config on Mac Doesn't find Libraries

I have been installing a bunch of libraries lately from the GNOME sources on Mac. They use pkg-config. Every time I run a configure, it complains that it can't find library XYZ, which I installed to /...
3
votes
2answers
1k views

Running a program remotely with SSH, but it won't use my .bashrc and the PATH is wrong

I'm trying to run a command remotely with SSH, but my problem is that when I do that, my .basrhc doesn't get executed, and so the PATH is all wrong and my script is breaking. What I'm doing is ssh ...
2
votes
4answers
8k views

How to fix Puppet fully-qualified parameter path error?

I regularly but randomly get the following error message when I run the puppet client on machines (non-daemonized): err: Could not create : Parameter path failed: File paths must be fully qualified ...
42
votes
2answers
19k views

How to keep the full path with rsync?

When backing up with rsync, How do I keep the full directory structure? For example, the remote server is saturn, and I want to backup saturn's /home/udi/files/pictures to a local directory named ...
3
votes
4answers
425 views

How to avoid the ./ when executing a shell script?

I used to know a way to run my shell scripts just by typing there name as long as there were in my home folder or desktop. I hate having to type ./myscript.sh. I would like to be able to type just ...
0
votes
3answers
2k views

File Not Found for All Nodes in Drupal

My Drupal installation is having all links to nodes show up with a File Not Found error. Admin pages and such are ok, it's just pages with ?q=node/# I tried using Update.php to fix anything, but that ...
9
votes
5answers
47k views

How can I modify a user’s PATH environment variable without logging out?

The question pretty much says it all; I have users who do not have permission to edit their own PATH environment variable and if they need to have it modified for some reason, they need to log out so ...
2
votes
7answers
595 views

How do I figure out which file is being executed?

I have two files: abc.exe and abc.cmd - both along the path somewhere. abc.exe is a command-line utility. abc.cmd is a wrapper around abc.exe. When I type "abc" in the command prompt, how can I ...
1
vote
2answers
328 views

MANPATH in man.conf

I've installed mac-ports which puts everything under /opt/local. The corresponding man pages are in /opt/local/man. I added the following line to /private/etc/man.conf representing the man search path ...
85
votes
8answers
95k views

how to set global PATH on OS X?

I'd like to append to the global PATH variable on OS X so that all user shells and GUI applications get the same PATH environment. I know I can append to the path in shell startup scripts, but those ...