error i am receiving on Debian 6 64-bit

That's a good reason. Note, CentOS is more suitable for using with Directadmin. Not going to make a holly-war, just keep it in mind, and try changing OS, if nothing else would help to solve the issue.
 
try:

Code:
apt-get install libxml2

And then retry build php so.

Regards

same thing man


root@server139378:/usr/local/directadmin/custombuild# apt-get install libxml2
apt-get: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxml2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Honestly i dont know how help you on that, the second line error is curios, ive searched that on google and bring me to another thread on this forum here:

http://www.directadmin.com/forum/showthread.php?39350-Debian-6?s=

I would suggest you to go back to debian 5 (that ive tested and used and was working good) or, as zeiter sayd, pass to centos (DA is compiled on red hat so on centos would work perfectly always) that work like a charm (i moved from debian to centos aswell and im happy about that).

If you wanna stay on debian, be sure you selected the correct OS version on DA license and try ask/read on that thread aswell.

Regards
 
It should but im not sure, one of da setup requirement is that the OS is "fresh installed".

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

Regards
 
i also tried this


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.

did you installed the pre-requisite???

try run this:

Code:
apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev

then try build libxml2 and then try build php
 
configure: error: cannot run C compiled programs.

did you installed the pre-requisite???

try run this:

Code:
apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev

then try build libxml2 and then try build php
yes sir and i get this


root@server139378:/# apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev
apt-get: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)
Reading package lists... Done
Building dependency tree
Reading state information... Done
bison is already the newest version.
flex is already the newest version.
g++ is already the newest version.
gcc is already the newest version.
libaio-dev is already the newest version.
libaio1 is already the newest version.
make is already the newest version.
libperl-dev is already the newest version.
perl-base is already the newest version.
perl-modules is already the newest version.
perl is already the newest version.
libssl-dev is already the newest version.
openssl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

whats the point if this keeps happening
 
Code:
# script
# apt-get install strace
# cd /usr/local/directadmin/custombuild
# strace ./build libxml2
press CTRL+D

Add here results with tags [ CODE ][ /CODE ] (without spaces between brackets) or as attachment
 
this is what i get


Code:
libxml'
make[3]: Entering directory `/usr/local/directadmin/custombuild/libxml2-2.7.6/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6/include'
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6/include'
Making all in .
make[2]: Entering directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./include -I./include  -D_REENTRANT      -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT SAX.lo -MD -MP -MF .deps/SAX.Tpo -c -o SAX.lo SAX.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./include -D_REENTRANT -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT SAX.lo -MD -MP -MF .deps/SAX.Tpo -c SAX.c  -fPIC -DPIC -o .libs/SAX.o
In file included from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:75,
                 from libxml.h:44,
                 from SAX.c:12:
/usr/include/_G_config.h:24: error: expected specifier-qualifier-list before '__off_t'
/usr/include/_G_config.h:29: error: expected specifier-qualifier-list before '__off64_t'
In file included from /usr/include/stdio.h:75,
                 from libxml.h:44,
                 from SAX.c:12:
/usr/include/libio.h:300: error: expected specifier-qualifier-list before '__off_t'
/usr/include/libio.h:364: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__io_read_fn'
/usr/include/libio.h:372: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__io_write_fn'
/usr/include/libio.h:381: error: expected declaration specifiers or '...' before '__off64_t'
/usr/include/libio.h:494: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_padn'
/usr/include/libio.h:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_seekoff'
/usr/include/libio.h:498: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_seekpos'
In file included from libxml.h:44,
                 from SAX.c:12:
/usr/include/stdio.h:638: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__getdelim'
/usr/include/stdio.h:641: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getdelim'
/usr/include/stdio.h:651: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getline'
/usr/include/stdio.h:754: error: expected declaration specifiers or '...' before '__off64_t'
/usr/include/stdio.h:757: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ftello'
In file included from /usr/include/stdlib.h:320,
                 from ./include/libxml/SAX.h:16,
                 from ./include/libxml/globals.h:20,
                 from ./include/libxml/threads.h:35,
                 from ./include/libxml/xmlmemory.h:218,
                 from ./include/libxml/tree.h:1248,
                 from ./include/libxml/c14n.h:27,
                 from elfgcchack.h:17,
                 from libxml.h:87,
                 from SAX.c:12:
/usr/include/sys/types.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_char'
/usr/include/sys/types.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_short'
/usr/include/sys/types.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int'
/usr/include/sys/types.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_long'
/usr/include/sys/types.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'quad_t'
/usr/include/sys/types.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_quad_t'
/usr/include/sys/types.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fsid_t'
/usr/include/sys/types.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'loff_t'
/usr/include/sys/types.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ino_t'
/usr/include/sys/types.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t'
/usr/include/sys/types.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gid_t'
/usr/include/sys/types.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mode_t'
/usr/include/sys/types.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nlink_t'
/usr/include/sys/types.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid_t'
/usr/include/sys/types.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'off_t'
/usr/include/sys/types.h:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_t'
/usr/include/sys/types.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'id_t'
/usr/include/sys/types.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t'
/usr/include/sys/types.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'daddr_t'
/usr/include/sys/types.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'caddr_t'
/usr/include/sys/types.h:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'key_t'
In file included from /usr/include/sys/types.h:133,
                 from /usr/include/stdlib.h:320,
                 from ./include/libxml/SAX.h:16,
                 from ./include/libxml/globals.h:20,
                 from ./include/libxml/threads.h:35,
                 from ./include/libxml/xmlmemory.h:218,
                 from ./include/libxml/tree.h:1248,
                 from ./include/libxml/c14n.h:27,
                 from elfgcchack.h:17,
                 from libxml.h:87,
                 from SAX.c:12:
/usr/include/time.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'time_t'
In file included from /usr/include/sys/types.h:133,
                 from /usr/include/stdlib.h:320,
                 from ./include/libxml/SAX.h:16,
                 from ./include/libxml/globals.h:20,
                 from ./include/libxml/threads.h:35,
                 from ./include/libxml/xmlmemory.h:218,
                 from ./include/libxml/tree.h:1248,
                 from ./include/libxml/c14n.h:27,
                 from elfgcchack.h:17,
                 from libxml.h:87,
                 from SAX.c:12:
/usr/include/time.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clockid_t'
In file included from /usr/include/sys/types.h:133,
                 from /usr/include/stdlib.h:320,
                 from ./include/libxml/SAX.h:16,
                 from ./include/libxml/globals.h:20,
                 from ./include/libxml/threads.h:35,
                 from ./include/libxml/xmlmemory.h:218,
                 from ./include/libxml/tree.h:1248,
                 from ./include/libxml/c14n.h:27,
                 from elfgcchack.h:17,
                 from libxml.h:87,
                 from SAX.c:12:
/usr/include/time.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timer_t'
In file included from /usr/include/sys/select.h:44,
                 from /usr/include/sys/types.h:220,
                 from /usr/include/stdlib.h:320,
                 from ./include/libxml/SAX.h:16,
                 from ./include/libxml/globals.h:20,
                 from ./include/libxml/threads.h:35,
                 from ./include/libxml/xmlmemory.h:218,
                 from ./include/libxml/tree.h:1248,
                 from ./include/libxml/c14n.h:27,
                 from elfgcchack.h:17,
                 from libxml.h:87,
                 from SAX.c:12:
/usr/include/time.h:122: error: expected specifier-qualifier-list before '__time_t'
In file included from /usr/include/sys/select.h:46,
                 from /usr/include/sys/types.h:220,
                 from /usr/include/stdlib.h:320,
                 from ./include/libxml/SAX.h:16,
                 from ./include/libxml/globals.h:20,
                 from ./include/libxml/threads.h:35,
                 from ./include/libxml/xmlmemory.h:218,
                 from ./include/libxml/tree.h:1248,
                 from ./include/libxml/c14n.h:27,
                 from elfgcchack.h:17,
                 from libxml.h:87,
                 from SAX.c:12:
/usr/include/bits/time.h:71: error: expected specifier-qualifier-list before '__time_t'
In file included from /usr/include/sys/types.h:220,
                 from /usr/include/stdlib.h:320,
                 from ./include/libxml/SAX.h:16,
                 from ./include/libxml/globals.h:20,
                 from ./include/libxml/threads.h:35,
                 from ./include/libxml/xmlmemory.h:218,
                 from ./include/libxml/tree.h:1248,
                 from ./include/libxml/c14n.h:27,
                 from elfgcchack.h:17,
                 from libxml.h:87,
                 from SAX.c:12:
/usr/include/sys/select.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suseconds_t'
/usr/include/sys/select.h:75: error: '__FD_SETSIZE' undeclared here (not in a function)
In file included from /usr/include/sys/types.h:220,
                 from /usr/include/stdlib.h:320,
                 from ./include/libxml/SAX.h:16,
                 from ./include/libxml/globals.h:20,
                 from ./include/libxml/threads.h:35,
                 from ./include/libxml/xmlmemory.h:218,
                 from ./include/libxml/tree.h:1248,
                 from ./include/libxml/c14n.h:27,
                 from elfgcchack.h:17,
                 from libxml.h:87,
                 from SAX.c:12:
/usr/include/sys/select.h:114:1: error: unterminated #ifdef
/usr/include/sys/select.h:22:1: error: unterminated #ifndef
In file included from /usr/include/sys/types.h:223,
                 from /usr/include/stdlib.h:320,
                 from ./include/libxml/SAX.h:16,
                 from ./include/libxml/globals.h:20,
                 from ./include/libxml/threads.h:35,
                 from ./include/libxml/xmlmemory.h:218,
                 from ./include/libxml/tree.h:1248,
                 from ./include/libxml/c14n.h:27,
                 from elfgcchack.h:17,
                 from libxml.h:87,
                 from SAX.c:12:
/usr/include/sys/sysmacros.h:30: error: expected ';', ',' or ')' before '__extension__'
make[2]: *** [SAX.lo] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make: *** [all] Error 2
[{WIFEXITED(s) && WEXITSTATUS(s) == 2}], 0, NULL) = 8821
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0x7fffd0d768dc, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn(0xffffffffffffffff)        = 0
rt_sigaction(SIGINT, {0x4560c0, [], SA_RESTORER, 0x7f5f49b381e0}, {0x441ea0, [], SA_RESTORER, 0x7f5f49b381e0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f5f4a4c19d0) = 8850
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x441ea0, [], SA_RESTORER, 0x7f5f49b381e0}, {0x4560c0, [], SA_RESTORER, 0x7f5f49b381e0}, 8) = 0
wait4(-1,
*** The make has failed, would you like to try to make again? (y,n):
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 8850
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0x7fffd0d7659c, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn(0xffffffffffffffff)        = 0
rt_sigaction(SIGINT, {0x4560c0, [], SA_RESTORER, 0x7f5f49b381e0}, {0x441ea0, [], SA_RESTORER, 0x7f5f49b381e0}, 8) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
read(0,
 
Code:
/dev/sda1 on / type ext4 (rw,minixdf,usrquota)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda2 on /home type ext4 (rw,usrquota,grpquota)
overflow on /tmp type tmpfs (rw,size=1048576,mode=1777)
fusectl on /sys/fs/fuse/connections type fusectl (rw)

Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              10G  9.8G     0 100% /
tmpfs                  12G     0   12G   0% /lib/init/rw
udev                   10M  236K  9.8M   3% /dev
tmpfs                  12G     0   12G   0% /dev/shm
/dev/sda2             1.8T  371M  1.8T   1% /home
overflow              1.0M  208K  816K  21% /tmp

SHELL=/bin/bash
TERM=xterm
XDG_SESSION_COOKIE=5051ac5dab4210498178152100033cad-1321880787.778406-1606764071
SSH_CLIENT=IP HIDDEN 6509
OLDPWD=/root
SSH_TTY=/dev/pts/4
USER=root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
MAIL=/var/mail/root
PWD=/usr/local/directadmin/custombuild
LANG=en_GB
HOME=/root
SHLVL=2
LANGUAGE=en_GB:en
LOGNAME=root
 
Back
Top