Discussion about CustomBuild

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,133
Location
LT, EU
Please post an output of:
Code:
ls -l /var/www/html/atmail | cut -d\> -f2 | cut -d- -f2
 

scsi

Verified User
Joined
Aug 19, 2008
Messages
4,695
[root@venom /home/andrew]# ls -l /var/www/html/atmail | cut -d\> -f2 | cut -d- -f2
total 230
rw
rwxr
rw
rw
1.02
rw
rw
rw
rw
xr
xr
rw
rw
xr
xr
rw
rw
xr

rw
xr
rw
xr
rw
rw
rw
rw
rw

rwxr
xr
rw
rw
 

scsi

Verified User
Joined
Aug 19, 2008
Messages
4,695
Wouldnt this be easier?

[root@venom /home/andrew]# ls -l /var/www/html/atmail | cut -d\> -f2 | cut -d- -f2 | grep -i '^[0-9]\{1,\}\.[0-9]\{2\}$'
1.02

OR

[root@venom /home/andrew]# ls -l /var/www/html/atmail | cut -d\> -f2 | cut -d- -f2 | grep -iv '^[a-z]\{1,\}' | grep -v '^$'
1.02

OR

[root@venom /home/andrew]# ls -l /var/www/html/atmail | grep '>' | awk '{print $11}' | sed 's/.*-//'
1.02
 
Last edited:

tillo

Verified User
Joined
Oct 28, 2007
Messages
862
Location
Switzerland
I think that the portable way would be "ls -ld" instead of "ls -l"; it will make any POSIX compatible version of `ls' to list the link entry (default for GNU binutils) instead of the linked directory content (apparently default for BSD `ls').

Way, way better way would be to check "/var/www/html/atmail/libs/Atmail/Config.php" for this line:
Code:
'version' => 'AtMail Open 1.02',
Extracting the version is trivial.
 
Last edited:

scsi

Verified User
Joined
Aug 19, 2008
Messages
4,695
Yeah I knew there had to be a file with the version in it :D
 

scsi

Verified User
Joined
Aug 19, 2008
Messages
4,695
[root@directadmin /home/andrew]# grep -w 'version' /var/www/html/atmail/libs/Atmail/Config.php | awk '{print $5}' | sed "s/\'.*//"
1.02
 

jaya_pc87

Verified User
Joined
Oct 21, 2008
Messages
15
Location
Malaysia
problem after did an upgrade, error connecting to imap

Error connecting to IMAP server: localhost. after doing upgrade
i did a custom build to update my system and there goes my mail server @_@

I tried login to my mail using squirrelmail and roundcube both gives me this error

Error connecting to IMAP server: localhost. :

and Connection to Imap refused

so tried to connect to dovecot and it can connect just fine


telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK Dovecot DA ready.

i tried restarting exim and dovecot too

and my local host record is also fine

127.0.0.1 localhost localhost.localdomain

i tried ./build dovecot
after browsing all over the forum

i saw a thread give a to ./build todovecot


and its still the same

what i did was just issue an update thats all

thx
 

digi

Verified User
Joined
May 18, 2006
Messages
67
./build exim fails

Done:

Update to custombuild 1.2 (to get exim on the build instead of upgrade by hand)

./build update
./build exim, thus failes...

[root@lol custombuild]# ./build exim
File already exists: exim-4.69.tar.gz
File already exists: exim
File already exists: exim_freebsd
File already exists: exim_debian
Found /usr/local/directadmin/custombuild/exim-4.69.tar.gz
Extracting ...
Done.
--19:42:48-- http://files.directadmin.com/services/custombuild/Makefile
=> `Local/Makefile'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48,397 (47K) [text/plain]

100%[================================================================================================================================================================================================>] 48,397 126.99K/s

19:42:48 (126.87 KB/s) - `Local/Makefile' saved [48397/48397]

Trying to make exim...

>>> Creating links to source files...
>>> New Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile

make[1]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
/bin/sh ../scripts/Configure-os.h
/bin/sh ../scripts/Configure-os.c
gcc buildconfig.c
/bin/sh ../scripts/Configure-config.h "make"
make[2]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
Building configuration file config.h
>>> config.h built

make[2]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386/pcre'
gcc pcre_maketables.c
gcc pcre_chartables.c
gcc pcre_fullinfo.c
gcc pcre_get.c
gcc pcre_globals.c
gcc pcre_compile.c
gcc pcre_config.c
gcc pcre_exec.c
gcc pcre_newline.c
gcc pcre_study.c
gcc pcre_tables.c
gcc pcre_try_flipped.c
gcc pcre_version.c
rm -f libpcre.a
ar cq libpcre.a
ranlib libpcre.a
gcc pcretest.c
gcc -o ../pcretest pcretest.o libpcre.a
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386/pcre'

>>> exicyclog script built
>>> exinext script built
>>> exiwhat script built
>>> exigrep script built
>>> eximstats script built
>>> exipick script built
>>> exiqgrep script built
>>> exiqsumm script built
>>> transport-filter.pl script built
>>> convert4r3 script built
>>> convert4r4 script built
>>> exim_checkaccess script built

gcc exim_dbmbuild.c
In file included from exim.h:433,
from exim_dbmbuild.c:33:
dbstuff.h:103:16: db.h: No such file or directory
In file included from exim.h:433,
from exim_dbmbuild.c:33:
dbstuff.h:529: error: syntax error before "DB"
dbstuff.h:529: warning: no semicolon at end of struct or union
dbstuff.h:531: error: syntax error before '}' token
dbstuff.h:531: warning: data definition has no type or storage class
In file included from exim.h:437,
from exim_dbmbuild.c:33:
dbfunctions.h:13: error: syntax error before '*' token
dbfunctions.h:14: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before "open_db"
dbfunctions.h:15: warning: data definition has no type or storage class
dbfunctions.h:16: error: syntax error before '*' token
dbfunctions.h:17: error: syntax error before '*' token
dbfunctions.h:18: error: syntax error before '*' token
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: syntax error 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 function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
make: *** [go] Error 2

*** The make has failed, do you want to try to make again? (y,n):
All other version are up to date.....

Hint...???
 

digi

Verified User
Joined
May 18, 2006
Messages
67
./build exim fails

Done:

Update to custombuild 1.2 (to get exim on the build instead of upgrade by hand)

./build update
./build exim, thus failes...

[root@lol custombuild]# ./build exim
File already exists: exim-4.69.tar.gz
File already exists: exim
File already exists: exim_freebsd
File already exists: exim_debian
Found /usr/local/directadmin/custombuild/exim-4.69.tar.gz
Extracting ...
Done.
--19:42:48-- http://files.directadmin.com/services/custombuild/Makefile
=> `Local/Makefile'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48,397 (47K) [text/plain]

100%[==================================>] 48,397 126.99K/s

19:42:48 (126.87 KB/s) - `Local/Makefile' saved [48397/48397]

Trying to make exim...

>>> Creating links to source files...
>>> New Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile

make[1]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
/bin/sh ../scripts/Configure-os.h
/bin/sh ../scripts/Configure-os.c
gcc buildconfig.c
/bin/sh ../scripts/Configure-config.h "make"
make[2]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
Building configuration file config.h
>>> config.h built

make[2]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386/pcre'
gcc pcre_maketables.c
gcc pcre_chartables.c
gcc pcre_fullinfo.c
gcc pcre_get.c
gcc pcre_globals.c
gcc pcre_compile.c
gcc pcre_config.c
gcc pcre_exec.c
gcc pcre_newline.c
gcc pcre_study.c
gcc pcre_tables.c
gcc pcre_try_flipped.c
gcc pcre_version.c
rm -f libpcre.a
ar cq libpcre.a
ranlib libpcre.a
gcc pcretest.c
gcc -o ../pcretest pcretest.o libpcre.a
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386/pcre'

>>> exicyclog script built
>>> exinext script built
>>> exiwhat script built
>>> exigrep script built
>>> eximstats script built
>>> exipick script built
>>> exiqgrep script built
>>> exiqsumm script built
>>> transport-filter.pl script built
>>> convert4r3 script built
>>> convert4r4 script built
>>> exim_checkaccess script built

gcc exim_dbmbuild.c
In file included from exim.h:433,
from exim_dbmbuild.c:33:
dbstuff.h:103:16: db.h: No such file or directory
In file included from exim.h:433,
from exim_dbmbuild.c:33:
dbstuff.h:529: error: syntax error before "DB"
dbstuff.h:529: warning: no semicolon at end of struct or union
dbstuff.h:531: error: syntax error before '}' token
dbstuff.h:531: warning: data definition has no type or storage class
In file included from exim.h:437,
from exim_dbmbuild.c:33:
dbfunctions.h:13: error: syntax error before '*' token
dbfunctions.h:14: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before "open_db"
dbfunctions.h:15: warning: data definition has no type or storage class
dbfunctions.h:16: error: syntax error before '*' token
dbfunctions.h:17: error: syntax error before '*' token
dbfunctions.h:18: error: syntax error before '*' token
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: syntax error 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 function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
make: *** [go] Error 2

*** The make has failed, do you want to try to make again? (y,n):
All other version are up to date.....

Hint...???
 

digi

Verified User
Joined
May 18, 2006
Messages
67
./build exim

Last part:

make[2]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386/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: error: 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: expected ‘;’ before ‘cbs’
cyrus_sasl.c:118: error: ‘cbs’ undeclared (first use in this function)
cyrus_sasl.c:123: error: ‘SASL_OK’ undeclared (first use in this function)
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: expected ‘;’ before ‘cbs’
cyrus_sasl.c:188: error: ‘sasl_conn_t’ undeclared (first use in this function)
cyrus_sasl.c:188: error: ‘conn’ undeclared (first use in this function)
cyrus_sasl.c:215: error: ‘cbs’ undeclared (first use in this function)
cyrus_sasl.c:216: error: ‘SASL_OK’ undeclared (first use in this function)
cyrus_sasl.c:232: error: ‘SASL_CONTINUE’ undeclared (first use in this function)
cyrus_sasl.c:276: error: ‘SASL_BADPROT’ undeclared (first use in this function)
cyrus_sasl.c:282: error: ‘SASL_FAIL’ undeclared (first use in this function)
cyrus_sasl.c:282: error: ‘SASL_BUFOVER’ undeclared (first use in this function)
cyrus_sasl.c:283: error: ‘SASL_BADMAC’ undeclared (first use in this function)
cyrus_sasl.c:283: error: ‘SASL_BADAUTH’ undeclared (first use in this function)
cyrus_sasl.c:284: error: ‘SASL_NOAUTHZ’ undeclared (first use in this function)
cyrus_sasl.c:284: error: ‘SASL_ENCRYPT’ undeclared (first use in this function)
cyrus_sasl.c:285: error: ‘SASL_EXPIRED’ undeclared (first use in this function)
cyrus_sasl.c:285: error: ‘SASL_DISABLED’ undeclared (first use in this function)
cyrus_sasl.c:286: error: ‘SASL_NOUSER’ undeclared (first use in this function)
cyrus_sasl.c:298: error: ‘SASL_NOMECH’ undeclared (first use in this function)
cyrus_sasl.c:329: error: ‘SASL_USERNAME’ undeclared (first use in this function)
make[2]: *** [cyrus_sasl.o] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386/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-i386'
make: *** [go] Error 2

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

Update: On several CentOS 4 and 5 boxes
 
Last edited:

digi

Verified User
Joined
May 18, 2006
Messages
67
./build exim

Last part CentOS 4 box:

>>> exicyclog script built
>>> exinext script built
>>> exiwhat script built
>>> exigrep script built
>>> eximstats script built
>>> exipick script built
>>> exiqgrep script built
>>> exiqsumm script built
>>> transport-filter.pl script built
>>> convert4r3 script built
>>> convert4r4 script built
>>> exim_checkaccess script built

gcc exim_dbmbuild.c
In file included from exim.h:433,
from exim_dbmbuild.c:33:
dbstuff.h:103:16: db.h: No such file or directory
In file included from exim.h:433,
from exim_dbmbuild.c:33:
dbstuff.h:529: error: syntax error before "DB"
dbstuff.h:529: warning: no semicolon at end of struct or union
dbstuff.h:531: error: syntax error before '}' token
dbstuff.h:531: warning: data definition has no type or storage class
In file included from exim.h:437,
from exim_dbmbuild.c:33:
dbfunctions.h:13: error: syntax error before '*' token
dbfunctions.h:14: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before "open_db"
dbfunctions.h:15: warning: data definition has no type or storage class
dbfunctions.h:16: error: syntax error before '*' token
dbfunctions.h:17: error: syntax error before '*' token
dbfunctions.h:18: error: syntax error before '*' token
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: syntax error 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 function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
make: *** [go] Error 2

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

Last part CentOs 5 box:


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+0xd1): undefined reference to `sasl_server_init'
cyrus_sasl.c: (.text+0x127): undefined reference to `sasl_server_new'
cyrus_sasl.c: (.text+0x141): undefined reference to `sasl_done'
cyrus_sasl.c: (.text+0x1a2): undefined reference to `sasl_server_start'
cyrus_sasl.c: (.text+0x1b4): undefined reference to `sasl_dispose'
cyrus_sasl.c: (.text+0x1b9): undefined reference to `sasl_done'
cyrus_sasl.c: (.text+0x1cc): undefined reference to `sasl_dispose'
cyrus_sasl.c: (.text+0x1d1): undefined reference to `sasl_done'
cyrus_sasl.c: (.text+0x1e8): undefined reference to `sasl_dispose'
cyrus_sasl.c: (.text+0x1ed): undefined reference to `sasl_done'
cyrus_sasl.c: (.text+0x29e): undefined reference to `sasl_server_step'
cyrus_sasl.c: (.text+0x306): undefined reference to `sasl_errstring'
cyrus_sasl.c: (.text+0x332): undefined reference to `sasl_errstring'
cyrus_sasl.c: (.text+0x36e): undefined reference to `sasl_dispose'
cyrus_sasl.c: (.text+0x373): undefined reference to `sasl_done'
cyrus_sasl.c: (.text+0x3b3): undefined reference to `sasl_errstring'
cyrus_sasl.c: (.text+0x3ee): undefined reference to `sasl_dispose'
cyrus_sasl.c: (.text+0x3f3): undefined reference to `sasl_done'
cyrus_sasl.c: (.text+0x432): undefined reference to `sasl_errstring'
cyrus_sasl.c: (.text+0x45e): undefined reference to `sasl_errstring'
cyrus_sasl.c: (.text+0x47e): undefined reference to `sasl_dispose'
cyrus_sasl.c: (.text+0x483): undefined reference to `sasl_done'
cyrus_sasl.c: (.text+0x4b1): undefined reference to `sasl_getprop'
cyrus_sasl.c: (.text+0x521): undefined reference to `sasl_dispose'
cyrus_sasl.c: (.text+0x526): undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o): In function `auth_cyrus_sasl_init':
cyrus_sasl.c: (.text+0x633): undefined reference to `sasl_server_init'
cyrus_sasl.c: (.text+0x69b): undefined reference to `sasl_server_new'
cyrus_sasl.c: (.text+0x702): undefined reference to `sasl_listmech'
cyrus_sasl.c: (.text+0x833): undefined reference to `sasl_dispose'
cyrus_sasl.c: (.text+0x838): 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-athlon'
make: *** [go] Error 2

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

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,133
Location
LT, EU
It seems you are still missing db4-devel on your CentOS 4 box.
 

digi

Verified User
Joined
May 18, 2006
Messages
67
.

yum install -y db4-devel
didn't help

exim is the only upgrade that won't complete from custombuild.

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)(.text+0xa6): In function `auth_cyrus_sasl_init':
: undefined reference to `sasl_server_init'
auths/auths.a(cyrus_sasl.o)(.text+0xe3): In function `auth_cyrus_sasl_init':
: undefined reference to `sasl_server_new'
auths/auths.a(cyrus_sasl.o)(.text+0x129): In function `auth_cyrus_sasl_init':
: undefined reference to `sasl_listmech'
auths/auths.a(cyrus_sasl.o)(.text+0x23d): In function `auth_cyrus_sasl_init':
: undefined reference to `sasl_dispose'
auths/auths.a(cyrus_sasl.o)(.text+0x242): In function `auth_cyrus_sasl_init':
: undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o)(.text+0x318): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_server_init'
auths/auths.a(cyrus_sasl.o)(.text+0x34d): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_server_new'
auths/auths.a(cyrus_sasl.o)(.text+0x363): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o)(.text+0x379): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_dispose'
auths/auths.a(cyrus_sasl.o)(.text+0x37e): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o)(.text+0x391): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_dispose'
auths/auths.a(cyrus_sasl.o)(.text+0x396): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o)(.text+0x3ac): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_dispose'
auths/auths.a(cyrus_sasl.o)(.text+0x3b1): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o)(.text+0x41a): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_server_start'
auths/auths.a(cyrus_sasl.o)(.text+0x50f): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_server_step'
auths/auths.a(cyrus_sasl.o)(.text+0x569): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_errstring'
auths/auths.a(cyrus_sasl.o)(.text+0x588): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_errstring'
auths/auths.a(cyrus_sasl.o)(.text+0x5b2): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_dispose'
auths/auths.a(cyrus_sasl.o)(.text+0x5b7): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o)(.text+0x5e5): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_errstring'
auths/auths.a(cyrus_sasl.o)(.text+0x61a): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_dispose'
auths/auths.a(cyrus_sasl.o)(.text+0x61f): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o)(.text+0x64d): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_errstring'
auths/auths.a(cyrus_sasl.o)(.text+0x66c): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_errstring'
auths/auths.a(cyrus_sasl.o)(.text+0x68a): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_dispose'
auths/auths.a(cyrus_sasl.o)(.text+0x68f): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o)(.text+0x6b2): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_getprop'
auths/auths.a(cyrus_sasl.o)(.text+0x720): In function `auth_cyrus_sasl_server':
: undefined reference to `sasl_dispose'
auths/auths.a(cyrus_sasl.o)(.text+0x725): In function `auth_cyrus_sasl_server':
: 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-i386'
make: *** [go] Error 2

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

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,133
Location
LT, EU
Error connecting to IMAP server: localhost. after doing upgrade
i did a custom build to update my system and there goes my mail server @_@

I tried login to my mail using squirrelmail and roundcube both gives me this error

Error connecting to IMAP server: localhost. :

and Connection to Imap refused

so tried to connect to dovecot and it can connect just fine


telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK Dovecot DA ready.

i tried restarting exim and dovecot too

and my local host record is also fine

127.0.0.1 localhost localhost.localdomain

i tried ./build dovecot
after browsing all over the forum

i saw a thread give a to ./build todovecot


and its still the same

what i did was just issue an update thats all

thx
Check: http://help.directadmin.com/item.php?id=18
 

allstarwebs

Verified User
Joined
Oct 24, 2008
Messages
6
I have 1 script that I am using that requires php4, which I have installed as CGI.

Everybody, and everything else on the server uses php5.

Now, when I tried to edit htaccess for this script to make it use 4, I got a 500 error. I get it no matter which option up there I use, so does anyone have any suggestions?

I have php installed as default and CLI

I have php4 installed as cgi.
 

Scr33x0r

Verified User
Joined
Jul 24, 2006
Messages
27
I have the sameproblem as digi:

Code:
auths/auths.a(cyrus_sasl.o): In function `auth_cyrus_sasl_server':
cyrus_sasl.c:(.text+0xd1): undefined reference to `sasl_server_init'
cyrus_sasl.c:(.text+0x127): undefined reference to `sasl_server_new'
cyrus_sasl.c:(.text+0x141): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x1a2): undefined reference to `sasl_server_start'
cyrus_sasl.c:(.text+0x1b4): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x1b9): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x1cc): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x1d1): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x1e8): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x1ed): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x29e): undefined reference to `sasl_server_step'
cyrus_sasl.c:(.text+0x306): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x332): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x36e): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x373): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x3b3): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x3ee): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x3f3): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x432): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x45e): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x47e): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x483): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x4b1): undefined reference to `sasl_getprop'
cyrus_sasl.c:(.text+0x521): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x526): undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o): In function `auth_cyrus_sasl_init':
cyrus_sasl.c:(.text+0x633): undefined reference to `sasl_server_init'
cyrus_sasl.c:(.text+0x69b): undefined reference to `sasl_server_new'
cyrus_sasl.c:(.text+0x702): undefined reference to `sasl_listmech'
cyrus_sasl.c:(.text+0x833): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x838): 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-i386'
make: *** [go] Error 2
And db4-devel is installed..
 

Orbixx

Verified User
Joined
May 2, 2008
Messages
44
Is it possible to make PHP more secure using the CustomBuild script?
Yes, it is. You need to run "./build secure_php". At the moment it disables some dangerous PHP functions.
Is this any different to manually disabling them via php.ini?
 
Top