Rt install error

I have a strange install error. Don’t know how to solve this.
Mybe someone could help me. Would be realy great.

heiligekuh:/var/kht/rt-2-0-15 # make install
mkdir -p //opt/rt2/bin
mkdir -p //opt/rt2/WebRT/data
mkdir -p //opt/rt2/WebRT/sessiondata
mkdir -p //opt/rt2/etc
mkdir -p //opt/rt2/lib
mkdir -p //opt/rt2/WebRT/html
mkdir -p //opt/rt2/local/WebRT/html
/usr/bin/perl tools/initdb ‘mysql’ ‘/usr’ ‘localhost’ ‘’ ‘root’ ‘rt2’
create
Now creating a database for RT.
Enter the mysql password for root:
Creating mysql database rt2.
cp etc/acl.mysql ‘//opt/rt2/etc/acl.mysql’
/usr/bin/perl -p -i -e " s’!!DB_TYPE!!’“mysql”‘g;
s’!!DB_HOST!!’“localhost”‘g;
s’!!DB_RT_PASS!!’“Mypassword”‘g;
s’!!DB_RT_HOST!!’“localhost”‘g;
s’!!DB_RT_USER!!’“rt_user”‘g;
s’!!DB_DATABASE!!’“rt2”‘g;" //opt/rt2/etc/acl.mysql
bin/initacls.mysql ‘/usr’ ‘localhost’ ‘’ ‘root’ ‘’ ‘rt2’
’//opt/rt2/etc/acl.mysql’
make: bin/initacls.mysql: Command not found
make: *** [acls] Error 127
heiligekuh:/var/kht/rt-2-0-15 #

heiligekuh:/var/kht/rt-2-0-15 # ./bin/initacls.mysql /usr localhost ''
root ‘’ rt2 //opt/rt2/etc/acl.mysql
: bad interpreter: No such file or directory
heiligekuh:/var/kht/rt-2-0-15 #

Well, everything is in the path and the interpreter is also there.

heiligekuh:/var/kht/rt-2-0-15 # ls -al /bin/sh /bin/bash
-rwxr-xr-x 1 root root 477132 Sep 9 21:07 /bin/bash
lrwxrwxrwx 1 root root 4 Jan 9 14:20 /bin/sh -> bash
heiligekuh:/var/kht/rt-2-0-15 #

heiligekuh:/var/kht/rt-2-0-15 # echo $PATH
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11
R6/bin:/bin:/usr/games:/opt/gnome/bin
heiligekuh:/var/kht/rt-2-0-15 #

Well, i really don’t understand what is the problem.

Frank

Odhiambo Washington wrote:

wash@ns2 (‘tty’) ~ 320 → head -1 ftpz/rt-2-0-15/bin/initacls.mysql
#!/bin/sh

Try changing that to #!/bin/bash

Does not change it. Sorry. I’have tried that.

Frank

Odhiambo Washington wrote:

wash@ns2 (‘tty’) ~ 320 → head -1 ftpz/rt-2-0-15/bin/initacls.mysql
#!/bin/sh

Try changing that to #!/bin/bash

Does not change it. Sorry. I’have tried that.

I am stumped. What is your OS?
I am attaching an archive of rt2. Could you kindly try it and tell me
what you get. Please change a few things in Makefile to match your system.

Yes me too! I have installed an SuSE 8.1 from scratch.
I have even “.” included in the path. This is a realy strange one.
I don’t know where else to look.

Frank

Frank Wagner said:

Try changing that to #!/bin/bash

Does not change it. Sorry. I’have tried that.
Can you tell us the output of:

which bash
and
which sh

Thanks… :slight_smile:
Glenn
The original portions of this message are the copyright of the author
(c)1998-2002 Glenn E. Sieb. ICQ UIN: 300395 IRC Nick: Rainbear
“All acts of Love and Pleasure are Her rituals”-Charge of the Goddess

Glenn Sieb wrote:

Frank Wagner said:

Try changing that to #!/bin/bash

Does not change it. Sorry. I’have tried that.

Can you tell us the output of:

which bash
and
which sh

well, i found the problem. it was because mysqladmin was not in
the path. it was under /usr/local/bin and not under /usr/bin
and mysql ist under /usr/bin.
so the path in the makefile was always not correct.
but realy strange, the it just said, command not found and
nothing else.

but thanks for your help.

rt is a great powerfull system. :slight_smile:

Frank