> Hey guys. I'm on a virtual private server that doesn't allow non-root > (i.e. me) users to change the perl installation, which is woefully > outdated right now. So I'm installing ActivePerl in my own > subdirectory. When I try to run the install.sh script, however, I get > > Copying files to /home/jsqrd/bin/ActivePerl-5.8.7...done > Relocating...Can't exec "chmod": No such file or directory at > support/lib/ActiveState/Run.pm line 32, <$reloc> line 1. > > Install of ActivePerl to /home/jsqrd/bin/ActivePerl-5.8.7 failed: > > Command "chmod" failed: No such file or directory: chmod +w > /home/jsqrd/bin/ActivePerl-5.8.7/lib/site_perl/5.8.7/ppm-conf/XML-Parser.pkg > stopped at support/install.pl line 201 > > XML-Parser.pkg is the first item in the list in reloc.txt, which > contains a list of files. Curiously, if I manually chmod +w this very > same file, there's no problem at all. Am I doing something wrong here?
Hi John, The explanation we came up with here is that you have chmod installed somewhere else than /usr/bin. The install script clears the PATH environment and relies on just the default settings to find these utilities (which is a bug that we will fix). As a workaround, could you modify the install.sh file and remove the -I option from the "env -i \" command, and see if things work then? Please let us know if this works for you, and if which chmod actually does print something else than /usr/bin/chmod. Cheers, -Jan _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs