error i am receiving on Debian 6 64-bit

LawlessBaron

Verified User
Joined
Nov 20, 2011
Messages
65
i am getting this

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

i have tried both but they dont seem to work

please help me
 
not paying to learn how to install
and that installguide be there done that doesnt help me :(



Code:
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.
 
I did not suggest paying for learning how to install it. I suggested installing directadmin on your server by myself.

Your PHP fails to get installed. So try:

Code:
cd /usr/local/directadmin/custombuild
./build update && ./build set_fastest
./build php y

and post here last 10-20 lines.
 
didnt let it finish to long or did it just keep looping?



Code:
ore '_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
Trying to make libxml2...
make  all-recursive
make[1]: Entering directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
Making all in include
make[2]: Entering directory `/usr/local/directadmin/custombuild/libxml2-2.7.6/include'
Making all in libxml
make[3]: Entering directory `/usr/local/directadmin/custombuild/libxml2-2.7.6/include/libxml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6/include/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'
 
The command starts compilation (installation) of PHP from sources and required for PHP libs, it will help us to understand why PHP fails to get installed properly.

Cannot find /usr/local/bin/php

I suppose
Code:
./build php y
will end with an error, so I want to see its text.
 
the
Code:
./build php y

will be in loop on error cause the "y" will also say "yes" on compile error when popup the question "wanna try again?"

I suggest you to use

Code:
./build php

instead so you can see the error.

Also the first message was talking about possibility on wrong OS, did you check if license match the OS installed?

Also, DA Staff can do installation for you once (if you never did before).

Try contact DA Support.

Regards
 
this is what i get



Code:
Done configuring
Done. Making libxml2-2.7.6...
Trying to make libxml2...
make  all-recursive
make[1]: Entering directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
Making all in include
make[2]: Entering directory `/usr/local/directadmin/custombuild/libxml2-2.7.6/include'
Making all in libxml
make[3]: Entering directory `/usr/local/directadmin/custombuild/libxml2-2.7.6/include/libxml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6/include/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
 
So it's libxml2 that fails. For now you should wait help from official stuff, or hire somebody. I've never seen anything like this before, and can not find time to Google for a solution. Of course I'll do that, if you decide to order my paid service.

By the way why did you choose Debian? I'm not sure that it is a good choice to start with Directadmin. If you have a brand new server in DC, my suggestion would be changing OS to CentOS 5 or 6.
 
Back
Top