Building ACH-1.0.3.txz (origin /buildshare/ports/355755/www/ach) for powerpc-10-0 on XXX
slot1: created
x distfiles/
x distfiles/ACH-1.0.3-alpha.tar
x packages/
x packages/p5-Locale-gettext-1.05_3.txz
x packages/pkg-1.2.7_2.txz
x packages/gettext-0.18.3.1_1.txz
x packages/autoconf-2.69.txz
x packages/mysql55-client-5.5.37.txz
x packages/cmake-2.8.12.1_4.txz
x packages/m4-1.4.17_1,1.txz
x packages/pkgconf-0.9.5.txz
x packages/autoconf-wrapper-20131203.txz
x packages/php5-5.4.28.txz
x packages/gmake-3.82_1.txz
x packages/pcre-8.34_1.txz
x packages/help2man-1.43.3_1.txz
x packages/perl5-5.16.3_10.txz
x packages/libxml2-2.9.1_1.txz
x packages/cmake-modules-2.8.12.1_1.txz
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
Make depends
===> ACH-1.0.3 depends on file: /usr/local/sbin/pkg - not found
===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg
===> Installing existing package /packages/pkg-1.2.7_2.txz
Installing pkg-1.2.7_2... done
If you are upgrading from the old package format, first run:
# pkg2ng
===> Returning to build of ACH-1.0.3
===> ACH-1.0.3 depends on shared library: libmysqlclient.so.18
- not found
===> Verifying for libmysqlclient.so.18 in /buildshare/ports/355755/databases/mysql55-client
===> Installing existing package /packages/mysql55-client-5.5.37.txz
Installing mysql55-client-5.5.37... done
===> Returning to build of ACH-1.0.3
===> ACH-1.0.3 depends on file: /usr/local/include/php/main/php.h - not found
===> Verifying install for /usr/local/include/php/main/php.h in /buildshare/ports/355755/lang/php5
===> Installing existing package /packages/php5-5.4.28.txz
Installing php5-5.4.28...Installing libxml2-2.9.1_1... done
Installing pcre-8.34_1... done
done
===> Returning to build of ACH-1.0.3
Make install
===> License GPLv3 accepted by the user
===> ACH-1.0.3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by ACH-1.0.3 for building
===> Extracting for ACH-1.0.3
=> SHA256 Checksum OK for ACH-1.0.3-alpha.tar.
===> Patching for ACH-1.0.3
===> ACH-1.0.3 depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18)
===> Configuring for ACH-1.0.3
===> Staging for ACH-1.0.3
===> ACH-1.0.3 depends on file: /usr/local/include/php/main/php.h - found
===> Generating temporary packing list
====> Compressing man pages (compress-man)
===> Installing for ACH-1.0.3
===> Checking if www/ach already installed
===> Registering installation for ACH-1.0.3
Installing ACH-1.0.3... done
You now need to create the DB where ACH is going to live.
MySQL:
mysqladmin -u dba_user -p create ach
mysql -u dba_user -p
GRANT ALL PRIVILEGES ON ach.* TO ach@localhost IDENTIFIED BY 'passwd';
mysql -u ach -p passwd ach < /usr/local/www/ACH/db.sql
In /usr/local/www/ACH/code/common_db.php, add your database connection
details:
$dbhost = '127.0.0.1';
$dbusername = 'ach';
$dbuserpassword = 'passwd';
$default_dbname = 'ach';
At the top of /usr/local/www/ACH/parts/includes.php, edit the following
lines to reflect your environment, replacing SITEURL with your own domain
and application URL. Do not include a trailing slash (eg. domain.com
instead of domain.com/) in the PHP base_URL variable.
You also need to add appropriate configuration directives to your webserver.
A typical configuration might read:
Alias /ach "/usr/local/www/ACH"
Options Indexes FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
Finally, change the RewriteBase URL in /usr/local/www/ACH/.htaccess so it
matches the URL in the Alias directive above, e.g.:
RewriteBase /ach
Make package
===> Building package for ACH-1.0.3
slot1: removed