You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Spectron International, Inc." <sp...@coqui.net> on 2003/05/01 17:55:24 UTC
Cocoon 2.1m1 and debian
Anyone compiled cocoon 2.1m1 in debian? I run the build.sh script ant it
gives me:
": bad interpreter: No such file or directory: /bin/sh"
/bin/sh exists.
I tried "sh --verbose build.sh" runs until it gets to the line:
$PWD/tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs $@
thats the line that gives me the "bad interpreter" error.
Faw
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: Cocoon 2.1m1 and debian
Posted by Martin Lüthi <an...@tnoo.net>.
Geoff Howard <co...@leverageweb.com> writes:
> This should be fixed now in cvs. Pretty sure the problem was that
> build.sh got checked in with DOS line endings. You should be able
> to fix it yourself, or just check out that one file.
It seems that tools/bin/ant has been saved with DOS line endings. Changing
these everything works like a charm.
Changing these line endings can be accomplished with Emacs:
load the file, then [C-x RET f], type "unix" (without quotes), [C-x C-s]
or use dos2unix
Martin
--
Martin L�thi answer@tnoo.net
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: Cocoon 2.1m1 and debian
Posted by Geoff Howard <co...@leverageweb.com>.
This should be fixed now in cvs. Pretty sure the problem was that
build.sh got checked in with DOS line endings. You should be able
to fix it yourself, or just check out that one file.
HTH,
Geoff Howard
At 11:55 AM 5/1/2003, you wrote:
>Anyone compiled cocoon 2.1m1 in debian? I run the build.sh script ant it
>gives me:
>
>": bad interpreter: No such file or directory: /bin/sh"
>
>/bin/sh exists.
>
>I tried "sh --verbose build.sh" runs until it gets to the line:
>
>$PWD/tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs $@
>
>thats the line that gives me the "bad interpreter" error.
>
>Faw
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org