Problem with audio/ampache

Hello

I tried to install audio/ampache from ports. It ended with lot's of errors:

Code:
===>  Installing for ampache-3.5.4_2
===>   ampache-3.5.4_2 depends on file: /usr/local/include/php/main/php.h - found
===>   ampache-3.5.4_2 depends on file: /usr/local/lib/php/20100525/mysql.so - found
===>   ampache-3.5.4_2 depends on file: /usr/local/lib/php/20100525/session.so - found
===>   ampache-3.5.4_2 depends on file: /usr/local/lib/php/20100525/iconv.so - found
===>   ampache-3.5.4_2 depends on file: /usr/local/lib/php/20100525/hash.so - found
===>   ampache-3.5.4_2 depends on file: /usr/local/lib/php/20100525/gettext.so - found
===>   ampache-3.5.4_2 depends on file: /usr/local/lib/php/20100525/mbstring.so - found
===>   ampache-3.5.4_2 depends on shared library: libintl.so - found
 - found
===>   Registering installation for ampache-3.5.4_2
pkg-static: Unknown user: '%%WWWOWN%% '
pkg-static: Unknown user: '%%WWWOWN%% '
pkg-static: Unknown user: '%%WWWOWN%% '

Any ideas how to fix this?
 
What version of FreeBSD are you running? I just successfully installed audio/ampache on FreeBSD-9.2 and FreeBSD-10.0. I suggest you update your ports tree, using portsnap fetch update, to make sure you are working with the latest version of the port, and re-try the installation.
 
Hmm, I stand corrected. Upon closer examination of the install log, audio/ampache did not build for me, at least not correctly, even though portmaster(8) reported that the installation completed. I do not have the /usr/local/www/ampache path, which is where audio/ampache is installed.

In order to get it to install correctly, I disabled staging by adding the following statement to /usr/ports/audio/ampache/Makefile:
Code:
NO_STAGE=        yes
please note that the white space is a tab, not spaces. This is important in a Makefile. I added the statement immediately after the USES= statement.

After re-installation I confirmed I have a populated /usr/local/www/ampache path.
 
Settings can be changed from the command line: make NO_STAGE=yes. That avoids modifying the Makefile.
 
Back
Top