LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-12-2013, 07:58 PM   #1
roundpotato
LQ Newbie
 
Registered: Jul 2013
Posts: 10

Rep: Reputation: Disabled
Unhappy [Compile Error] cyrus-sasl-2.1.26 for Postfix on Debian VM


Hello guys,

Introduction:
I am pretty much a beginner in Linux in general.
Never I had thought that to have a mail server would be a major pain in the a$$. I want Postfix with bells and whistles. The first thing I read is to install cyrus-sasl to later be provided in postfix building.

Problem:
That "sasl" doesn't compile, gives errors.

Software Details:
  • cyrus-sasl-2.1.26
  • Virtual Machine - Debian 7.0.0 - Fresh Install
  • Did an apt-get shh so openSSL is there.

Problem Logs:

"meh" commands file:
Code:
# go, unpack and enter
cd /usr/local/src
tar -zxvf cyrus-sasl-*
cd cyrus-sasl-*
# pre-build enabling stuff
./configure  --enable-plain --enable-login --enable-ntlm
# install
make
make install
Shell Install:
Code:
root@cake:/usr/local/src# sh meh > report.log
configure: WARNING: Disabling SASL authentication database support
configure: WARNING: OpenSSL not found -- SCRAM will be disabled
configure: WARNING: OpenSSL not found -- OTP will be disabled
configure: WARNING: OpenSSL not found -- SRP will be disabled
configure: WARNING: Disabling GSSAPI - no include files found
configure: WARNING: OpenSSL not found -- NTLM will be disabled
configure: WARNING: OpenSSL not found -- PASSDSS will be disabled
configure: WARNING: Disabling GSSAPI - no include files found
checkpw.c: In function '_sasl_make_plain_secret':
checkpw.c:119:5: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign]
In file included from ../include/saslplug.h:11:0,
                 from checkpw.c:53:
../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *'
checkpw.c:120:5: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign]
In file included from ../include/saslplug.h:11:0,
                 from checkpw.c:53:
../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'char *'
checkpw.c:121:5: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign]
In file included from ../include/saslplug.h:11:0,
                 from checkpw.c:53:
../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *'
checkpw.c: In function '_sasl_auxprop_verify_apop':
checkpw.c:371:5: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign]
In file included from ../include/saslplug.h:11:0,
                 from checkpw.c:53:
../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *'
checkpw.c:373:7: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign]
In file included from ../include/saslplug.h:11:0,
                 from checkpw.c:53:
../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *'
checkpw.c: In function 'saslauthd_verify_password':
checkpw.c:662:5: warning: passing argument 3 of '_sasl_getcallback' from incompatible pointer type [enabled by default]
In file included from checkpw.c:54:0:
saslint.h:403:1: note: expected 'int (**)(void)' but argument is of type 'int (**)(void *, const char *, const char *, const char **, unsigned int *)'
checkpw.c: In function 'authdaemon_verify_password':
checkpw.c:1044:5: warning: passing argument 3 of '_sasl_getcallback' from incompatible pointer type [enabled by default]
In file included from checkpw.c:54:0:
saslint.h:403:1: note: expected 'int (**)(void)' but argument is of type 'int (**)(void *, const char *, const char *, const char **, unsigned int *)'
common.c: In function 'sasl_getprop':
common.c:1048:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
common.c:1051:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
common.c: In function '_sasl_getsimple':
common.c:1528:16: warning: variable 'conn' set but not used [-Wunused-but-set-variable]
saslutil.c: In function 'sasl_encode64':
saslutil.c:134:11: warning: variable 'blah' set but not used [-Wunused-but-set-variable]
server.c: In function 'load_config':
server.c:654:10: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat]
server.c:654:10: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat]
dlopen.c: In function '_parse_la':
dlopen.c:271:9: warning: integer overflow in expression [-Woverflow]
dlopen.c:272:6: warning: integer overflow in expression [-Woverflow]
../plugins/plugin_common.c: In function 'sockaddr_unmapped':
../plugins/plugin_common.c:97:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
plugin_common.c: In function 'sockaddr_unmapped':
plugin_common.c:97:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
digestmd5.c:859:5: error: unknown type name 'des_key_schedule'
digestmd5.c:860:5: error: unknown type name 'des_cblock'
digestmd5.c:861:5: error: unknown type name 'des_key_schedule'
digestmd5.c: In function 'dec_3des':
digestmd5.c:896:5: warning: implicit declaration of function 'des_ede2_cbc_encrypt' [-Wimplicit-function-declaration]
digestmd5.c:902:5: error: 'DES_DECRYPT' undeclared (first use in this function)
digestmd5.c:902:5: note: each undeclared identifier is reported only once for each function it appears in
digestmd5.c: In function 'enc_3des':
digestmd5.c:950:5: error: 'DES_ENCRYPT' undeclared (first use in this function)
digestmd5.c: In function 'init_3des':
digestmd5.c:970:5: warning: implicit declaration of function 'des_key_sched' [-Wimplicit-function-declaration]
digestmd5.c:970:24: error: 'des_cblock' undeclared (first use in this function)
digestmd5.c:970:36: error: expected expression before ')' token
digestmd5.c:974:36: error: expected expression before ')' token
digestmd5.c:976:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c:983:36: error: expected expression before ')' token
digestmd5.c:987:36: error: expected expression before ')' token
digestmd5.c:990:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'dec_des':
digestmd5.c:1014:5: warning: implicit declaration of function 'des_cbc_encrypt' [-Wimplicit-function-declaration]
digestmd5.c:1019:7: error: 'DES_DECRYPT' undeclared (first use in this function)
digestmd5.c:1023:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'enc_des':
digestmd5.c:1070:21: error: 'DES_ENCRYPT' undeclared (first use in this function)
digestmd5.c:1074:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'init_des':
digestmd5.c:1094:20: error: 'des_cblock' undeclared (first use in this function)
digestmd5.c:1094:32: error: expected expression before ')' token
digestmd5.c:1096:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c:1103:32: error: expected expression before ')' token
digestmd5.c:1105:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'digestmd5_server_mech_step':
digestmd5.c:3051:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
digestmd5.c: In function 'parse_server_challenge':
digestmd5.c:3653:10: warning: variable 'IsUTF8' set but not used [-Wunused-but-set-variable]
make[2]: *** [digestmd5.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
digestmd5.c:859:5: error: unknown type name 'des_key_schedule'
digestmd5.c:860:5: error: unknown type name 'des_cblock'
digestmd5.c:861:5: error: unknown type name 'des_key_schedule'
digestmd5.c: In function 'dec_3des':
digestmd5.c:896:5: warning: implicit declaration of function 'des_ede2_cbc_encrypt' [-Wimplicit-function-declaration]
digestmd5.c:902:5: error: 'DES_DECRYPT' undeclared (first use in this function)
digestmd5.c:902:5: note: each undeclared identifier is reported only once for each function it appears in
digestmd5.c: In function 'enc_3des':
digestmd5.c:950:5: error: 'DES_ENCRYPT' undeclared (first use in this function)
digestmd5.c: In function 'init_3des':
digestmd5.c:970:5: warning: implicit declaration of function 'des_key_sched' [-Wimplicit-function-declaration]
digestmd5.c:970:24: error: 'des_cblock' undeclared (first use in this function)
digestmd5.c:970:36: error: expected expression before ')' token
digestmd5.c:974:36: error: expected expression before ')' token
digestmd5.c:976:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c:983:36: error: expected expression before ')' token
digestmd5.c:987:36: error: expected expression before ')' token
digestmd5.c:990:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'dec_des':
digestmd5.c:1014:5: warning: implicit declaration of function 'des_cbc_encrypt' [-Wimplicit-function-declaration]
digestmd5.c:1019:7: error: 'DES_DECRYPT' undeclared (first use in this function)
digestmd5.c:1023:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'enc_des':
digestmd5.c:1070:21: error: 'DES_ENCRYPT' undeclared (first use in this function)
digestmd5.c:1074:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'init_des':
digestmd5.c:1094:20: error: 'des_cblock' undeclared (first use in this function)
digestmd5.c:1094:32: error: expected expression before ')' token
digestmd5.c:1096:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c:1103:32: error: expected expression before ')' token
digestmd5.c:1105:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
In file included from ../config.h:540:0,
                 from digestmd5.c:48:
/usr/include/string.h:44:14: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'digestmd5_server_mech_step':
digestmd5.c:3051:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
digestmd5.c: In function 'parse_server_challenge':
digestmd5.c:3653:10: warning: variable 'IsUTF8' set but not used [-Wunused-but-set-variable]
make[1]: *** [digestmd5.lo] Error 1
make: *** [install-recursive] Error 1
root@cake:/usr/local/src# openssl version
OpenSSL 1.0.1e 11 Feb 2013
root@cake:/usr/local/src#
"report.log" from Shell install:
Code:
cyrus-sasl-2.1.26/
cyrus-sasl-2.1.26/include/
>> REMOVED TONS OF FILE LOCATION BECAUSE MY POST IS TOO LONG <<
cyrus-sasl-2.1.26/README
cyrus-sasl-2.1.26/Makefile.in
configure: creating cache ./config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target 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 for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) mawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for __attribute__... yes
checking for runpath switch... -Wl,-rpath,
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
configure: updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
updating cache ./config.cache
configure: loading cache ./config.cache
checking for connect... yes
checking for res_search... no
checking for dn_expand... no
checking for dns_lookup... no
checking DB path to use... /etc/sasldb2
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking ndbm.h usability... no
checking ndbm.h presence... no
checking for ndbm.h... no
checking gdbm.h usability... no
checking gdbm.h presence... no
checking for gdbm.h... no
checking DB library to use... no
checking if Berkeley DB handle is kept open in SASLDB... no
checking for dlopen in -ldl... yes
>> CUT OUT USEFUL CHECK INFORMATION BECAUSE MY POST IS TOO LONG !!!<<
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for jrand48... yes
checking for getpassphrase... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
>> CUT OUT SIMILAR LINES BECAUSE MY POST IS TOO LONG !!!<<
config.status: executing depfiles commands
=== configuring in saslauthd (/usr/local/src/cyrus-sasl-2.1.26/saslauthd)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--enable-plain' '--enable-login' '--enable-ntlm' --cache-file=.././config.cache --srcdir=.
configure: loading cache .././config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-unknown-linux-gnu
>> CUT OUT USEFUL CHECK INFORMATION BECAUSE MY POST IS TOO LONG !!!<<
checking for connect... (cached) yes
checking for res_search... (cached) no
checking for dn_expand... (cached) no
checking for dns_lookup... (cached) no
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
>> CUT OUT USEFUL CHECK INFORMATION BECAUSE MY POST IS TOO LONG !!!<<
checking for strlcat... no
checking for strlcpy... no
checking if getpwnam_r/getspnam_r take 5 arguments... yes
checking for getaddrinfo... (cached) yes
checking for getnameinfo... (cached) yes
checking whether you have ss_family in struct sockaddr_storage... (cached) yes
checking whether you have sa_len in struct sockaddr... (cached) no
checking for socklen_t... (cached) yes
configure: updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating saslauthd.h
config.status: executing depfiles commands
Configuration Complete. Type 'make' to build.
make  all-recursive
make[1]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26'
Making all in include
make[2]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/include'
gcc -DHAVE_CONFIG_H -I. -I..   -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2 -MT makemd5.o -MD -MP -MF .deps/makemd5.Tpo -c -o makemd5.o makemd5.c
mv -f .deps/makemd5.Tpo .deps/makemd5.Po
/bin/bash ../libtool   --mode=link gcc  -Wall -W -g -O2   -o makemd5 makemd5.o  -lresolv  
mkdir .libs
gcc -Wall -W -g -O2 -o makemd5 makemd5.o -lresolv
rm -f md5global.h
./makemd5 md5global.h
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/include'
Making all in sasldb
make[2]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/sasldb'
/bin/bash ../libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include   -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2 -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c -o allockey.lo allockey.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c allockey.c  -fPIC -DPIC -o allockey.lo
mv -f .deps/allockey.Tpo .deps/allockey.Plo
/bin/bash ../libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include   -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2 -MT db_none.lo -MD -MP -MF .deps/db_none.Tpo -c -o db_none.lo db_none.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT db_none.lo -MD -MP -MF .deps/db_none.Tpo -c db_none.c  -fPIC -DPIC -o db_none.lo
mv -f .deps/db_none.Tpo .deps/db_none.Plo
/bin/bash ../libtool   --mode=link gcc  -Wall -W -g -O2   -o libsasldb.la  allockey.lo db_none.lo  -lresolv  
mkdir .libs
ar cru .libs/libsasldb.al allockey.lo db_none.lo
ranlib .libs/libsasldb.al
creating libsasldb.la
(cd .libs && rm -f libsasldb.la && ln -s ../libsasldb.la libsasldb.la)
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include   -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2 -MT db_none.o -MD -MP -MF .deps/db_none.Tpo -c -o db_none.o db_none.c
mv -f .deps/db_none.Tpo .deps/db_none.Po
ar cru .libs/libsasldb.a db_none.o
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/sasldb'
Making all in lib
make[2]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
make  all-am
make[3]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
/bin/bash ../libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb  -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2 -MT auxprop.lo -MD -MP -MF .deps/auxprop.Tpo -c -o auxprop.lo auxprop.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT auxprop.lo -MD -MP -MF .deps/auxprop.Tpo -c auxprop.c  -fPIC -DPIC -o auxprop.lo
mv -f .deps/auxprop.Tpo .deps/auxprop.Plo
>> CUT OUT SIMILAR LINES BECAUSE MY POST IS TOO LONG !!!<<
/bin/bash ../libtool    --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb  -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2 -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c -o plugin_common.lo `test -f '../plugins/plugin_common.c' || echo './'`../plugins/plugin_common.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c ../plugins/plugin_common.c  -fPIC -DPIC -o plugin_common.lo
mv -f .deps/plugin_common.Tpo .deps/plugin_common.Plo
/bin/bash ../libtool   --mode=link gcc  -Wall -W -g -O2 -version-info 3:0:0  -o libsasl2.la -rpath /usr/local/lib auxprop.lo canonusr.lo checkpw.lo client.lo common.lo config.lo external.lo md5.lo saslutil.lo server.lo seterror.lo dlopen.lo plugin_common.lo   -ldl   -lresolv  
mkdir .libs
(cd . && ln -s auxprop.lo auxprop.o)
>> CUT OUT SIMILAR LINES BECAUSE MY POST IS TOO LONG !!!<<
(cd . && ln -s dlopen.lo dlopen.o)
(cd . && ln -s plugin_common.lo plugin_common.o)
gcc -shared  auxprop.lo canonusr.lo checkpw.lo client.lo common.lo config.lo external.lo md5.lo saslutil.lo server.lo seterror.lo dlopen.lo plugin_common.lo  -ldl -lresolv -lc  -Wl,-soname -Wl,libsasl2.so.3 -o .libs/libsasl2.so.3.0.0
(cd .libs && rm -f libsasl2.so.3 && ln -s libsasl2.so.3.0.0 libsasl2.so.3)
(cd .libs && rm -f libsasl2.so && ln -s libsasl2.so.3.0.0 libsasl2.so)
creating libsasl2.la
(cd .libs && rm -f libsasl2.la && ln -s ../libsasl2.la libsasl2.la)
make[3]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
Making all in plugins
make[2]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/plugins'
/bin/bash ../libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include  -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2 -MT cram.lo -MD -MP -MF .deps/cram.Tpo -c -o cram.lo cram.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT cram.lo -MD -MP -MF .deps/cram.Tpo -c cram.c  -fPIC -DPIC -o cram.lo
mv -f .deps/cram.Tpo .deps/cram.Plo
>> CUT OUT SIMILAR LINES BECAUSE MY POST IS TOO LONG !!!<<
/bin/bash ../libtool   --mode=link gcc  -Wall -W -g -O2 -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 3:0:0  -o libcrammd5.la  cram.lo crammd5_init.lo plugin_common.lo  -lresolv  
mkdir .libs
(cd . && ln -s cram.lo cram.o)
(cd . && ln -s crammd5_init.lo crammd5_init.o)
(cd . && ln -s plugin_common.lo plugin_common.o)
gcc -shared  cram.lo crammd5_init.lo plugin_common.lo  -lresolv -lc  -Wl,-soname -Wl,libcrammd5.so.3 -o .libs/libcrammd5.so.3.0.0
(cd .libs && rm -f libcrammd5.so.3 && ln -s libcrammd5.so.3.0.0 libcrammd5.so.3)
(cd .libs && rm -f libcrammd5.so && ln -s libcrammd5.so.3.0.0 libcrammd5.so)
creating libcrammd5.la
(cd .libs && rm -f libcrammd5.la && ln -s ../libcrammd5.la libcrammd5.la)
/bin/bash ../libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include  -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2 -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c -o digestmd5.lo digestmd5.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c digestmd5.c  -fPIC -DPIC -o digestmd5.lo
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/plugins'
make[1]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26'
Making install in include
make[1]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/include'
make[2]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/include'
make[2]: Nothing to be done for `install-exec-am'.
test -z "" || /bin/mkdir -p ""
test -z "/usr/local/include/sasl" || /bin/mkdir -p "/usr/local/include/sasl"
 /usr/bin/install -c -m 644 hmac-md5.h md5.h md5global.h sasl.h saslplug.h saslutil.h prop.h '/usr/local/include/sasl'
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/include'
make[1]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/include'
Making install in sasldb
make[1]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/sasldb'
ar cru .libs/libsasldb.a db_none.o
make[2]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/sasldb'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/sasldb'
make[1]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/sasldb'
Making install in lib
make[1]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
make  install-am
make[2]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
make[3]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libsasl2.la '/usr/local/lib'
/usr/bin/install -c .libs/libsasl2.so.3.0.0 /usr/local/lib/libsasl2.so.3.0.0
(cd /usr/local/lib && rm -f libsasl2.so.3 && ln -s libsasl2.so.3.0.0 libsasl2.so.3)
(cd /usr/local/lib && rm -f libsasl2.so && ln -s libsasl2.so.3.0.0 libsasl2.so)
/usr/bin/install -c .libs/libsasl2.lai /usr/local/lib/libsasl2.la
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make  install-exec-hook
make[4]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
make[4]: Nothing to be done for `install-exec-hook'.
make[4]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
make[1]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/lib'
Making install in plugins
make[1]: Entering directory `/usr/local/src/cyrus-sasl-2.1.26/plugins'
/bin/bash ../libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include  -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2 -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c -o digestmd5.lo digestmd5.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c digestmd5.c  -fPIC -DPIC -o digestmd5.lo
make[1]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.26/plugins'
Whining:
I literally sat 13 hours in a row trying to work this crap out, I'm very angry and hope you guys can help me somehow
Attached Files
File Type: log install-shell.log (11.9 KB, 24 views)
File Type: log intall.log (60.4 KB, 43 views)
File Type: log remove-shell.log (295 Bytes, 24 views)

Last edited by roundpotato; 07-13-2013 at 06:06 AM.
 
Old 07-13-2013, 02:33 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Why do you think you will have to build software ?
Postfix : Then you probably have an internet connection,
and can install some of the available software.
Offered selections : At least 35,000 different packages.
http://www.wikihow.com/Install-Software-in-Debian-Linux

Installing postfix + "suggested" : # apt-get install postfix \
postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin dovecot-common \
resolvconf postfix-cdb ufw postfix-doc



If you ever want to build something : Get tools. Get the parts ..
All tools and parts : # apt-get build-dep cyrus-sasl2 ; # apt-get install fakeroot
Building the Debian7 version : $ apt-get -b source cyrus-sasl2=2.1.25.dfsg1-6+deb7u1
http://packages.debian.org/source/wheezy/cyrus-sasl2

-

Last edited by knudfl; 07-13-2013 at 02:47 AM.
 
Old 07-13-2013, 06:04 AM   #3
roundpotato
LQ Newbie
 
Registered: Jul 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Welcome to LQ.
Thanks for the Reply.

Quote:
Why do you think you will have to build software ?
Postfix : Then you probably have an internet connection,
and can install some of the available software.
Offered selections : At least 35,000 different packages.
http://www.wikihow.com/Install-Software-in-Debian-Linux

Installing postfix + "suggested" : # apt-get install postfix \
postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin dovecot-common \
resolvconf postfix-cdb ufw postfix-doc
Available packages won't do for many reasons and one of them is: outdated versions.



Quote:
If you ever want to build something : Get tools. Get the parts ..
All tools and parts : # apt-get build-dep cyrus-sasl2 ; # apt-get install fakeroot
Quote:
fakeroot runs a command in an environment wherein it appears to have
root privileges for file manipulation. This is useful for allowing
users to create archives (tar, ar, .deb etc.) with files in them with
root permissions/ownership. Without fakeroot one would need to have
root privileges to create the constituent files of the archives with
the correct permissions and ownership, and then pack them up, or one
would have to construct the archives directly, without using the
archiver.
I am root so that is not necessary, I can always use chmod 777 if really needed.

Quote:
build-dep
build-dep causes apt-get to install/remove packages in an attempt to satisfy the build dependencies for a
source package. By default the dependencies are satisfied to build the package natively. If desired a
host-architecture can be
If I understand correctly, it installs packages required to build source code of a program you specify after "build-dep", is that correct ?
If so, then it can also be used for thousands of other programs out there ?
Also if so, are all those packages I got offered really needed ? I got like 100MB total space(lots of packages).

Quote:
Building the Debian7 version : $ apt-get -b source cyrus-sasl2=2.1.25.dfsg1-6+deb7u1
http://packages.debian.org/source/wheezy/cyrus-sasl2
If I understand correctly, I don't want the -b switch, as I want to configure the build myself not auto-compile it.
The "source" gets the source I suppose, but what's with "cyrus-sasl2=2.1.25.dfsg1-6+deb7u1" is it something specific, why can I not download from the official sites ?

I hope I'm not a bother with all the questions.
 
Old 07-13-2013, 07:23 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
Available packages won't do .... : outdated versions.
Debian Wheezy provides stable software, not bleeding edge / untested.
Bleeding edge / experimental : Follow the link → → Experimental
> http://packages.debian.org/source/wheezy/cyrus-sasl2 >>
> http://packages.debian.org/source/ex...al/cyrus-sasl2


Quote:
sasl2=2.1.25.dfsg1-6+deb7u1" is it something specific, why can I not download
It's a "source specific naming" :
http://packages.debian.org/source/wheezy/cyrus-sasl2 > Go to the page bottom :
> cyrus-sasl2_2.1.25.dfsg1.orig.tar.gz
> http://ftp.de.debian.org/debian/pool...g1.orig.tar.gz
The 12 patches, etc. : cyrus-sasl2_2.1.25.dfsg1-6+deb7u1.debian.tar.gz
> http://ftp.de.debian.org/debian/pool....debian.tar.gz

Automatic download : # apt-get update ; $ apt-get source cyrus-sasl2
.. will download cyrus-sasl2_2.1.25.dfsg1.orig.tar.gz,
cyrus-sasl2_2.1.25.dfsg1-6+deb7u1.debian.tar.gz,
cyrus-sasl2_2.1.25.dfsg1-6+deb7u1.dsc to the current directory.

The experimental version `2.1.26` also includes 12 patches for Debian.

About fakeroot :
The safe choice is to build software using the unprivileged user account.

-
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Postfix+Cyrus SASL Authentication Problem Mavman Linux - Server 1 01-03-2011 05:37 PM
[SOLVED] Slackware64, postfix and cyrus-sasl wargus Slackware 2 03-18-2010 01:41 AM
Postfix + Cyrus-SASL seprob Linux - Server 5 11-18-2009 08:12 AM
postfix cyrus sasl md5 problem xiutuo Linux - Server 3 09-14-2009 10:30 AM
Cyrus SASL compile error Manuel-H Linux - General 2 05-10-2003 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration