Debian 6.0 64-bit

LawlessBaron

Verified User
Joined
Nov 20, 2011
Messages
65
problems i get

apt-get: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)


Code:
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
root@server139378:/usr/local/directadmin/custombuild# ./build libxml2
File already exists: libxml2-2.7.8.tar.gz
MD5 Checksum on libxml2-2.7.8.tar.gz passed.
Found /usr/local/directadmin/custombuild/libxml2-2.7.8.tar.gz
Extracting ...
Done.
Configuring libxml2-2.7.8...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/usr/local/directadmin/custombuild/libxml2-2.7.8':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Done. Making libxml2-2.7.8...
Trying to make libxml2...
make: *** No targets specified and no makefile found. Stop.

*** The make has failed, would you like to try to make again? (y,n):
 
configure: error: cannot run C compiled programs.

You need to install all the software required to compile software.

aptitude update && aptitude -y install make gmake gcc build-essential
 
Then you will have to google why you cant compile c programs for an answer.
 
Back
Top