[Users] Building CM 3.17

Lee Underwood mail at leeunderwood.org
Wed Jul 29 18:04:48 CEST 2020


This is what I got using the instructions below:

lee at lee-desktop:~$ cd ~/tmp
lee at lee-desktop:~/tmp$ git clone https://git.claws-mail.org/readonly/claws.git
Cloning into 'claws'...
remote: Counting objects: 115637, done.
remote: Compressing objects: 100% (23780/23780), done.
remote: Total 115637 (delta 98740), reused 107173 (delta 91650)
Receiving objects: 100% (115637/115637), 52.71 MiB | 8.82 MiB/s, done.
Resolving deltas: 100% (98740/98740), done.
Checking out files: 100% (1489/1489), done.
lee at lee-desktop:~/tmp$ cd claws
lee at lee-desktop:~/tmp/claws$ git rev-parse --short Head
fatal: Needed a single revision
lee at lee-desktop:~/tmp/claws$ git rev-parse --short HEAD
aecf6d5c2
lee at lee-desktop:~/tmp/claws$ ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:54: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:54: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.ac:96: installing 'config/compile'
configure.ac:51: installing 'config/config.guess'
configure.ac:51: installing 'config/config.sub'
configure.ac:54: installing 'config/install-sh'
configure.ac:54: installing 'config/missing'
src/Makefile.am: installing 'config/depcomp'
configure.ac: installing 'config/ylwrap'
checking for git... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-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 whether make supports nested variables... yes
checking for gtk-update-icon-cache... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for windres... no
checking for gawk... (cached) mawk
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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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... yes
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 -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for g++... /usr/bin/g++
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for host platform... x86_64-pc-linux-gnu
checking for native Win32... no
checking for Cygwin... no
checking if gcc supports -Wno-pointer-sign... yes
checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for bind_textdomain_codeset... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for docbook2html... no
checking for docbook2txt... no
checking for docbook2ps... no
checking for docbook2pdf... no
checking for setlocale in -lxpg4... no
checking whether to use LibSM... yes
checking for SmcSaveYourselfDone in -lSM... yes
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking whether struct dirent has d_type member... yes
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking if mkdir takes one argument... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for unistd.h... (cached) yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for library containing backtrace_symbols... none required
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for wint_t... yes
checking for u32 typedef... no
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 8
checking for working alloca.h... yes
checking for alloca... yes
checking for gethostname... yes
checking for mkdir... yes
checking for mktime... yes
checking for socket... yes
checking for strstr... yes
checking for strchr... yes
checking for strcasestr... yes
checking for uname... yes
checking for flock... yes
checking for lockf... yes
checking for inet_aton... yes
checking for inet_addr... yes
checking for fchmod... yes
checking for mkstemp... yes
checking for truncate... yes
checking for getuid... yes
checking for regcomp... yes
checking for fgets_unlocked... yes
checking for fgetc_unlocked... yes
checking for fputs_unlocked... yes
checking for fputc_unlocked... yes
checking for fread_unlocked... yes
checking for fwrite_unlocked... yes
checking for feof_unlocked... yes
checking for ferror_unlocked... yes
checking for fmemopen... yes
checking for GLIB... yes
checking for GDK_PIXBUF... yes
checking for bind_textdomain_codeset... (cached) yes
checking whether to use IPv6... yes
checking for IPv6 support... yes
checking whether to use GnuTLS... yes
checking for GNUTLS... yes
Building with GnuTLS
checking for GNUTLS... yes
checking for NETTLE... yes
checking for GTK... yes
checking whether to use enchant... yes
checking for ENCHANT... no
checking for ENCHANT... no
Building without enchant-notification
checking whether to use compface... yes
checking for uncompface in -lcompface... no
checking whether to use pthread... yes
checking for pthread_create in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for res_query in -lresolv... no
checking for STARTUP_NOTIFICATION... no
Building without libstartup-notification
checking for DBUS... yes
checking whether DBUS support for alternate address book is present... yes
checking whether to enable alternate address book... no
checking whether to use LDAP... yes
checking for res_query in -lresolv... (cached) no
checking for bind in -lsocket... no
checking for gethostbyaddr in -lnsl... yes
checking for ber_get_tag in -llber... no
checking ldap.h usability... no
checking ldap.h presence... no
checking for ldap.h... no
checking lber.h usability... no
checking lber.h presence... no
checking for lber.h... no
checking whether ldap library is available... no
checking whether TLS library is available... 
checking whether to use JPilot... yes
checking pi-args.h usability... no
checking pi-args.h presence... no
checking for pi-args.h... no
checking pi-appinfo.h usability... no
checking pi-appinfo.h presence... no
checking for pi-appinfo.h... no
checking pi-address.h usability... no
checking pi-address.h presence... no
checking for pi-address.h... no
checking pi-version.h usability... no
checking pi-version.h presence... no
checking for pi-version.h... no
checking libpisock/pi-args.h usability... no
checking libpisock/pi-args.h presence... no
checking for libpisock/pi-args.h... no
checking libpisock/pi-appinfo.h usability... no
checking libpisock/pi-appinfo.h presence... no
checking for libpisock/pi-appinfo.h... no
checking libpisock/pi-address.h usability... no
checking libpisock/pi-address.h presence... no
checking for libpisock/pi-address.h... no
checking libpisock/pi-version.h usability... no
checking libpisock/pi-version.h presence... no
checking for libpisock/pi-version.h... no
checking for unpack_Address in -lpisock... no
configure: JPilot support not available
checking for NETWORKMANAGER_SUPPORT... no
NetworkManager not found.
checking whether to use libetpan... yes
checking for LIBETPAN... no
checking for libetpan-config... no
*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/ 
*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.
configure: error: libetpan 0.57 not found
lee at lee-desktop:~/tmp/claws$ sudo checkinstall --pkgname=claws-mail --pkgversion=3.17 --pkgrelease=6-aecf6d5c2
[sudo] password for lee: 

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.


The package documentation directory ./doc-pak does not exist. 
Should I create a default set of package docs?  [y]: y

Preparing package documentation...OK

Please write a description for the package.
End your description with an empty line or EOF.
>> Claws-Mail 3.17
>> 

*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values: 

0 -  Maintainer: [ root at lee-desktop ]
1 -  Summary: [ Claws-Mail 3.17 ]
2 -  Name:    [ claws-mail ]
3 -  Version: [ 3.17 ]
4 -  Release: [ 6-aecf6d5c2 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ amd64 ]
8 -  Source location: [ claws ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ claws-mail ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

========================= Installation results ===========================
make: *** No rule to make target 'install'.  Stop.

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

lee at lee-desktop:~/tmp/claws$ 



Thanks,
Lee


==============================================================
On Wed, Jul 29, 2020, John Crisp <jcrisp at safeandsoundit.co.uk> wrote:

> On Wed, 29 Jul 2020 09:39:12 +0100
> Dave Howorth <dave at howorth.org.uk> wrote:
> > 
> > You were offered a few different methods of building claws, so you'll
> > need to tell us what you were doing.
> >   
> 
> For reference I just tested again on mine in case I missed a step, and
> this built fine:
> 
> cd ~/tmp
> git clone https://git.claws-mail.org/readonly/claws.git
> cd claws
> 
> Get the commit to use in checkinstall:
> 
> git rev-parse --short HEAD
> aecf6d5c2
> 
> Then:
> 
> ./autogen.sh
> sudo checkinstall --pkgname=claws-mail --pkgversion=3.17
> --pkgrelease=6-aecf6d5c2
> 
> > Please post the entire output from the start up to this point,
> > including the commands you typed.
> >   
> 
> As Dave says, you need to provide some decent output for anyone to be
> able to help you further.
> 
> 



More information about the Users mailing list