1 |
On 2013-04-15 1:46 PM, Tanstaafl <tanstaafl@×××××××××××.org> wrote: |
2 |
> On 2013-04-15 11:42 AM, Michael Mol <mikemol@×××××.com> wrote: |
3 |
>> On 04/15/2013 11:37 AM, Tanstaafl wrote: |
4 |
>>> Hi all, |
5 |
>>> |
6 |
>>> Help!!!!! :( |
7 |
>> |
8 |
>> [snip] |
9 |
>> |
10 |
>>> |
11 |
>>> I've tried recompiling both (both compile/install ok), but when I try to |
12 |
>>> start SSHD I get: |
13 |
>>> |
14 |
>>> # /etc/init.d/sshd start |
15 |
>>> /etc/init.d/sshd: line 18: 2079 Illegal instruction "${SSHD_BINARY}" -t |
16 |
>>> ${SSHD_OPTS} |
17 |
>>> * ERROR: sshd failed to start |
18 |
>> |
19 |
>> ^^ That screams 'CFLAGS' issue. Verify that the CFLAGS for your prod |
20 |
>> server are the same (or close enough) to that of your dev server. |
21 |
>> |
22 |
>> Guessing the new host has different CPU capabilities exposed to the |
23 |
>> guest, either because of a differing hypervisor configuraiton, or |
24 |
>> because of the different underlying hardware. |
25 |
> |
26 |
> Ok, as I said, I got SSH working now and am making progress, updating |
27 |
> @system a little at a time... |
28 |
|
29 |
Ok, I think all I need to get our db back up is to remerge php, but it |
30 |
is failing. |
31 |
|
32 |
The last error appears to be the zlib check. |
33 |
|
34 |
I did already try |
35 |
|
36 |
emerge -1 sys-libs/zlib |
37 |
|
38 |
and retrying to emerge php, but got the same error: |
39 |
|
40 |
checking for ZLIB support... yes |
41 |
checking if the location of ZLIB install directory is defined... no |
42 |
checking for zlib version >= 1.2.0.4... |
43 |
configure: error: libz version greater or equal to 1.2.0.4 required |
44 |
|
45 |
!!! Please attach the following file when seeking support: |
46 |
!!! /var/tmp/portage/dev-lang/php-5.4.13/work/sapis-build/cli/config.log |
47 |
* ERROR: dev-lang/php-5.4.13 failed (configure phase): |
48 |
* econf failed |
49 |
* |
50 |
* Call stack: |
51 |
* ebuild.sh, line 93: Called src_configure |
52 |
* environment, line 4080: Called econf |
53 |
'--prefix=/usr/lib/php5.4' '--mandir=/usr/lib/php5.4/man' |
54 |
'--infodir=/usr/lib/php5.4/info' '--libdir=/usr/lib/php5.4/lib' |
55 |
'--with-libdir=lib' '--without-pear' '--disable-maintainer-zts' |
56 |
'--disable-bcmath' '--with-bz2=/usr' '--disable-calendar' |
57 |
'--enable-ctype' '--without-curl' '--without-curlwrappers' |
58 |
'--enable-dom' '--without-enchant' '--disable-exif' '--enable-fileinfo' |
59 |
'--enable-filter' '--disable-ftp' '--with-gettext=/usr' '--without-gmp' |
60 |
'--enable-hash' '--without-mhash' '--with-iconv' '--disable-intl' |
61 |
'--disable-ipv6' '--enable-json' '--without-kerberos' '--enable-libxml' |
62 |
'--with-libxml-dir=/usr' '--enable-mbstring' '--with-mcrypt=/usr' |
63 |
'--without-mssql' '--with-onig=/usr' '--with-openssl=/usr' |
64 |
'--with-openssl-dir=/usr' '--disable-pcntl' '--enable-phar' |
65 |
'--disable-pdo' '--with-pgsql=/usr' '--enable-posix' |
66 |
'--with-pspell=/usr' '--without-recode' '--enable-simplexml' |
67 |
'--disable-shmop' '--without-snmp' '--disable-soap' '--enable-sockets' |
68 |
'--without-sqlite3' '--without-sybase-ct' '--disable-sysvmsg' |
69 |
'--disable-sysvsem' '--disable-sysvshm' '--without-tidy' |
70 |
'--enable-tokenizer' '--disable-wddx' '--enable-xml' |
71 |
'--disable-xmlreader' '--disable-xmlwriter' '--with-xmlrpc' |
72 |
'--without-xsl' '--disable-zip' '--with-zlib=/usr' '--disable-debug' |
73 |
'--enable-dba' '--without-cdb' '--with-db4=/usr' '--disable-flatfile' |
74 |
'--with-gdbm=/usr' '--disable-inifile' '--without-qdbm' |
75 |
'--without-freetype-dir' '--without-t1lib' '--disable-gd-jis-conv' |
76 |
'--without-jpeg-dir' '--without-png-dir' '--without-xpm-dir' |
77 |
'--without-gd' '--with-imap=/usr' '--with-imap-ssl=/usr' |
78 |
'--without-mysqli' '--with-readline=/usr' '--without-libedit' |
79 |
'--without-mm' '--with-pic' '--with-pcre-regex=/usr' |
80 |
'--with-pcre-dir=/usr' '--with-config-file-path=/etc/php/cli-php5.4' |
81 |
'--with-config-file-scan-dir=/etc/php/cli-php5.4/ext-active' |
82 |
'--disable-embed' '--enable-cli' '--disable-cgi' '--disable-fpm' |
83 |
'--without-apxs2' |
84 |
* phase-helpers.sh, line 521: Called die |
85 |
* The specific snippet of code: |
86 |
* die "econf failed" |
87 |
* |
88 |
* If you need support, post the output of `emerge --info |
89 |
'=dev-lang/php-5.4.13'`, |
90 |
* the complete build log and the output of `emerge -pqv |
91 |
'=dev-lang/php-5.4.13'`. |
92 |
* The complete build log is located at |
93 |
'/var/tmp/portage/dev-lang/php-5.4.13/temp/build.log'. |
94 |
* The ebuild environment file is located at |
95 |
'/var/tmp/portage/dev-lang/php-5.4.13/temp/environment'. |
96 |
* Working directory: |
97 |
'/var/tmp/portage/dev-lang/php-5.4.13/work/sapis-build/cli' |
98 |
* S: '/var/tmp/portage/dev-lang/php-5.4.13/work/php-5.4.13' |
99 |
|
100 |
I hope this gives someone a hint... |