Date: Wed, 8 Nov 2006 23:30:37 GMT From: Boris Samorodov <bsam@ipt.ru> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/95279: (New Port) FreeBPX: a web gui to the asterisk PBX Message-ID: <200611082330.kA8NUb3x066991@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/95279; it has been noted by GNATS. From: Boris Samorodov <bsam@ipt.ru> To: bug-followup@FreeBSD.org,pneumann@gmail.com Cc: Subject: Re: ports/95279: (New Port) FreeBPX: a web gui to the asterisk PBX Date: Thu, 09 Nov 2006 02:28:37 +0300 Hello, It's me again -- your nightmare. ;-) It's a little bit better now. Here are some notes: 1. You have a directory structure at the files directory. That's wrong. I don't know if those patches should be applied or not but either move all of them to the "files" directory or remove them. 2. Seems that CATEGORIES should be "www net" not "misc www net". 3. WEBPATH should be ${PREFIX}/FreePBX but not the apache's directory (yes, earlier we used to do so, but now this method is deprecated, those ports are transitting to PREFIX now. And, finally, let the port use it's own directory). ;-) 4. An error is occured while testing the package: ----- ===> Checking if misc/freepbx already installed Backing up your asterisk configuration... mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! Checking for PEAR DB..OK Checking for PEAR Console::Getopt..OK Using username: asteriskuser Using password: ****** Using remote database server at localhost Using fop at /usr/local/www/data/FreePBX/panel Using Webroot at /usr/local/www/data/FreePBX Using CGI-BIN at /usr/local/www/cgi-bin Using bin at /usr/local/bin Using sbin ar /usr/local/sbin Using Asterisk user AsteriskUser Using asteriskpass ************ Using system config at /usr/local/etc Checking user..OK Checking for /usr/local/etc/amportal.conf..This is a new instalation. Copyng default /usr/local/etc/amportal.conf and creating the databases... /usr/local/etc/amportal.conf does not exist, copying default Creating new /usr/local/etc/amportal.conf Created /usr/local/www/data/FreePBX Created /usr/local/www/data/FreePBX/panel /usr/local/etc/amportal.conf written OK Reading /usr/local/etc/amportal.conf..OK Checking for /usr/local/etc/asterisk/asterisk.conf..OK Reading /usr/local/etc/asterisk/asterisk.conf..OK Checking for Asterisk 1.2..OK Checking for selinux..selinuxenabled: not found OK Connecting to database..FAILED Try running ./install_amp --username=user --password=pass (using your own user and pass) [FATAL] Cannot connect to database *** Error code 1 Stop in /a/ports/net/freepbx. ================================================================ build of /usr/ports/net/freepbx ended at Wed Nov 8 22:50:18 UTC 2006 ----- The full log is here: https://tinderbox.amd64.ipt.ru/tb/errors/6-bsam-exp/freepbx-2.1.3.log Seems that you test the port at a system with installed MySQL. That won't do a good testing. ;-) 'cause the package will be tested/created at a system without one. Well, the port is very near to committing now, just some extra work/testing is needed. Thanks, the port is great. WBR -- bsam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611082330.kA8NUb3x066991>