#------------------------------------------------------------------------------ # Copyright (c) 2001-2018 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2008-08-24 jed # Last Update: $Id$ # # !!! this is not a script but an step-by-step howto !!! #------------------------------------------------------------------------------ exit 1 # - needs the following environment to build: gcc v3.3.4 # - needs the following library packages to be build: - libexpat-dev - libkrb5-dev - libneon-dev - libssl-dev - libssl1_1 # - needs the following packages to be build: + base 2.8.3 ### RPM build info ### RPM package source: http://download.opensuse.org/repositories/openSUSE:/Factory/standard/src/sitecopy-0.16.6-41.11.src.rpm # if the RPM build process is used instead of the manual build process, # the following package can be ignored and aren't required for this package: # - # # RPM build command: # rpmbuild -ba --rmsource ./SPECS/sitecopy.spec ### Manual build info ### 1. ./configure --prefix=/usr --disable-nls 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 whether make sets $(MAKE)... yes checking for library containing strerror... none required checking for a BSD-compatible install... /usr/bin/install -c checking for inline... inline checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... gcc -E 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 socketpair... yes configure: debugging is enabled checking for GNU fnmatch... 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 size_t... yes checking for off_t... yes checking for uname... Linux checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for long long... yes checking size of long long... 8 checking for gcc -Wformat -Werror sanity... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for size_t... (cached) yes checking size of size_t... 4 checking how to print size_t... u checking for off_t... (cached) yes checking size of off_t... 4 checking how to print off_t... ld checking for ssize_t... yes checking size of ssize_t... 4 checking how to print ssize_t... d checking whether byte ordering is bigendian... no checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for snprintf... yes checking for vsnprintf... yes checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for neon-config... /usr/bin/neon-config checking linking against neon... yes configure: incompatible neon library version 0.29.4: wanted 0.24 25 26 27 28 configure: using bundled neon (0.28.2) checking for sys/time.h... yes checking for limits.h... yes checking for sys/select.h... yes checking for arpa/inet.h... yes checking for libintl.h... yes checking for signal.h... yes checking for sys/socket.h... yes checking for netinet/in.h... yes checking for netinet/tcp.h... yes checking for netdb.h... yes checking for sys/poll.h... yes checking for sys/limits.h... no checking for fcntl.h... yes checking for iconv.h... yes checking for timezone global... yes checking for off64_t... yes checking for off64_t... (cached) yes checking size of off64_t... 8 checking how to print off64_t... lld checking for strtoll... yes checking for lseek64... yes checking for fstat64... yes configure: LFS (large file) support enabled checking for strcasecmp... yes checking for signal... yes checking for setvbuf... yes checking for setsockopt... yes checking for stpcpy... yes checking for poll... yes checking for fcntl... yes checking for getsockopt... yes checking whether stpcpy is declared... yes checking for library containing socket... none needed checking for library containing getaddrinfo... none needed checking for gai_strerror... yes checking for getnameinfo... yes checking for inet_ntop... yes configure: IPv6 support is enabled checking for working AI_ADDRCONFIG... yes checking for socklen_t... yes checking for struct tm.tm_gmtoff... yes checking for struct tm.__tm_gmtoff... no configure: zlib not supported checking whether to enable ACL support in neon... no configure: SSL support is not enabled configure: Thread-safe SSL support is not enabled configure: Thread-safe SSL not supported configure: SOCKSv5 support is not enabled checking for krb5-config... none checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for XML_SetXmlDeclHandler in -lexpat... yes checking for XML_Size... yes checking for XML_Size... (cached) yes checking size of XML_Size... 4 checking how to print XML_Size... ld configure: XML parser used: expat configure: WebDAV support is enabled checking for getopt_long... yes checking for strcasecmp... (cached) yes checking for strdup... yes checking for strsignal... yes checking for strerror... yes checking for memcpy... yes checking for setlocale... yes checking for nl_langinfo... yes checking return type of signal handlers... void checking for stdarg.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/time.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for limits.h... (cached) yes checking for sys/select.h... (cached) yes checking for fcntl.h... (cached) yes checking for the third argument of getsockname... socklen_t checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether NLS is requested... no 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 build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether we are using the GNU C Library 2 or newer... yes checking for ranlib... /usr/bin/ranlib checking for simple visibility declarations... yes checking for stdint.h... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for unsigned long long int... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for AIX... no checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether imported symbols can be declared weak... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... yes checking for pthread_rwlock_t... yes checking for multithread API to use... posix checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for inttypes.h... (cached) yes checking for limits.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for stpcpy... (cached) yes checking for strcasecmp... (cached) yes checking for strdup... (cached) yes checking for strtoul... yes checking for tsearch... yes checking for argz_count... yes checking for argz_stringify... yes checking for argz_next... yes checking for __fsetlocking... yes checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... yes 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 NL_LOCALE_NAME macro... no checking for bison... bison checking version of bison... 2.4.3, ok checking for long long int... yes checking for wchar_t... yes checking for wint_t... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for ptrdiff_t... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for asprintf... yes checking for fwprintf... yes checking for putenv... yes checking for setenv... yes checking for setlocale... (cached) yes checking for snprintf... (cached) yes checking for wcslen... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking whether to use NLS... no configure: creating ./config.status config.status: creating Makefile config.status: creating lib/neon/Makefile config.status: creating po/Makefile.in config.status: creating intl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing po-directories commands config.status: creating po/POTFILES config.status: setting ALL_LINGUAS in configure.in is obsolete config.status: creating po/Makefile configure: Configured sitecopy 0.16.6: Install prefix: /usr Compiler: gcc Frontend: Console (executable named 'sitecopy') Supported protocols: sftp/ssh rsh/rcp WebDAV FTP neon library: included libneon (0.28.2) XML Parser: expat SSL library: SSL support is not enabled Internationalization: Not built 2. make >>> Entering intl make[1]: Entering directory `/soft/sitecopy-0.16.6/intl' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/soft/sitecopy-0.16.6/intl' <<< Leaving intl >>> Entering lib/neon make[1]: Entering directory `/soft/sitecopy-0.16.6/lib/neon' gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_request.c -o ne_request.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_session.c -o ne_session.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_basic.c -o ne_basic.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_string.c -o ne_string.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_uri.c -o ne_uri.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_dates.c -o ne_dates.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_alloc.c -o ne_alloc.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_md5.c -o ne_md5.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_utils.c -o ne_utils.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_socket.c -o ne_socket.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_auth.c -o ne_auth.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_redirect.c -o ne_redirect.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_compress.c -o ne_compress.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_i18n.c -o ne_i18n.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_pkcs11.c -o ne_pkcs11.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_207.c -o ne_207.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_xml.c -o ne_xml.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_props.c -o ne_props.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_locks.c -o ne_locks.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_xmlreq.c -o ne_xmlreq.o gcc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -DNE_LFS -I../.. -g -O2 -I../../lib/neon -c ne_stubssl.c -o ne_stubssl.o /usr/bin/ar cru libneon.a ne_request.o ne_session.o ne_basic.o ne_string.o ne_uri.o ne_dates.o ne_alloc.o ne_md5.o ne_utils.o ne_socket.o ne_auth.o ne_redirect.o ne_compress.o ne_i18n.o ne_pkcs11.o ne_207.o ne_xml.o ne_props.o ne_locks.o ne_xmlreq.o ne_stubssl.o /usr/bin/ranlib libneon.a make[1]: Leaving directory `/soft/sitecopy-0.16.6/lib/neon' <<< Leaving lib/neon gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/sites.o -c src/sites.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/sitefiles.o -c src/sitefiles.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/sitestore.o -c src/sitestore.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/rcfile.o -c src/rcfile.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/common.o -c src/common.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/nulldriver.o -c src/nulldriver.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/lsparser.o -c src/lsparser.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/ftp.o -c src/ftp.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/ftpdriver.o -c src/ftpdriver.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/davdriver.o -c src/davdriver.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/rshdriver.o -c src/rshdriver.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/sftpdriver.o -c src/sftpdriver.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o src/console_fe.o -c src/console_fe.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o lib/netrc.o -c lib/netrc.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o lib/basename.o -c lib/basename.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o lib/dirname.o -c lib/dirname.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o lib/rpmatch.o -c lib/rpmatch.c gcc -D_LARGEFILE64_SOURCE -DNE_LFS -I. -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 -I./lib/neon -o lib/yesno.o -c lib/yesno.c gcc -g -O2 -I./lib/neon -o sitecopy src/sites.o src/sitefiles.o src/sitestore.o src/rcfile.o src/common.o src/nulldriver.o src/lsparser.o src/ftp.o src/ftpdriver.o src/davdriver.o src/rshdriver.o src/sftpdriver.o src/console_fe.o -L./lib/neon -lneon -lexpat lib/netrc.o lib/basename.o lib/dirname.o lib/rpmatch.o lib/yesno.o Compilation complete. Run 'make install' to install sitecopy. (You may need to become root to do this) 3. make test make: *** No rule to make target `test'. Stop. 4. strip -s sitecopy 5. tar cvf sitecopy.tar sitecopy INSTALL NEWS README TODO doc/examplerc doc/update.sh