Invader Zim
Verified User
- Joined
- Sep 4, 2004
- Messages
- 175
I always start off with installing software that is needed later on, like
compat6x, wget, libtool, pcre, zip, bash, ImageMagick-nox11, openssh-portable and libxslt.
I also installed perl 5.16 and various cpan modules. Then download the directadmin install script, choose the options and off we go.
It might be worthy to note that this particular FreeBSD 9.2 system has been configured to use the new pkg (or pkg-ng) as I get some error messages during initial startup of the installer script:
Also for some reason it wants to download packages for FreeBSD 9.0 like perl 5.8. Seeing as that was released on "15-Dec-2008", that doesn't look like a good option to me. But perl is already installed:
When it comes to php, I get the following:
Since this is a fresh install the configure/ap2/configure.php5 file is standard:
and because php failed to build I get the message "Cannot find /usr/local/bin/php".
I could really use some help here.
compat6x, wget, libtool, pcre, zip, bash, ImageMagick-nox11, openssh-portable and libxslt.
I also installed perl 5.16 and various cpan modules. Then download the directadmin install script, choose the options and off we go.
It might be worthy to note that this particular FreeBSD 9.2 system has been configured to use the new pkg (or pkg-ng) as I get some error messages during initial startup of the installer script:
Code:
DirectAdmin will now be installed on: FreeBSD 9.2
beginning pre-checks, please wait...
pkg_info: the package info for package 'ImageMagick-nox11-6.8.9.3_2,1' is corrupt
pkg_info: the package info for package 'aspell-0.60.6.1_4' is corrupt
pkg_info: the package info for package 'autoconf-2.69' is corrupt
pkg_info: the package info for package 'bash-4.3.18_2' is corrupt
pkg_info: the package info for package 'bison-2.7.1,1' is corrupt
pkg_info: the package info for package 'cmake-2.8.12.1_4' is corrupt
pkg_info: the package info for package 'cmake-modules-2.8.12.1_1' is corrupt
pkg_info: the package info for package 'compat6x-amd64-6.4.604000.200810_3' is corrupt
pkg_info: the package info for package 'cups-client-1.7.2' is corrupt
pkg_info: the package info for package 'cups-image-1.7.2' is corrupt
pkg_info: the package info for package 'expat-2.1.0_1' is corrupt
pkg_info: the package info for package 'fftw3-3.3.3_1' is corrupt
pkg_info: the package info for package 'fontconfig-2.11.0_3,1' is corrupt
pkg_info: the package info for package 'freetype2-2.5.3_2' is corrupt
pkg_info: the package info for package 'gettext-0.18.3.1_1' is corrupt
pkg_info: the package info for package 'ghostscript9-nox11-9.06_7' is corrupt
pkg_info: the package info for package 'giflib-nox11-4.2.3_2' is corrupt
pkg_info: the package info for package 'glib-2.36.3_3' is corrupt
pkg_info: the package info for package 'gmake-3.82_1' is corrupt
pkg_info: the package info for package 'gsfonts-8.11_6' is corrupt
pkg_info: the package info for package 'help2man-1.43.3_1' is corrupt
pkg_info: the package info for package 'icu-53.1' is corrupt
pkg_info: the package info for package 'jbig2dec-0.11_1' is corrupt
pkg_info: the package info for package 'jbigkit-2.1_1' is corrupt
pkg_info: the package info for package 'joe-3.7_2,1' is corrupt
pkg_info: the package info for package 'jpeg-8_5' is corrupt
pkg_info: the package info for package 'lcms2-2.6_3' is corrupt
pkg_info: the package info for package 'ldns-1.6.17_1' is corrupt
pkg_info: the package info for package 'libffi-3.0.13_1' is corrupt
pkg_info: the package info for package 'libfpx-1.3.1.4' is corrupt
pkg_info: the package info for package 'libgcrypt-1.5.3_2' is corrupt
pkg_info: the package info for package 'libgpg-error-1.13_1' is corrupt
pkg_info: the package info for package 'libiconv-1.14_3' is corrupt
pkg_info: the package info for package 'libidn-1.28_1' is corrupt
pkg_info: the package info for package 'liblqr-1-0.4.1_7' is corrupt
pkg_info: the package info for package 'libltdl-2.4.2_3' is corrupt
pkg_info: the package info for package 'libpaper-1.1.24_2' is corrupt
pkg_info: the package info for package 'libslang2-2.2.4_6' is corrupt
pkg_info: the package info for package 'libssh2-1.4.3_2,2' is corrupt
pkg_info: the package info for package 'libtool-2.4.2_3' is corrupt
pkg_info: the package info for package 'libwmf-nox11-0.2.8.4_11' is corrupt
pkg_info: the package info for package 'libxml2-2.9.1_1' is corrupt
pkg_info: the package info for package 'libxslt-1.1.28_3' is corrupt
pkg_info: the package info for package 'm4-1.4.17_1,1' is corrupt
pkg_info: the package info for package 'mc-4.8.12_2' is corrupt
pkg_info: the package info for package 'openjpeg-2.1.0' is corrupt
pkg_info: the package info for package 'openssh-portable-6.6.p1_2,1' is corrupt
pkg_info: the package info for package 'openssl-1.0.1_13' is corrupt
pkg_info: the package info for package 'p5-Locale-gettext-1.05_3' is corrupt
pkg_info: the package info for package 'pcre-8.34_1' is corrupt
pkg_info: the package info for package 'perl5-5.16.3_11' is corrupt
pkg_info: the package info for package 'pkgconf-0.9.6' is corrupt
pkg_info: the package info for package 'png-1.5.18' is corrupt
pkg_info: the package info for package 'python27-2.7.6_4' is corrupt
pkg_info: the package info for package 'screen-4.2.1_3' is corrupt
pkg_info: the package info for package 'svgalib-1.4.3_7' is corrupt
pkg_info: the package info for package 'tiff-4.0.3_4' is corrupt
pkg_info: the package info for package 'webp-0.4.0' is corrupt
pkg_info: the package info for package 'wget-1.15' is corrupt
pkg_info: the package info for package 'zip-3.0' is corrupt
adding perl5.8 ...
Error: Unable to get http://files.directadmin.com/services/packages-9.0-release/Latest/perl5.8.tbz: Not Found
pkg_add: unable to fetch 'http://files.directadmin.com/services/packages-9.0-release/Latest/perl5.8.tbz' by URL
Also for some reason it wants to download packages for FreeBSD 9.0 like perl 5.8. Seeing as that was released on "15-Dec-2008", that doesn't look like a good option to me. But perl is already installed:
Code:
root@blank:~ # perl -v
This is perl 5, version 16, subversion 3 (v5.16.3) built for amd64-freebsd-thread-multi
When it comes to php, I get the following:
Code:
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of apxs follows:
./configure: apxs: not found
configure: error: Aborting
*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
*******************************************
*******************************************
Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d
This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:
http://help.directadmin.com/item.php?id=213
*******************************************
*******************************************
Since this is a fresh install the configure/ap2/configure.php5 file is standard:
Code:
#!/bin/sh
./configure \
--with-apxs2 \
--with-curl=/usr/local/lib \
--with-gd \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-pdo-mysql=/usr/local/mysql \
--with-pcre-regex=/usr/local \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xsl \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--enable-exif \
--enable-ftp \
--enable-gd-native-ttf \
--enable-magic-quotes \
--enable-safe-mode \
--enable-soap \
--enable-sockets \
--enable-mbstring \
--enable-zip \
--enable-wddx
and because php failed to build I get the message "Cannot find /usr/local/bin/php".
I could really use some help here.