Article ID: 7050, created on Dec 24, 2009, last review on Aug 12, 2014

  • Applies to:
  • Plesk Sitebuilder 4.5 for Linux/Unix


To install Parallels Sitebuilder in FreeBSD-based systems from tarball:

1. Download the Plesk Sitebuilder distributive archive from Parallels web site.
2. Unpack Plesk Sitebuilder archive in /usr/ports using the following command:

~# tar -zxvf sitebuilder-4.5.0-build.tar.gz -C /usr/ports

3. Install the swsoft/ports-common port.
4. Install one of the following ports:
          * swsoft/sitebuilder
          * swsoft/sitebuilder-modules
          * swsoft/sitebuilder-locales

Instead of "make install", use "make sw-install" command.

You should not use these installation instructions unless you are familiar with the FreeBSD ports. Try using Autoinstaller instead.


The following error may occur during installation of Plesk Sitebuilder with "make sw-install":

===>  Installing for mysql-client-4.1.22

===>  mysql-client-4.1.22 conflicts with installed package(s):

      They install files into the same place.
      Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/databases/mysql41-client.
*** Error code 1

Stop in /usr/ports/swsoft/sitebuilder.
*** Error code 1

Stop in /usr/ports/swsoft/sitebuilder.

The error is caused by the fact that MySQL5 is installed on the server but MySQL4 is needed for Parallels Sitebuilder. To resolve the problem it is recommended that you install port psa-mysql-configurator and start installation anew.
Port /usr/ports/swsoft/psa-mysql-configurator is included to tarball sitebuilder-4.5.0-build.tar.gz that was installed on the server earlier. To install the port the following commands are recommended:

[root@host ~]# cd /usr/ports/swsoft/psa-mysql-configurator
[root@host /usr/ports/swsoft/psa-mysql-configurator]# make sw-install

Alternatively you may delete packages mysql5* and install mysql41(databases/mysql41) manually.

Then modify dependencies in Sitebuilder Makefile. Fixed Makefile is attached. To install it download the file and replace existent file /usr/ports/swsoft/sitebuilder/Makefile with it.

Alternatively you may modify the file on your system manually. Open file /usr/ports/swsoft/sitebuilder/Makefile with a file editor "vi" or "ee" and find the following directives:

    RUN_DEPENDS+=       ${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql41-server
    LIB_DEPENDS+=       mysqlclient.14:${PORTSDIR}/databases/mysql41-client

Remove them and add this line:

    LIB_DEPENDS+=       mysqlclient.14:${PORTSDIR}/swsoft/psa-mysql-configurator

Save the file.

Remove directory /usr/ports/swsoft/work and start installation again. You may use the following commands:

[root@host ~]# rm -rf /usr/ports/swsoft/work

[root@host ~]# cd /usr/ports/swsoft/sitebuilder
[root@host /usr/ports/swsoft/sitebuilder]# make sw-install

[root@host ~]# cd /usr/ports/swsoft/sitebuilder-modules
[root@host /usr/ports/swsoft/sitebuilder-modules]# make sw-install

[root@host ~]# cd /usr/ports/swsoft/sitebuilder-locales
[root@host /usr/ports/swsoft/sitebuilder-locales ]# make sw-install 

Additional information

The following error may occur during installation:

===> install devel/p5-Storable
 pkg_info: option requires an argument -- O
 usage: pkg_info [-bcdDEfgGiIjkKLmopPqQrRsvVxX] [-e package] [-l prefix]
                 [-t template] -a | pkg-name ...
        pkg_info [-qQ] -W filename
        pkg_info [-qQ] -O origin
 *** Error code 1
 Stop in /usr/ports/swsoft/sitebuilder.
 *** Error code 1
Stop in /usr/ports/swsoft/sitebuilder

The error is caused by the fact that working directory of old Parallels Sitebuilder updating/installation exists on the server. It is mistakenly used in current procedure. To resolve the problem it is recommended that you remove directory /usr/ports/swsoft/work.


f7f840260c1591440648a375a64b5b75 fad6dc0c8e983c17ae70a51ac7952cd0 d055be4fdc562a8ecb8e6d0bf419f946 ea6a61e571a858aa6019ceb068ea403a 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF