Make upgrade error

Anybody know why I get the following error?

mkdir -p //usr/local/rt2/bin
mkdir -p //usr/local/rt2/WebRT/data
mkdir -p //usr/local/rt2/WebRT/sessiondata
mkdir -p //usr/local/rt2/etc
mkdir -p //usr/local/rt2/lib
mkdir -p //usr/local/rt2/WebRT/html
mkdir -p //usr/local/rt2/local/WebRT/html
[ -f //usr/local/rt2/etc/config.pm ] &&
mv //usr/local/rt2/etc/config.pm //usr/local/rt2/etc/config.pm.old &&
chmod 000 //usr/local/rt2/etc/config.pm.old
cp -rp ./etc/config.pm //usr/local/rt2/etc/config.pm
/usr/bin/perl -p -i -e “
s’!!DB_TYPE!!’“mysql”‘g;
s’!!DB_HOST!!’“localhost”‘g;
s’!!DB_PORT!!’”"‘g;
s’!!DB_RT_PASS!!’"****** “‘g;
s’!!DB_RT_USER!!’“rt_user”‘g;
s’!!DB_DATABASE!!’“rt2”‘g;
s’!!MASON_HTML_PATH!!’”/usr/local/rt2/WebRT/html"‘g;
s’!!MASON_LOCAL_HTML_PATH!!’"/usr/local/rt2/local/WebRT/html"‘g;
s’!!MASON_SESSION_PATH!!’"/usr/local/rt2/WebRT/sessiondata"‘g;
s’!!MASON_DATA_PATH!!’"/usr/local/rt2/WebRT/data"‘g;
s’!!RT_LOG_PATH!!’"/tmp"‘g;
s’!!RT_VERSION!!’“2.0.11”'g;
" //usr/local/rt2/etc/config.pm
Substitution replacement not terminated at -e line 1.
make: *** [config-replace] Error 255

I’m using the same settings as I used in my older Makefile (2.0.8) and it seemed to work then. I’m just glad I backed up my config.pm file :stuck_out_tongue:

Paul Burkett
ATG Intern
http://www.red-fusion.org/

Paul Burkett wrote:

Anybody know why I get the following error?

Yep.

s’!!DB_RT_PASS!!’"****** "'g;\

Substitution replacement not terminated at -e line 1.
make: *** [config-replace] Error 255

Spaces or a tab after your password in config.pm or the Makefile
(I forget which.)

I’ve been meaning to fix this and send a patch for months.

Well I’ll be damned, it was a stupid space in front of the password in the Makefile. Such an odd error message, it seems unrelated to the error message (well I’m no C hacker.) Well it works now, thanks for the help!On Wed, 20 Feb 2002 12:01:38 +1000 Phil Homewood pdh@snapgear.com wrote:

Paul Burkett wrote:

Anybody know why I get the following error?

Yep.

s’!!DB_RT_PASS!!’"****** "'g;\

Substitution replacement not terminated at -e line 1.
make: *** [config-replace] Error 255

Spaces or a tab after your password in config.pm or the Makefile
(I forget which.)

I’ve been meaning to fix this and send a patch for months.

Paul Burkett
ATG Intern
http://www.red-fusion.org/