On 2013-04-15 1:46 PM, Tanstaafl <tansta...@libertytrek.org> wrote:
On 2013-04-15 11:42 AM, Michael Mol <mike...@gmail.com> wrote:
On 04/15/2013 11:37 AM, Tanstaafl wrote:
Hi all,
Help!!!!! :(
[snip]
I've tried recompiling both (both compile/install ok), but when I try to
start SSHD I get:
# /etc/init.d/sshd start
/etc/init.d/sshd: line 18: 2079 Illegal instruction "${SSHD_BINARY}" -t
${SSHD_OPTS}
* ERROR: sshd failed to start
^^ That screams 'CFLAGS' issue. Verify that the CFLAGS for your prod
server are the same (or close enough) to that of your dev server.
Guessing the new host has different CPU capabilities exposed to the
guest, either because of a differing hypervisor configuraiton, or
because of the different underlying hardware.
Ok, as I said, I got SSH working now and am making progress, updating
@system a little at a time...
Ok, I think all I need to get our db back up is to remerge php, but it
is failing.
The last error appears to be the zlib check.
I did already try
emerge -1 sys-libs/zlib
and retrying to emerge php, but got the same error:
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for zlib version >= 1.2.0.4...
configure: error: libz version greater or equal to 1.2.0.4 required
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-lang/php-5.4.13/work/sapis-build/cli/config.log
* ERROR: dev-lang/php-5.4.13 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 4080: Called econf
'--prefix=/usr/lib/php5.4' '--mandir=/usr/lib/php5.4/man'
'--infodir=/usr/lib/php5.4/info' '--libdir=/usr/lib/php5.4/lib'
'--with-libdir=lib' '--without-pear' '--disable-maintainer-zts'
'--disable-bcmath' '--with-bz2=/usr' '--disable-calendar'
'--enable-ctype' '--without-curl' '--without-curlwrappers'
'--enable-dom' '--without-enchant' '--disable-exif' '--enable-fileinfo'
'--enable-filter' '--disable-ftp' '--with-gettext=/usr' '--without-gmp'
'--enable-hash' '--without-mhash' '--with-iconv' '--disable-intl'
'--disable-ipv6' '--enable-json' '--without-kerberos' '--enable-libxml'
'--with-libxml-dir=/usr' '--enable-mbstring' '--with-mcrypt=/usr'
'--without-mssql' '--with-onig=/usr' '--with-openssl=/usr'
'--with-openssl-dir=/usr' '--disable-pcntl' '--enable-phar'
'--disable-pdo' '--with-pgsql=/usr' '--enable-posix'
'--with-pspell=/usr' '--without-recode' '--enable-simplexml'
'--disable-shmop' '--without-snmp' '--disable-soap' '--enable-sockets'
'--without-sqlite3' '--without-sybase-ct' '--disable-sysvmsg'
'--disable-sysvsem' '--disable-sysvshm' '--without-tidy'
'--enable-tokenizer' '--disable-wddx' '--enable-xml'
'--disable-xmlreader' '--disable-xmlwriter' '--with-xmlrpc'
'--without-xsl' '--disable-zip' '--with-zlib=/usr' '--disable-debug'
'--enable-dba' '--without-cdb' '--with-db4=/usr' '--disable-flatfile'
'--with-gdbm=/usr' '--disable-inifile' '--without-qdbm'
'--without-freetype-dir' '--without-t1lib' '--disable-gd-jis-conv'
'--without-jpeg-dir' '--without-png-dir' '--without-xpm-dir'
'--without-gd' '--with-imap=/usr' '--with-imap-ssl=/usr'
'--without-mysqli' '--with-readline=/usr' '--without-libedit'
'--without-mm' '--with-pic' '--with-pcre-regex=/usr'
'--with-pcre-dir=/usr' '--with-config-file-path=/etc/php/cli-php5.4'
'--with-config-file-scan-dir=/etc/php/cli-php5.4/ext-active'
'--disable-embed' '--enable-cli' '--disable-cgi' '--disable-fpm'
'--without-apxs2'
* phase-helpers.sh, line 521: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info
'=dev-lang/php-5.4.13'`,
* the complete build log and the output of `emerge -pqv
'=dev-lang/php-5.4.13'`.
* The complete build log is located at
'/var/tmp/portage/dev-lang/php-5.4.13/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-lang/php-5.4.13/temp/environment'.
* Working directory:
'/var/tmp/portage/dev-lang/php-5.4.13/work/sapis-build/cli'
* S: '/var/tmp/portage/dev-lang/php-5.4.13/work/php-5.4.13'
I hope this gives someone a hint...