Hi Sébastien,

I kept on looking in the archive in the mean time, and ultimately found
a solution, just seconds ago (after 1 hour of search). It is not the
build.sh script but the bin/ant file itself. It seems that this file was
created on a DOS system, so you have to run dos2unix on bin/ant and
bin/antrun, and rerun the build.sh script. That will do it (at least in
my case, I got Cocoon2 up and running).

Cheers,
Andre.


Sébastien Lefebvre wrote:
> 
> I had the same problem yesterday
> Cocoon 2.02B, Tomcat 3.2.2, Apache 1.3.19 on RH7
> Any help is welcome !
> Sébastien
> 
> >Hi All,
> >
> >I experience a somewhat perculiar problem when I try to install cocoon2
> >on a Redhat Linux box. If I run build.sh, I get the following
> >
> >
> >Apache Cocoon 2 Build System
> >----------------------------
> >./build.sh: /usr/local/xml-cocoon2/bin/ant: No such file or directory
> >
> >But, the /usr/local/xml-cocoon2/bin/ant certainly exists and also has
> >the right permissions:
> >
> >ls -l bin/ant gives:
> >
> >-rwxr--r--    1 root     sys          2936 Jul 23 12:25 bin/ant
> >
> >I remember that somebody else on this list had a similar problem, but I
> >could not find that message in the archive. So, I hope that one of you
> >can help me out.
> >
> >I have installed Cocoon2 earlier on Slackware with no problems at all,
> >so the aforementioned problem may be a Redhat thing. Tomcat and Java run
> >without any problem, Java is jdk1.3.1. Suspecting that it may be a bash
> >problem, I have made a build script based upon tcsh, but the result is
> >exactly the same.
> >
> >Thanks,
> >
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

-- 
Andre H. Juffer              | Phone: +358-8-553 1683
The Biocenter and            | Fax: +358-8-553-1141
    the Dep. of Biochemistry | Email: [EMAIL PROTECTED]
University of Oulu, Finland  | WWW:
http://www.biochem.oulu.fi/research.html

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to