Install_amp error, asterisk.conf, amportal.conf

I’m on Suse 10 linux, actually SLED.
Using freePBX-2.1.3 & asterisk-=1.2.12.1

Been following these directions, mostly:
http://www.aussievoip.com/wiki/index.php?page=freePBX-2.1beta1Install

BTW I’m using php5 and had to install php5-posix in addition to all the php’s mentioned in the directions to get past an earlier install_amp issue.

And I followed these points:
http://www.aussievoip.com/wiki/index.php?page=freePBX-SuSE

Then I was running into minor issues with install_amp and found this useful entry
http://aussievoip.com/wiki/freePBX-Ubuntu

But I’ve hit a snag. Seems to have something to do with asterisk.conf and/or amportal.conf, but I’m not a PHP guy, so changing install_amp is not easy.

I ran:
/usr/src/freepbx-2.1.3/install_amp

Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking user…OK
Checking for /etc/amportal.conf…/etc/amportal.conf does not exist, copying default
PHP Warning: copy(amportal.conf): failed to open stream: No such file or directory in /usr/src/freepbx-2.1.3/install_amp on line 644
Creating new /etc/amportal.conf
Enter your USERNAME to connect to the ‘asterisk’ database:
[asteriskuser] (I hit enter)
Enter your PASSWORD to connect to the ‘asterisk’ database:
[amp109] (I hit enter)
Enter the hostname of the ‘asterisk’ database:
[localhost] (I hit enter)
Enter a USERNAME to connect to the Asterisk Manager interface:
[admin] (I hit enter)
Enter a PASSWORD to connect to the Asterisk Manager interface:
[amp111] (I hit enter)
Enter the path to use for your AMP web root:
[/var/www/html]
/var/www
Enter the path to use for your FOP web root:
[/var/www/html/panel]
/var/www/panel
Enter the path to your Apache cgi-bin:
[/var/www/cgi-bin] /srv/www/cgi-bin
Enter the IP ADDRESS or hostname used to access the AMP web-admin:
[xx.xx.xx.xx] (I entered hostname)
Enter a PASSWORD to perform call transfers with the Flash Operator Panel:
[passw0rd] (I hit enter)
Use simple Extensions [extensions] admin or separate Devices and Users [deviceanduser]?
[extensions] (I hit enter)
Enter directory in which to store AMP executable scripts:
[/var/lib/asterisk/bin] (I hit enter)

Created /var/lib/asterisk/bin
Enter directory in which to store super-user scripts:
[/usr/sbin] (I hit enter)

PHP Warning: file(/etc/amportal.conf): failed to open stream: No such file or directory in /usr/src/freepbx-2.1.3/install_amp on line 123
PHP Warning: array_keys(): The first argument should be an array in /usr/src/freepbx-2.1.3/install_amp on line 125
PHP Warning: Invalid argument supplied for foreach() in /usr/src/freepbx-2.1.3/install_amp on line 125
/etc/amportal.conf writtenOK
Reading /etc/amportal.conf…OK
Checking for /etc/asterisk/asterisk.conf…/etc/asterisk/asterisk.conf does not exist, copying default
PHP Warning: copy(asterisk.conf): failed to open stream: No such file or directory in /usr/src/freepbx-2.1.3/install_amp on line 719
OK
Reading /etc/asterisk/asterisk.conf…PHP Warning: file(/etc/asterisk/asterisk.conf): failed to open stream: No such file or directory in /usr/src/freepbx-2.1.3/install_amp on line 91
PHP Warning: Invalid argument supplied for foreach() in /usr/src/freepbx-2.1.3/install_amp on line 92
PHP Notice: Undefined variable: conf in /usr/src/freepbx-2.1.3/install_amp on line 97
[FATAL] FAILED. Have you installed Asterisk?

Suggestions?

OK, figured it out. Just had to run ./install_amp from the /usr/src/freepbx-2.1.3 directory.
thanks,