Try "bash <configure" or "bash </path/to/configure".

Mike Volmar wrote:

[EMAIL PROTECTED] php-4.3.11]# ./configure
: bad interpreter: No such file or directory
[EMAIL PROTECTED] php-4.3.11]#

Michael W. wrote:

Try running './configure' (minus quotes).

On Thu, April 7, 2005 8:27 am, Mike Volmar said:


Thanks. I tried it.

I still get the command not found error when running 'sh configure'.

Mike

Michael wrote:


If Bash says "Permission denied", it means that you don't have
permission to execute (and judging from the errors underneath, you
also don't have permission to read) the configure script. Try running
"chmod +rx . -R" (inside the PHP source directory) (without the
quotes). That will give everyone permission to read and execute all
files in the directory (including the configure script).

Michael

Mike Volmar wrote:


I am trying to upgrade GD on redhat 9.

I was able to install it but need to rebuild php to get it running.

Since php.net says they do not distribute unix binaries, I decided
the easiest way to get GD2 working was to upgrade to php 4.3.11
Unfortunately, this did not work. I get this error.

[EMAIL PROTECTED] php-4.3.11]# ./configure --help
-bash: ./configure: Permission denied
[EMAIL PROTECTED] php-4.3.11]# sh configure
: command not found
: command not found
[numerous identical lines deleted]
: command not found:
: command not found:
'onfigure: line 926: syntax error near unexpected token `in
'onfigure: line 926: ` case X$UNAME in
[EMAIL PROTECTED] php-4.3.11]# ./configure
-bash: ./configure: Permission denied

Just to be thorough I got flex and bison and get the same error when
I try and install them. Could my successful install of GD have done
something bad to sh?

[EMAIL PROTECTED] flex-2.5.4]# sh configure
: command not found
: command not found
: command not found
: command not found
: command not found
'onfigure: line 42: syntax error near unexpected token `do
'onfigure: line 42: `do
[EMAIL PROTECTED] flex-2.5.4]#

Thanks for any help on this.




--
Dr. Michael Volmar
Curator
Fruitlands Museums
Knight-Dudley House, Suite 4
102 Prospect Hill Road
Harvard, MA 01451








Reply via email to