Discussion about CustomBuild

Are you sure that password is used from /usr/local/directadmin/conf/mysql.conf file and user is da_admin?
 
Are you sure that password is used from /usr/local/directadmin/conf/mysql.conf file and user is da_admin?

i create a new database, username and password and i open phpmyadmin.

if i installed new mysql, do i need to add da_admin user and password ?
 
No, you don't. You should be able to log in using created user username and password.
 
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! :)


Works perfect now with the new file... Thank you for good woork :)

/ Gunnar S
 
Hello, i just install a new one with setup.sh and option 2 , but at the end of the install i get this message.

configure: error: mysql configure failed. Please check config.log for more information.

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

what do i wrong, 3 day's ago i use the same script averything is fine :(

Regards
Hans
 
Try:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build all d

And please post any errors you get here.
 
Hello,

when i run build update and build all d i get this error again

configure: error: mysql configure failed. Please check config.log for more information.

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

config.log i cannot find btw

Hans
 
ok i will, but i have to say that John from DA also i looking on that server now, so i hope this problem is solved in know time :)

Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/local/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... yes
checking for krb5-config... /usr/kerberos/bin/krb5-config
checking for DSA_get_default_method in -lssl... yes
checking for pkg-config... no
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for PCRE support... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... /usr/local/lib
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... no
checking whether to enable calendar conversion support... yes
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking if we should use cURL for url streams... no
checking for cURL in default path... found in /usr/local
checking for cURL 7.10.5 or greater... libcurl 7.18.1
checking for SSL support in libcurl... yes
checking how to run the C preprocessor... gcc -E
checking for openssl support in libcurl... yes
checking for openssl/crypto.h... yes
checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... yes
checking for curl_version_info in -lcurl... yes
checking for curl_easy_strerror in -lcurl... yes
checking for curl_multi_strerror in -lcurl... yes
checking size of long... (cached) 4
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable dbase support... no
checking whether to enable DOM support... yes
checking for xml2-config path... (cached) /usr/local/bin/xml2-config
checking whether libxml build works... (cached) yes
checking whether to enable EXIF (metadata from images) support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable input filter support... yes
checking pcre install prefix... no
checking whether to enable FTP support... yes
checking OpenSSL dir for FTP... no
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... (cached) yes
checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
checking for GD support... yes
checking for the location of libjpeg... /usr/local/lib
checking for the location of libpng... /usr/local/lib
checking for the location of libXpm... no
checking for FreeType 1.x support... yes
checking for FreeType 2... /usr/local/lib
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
checking for FT_New_Face in -lfreetype... yes
checking for FreeType 1 support... no - FreeType 2.x is to be used instead
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... yes
checking for ngettext in -lc... yes
checking for dngettext in -lc... yes
checking for dcngettext in -lc... yes
checking for bind_textdomain_codeset in -lc... yes
checking for GNU MP support... no
checking whether to enable hash support... yes
checking whether byte ordering is bigendian... (cached) no
checking size of short... 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking for iconv support... yes
checking for libiconv in -liconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... yes
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... no
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... no
checking for InterBase support... no
checking whether to enable JavaScript Object Serialization support... yes
checking for ANSI C header files... (cached) yes
checking for LDAP support... no
checking for LDAP Cyrus SASL support... no
checking whether to enable multibyte string support... yes
checking whether to enable multibyte regex support... yes
checking whether to check multibyte regex backtrack... yes
checking for external libmbfl... no
checking for variable length prototypes and stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... yes
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... yes
checking for stdarg.h... (cached) yes
checking size of int... (cached) 4
checking size of short... (cached) 2
checking size of long... (cached) 4
checking for working const... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for 8-bit clean memcmp... yes
checking for mcrypt support... yes
checking for libmcrypt version... >= 2.5.6
checking for mcrypt_module_open in -lmcrypt... yes
checking for mhash support... yes
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.

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

Thanks anyway,

Hans
 
Hi, i've installed apache 2.2.8 with custombuild.

I want to use Zend Platform, in their requirements it says:

Apache 2.2.x (compiled in prefork mode only!)


Is the custombuild apache compiled in prefork mode?
 
Last edited:
Try to install exim from customapache 1.2

Have this error:
---------------------
gcc exim_dbmbuild.c
In file included from exim.h:433,
from exim_dbmbuild.c:33:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:433,
from exim_dbmbuild.c:33:
dbstuff.h:529: error: expected specifier-qualifier-list before 'DB'
exim_dbmbuild.c: In function 'main':
exim_dbmbuild.c:150: error: 'DB' undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: 'd' undeclared (first use in this function)
exim_dbmbuild.c:151: error: 'DBT' undeclared (first use in this function)
exim_dbmbuild.c:151: error: expected ';' before 'key'
exim_dbmbuild.c:213: error: 'DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:295: error: 'content' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'key' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'R_NOOVERWRITE' undeclared (first use in this functi
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-L
make: *** [go] Error 2

*** The make has failed, do you want to try to make again? (y,n):

--------------------------

Thank You

Gunnar S
 
A little bit longer....

Then it halts again:
--------------
awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc version.c
rm -f exim
gcc -o exim
auths/auths.a(cyrus_sasl.o): In function `auth_cyrus_sasl_server':
cyrus_sasl.c:(.text+0xfe): undefined reference to `sasl_server_init'
cyrus_sasl.c:(.text+0x14a): undefined reference to `sasl_server_new'
cyrus_sasl.c:(.text+0x165): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x1be): undefined reference to `sasl_server_start'
cyrus_sasl.c:(.text+0x1cf): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x1d4): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x1e6): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x1eb): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x200): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x205): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x2bc): undefined reference to `sasl_server_step'
cyrus_sasl.c:(.text+0x31f): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x344): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x372): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x377): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x3ad): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x3e8): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x3ed): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x421): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x446): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x469): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x46e): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x496): undefined reference to `sasl_getprop'
cyrus_sasl.c:(.text+0x50b): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x510): undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o): In function `auth_cyrus_sasl_init':
cyrus_sasl.c:(.text+0x648): undefined reference to `sasl_server_init'
cyrus_sasl.c:(.text+0x69e): undefined reference to `sasl_server_new'
cyrus_sasl.c:(.text+0x6f4): undefined reference to `sasl_listmech'
cyrus_sasl.c:(.text+0x803): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x808): undefined reference to `sasl_done'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-x86_64'
make: *** [go] Error 2

*** The make has failed, do you want to try to make again? (y,n): n
-----------------

I have try to install all *sasl* who is 64bit...

/ Gunnar S
 
I'm getting the cyrus_sasl_server error on build as well.

It looks like here's the problem, line 34 in cyrus_sasl.c:
#include <sasl/sasl.h>
which doesn't exist.

Heh, nm, I found it. Maybe it's not linking correctly??
 
Last edited:
No, but it's a different error:

awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc version.c
rm -f exim
gcc -o exim
rfc2047.o(.text+0x384): In function `rfc2047_decode2':
: undefined reference to `libiconv_open'
rfc2047.o(.text+0x44f): In function `rfc2047_decode2':
: undefined reference to `libiconv'
rfc2047.o(.text+0x535): In function `rfc2047_decode2':
: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
make: *** [go] Error 2
[root@local exim-4.69]#

I did notice I have two versions of cyrus, ver 1.x and ver 2.1. 2.1 SHOULD be in the includes, according to yum.
 
Last edited:
Zend Optimizer not installed

After upgrading with custombuild I can't get zend to work, when viewing php apps that require it I get: Zend Optimizer not installed etc...

Here is my options.conf:
Code:
#PHP settings. default_php possible values - 4 or 5
default_php=4
php4_cli=no
php4_cgi=yes
php5_cli=yes
php5_cgi=no
zend=yes

#Possible values - 5.0 or 5.1 (4.1 is possible too, but it's EOL)
mysql=4.1
mysql_inst=yes

#Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2

#Web applications
phpmyadmin=yes
squirrelmail=yes
roundcube=yes

#Mail options
mail-header-patch=yes
dovecot=no
eximconf=no

#FTP options
proftpd=yes

#Custombuild options
clean=no
autover=no
mysql_backup=no
uebimiau=no

Doing ./build zend gives no errors, but php scripts with zend still won't work, anyone have any suggestions?

Thank you
 
Back
Top