ispCP - Board - Support
installazione FreeBSD - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: Italian Corner (/forum-27.html)
+--- Thread: installazione FreeBSD (/thread-10023.html)



installazione FreeBSD - enricorossin - 03-16-2010 03:22 AM

Ciao a tutti,

ho appena scaricato i sorgenti da svn export http://www.isp-control.net/ispcp_svn/trunk/ su SO FreeBSD 8.0-STABLE #1

come da guida ho lanciato il comando...make -f BSDmakefile install e l'output
è:
"BSDmakefile", line 38: Malformed conditional ($(OSTYPE)==FreeBSD)
"BSDmakefile", line 40: if-less else
"Makefile.inc", line 32: Need an operator
"Makefile.inc", line 34: Need an operator
"BSDmakefile", line 42: if-less endif
make: fatal errors encountered -- cannot continue

ho già provato un paio di modifiche trovate per il web... ma niente da fare...
mi potete aiutare per cortesia...
grazie


RE: installazione FreeBSD - BeNe - 03-16-2010 04:23 AM

I can´t confirm that Error with the current trunk.
Non posso confermare questi errori (Google Translation)
Code:
root# uname -a
FreeBSD root.mydmain.tld 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
root# ls -l
total 110
-rw-r--r--   1 root  wheel   4434 Feb 19 23:37 BSDmakefile
-rw-r--r--   1 root  wheel  48790 Mar 13 01:09 CHANGELOG
-rw-r--r--   1 root  wheel   2902 Jan  6 21:30 Makefile
-rw-r--r--   1 root  wheel   2893 Jan  6 21:30 Makefile.centos
-rw-r--r--   1 root  wheel   1787 Jan  6 21:30 Makefile.fbsd
-rw-r--r--   1 root  wheel   2892 Jan  6 21:30 Makefile.fedora
-rw-r--r--   1 root  wheel   3216 Jan  6 21:30 Makefile.gentoo
-rw-r--r--   1 root  wheel   1711 Jan  6 21:30 Makefile.inc
-rw-r--r--   1 root  wheel   2960 Jan  6 21:30 Makefile.opensuse
-rw-r--r--   1 root  wheel   2894 Jan  6 21:30 Makefile.ubuntu
-rw-r--r--   1 root  wheel   2666 Jan  6 21:30 README
drwxr-xr-x  11 root  wheel    512 Mar 11 17:33 configs
drwxr-xr-x   2 root  wheel    512 Mar 11 17:33 contrib
drwxr-xr-x   2 root  wheel    512 Mar 11 17:33 database
drwxr-xr-x  12 root  wheel    512 Mar 11 17:33 docs
drwxr-xr-x   9 root  wheel   1024 Mar 11 17:33 engine
drwxr-xr-x  13 root  wheel    512 Mar 11 17:33 gui
-rw-r--r--   1 root  wheel   5472 Aug 23  2009 ispcp-omega.spec
drwxr-xr-x   2 root  wheel    512 Mar 11 17:33 keys
drwxr-xr-x   4 root  wheel    512 Mar 11 17:33 language-files
drwxr-xr-x   4 root  wheel    512 Mar 11 17:33 tools
root# make install -f BSDmakefile
#
# Preparing ISPCP System Directory and files
#
cd ./tools && make install
/bin/mkdir -p /tmp/ispcp/usr/local/www/ispcp/daemon
cp ./daemon/ispcp_daemon /tmp/ispcp/usr/local/www/ispcp/daemon
/bin/mkdir -p /tmp/ispcp/usr/local/etc/ispcp
/bin/mkdir -p /tmp/ispcp/usr/local/www/ispcp
/bin/mkdir -p /tmp/ispcp/var/log/ispcp
/bin/mkdir -p /tmp/ispcp/var/log/ispcp/ispcp-arpl-msgr
/bin/mkdir -p /tmp/ispcp/usr/local/www/data/virtual
/bin/mkdir -p /tmp/ispcp/usr/local/www/data/fcgi
/bin/mkdir -p /tmp/ispcp/var/mail/virtual
/bin/mkdir -p /tmp/ispcp/usr/local/www/logs/backup
cd ./configs && make install
cd freebsd && make install
cp ./ispcp.conf /tmp/ispcp/usr/local/etc/ispcp ; cd ..
cd ./apache && make install ; cd ..
/bin/mkdir -p /tmp/ispcp/usr/local/etc/ispcp/apache
/bin/mkdir -p /tmp/ispcp/usr/local/etc/apache22/Includes
/bin/mkdir -p /tmp/ispcp/usr/local/etc/apache22/extra
/bin/mkdir -p /tmp/ispcp/usr/local/etc/apache22/ispcp
cp ./fastcgi.conf /tmp/ispcp/usr/local/etc/ispcp/apache/fastcgi_ispcp.conf
cp ./fcgid_ispcp.conf /tmp/ispcp/usr/local/etc/ispcp/apache
cp ./00_master.conf /tmp/ispcp/usr/local/etc/ispcp/apache
cp ./01_awstats.conf /tmp/ispcp/usr/local/etc/ispcp/apache
cp ./httpd.conf /tmp/ispcp/usr/local/etc/ispcp/apache
cp -R ./backup /tmp/ispcp/usr/local/etc/ispcp/apache
cp -R ./parts /tmp/ispcp/usr/local/etc/ispcp/apache
cp -R ./working /tmp/ispcp/usr/local/etc/ispcp/apache
cd ./awstats && make install ; cd ..
/bin/mkdir -p /tmp/ispcp/usr/local/etc/awstats
/bin/mkdir -p /tmp/ispcp/usr/local/etc/ispcp/awstats
cp ./awstats.ispcp_tpl.conf /tmp/ispcp/usr/local/etc/ispcp/awstats
cd ./bind && make install ; cd ..
/bin/mkdir -p /tmp/ispcp/usr/local/etc/ispcp/bind
cp ./named.conf /tmp/ispcp/usr/local/etc/ispcp/bind
cp -R ./backup /tmp/ispcp/usr/local/etc/ispcp/bind
cp -R ./parts /tmp/ispcp/usr/local/etc/ispcp/bind
cp -R ./working /tmp/ispcp/usr/local/etc/ispcp/bind
cd ./cron.d && make install ; cd ..
/bin/mkdir -p /tmp/ispcp/usr/local/etc/ispcp/cron.d
cp ./ispcp /tmp/ispcp/usr/local/etc/ispcp/cron.d
cp ./ispcp.phptemp /tmp/ispcp/usr/local/etc/ispcp/cron.d
cp -R ./backup /tmp/ispcp/usr/local/etc/ispcp/cron.d
cp -R ./parts /tmp/ispcp/usr/local/etc/ispcp/cron.d
cp -R ./working /tmp/ispcp/usr/local/etc/ispcp/cron.d
cd ./fcgi && make install ; cd ..
/bin/mkdir -p /tmp/ispcp/usr/local/etc/ispcp/fcgi
cp -R ./backup /tmp/ispcp/usr/local/etc/ispcp/fcgi
cp -R ./parts /tmp/ispcp/usr/local/etc/ispcp/fcgi
cp -R ./working /tmp/ispcp/usr/local/etc/ispcp/fcgi
cd ./init.d && make install ; cd ..
/bin/mkdir -p /tmp/ispcp/usr/local/etc/rc.d
cp ispcp_daemon /tmp/ispcp/usr/local/etc/rc.d
cp ispcp_network /tmp/ispcp/usr/local/etc/rc.d
chown root:wheel /tmp/ispcp/usr/local/etc/rc.d/ispcp_network /tmp/ispcp/usr/local/etc/rc.d/ispcp_daemon
chmod 0755 /tmp/ispcp/usr/local/etc/rc.d/ispcp_network /tmp/ispcp/usr/local/etc/rc.d/ispcp_daemon
cd ./postfix && make install ; cd ..
/bin/mkdir -p /tmp/ispcp/usr/local/etc/ispcp/postfix
/bin/mkdir -p /tmp/ispcp/usr/local/etc/postfix
/bin/mkdir -p /tmp/ispcp/usr/local/etc/postfix/ispcp
cp ./main.cf /tmp/ispcp/usr/local/etc/ispcp/postfix/main.cf
cp ./master.cf /tmp/ispcp/usr/local/etc/ispcp/postfix/master.cf
cp -R ./backup /tmp/ispcp/usr/local/etc/ispcp/postfix
cp -R ./parts /tmp/ispcp/usr/local/etc/ispcp/postfix
cp -R ./working /tmp/ispcp/usr/local/etc/ispcp/postfix
cp -R ./ispcp /tmp/ispcp/usr/local/etc/ispcp/postfix
cd ./courier && make install ; cd ..
/bin/mkdir -p /tmp/ispcp/usr/local/etc/ispcp/courier
/bin/mkdir -p /tmp/ispcp/usr/local/etc/courier-imap
cp ./userdb /tmp/ispcp/usr/local/etc/ispcp/courier
cp -R ./backup /tmp/ispcp/usr/local/etc/ispcp/courier
cp -R ./working /tmp/ispcp/usr/local/etc/ispcp/courier
cp ./sasldb2 /tmp/ispcp/usr/local/etc/courier-imap
cd ./proftpd && make install ; cd ..
/bin/mkdir -p /tmp/ispcp/usr/local/etc
/bin/mkdir -p /tmp/ispcp/usr/local/etc/ispcp/proftpd
cp -R ./backup /tmp/ispcp/usr/local/etc/ispcp/proftpd
cp -R ./parts /tmp/ispcp/usr/local/etc/ispcp/proftpd
cp -R ./working /tmp/ispcp/usr/local/etc/ispcp/proftpd
if [[ ! -d /tmp/ispcp/usr/local/etc/proftpd ]]; then  /bin/mkdir -p /tmp/ispcp/usr/local/etc/proftpd ;  fi
[[: not found
/bin/mkdir -p /tmp/ispcp/usr/local/etc/proftpd/ispcp;
cp ./root_domain.conf /tmp/ispcp/usr/local/etc/proftpd/ispcp;
cp ./proftpd.conf /tmp/ispcp/usr/local/etc/ispcp/proftpd
cd ./logrotate && make install ; cd ..
cp ./ispcp /tmp/ispcp/usr/local/etc/logrotate.conf
cd ./engine && make install
/bin/mkdir -p /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -d -o root -g wheel -m 0755 /tmp/ispcp/usr/local/www/ispcp/engine
/bin/mkdir -p /tmp/ispcp/usr/local/www/ispcp/engine/awstats
/usr/bin/install -d -o root -g wheel -m 0700 /tmp/ispcp/usr/local/www/ispcp/engine/awstats
/bin/mkdir -p /tmp/ispcp/usr/local/www/ispcp/engine/backup
/usr/bin/install -d -o root -g wheel -m 0700 /tmp/ispcp/usr/local/www/ispcp/engine/backup
/bin/mkdir -p /tmp/ispcp/usr/local/www/ispcp/engine/quota
/usr/bin/install -d -o root -g wheel -m 0700 /tmp/ispcp/usr/local/www/ispcp/engine/quota
/bin/mkdir -p /tmp/ispcp/usr/local/www/ispcp/engine/traffic
/usr/bin/install -d -o root -g wheel -m 0700 /tmp/ispcp/usr/local/www/ispcp/engine/traffic
/bin/mkdir -p /tmp/ispcp/usr/local/www/ispcp/engine/messenger
/usr/bin/install -d -o root -g wheel -m 0755 /tmp/ispcp/usr/local/www/ispcp/engine/messenger
/bin/mkdir -p /tmp/ispcp/usr/local/www/ispcp/engine/setup
/usr/bin/install -d -o root -g wheel -m 0700 /tmp/ispcp/usr/local/www/ispcp/engine/setup
/bin/mkdir -p /tmp/ispcp/usr/local/www/ispcp/engine/tools
/usr/bin/install -d -o root -g wheel -m 0700 /tmp/ispcp/usr/local/www/ispcp/engine/tools
cd ./traffic && make install
/bin/mkdir -p /tmp/ispcp/usr/local/sbin
/usr/bin/install -m 0700 -o root -g wheel ./maillogconvert/maillogconvert.pl /tmp/ispcp/usr/local/sbin
/usr/bin/install -m 0700 -o root -g wheel ./ispcp_common_code.pl /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./ispcp_common_methods.pl /tmp/ispcp/usr/local/www/ispcp/engine
# keys needed for ispCP engine;
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-db-keys.pl /tmp/ispcp/usr/local/www/ispcp/engine
# one more copy for auto replay system;
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-db-keys.pl /tmp/ispcp/usr/local/www/ispcp/engine/messenger
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-apache-logger /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-rqst-mngr /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-dmn-mngr /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-sub-mngr /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-als-mngr /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-htusers-mngr /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-htaccess-mngr /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-htgroups-mngr /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-mbox-mngr /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-serv-mngr /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./ispcp-db-passwd /tmp/ispcp/usr/local/www/ispcp/engine
/usr/bin/install -m 0700 -o root -g wheel ./awstats/awstats_buildstaticpages.pl /tmp/ispcp/usr/local/www/ispcp/engine/awstats
/usr/bin/install -m 0700 -o root -g wheel ./awstats/awstats_updateall.pl /tmp/ispcp/usr/local/www/ispcp/engine/awstats
/usr/bin/install -m 0700 -o root -g wheel ./backup/ispcp-bk-task /tmp/ispcp/usr/local/www/ispcp/engine/backup
/usr/bin/install -m 0700 -o root -g wheel ./backup/ispcp-backup-all /tmp/ispcp/usr/local/www/ispcp/engine/backup
/usr/bin/install -m 0700 -o root -g wheel ./backup/ispcp-backup-ispcp /tmp/ispcp/usr/local/www/ispcp/engine/backup
/usr/bin/install -m 0700 -o root -g wheel ./quota/ispcp-dsk-quota /tmp/ispcp/usr/local/www/ispcp/engine/quota
/usr/bin/install -m 0700 -o root -g wheel ./messenger/ispcp-arpl-msgr /tmp/ispcp/usr/local/www/ispcp/engine/messenger
/usr/bin/install -m 0700 -o root -g wheel ./setup/ispcp-permission-functions.sh /tmp/ispcp/usr/local/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g wheel ./setup/set-engine-permissions.sh /tmp/ispcp/usr/local/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g wheel ./setup/set-gui-permissions.sh /tmp/ispcp/usr/local/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g wheel ./setup/reset-setup /tmp/ispcp/usr/local/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g wheel ./setup/ispcp-setup /tmp/ispcp/usr/local/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g wheel ./setup/ispcp-setup-methods.pl /tmp/ispcp/usr/local/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g wheel ./setup/ispcp-update /tmp/ispcp/usr/local/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g wheel ./setup/ispcp-uninstall /tmp/ispcp/usr/local/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g wheel ./setup/updDB.php /tmp/ispcp/usr/local/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g wheel ./tools/ispcp-httpd-logs-mngr /tmp/ispcp/usr/local/www/ispcp/engine/tools/ispcp-httpd-logs-mngr
/usr/bin/install -m 0700 -o root -g wheel ./tools/ispcpphptemp.sh /tmp/ispcp/usr/local/www/ispcp/engine/tools/ispcpphptemp.sh
/usr/bin/install -m 0700 -o root -g wheel ./tools/ispcp-net-interfaces-mngr /tmp/ispcp/usr/local/www/ispcp/engine/tools/ispcp-net-interfaces-mngr
/usr/bin/install -m 0700 -o root -g wheel ./traffic/ispcp-srv-traff /tmp/ispcp/usr/local/www/ispcp/engine/traffic
/usr/bin/install -m 0700 -o root -g wheel ./traffic/ispcp-vrl-traff /tmp/ispcp/usr/local/www/ispcp/engine/traffic
/usr/bin/install -m 0700 -o root -g wheel ./traffic/ispcp-vrl-traff-correction /tmp/ispcp/usr/local/www/ispcp/engine/traffic
cd ./gui && make install
/bin/mkdir -p /tmp/ispcp/usr/local/www/ispcp/gui
cp ./index.php /tmp/ispcp/usr/local/www/ispcp/gui/index.php
cp ./lostpassword.php /tmp/ispcp/usr/local/www/ispcp/gui/lostpassword.php
cp ./imagecode.php /tmp/ispcp/usr/local/www/ispcp/gui/imagecode.php
cp ./robots.txt /tmp/ispcp/usr/local/www/ispcp/gui/robots.txt
cp ./favicon.ico /tmp/ispcp/usr/local/www/ispcp/gui/favicon.ico
cp -R ./admin /tmp/ispcp/usr/local/www/ispcp/gui
cp -R ./reseller /tmp/ispcp/usr/local/www/ispcp/gui
cp -R ./client /tmp/ispcp/usr/local/www/ispcp/gui
cp -R ./include /tmp/ispcp/usr/local/www/ispcp/gui
cp -R ./domain_default_page /tmp/ispcp/usr/local/www/ispcp/gui
cp -R ./domain_disable_page /tmp/ispcp/usr/local/www/ispcp/gui
cp -R ./errordocs /tmp/ispcp/usr/local/www/ispcp/gui
cp -R ./themes /tmp/ispcp/usr/local/www/ispcp/gui
^C
Please check --> http://www.isp-control.net/documentation/doku.php?id=start:installation:freebsd
Greez BeNe