Discussion about CustomBuild

Exim error

When installing Exim I get the following errors. Does anyone know how to fix?

Code:
make[2]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-athlon/auths'
gcc auth-spa.c
gcc b64decode.c
gcc b64encode.c
gcc call_pam.c
gcc call_pwcheck.c
gcc call_radius.c
gcc check_serv_cond.c
gcc cram_md5.c
gcc cyrus_sasl.c
cyrus_sasl.c:34:23: sasl/sasl.h: No such file or directory
cyrus_sasl.c: In function `mysasl_config':
cyrus_sasl.c:88: error: `SASL_OK' undeclared (first use in this function)
cyrus_sasl.c:88: error: (Each undeclared identifier is reported only once
cyrus_sasl.c:88: error: for each function it appears in.)
cyrus_sasl.c:90: error: `SASL_FAIL' undeclared (first use in this function)
cyrus_sasl.c: In function `auth_cyrus_sasl_init':
cyrus_sasl.c:105: error: `sasl_conn_t' undeclared (first use in this function)
cyrus_sasl.c:105: error: `conn' undeclared (first use in this function)
cyrus_sasl.c:106: error: `sasl_callback_t' undeclared (first use in this function)
cyrus_sasl.c:106: error: syntax error before "cbs"
cyrus_sasl.c: At top level:
cyrus_sasl.c:118: error: syntax error before '.' token
cyrus_sasl.c:119: error: syntax error before '.' token
cyrus_sasl.c:121: error: `cbs' undeclared here (not in a function)
cyrus_sasl.c:121: error: initializer element is not constant
cyrus_sasl.c:121: warning: data definition has no type or storage class
cyrus_sasl.c:123: error: syntax error before "if"
cyrus_sasl.c:127: error: redefinition of 'rc'
cyrus_sasl.c:121: error: previous definition of 'rc' was here
cyrus_sasl.c:127: error: `ob' undeclared here (not in a function)
cyrus_sasl.c:128: error: `conn' undeclared here (not in a function)
cyrus_sasl.c:128: error: initializer element is not constant
cyrus_sasl.c:128: warning: data definition has no type or storage class
cyrus_sasl.c:129: error: syntax error before "if"
cyrus_sasl.c:133: error: redefinition of 'rc'
cyrus_sasl.c:127: error: previous definition of 'rc' was here
cyrus_sasl.c:133: error: redefinition of 'rc'
cyrus_sasl.c:127: error: previous definition of 'rc' was here
cyrus_sasl.c:133: error: `list' undeclared here (not in a function)
cyrus_sasl.c:133: error: `len' undeclared here (not in a function)
cyrus_sasl.c:133: error: `i' undeclared here (not in a function)
cyrus_sasl.c:133: error: initializer element is not constant
cyrus_sasl.c:133: warning: data definition has no type or storage class
cyrus_sasl.c:134: error: syntax error before "if"
cyrus_sasl.c:138: warning: data definition has no type or storage class
cyrus_sasl.c:139: warning: data definition has no type or storage class
cyrus_sasl.c:141: error: syntax error before "if"
cyrus_sasl.c:147: warning: initialization makes integer from pointer without a cast
cyrus_sasl.c:147: error: initializer element is not constant
cyrus_sasl.c:147: warning: data definition has no type or storage class
cyrus_sasl.c:152: error: syntax error before "while"
cyrus_sasl.c:159: error: syntax error before string constant
cyrus_sasl.c:159: error: conflicting types for 'store_reset_3'
../store.h:51: error: previous declaration of 'store_reset_3' was here
cyrus_sasl.c:159: error: conflicting types for 'store_reset_3'
../store.h:51: error: previous declaration of 'store_reset_3' was here
cyrus_sasl.c:159: warning: data definition has no type or storage class
cyrus_sasl.c:166: error: syntax error before '&' token
cyrus_sasl.c:166: warning: data definition has no type or storage class
cyrus_sasl.c:167: warning: data definition has no type or storage class
cyrus_sasl.c:168: error: syntax error before '}' token
cyrus_sasl.c: In function `auth_cyrus_sasl_server':
cyrus_sasl.c:187: error: `sasl_callback_t' undeclared (first use in this function)
cyrus_sasl.c:187: error: syntax error before "cbs"
cyrus_sasl.c: At top level:
cyrus_sasl.c:188: error: syntax error before '*' token
cyrus_sasl.c:188: warning: data definition has no type or storage class
cyrus_sasl.c:192: error: `data' undeclared here (not in a function)
cyrus_sasl.c:192: warning: data definition has no type or storage class
cyrus_sasl.c:193: error: conflicting types for 'inlen'
cyrus_sasl.c:190: error: previous declaration of 'inlen' was here
cyrus_sasl.c:193: error: initializer element is not constant
cyrus_sasl.c:193: warning: data definition has no type or storage class
cyrus_sasl.c:195: error: syntax error before "if"
cyrus_sasl.c:197: warning: initialization makes integer from pointer without a cast
cyrus_sasl.c:197: error: initializer element is not constant
cyrus_sasl.c:197: warning: data definition has no type or storage class
cyrus_sasl.c:198: error: syntax error before "if"
cyrus_sasl.c:211: error: redefinition of 'input'
cyrus_sasl.c:192: error: previous definition of 'input' was here
cyrus_sasl.c:211: error: `clear' undeclared here (not in a function)
cyrus_sasl.c:211: warning: data definition has no type or storage class
cyrus_sasl.c:212: error: redefinition of 'inlen'
cyrus_sasl.c:193: error: previous definition of 'inlen' was here
cyrus_sasl.c:212: error: redefinition of 'inlen'
cyrus_sasl.c:193: error: previous definition of 'inlen' was here
cyrus_sasl.c:212: error: initializer element is not constant
cyrus_sasl.c:212: warning: data definition has no type or storage class
cyrus_sasl.c:213: error: syntax error before '}' token
cyrus_sasl.c:215: error: redefinition of 'rc'
cyrus_sasl.c:133: error: previous definition of 'rc' was here
cyrus_sasl.c:215: error: redefinition of 'rc'
cyrus_sasl.c:127: error: previous definition of 'rc' was here
cyrus_sasl.c:215: error: initializer element is not constant
cyrus_sasl.c:215: warning: data definition has no type or storage class
cyrus_sasl.c:216: error: syntax error before "if"
cyrus_sasl.c:222: error: redefinition of 'rc'
cyrus_sasl.c:215: error: previous definition of 'rc' was here
cyrus_sasl.c:222: error: redefinition of 'rc'
cyrus_sasl.c:127: error: previous definition of 'rc' was here
cyrus_sasl.c:223: error: initializer element is not constant
cyrus_sasl.c:223: warning: data definition has no type or storage class
cyrus_sasl.c:225: error: syntax error before "if"
cyrus_sasl.c:228: warning: data definition has no type or storage class
cyrus_sasl.c:229: error: syntax error before "return"
cyrus_sasl.c:232: error: redefinition of 'rc'
cyrus_sasl.c:222: error: previous definition of 'rc' was here
cyrus_sasl.c:232: error: redefinition of 'rc'
cyrus_sasl.c:127: error: previous definition of 'rc' was here
cyrus_sasl.c:232: error: `SASL_CONTINUE' undeclared here (not in a function)
cyrus_sasl.c:232: warning: data definition has no type or storage class
cyrus_sasl.c:234: error: syntax error before "while"
cyrus_sasl.c:240: error: redefinition of 'rc'
cyrus_sasl.c:232: error: previous definition of 'rc' was here
cyrus_sasl.c:240: error: redefinition of 'rc'
cyrus_sasl.c:127: error: previous definition of 'rc' was here
cyrus_sasl.c:241: error: `output' undeclared here (not in a function)
cyrus_sasl.c:241: error: initializer element is not constant
cyrus_sasl.c:241: warning: data definition has no type or storage class
cyrus_sasl.c:242: error: syntax error before '}' token
cyrus_sasl.c:247: warning: parameter names (without types) in function declaration
cyrus_sasl.c:247: error: conflicting types for 'memcpy'
cyrus_sasl.c:247: error: conflicting types for 'memcpy'
cyrus_sasl.c:247: warning: data definition has no type or storage class
cyrus_sasl.c:248: error: variable-size type declared outside of any function
cyrus_sasl.c:248: error: variable-sized object may not be initialized
cyrus_sasl.c:248: warning: data definition has no type or storage class
cyrus_sasl.c:249: error: syntax error before "if"
cyrus_sasl.c:254: warning: data definition has no type or storage class
cyrus_sasl.c:255: error: syntax error before "return"
cyrus_sasl.c:257: error: redefinition of 'inlen'
cyrus_sasl.c:212: error: previous definition of 'inlen' was here
cyrus_sasl.c:257: error: redefinition of 'inlen'
cyrus_sasl.c:193: error: previous definition of 'inlen' was here
cyrus_sasl.c:257: error: initializer element is not constant
cyrus_sasl.c:257: warning: data definition has no type or storage class
cyrus_sasl.c:259: error: syntax error before "if"
cyrus_sasl.c:266: warning: data definition has no type or storage class
cyrus_sasl.c:267: error: syntax error before "return"
cyrus_sasl.c:269: error: redefinition of 'input'
cyrus_sasl.c:211: error: previous definition of 'input' was here
cyrus_sasl.c:269: error: redefinition of 'input'
cyrus_sasl.c:211: error: previous definition of 'input' was here
cyrus_sasl.c:269: warning: data definition has no type or storage class
cyrus_sasl.c:270: error: redefinition of 'inlen'
cyrus_sasl.c:257: error: previous definition of 'inlen' was here
cyrus_sasl.c:270: error: redefinition of 'inlen'
cyrus_sasl.c:193: error: previous definition of 'inlen' was here
cyrus_sasl.c:270: error: initializer element is not constant
cyrus_sasl.c:270: warning: data definition has no type or storage class
cyrus_sasl.c:271: error: syntax error before '}' token
cyrus_sasl.c:274: error: redefinition of 'rc'
cyrus_sasl.c:240: error: previous definition of 'rc' was here
cyrus_sasl.c:274: error: redefinition of 'rc'
cyrus_sasl.c:127: error: previous definition of 'rc' was here
cyrus_sasl.c:274: error: initializer element is not constant
cyrus_sasl.c:274: warning: data definition has no type or storage class
cyrus_sasl.c:275: error: syntax error before '}' token
cyrus_sasl.c:279: warning: data definition has no type or storage class
cyrus_sasl.c:280: error: syntax error before "return"
cyrus_sasl.c:291: error: syntax error before numeric constant
cyrus_sasl.c:294: error: syntax error before '&' token
cyrus_sasl.c:294: warning: data definition has no type or storage class
cyrus_sasl.c:295: warning: data definition has no type or storage class
cyrus_sasl.c:296: error: syntax error before "return"
cyrus_sasl.c:306: error: conflicting types for 'auth_defer_msg'
../globals.h:166: error: previous declaration of 'auth_defer_msg' was here
cyrus_sasl.c:306: error: conflicting types for 'auth_defer_msg'
../globals.h:166: error: previous declaration of 'auth_defer_msg' was here
cyrus_sasl.c:307: warning: initialization makes integer from pointer without a cast
cyrus_sasl.c:307: error: initializer element is not constant
cyrus_sasl.c:307: warning: data definition has no type or storage class
cyrus_sasl.c:308: error: syntax error before '&' token
cyrus_sasl.c:308: warning: data definition has no type or storage class
cyrus_sasl.c:309: warning: data definition has no type or storage class
cyrus_sasl.c:310: error: syntax error before "return"
cyrus_sasl.c:319: error: redefinition of 'auth_defer_msg'
cyrus_sasl.c:306: error: previous definition of 'auth_defer_msg' was here
cyrus_sasl.c:320: warning: initialization makes integer from pointer without a cast
cyrus_sasl.c:320: error: initializer element is not constant
cyrus_sasl.c:320: warning: data definition has no type or storage class
cyrus_sasl.c:321: error: syntax error before '&' token
cyrus_sasl.c:321: warning: data definition has no type or storage class
cyrus_sasl.c:322: warning: data definition has no type or storage class
cyrus_sasl.c:323: error: syntax error before "return"
cyrus_sasl.c:330: error: conflicting types for 'auth_vars'
../globals.h:168: error: previous declaration of 'auth_vars' was here
cyrus_sasl.c:330: error: conflicting types for 'auth_vars'
../globals.h:168: error: previous declaration of 'auth_vars' was here
cyrus_sasl.c:330: warning: passing arg 1 of `string_copy' from incompatible pointer type
cyrus_sasl.c:330: error: invalid initializer
cyrus_sasl.c:330: warning: data definition has no type or storage class
cyrus_sasl.c:331: error: invalid initializer
cyrus_sasl.c:331: warning: data definition has no type or storage class
cyrus_sasl.c:332: warning: data definition has no type or storage class
cyrus_sasl.c:334: error: syntax error before "if"
cyrus_sasl.c:337: error: syntax error before '&' token
cyrus_sasl.c:337: warning: data definition has no type or storage class
cyrus_sasl.c:338: warning: data definition has no type or storage class
cyrus_sasl.c:341: error: syntax error before "return"
make[2]: *** [cyrus_sasl.o] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-athlon/auths'

make[1]: *** No rule to make target `auths/auths.a', needed by `exim'. Stop.
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-athlon'
make: *** [go] Error 2

*** The make has failed, do you want to try to make again? (y,n):
 
Is it necessary to make a
Code:
./build
if I make changes in any config file?

I.e. if I make changes in php.ini, do I have to run
Code:
./build php
before the changes takes effekt?
 
need help here ....

after i run ./build all ....

i got result that httpd restart error ...

after i reboot the server, the httpd running ok and my webserver can access but when i go page that use php, it show me the code ...

i've check httpd.conf at /etc/httpd/conf/http.conf, it got DirectoryIndex index.php index.php5 etc etc ....

how to solve this problem ??
 
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype.h not found.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

[root@server custombuild]# cat configure/ap2/configure.php5
#!/bin/sh
./configure \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-mbstring
[root@server custombuild]#
 
smtalk, still got error .....

Restarting apache.
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: cannot open shared object file: No such file or directory

[root@server custombuild]# ./build update_versions
Failed loading /usr/local/ioncube/ioncube_loader_lin_4.4.so: /usr/local/ioncube/ioncube_loader_lin_4.4.so: undefined symbol: zend_hash_add_or_update
Failed loading /usr/local/ioncube/ioncube_loader_lin_4.4.so: /usr/local/ioncube/ioncube_loader_lin_4.4.so: undefined symbol: zend_hash_add_or_update
Failed loading /usr/local/ioncube/ioncube_loader_lin_4.4.so: /usr/local/ioncube/ioncube_loader_lin_4.4.so: undefined symbol: zend_hash_add_or_update
[root@server custombuild]# ./build rewrite_confs
Using 208.110.73.10 for your server IP
Restarting apache.
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: cannot open shared object file: No such file or directory

now my httpd cannot start at all ...

i found that libphp5.so not exist at /usr/lib/apache, but when i change it back into libphp4.so, httpd also cannot start with same error ....

what should i do ??
 
Last edited:
libphp5.so shouldn't exist if it's not built as CLI. You need to disable ioncube_loader (or change it with PHP 5.2) and run "./build rewrite_confs".
 
Roundcube problem

Custombuild from date 29-Mar-2008 17:39 76K...
give this error:
gzip: stdin: unexpected end of file
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
Directory /var/www/html/roundcubemail- does not exist
 
SajtXL, try:
Code:
./build update
./build roundcube


Thank You for your fast answare... but I have allredy test that.

[root@vps1 custombuild]# ./build roundcube

gzip: stdin: unexpected end of file
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
Directory /var/www/html/roundcubemail- does not exist
[root@vps1 custombuild]#


/ Gunnar
 
libphp5.so shouldn't exist if it's not built as CLI. You need to disable ioncube_loader (or change it with PHP 5.2) and run "./build rewrite_confs".

how to build with CLI ??? should i modify configure.php ??

[root@server custombuild]# ./build rewrite_confs
Another instance of custombild is running, please delete the .custombuild file if you want to use custombuild.
Quit at position: doRewriteConfs
[root@server custombuild]#
 
Last edited:
Thank You for your fast answare... but I have allredy test that.

[root@vps1 custombuild]# ./build roundcube

gzip: stdin: unexpected end of file
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
Directory /var/www/html/roundcubemail- does not exist
[root@vps1 custombuild]#


/ Gunnar

Thank you for a bug report, it will be fixed soon. For now use the following fix:
Code:
perl -pi -e 's/getVer roundcube/getVer roundcubemail/' build
./build roundcube

Good luck! :)
 
hello smtalk,

i have use C.B 1.2 and now my php working fine and thanks for this scripts.

now i want to install mysql, but when i type ./build mysql it show me error ..

[root@server custombuild]# ./build mysql
--19:10:51-- http://files.directadmin.com/services/all/mysql/MySQL-client-5.1.23-rc-0.i386.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
19:10:52 ERROR 404: Not Found.

--19:10:52-- http://files.directadmin.com/services/all/mysql/MySQL-devel-5.1.23-rc-0.i386.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
19:10:52 ERROR 404: Not Found.

--19:10:52-- http://files.directadmin.com/services/all/mysql/MySQL-server-5.1.23-rc-0.i386.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
19:10:52 ERROR 404: Not Found.

--19:10:52-- http://files.directadmin.com/services/all/mysql/MySQL-shared-5.1.23-rc-0.i386.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
19:10:52 ERROR 404: Not Found.

*** Cannot find /usr/local/directadmin/custombuild/mysql/MySQL-client-5.1.23-rc-0.i386.rpm. Aborting ***
[root@server custombuild]#

sorry, i know what is the problem here ..... no file at server ....

what stupid am i ..... :(

Shutting down MySQL. [ OK ]
Starting MySQL [ OK ]
It is recommended to do "./build php n" after MySQL update.

should i run that command ???

where can i find da_admin sql password ?
 
Last edited:
Back
Top