Thanks for the quick reply Andrew..

Files do exist, but if type ./ant in its directory i get the bad interpreter
error. The top was originally #!/bin/sh but thats a sublink to #!/bin/bash
so i changed it to #!/bin/bash and I still get the same error...

is there any reason why there are periods before ./
$PWD./tools/antipede/bin/ant -emacs $@

the path ended up like this /home/admin/downloads/poi/./tools/etc

I took out the periods and also had to add full path to the chmod lines for
antRun and ant.

Thanks!
John

----- Original Message -----
From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
To: "POI Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 11:04 PM
Subject: Re: POI build not working


> Bad interperator means that the "shebang" at hte top of the file is
> misformed
> #!/bin/sh -  might sh be somewhere else?
>
> It can also mean that you've DOS-ized your line feeds.  (I'm betting its
> that)
>
> John Larsen wrote:
>
> >Hello,
> >
> >I've tried everything to install POI 1.5.1 from source distro.
> >
> >I could not find any information on the jakarta site regarding POI
> >installation.
> >
> >so i tried sh build.sh and ./build.sh and it has problem with the ant
files
> >in the POI distribution:
> >Using classpath:
>
>"./lib/endorsed/xalan-2.2.0.jar:./lib/endorsed/xerces-2.0.0.jar:./lib/endor
s
> >ed/xml-apis.jar"
> >build.sh: /home/admin/downloads/java/poi/tools/antipede/bin/ant: bad
> >interpreter: No such file or directory
> >
> >This prompted me to modify the build.sh to point directly to the POI/ant
> >location. I still got bad interpreter: No such file or directory.
> >
> >I tried modifying the build.sh to point to my ant install in
> >/usr/local/ant/bin/ant
> >the build started but failed with this info:
> >file:/home/admin/downloads/java/poi/tools/antipede/build.xtarget:168:
> >/home/admin/downloads/java/poi2/tools/cents/centipede.cent.cent not found
> >
> >This just doesnt want to install! What am i missing?
> >
> >RH linux 7.2 (ensim webppliance)
> >Jakarta tomcat 4
> >
> >Thanks!
> >
> >John Larsen
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
<mailto:poi-user-unsubscribe@;jakarta.apache.org>
> >For additional commands, e-mail:
<mailto:poi-user-help@;jakarta.apache.org>
> >
> >
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:poi-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>

Reply via email to