~# /usr/src/freepbx-2.11.0rc1/install_amp--PHP Warning: include_once(/var/www/freepbx/admin/libraries/freepbx_conf.class.php)

this is my output when installing amp on freebpbx, need help on this

[email protected]:~# /usr/src/freepbx-2.11.0rc1/install_amp
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking user…OK
Checking if Asterisk is running…running with PID: 3412…OK
Checking for /etc/amportal.conf…OK
Reading /etc/amportal.conf…parsed amp_conf variables from /etc/amportal.conf:
amp_conf [AMPDBUSER] => [root]
amp_conf [AMPDBPASS] => [amp109]
amp_conf [AMPDBHOST] => [localhost]
amp_conf [AMPMGRUSER] => [admin]
amp_conf [AMPMGRPASS] => [admin]
amp_conf [AMPWEBROOT] => [/var/www/freepbx]
amp_conf [AMPWEBADDRESS] => [192.168.157.218]
amp_conf [AMPEXTENSIONS] => [extensions]
amp_conf [AMPBIN] => [/var/lib/asterisk/bin]
amp_conf [AMPSBIN] => [/usr/local/sbin]
amp_conf [AMPDBENGINE] => [mysql]
amp_conf [AMPDBNAME] => [asterisk]
amp_conf [AMPENGINE] => [asterisk]
amp_conf [ASTETCDIR] => [/etc/asterisk]
amp_conf [ASTMODDIR] => [/usr/lib/asterisk/modules]
amp_conf [ASTVARLIBDIR] => [/var/lib/asterisk]
amp_conf [ASTAGIDIR] => [/var/lib/asterisk/agi-bin]
amp_conf [ASTSPOOLDIR] => [/var/spool/asterisk]
amp_conf [ASTRUNDIR] => [/var/run/asterisk]
amp_conf [ASTLOGDIR] => [/var/log/asterisk]
OK
Checking for /etc/asterisk/asterisk.conf…OK
Reading /etc/asterisk/asterisk.conf…OK
Using asterisk as PBX Engine
Checking for Asterisk version…11.5.0
Checking for selinux…OK
Connecting to database…OK
Checking current version of AMP…2.9.0
Installing new FreePBX files…OK (0 files copied, 0 skipped)
no amportal…no fpbx…no freepbx_engine…no freepbx_setting…no gen_amp_conf…done
sh: 1: /var/lib/asterisk/bin/freepbx_engine: not found
sh: 1: /var/lib/asterisk/bin/freepbx_setting: not found
sh: 1: /var/lib/asterisk/bin/freepbx_setting: not found
sh: 1: /var/lib/asterisk/bin/freepbx_setting: not found
sh: 1: /var/lib/asterisk/bin/freepbx_setting: not found
sh: 1: /var/lib/asterisk/bin/freepbx_setting: not found
sh: 1: /var/lib/asterisk/bin/freepbx_setting: not found
apply username/password changes to conf files:
running apply_conf.sh from /etc/amportal.conf
Reading /etc/amportal.conf
Updating configuration…
/etc/asterisk/cdr_mysql.conf user: [root] password: [amp109] hostname: [localhost]
/etc/asterisk/manager.conf user: [admin] secret: [admin]
Done
done with apply_conf.sh
creating missing #include files…OK
OK
Setting permissions on files…sh: 1: /usr/local/sbin/amportal: not found
OK
Checking for upgrades…10 found
Upgrading to 2.10.0alpha1…
-> Running PHP script /usr/src/freepbx-2.11.0rc1/upgrades/2.10.0alpha1/migration.php
PHP Warning: include_once(/var/www/freepbx/admin/libraries/freepbx_conf.class.php): failed to open stream: No such file or directory in /usr/src/freepbx-2.11.0rc1/upgrades/2.10.0alpha1/migration.php on line 4
PHP Warning: include_once(): Failed opening ‘/var/www/freepbx/admin/libraries/freepbx_conf.class.php’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /usr/src/freepbx-2.11.0rc1/upgrades/2.10.0alpha1/migration.php on line 4
PHP Fatal error: Class ‘freepbx_conf’ not found in /usr/src/freepbx-2.11.0rc1/upgrades/2.10.0alpha1/migration.php on line 5

Are you running this as root? Seems like much of the copying has been blocked?