./install_amp issues w/ freepbx 25-branch + asterisk 160-branch

After a install of asterisk 160 branch,

URL: http://svn.digium.com/svn/asterisk/branches/1.6.0
Revision: 149603

using freepbx source,

URL: http://svn.freepbx.org/freepbx/branches/2.5
Revision: 6988

with,

cat /etc/amportal.conf
AMPDBUSER=test_user
AMPDBPASS=usr_pwd
AMPDBHOST=localhost
AMPMGRUSER=test_admin
AMPMGRPASS=admin_pwd
FOPPASSWORD=passw0rd
AMPWEBROOT=/srv/www/htdocs
FOPWEBROOT=/srv/www/htdocs/panel
AMPWEBADDRESS=freepbx.pglan.com
AMPEXTENSIONS=deviceanduser
AMPBIN=/var/lib/asterisk/bin
AMPSBIN=/usr/local/sbin
AMPDBENGINE=mysql
AMPDBNAME=asterisk
AMPENGINE=asterisk
ASTETCDIR=/etc/asterisk
ASTMODDIR=/usr/lib/asterisk/modules
ASTVARLIBDIR=/var/lib/asterisk
ASTAGIDIR=/var/lib/asterisk/agi-bin
ASTSPOOLDIR=/var/spool/asterisk
ASTRUNDIR=/var/run/asterisk
ASTLOGDIR=/var/log/asterisk

then @,

./install_amp --my-svn-is-correct

I get a couple of probs,

...
Checking for Asterisk version..FAIL
*** WARNING ***
You are not using a released version of Asterisk. We are unable to verify
that your Asterisk version is compatible with FreePBX. Whilst this probably
won't cause any problems, YOU NEED TO BE CERTAIN that it is compatible
with at least the released Asterisk version 1.2
--my-svn-is-correct specified, continuing
...

just cosmetic, but should the WARNING fire even though I have spec’d “–my-svn-is-correct”?

...
creating missing #include files..OK
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
OK
...

unclear whether that’s a real problem. Checking,

find /var/run | grep asterisk
	/var/run/asterisk.pid
	/var/run/asterisk

is all I have in /var/run.

next,

...
Connecting to Asterisk manager interface..OK
Name "main::numbuttonsx" used only once: possible typo at /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl line 44.
[ERROR] queues access failed, Queues module may not be installed: DB Error: no such table
Please update your modules and reload Asterisk by visiting http://freepbx.pglan.com/admin
...

Looks like something in/from the mysql table loads?

...
Generating AMP configs..OK
PHP Notice:  Undefined index:  FOPRUN in /usr/local/src/freepbx/install_amp on line 1117
Please update your modules and reload Asterisk by visiting http://freepbx.pglan.com/admin

*************************************************************************
* Note: It's possible that if you click the red 'Update Now' bar BEFORE *
* updating your modules, your machine will start dropping calls. Ensure *
* that all modules are up to date BEFORE YOU CLICK THE RED BAR. As long *
* as this is observed, your machine will be fully functional whilst the *
* upgrade is in progress.                                               *
*************************************************************************

Are these bugs, or config issues?

Thanks.

Installing the latest svn is not always the best plan specially with asterisk. That is the latest code changes everybody has checked in and they need to be tested.

For the best version of 1.6 to use you should use http://downloads.digium.com/pub/telephony/asterisk/asterisk-1.6.0.tar.gz and not the svn unless you are after something that only the svn has and you NEED.

the message: Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
means that asterisk has not started or did and died with a failure of some kind. FreePBX needs a working copy of asterisk running.