Franta Hanzlík
2017-06-04 11:38:47 UTC
I tried to compile and build mailutils-3.2, but this attempt ends with
error:
...
CC url.lo
CCLD libmu_imap.la
make[4]: Leaving directory `/mnt/ARCHIV/misc_src/mailutils/mailutils-3.2/libproto/imap'
Making all in tests
make[4]: Entering directory `/mnt/ARCHIV/misc_src/mailutils/mailutils-3.2/libproto/imap/tests'
CC imapfolder.o
CCLD imapfolder
/home/hanzlik/ARCHIV/misc_src/mailutils/mailutils-3.2/libmu_auth/.libs/libmu_auth.so: undefined reference to `mu_assoc_ref'
collect2: error: ld returned 1 exit status
make[4]: *** [imapfolder] Error 1
make[4]: Leaving directory `/mnt/ARCHIV/misc_src/mailutils/mailutils-3.2/libproto/imap/tests'
make[3]: *** [all-recursive] Error 1
...
What can be wrong?
My ./configure status is:
*******************************************************************
GNU Mailutils configured with the following settings:
Default mailbox scheme ........ maildir
Use PAM ....................... yes
Use -ltdl ..................... yes
Use DBM ....................... GDBM
Use GNU TLS ................... yes
Use GSASL ..................... yes
Use GSSAPI .................... no
Use TCP wrappers .............. yes
Pthread support ............... yes
Readline support .............. yes
MySQL support ................. yes
PostgreSQL support ............ yes
LDAP support .................. yes
Radius support ................ no
Support for virtual domains ... yes
IPv6 support .................. yes
Interfaces:
Guile ......................... yes
C++ ........................... no
Python ........................ yes
Mailbox formats:
IMAP .......................... yes
POP ........................... yes
MH ............................ yes
maildir ....................... yes
Mailers:
SMTP .......................... yes
Sendmail ...................... yes
Utilities to build:
Servers ....................... pop3d imap4d comsat
Clients ....................... frm maidag mail sieve messages readmsg dotlock movemail mimeview mh
*******************************************************************
And my system is Fedora 19/i386 Linux with:
kernel-PAE-3.14.27-100.fc19.i686
glibc-2.17-21.fc19.i686
gcc-4.8.3-7.fc19.i686
gcc-c++-4.8.3-7.fc19.i686
What is also suspicious for me, ./configure shows there is not support for
C++ - but its relevant test seems me IMHO good;
./configure --with-gdbm --with-mysql --with-postgres --with-ldap --with-gsasl 2>&1|egrep -i -C 1 '(g\+\+|C\+\+|cxx)'
outputs:
configure: autobuild timestamp... 20170604T092706Z
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether ln -s works... yes
--
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
--
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether stdint.h has UINTMAX_WIDTH etc.... no
checking for C/C++ restrict keyword... __restrict
checking whether ffsl is declared without a macro... yes
--
Guile ......................... yes
C++ ........................... no
Python ........................ yes
I'm more an administrator than a programmer, can please someone help me?
PS: I was trying also compile devel version mailutils-3.2.91, with result:
- 'make' ends OK
- ./configure not detect C++ interface
- 'make check' found 5 failures:
ERROR: All 171 tests were run,
5 failed unexpectedly.
## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
GNU Mailutils 3.2.91 test suite test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS
1: install-mh.at:18 install-mh -auto
install-mh install-mh00
123: comp.at:21 comp -file
comp comp00 comp-file
124: comp.at:41 comp -file (del)
comp comp01 comp-file_del
142: mhn.at:131 mhn -store -auto
mhn mhn03 mhn-store-auto
143: mhn.at:142 mhn -store -auto -part
mhn mhn04 mhn-store-auto-part
error:
...
CC url.lo
CCLD libmu_imap.la
make[4]: Leaving directory `/mnt/ARCHIV/misc_src/mailutils/mailutils-3.2/libproto/imap'
Making all in tests
make[4]: Entering directory `/mnt/ARCHIV/misc_src/mailutils/mailutils-3.2/libproto/imap/tests'
CC imapfolder.o
CCLD imapfolder
/home/hanzlik/ARCHIV/misc_src/mailutils/mailutils-3.2/libmu_auth/.libs/libmu_auth.so: undefined reference to `mu_assoc_ref'
collect2: error: ld returned 1 exit status
make[4]: *** [imapfolder] Error 1
make[4]: Leaving directory `/mnt/ARCHIV/misc_src/mailutils/mailutils-3.2/libproto/imap/tests'
make[3]: *** [all-recursive] Error 1
...
What can be wrong?
My ./configure status is:
*******************************************************************
GNU Mailutils configured with the following settings:
Default mailbox scheme ........ maildir
Use PAM ....................... yes
Use -ltdl ..................... yes
Use DBM ....................... GDBM
Use GNU TLS ................... yes
Use GSASL ..................... yes
Use GSSAPI .................... no
Use TCP wrappers .............. yes
Pthread support ............... yes
Readline support .............. yes
MySQL support ................. yes
PostgreSQL support ............ yes
LDAP support .................. yes
Radius support ................ no
Support for virtual domains ... yes
IPv6 support .................. yes
Interfaces:
Guile ......................... yes
C++ ........................... no
Python ........................ yes
Mailbox formats:
IMAP .......................... yes
POP ........................... yes
MH ............................ yes
maildir ....................... yes
Mailers:
SMTP .......................... yes
Sendmail ...................... yes
Utilities to build:
Servers ....................... pop3d imap4d comsat
Clients ....................... frm maidag mail sieve messages readmsg dotlock movemail mimeview mh
*******************************************************************
And my system is Fedora 19/i386 Linux with:
kernel-PAE-3.14.27-100.fc19.i686
glibc-2.17-21.fc19.i686
gcc-4.8.3-7.fc19.i686
gcc-c++-4.8.3-7.fc19.i686
What is also suspicious for me, ./configure shows there is not support for
C++ - but its relevant test seems me IMHO good;
./configure --with-gdbm --with-mysql --with-postgres --with-ldap --with-gsasl 2>&1|egrep -i -C 1 '(g\+\+|C\+\+|cxx)'
outputs:
configure: autobuild timestamp... 20170604T092706Z
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether ln -s works... yes
--
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
--
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether stdint.h has UINTMAX_WIDTH etc.... no
checking for C/C++ restrict keyword... __restrict
checking whether ffsl is declared without a macro... yes
--
Guile ......................... yes
C++ ........................... no
Python ........................ yes
I'm more an administrator than a programmer, can please someone help me?
PS: I was trying also compile devel version mailutils-3.2.91, with result:
- 'make' ends OK
- ./configure not detect C++ interface
- 'make check' found 5 failures:
ERROR: All 171 tests were run,
5 failed unexpectedly.
## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
GNU Mailutils 3.2.91 test suite test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS
1: install-mh.at:18 install-mh -auto
install-mh install-mh00
123: comp.at:21 comp -file
comp comp00 comp-file
124: comp.at:41 comp -file (del)
comp comp01 comp-file_del
142: mhn.at:131 mhn -store -auto
mhn mhn03 mhn-store-auto
143: mhn.at:142 mhn -store -auto -part
mhn mhn04 mhn-store-auto-part
--
Thanks in advance,
Franta Hanzlik
Thanks in advance,
Franta Hanzlik