Re: ./configure problems
| From: | Sebastian Musial | Date: | Thu, 11 Sep 2003 20:41:51 +0000 |
| Subject: | Re: ./configure problems | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11864@lists.php.net to get a copy of this message | ||
Thank you Michael. This solved it. I always forget the options to the tar command so I get lazy and
use winzip since I have access to the linux box through samab.
Thanks again...
----- Original Message -----
From: elmicha@php.net (Michael Mauch)
Date: Thursday, September 11, 2003 2:50 pm
Subject: Re: [PHP-INSTALL] ./configure problems
> Sebastian Musial wrote:
>
> > It is something else, the file is there, any other ideas, thanks.
> >
> > [php-4.3.3]# ls
> > acconfig.h* ltmain.sh*
> README.STREAMS*> acconfig.h.in* main/
> README.SUBMITTING_PATCH*
>
> Why are all these files executable? Is this on a DOS partition and
> perhaps you extracted the files with WinZip or another DOS tool? Then
> the files end up with DOS line endings, and because the kernel
> searchesfor /bin/sh\r it can't find /bin/sh.
>
> I'm not sure whether the DOS partition matters, but certainly the DOS
> line endings are a problem. Extract your tarball with tar and gzip or
> bzip2, not with a DOS tool. Choose one of the following lines:
>
> # with GNU tar (on Linux you have GNU tar):
> tar xjf php-4.3.3.tar.bz2
> tar xzf php-4.3.3.tar.gz
>
> # with Unix tar:
> bunzip2 -c php-4.3.3.tar.bz2 | tar xf -
> gzip -c php-4.3.3.tar.gz | tar xf -
>
> Regards...
> Michael
>