Hi,

I do not know anything more... I assume build.sh has e'x'ecutable
permissions also. Check the first line to see which interpreter at which
location is called and if it is called correctly. Make sure that if the
File contains CR/LF on the end of each line that you replace those by
using the dos2unix command. Then try to execute it again. Other than
that, I have never experienced anything similar. Only when the partition
or mount point I was working on did not have exec permissions. 

Try to move the source to /usr/src (the place to put source files) and
try to build.sh it from there. Sorry if I cannot help you.

Kind regards
 
J�rgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer 


-----Urspr�ngliche Nachricht-----
Von: Stelian Iancu [mailto:[EMAIL PROTECTED]] 
Gesendet: Freitag, 20. Dezember 2002 18:03
An: Jetspeed Users List
Betreff: Re: AW: AW: Newbie problem


On Fri, 2002-12-20 at 17:46, J�rgen Hoffmann wrote:
> Hi Stelian,
> 
> I have had the same problem before. Do you have the zip file 
> downloaded and installed on a "different mount point". It might be 
> that you can execute /bin/sh no problem if it is on a different moint 
> point than the jetspeed installation.
> 
> budwork:~# mount
> /dev/hda4 on / type ext3 (rw,errors=remount-ro)
> proc on /proc type proc (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> /dev/hda3 on /boot type ext3 (rw)
> /dev/hdb4 on /home/buddy/windows2000 type ext3 
> (rw,noexec,nosuid,nodev)
> 
> Here you see that /home/buddy/windows2000 has no execute permission.
> 
> Kind regards
>  
> J�rgen Hoffmann
> ByteACTION GmbH
>  
> cert. Perl Programmer
> cert. Linux System Administrator
> cert. Java Programmer
> 

I have downloaded and unpacked the .zip in my /home/user dir on the
/home partition. Here is the relevant line from mount:

/dev/hda12 on /home type reiserfs (rw,notail)

and the /

/dev/hda13 on / type reiserfs (rw, notail).

One interesting thing. If I try to execute the script via bash (i.e.
bash build.sh war), I obtain the following:

: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
'uild.sh: line 58: syntax error near unexpected token `do
'uild.sh: line 58: `do

I made in the same directory with build.sh a mock script, test.sh, which
only does a ls -l *.sh and it works. 

I don't understand what's happening.

-- 
Regards,
Stelian I.


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



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

Reply via email to