Re: vpopmail 5.5.0 compile error

powell murlene <[email protected]>
Newsgroups gmane.mail.vpopmail
Message-ID <[email protected]>
am using openbsd 4.7 and vpopmail 5.5.0 ,
i have found all my lib directories and ran ldconfig but still the same error,
my query still focuses on the compilation of the cdb/uint32.h,
as far as i understand header files are not compiled but included in a c file.
-------

gcc -shared -o libvpopmail.so md5.o bigdir.o vauth.o file_lock.o vpalias.o
seek.o vlimits.o maildirquota.o vutil.o vlistlib.o client.o conf.o ippp.o
backfill.o vpopmail.o quota.o group.o cdb/uint32.h cdb/cdb_hash.o
cdb/cdbmake_add.o cdb/cdbmake_hash.o cdb/cdbmake_pack.o cdb/cdb_seek.o
cdb/cdb_unpack.o

gcc: compilation of header file requested
gmake: *** [libvpopmail.so] Error 1

On 8 June 2010 03:13, Remo Mattei <[email protected]> wrote:
>
> What OS are you using? I guess that's openbsd :) by looking at the logs: What version of vpopmail is this 5.5? did you do an ldconfig?
>
> On Jun 7, 2010, at 8:09 PM, powell murlene wrote:
>
> hi everyone
> i've been searching the net for a solution to my problem,
> the following is the output of the configure and make steps to compile vpopmail,
> i assume that the problem has to do with trying to compile cdb/uint32.h
> how do i solve the problem
>
> shadrock
>
>
> =====================================================
> ./configure
> =====================================================
> checking build system type... i386-unknown-openbsd4.7
> checking host system type... i386-unknown-openbsd4.7
> checking for gawk... gawk
> 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 a BSD-compatible install... /usr/bin/install -c
> checking for ranlib... ranlib
> checking for library containing strerror... none required
> checking preferred make binary... gmake
> checking for crypt in -lcrypt... no
> checking for dlopen in -ldl... no
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/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 arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking assert.h usability... yes
> checking assert.h presence... yes
> checking for assert.h... yes
> checking byteswap.h usability... no
> checking byteswap.h presence... no
> checking for byteswap.h... no
> checking crypt.h usability... no
> checking crypt.h presence... no
> checking for crypt.h... no
> checking ctype.h usability... yes
> checking ctype.h presence... yes
> checking for ctype.h... yes
> checking dirent.h usability... yes
> checking dirent.h presence... yes
> checking for dirent.h... yes
> checking machine/endian.h usability... yes
> checking machine/endian.h presence... yes
> checking for machine/endian.h... yes
> checking sys/endian.h usability... yes
> checking sys/endian.h presence... yes
> checking for sys/endian.h... yes
> checking endian.h usability... no
> checking endian.h presence... no
> checking for endian.h... no
> checking err.h usability... yes
> checking err.h presence... yes
> checking for err.h... yes
> checking errno.h usability... yes
> checking errno.h presence... yes
> checking for errno.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking for memory.h... (cached) yes
> checking netinet/in.h usability... yes
> checking netinet/in.h presence... yes
> checking for netinet/in.h... yes
> checking pwd.h usability... yes
> checking pwd.h presence... yes
> checking for pwd.h... yes
> checking shadow.h usability... no
> checking shadow.h presence... no
> checking for shadow.h... no
> checking signal.h usability... yes
> checking signal.h presence... yes
> checking for signal.h... yes
> checking stdarg.h usability... yes
> checking stdarg.h presence... yes
> checking for stdarg.h... yes
> checking for stdint.h... (cached) yes
> checking stdio.h usability... yes
> checking stdio.h presence... yes
> checking for stdio.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking sys/file.h usability... yes
> checking sys/file.h presence... yes
> checking for sys/file.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking for sys/stat.h... (cached) yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking for sys/types.h... (cached) yes
> checking sys/uio.h usability... yes
> checking sys/uio.h presence... yes
> checking for sys/uio.h... yes
> checking sys/un.h usability... yes
> checking sys/un.h presence... yes
> checking for sys/un.h... yes
> checking sys/wait.h usability... yes
> checking sys/wait.h presence... yes
> checking for sys/wait.h... yes
> checking time.h usability... yes
> checking time.h presence... yes
> checking for time.h... yes
> checking for unistd.h... (cached) yes
> checking utime.h usability... yes
> checking utime.h presence... yes
> checking for utime.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking for inttypes.h... (cached) yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking for uid_t in sys/types.h... yes
> checking for mode_t... yes
> checking for off_t... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking return type of signal handlers... void
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for unistd.h... (cached) yes
> checking for working chown... yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking whether closedir returns void... no
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible malloc... yes
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible realloc... yes
> checking whether lstat dereferences a symlink specified with a trailing slash... yes
> checking whether stat accepts an empty string... no
> checking for utime.h... (cached) yes
> checking whether utime accepts a null argument... yes
> checking for bzero... yes
> checking for dup2... yes
> checking for fdatasync... no
> checking for getcwd... yes
> checking for gethostname... yes
> checking for getpass... yes
> checking for getspnam... no
> checking for memset... yes
> checking for mkdir... yes
> checking for putenv... yes
> checking for rmdir... yes
> checking for socket... yes
> checking for strchr... yes
> checking for strdup... yes
> checking for strerror... yes
> checking for strncasecmp... yes
> checking for strrchr... yes
> checking for strspn... yes
> checking for strstr... yes
> checking for utime... yes
> checking for warn... yes
> checking for chdir... yes
> checking for umask... yes
> checking for strtok... yes
> checking for strchr... (cached) yes
> checking for strstr... (cached) yes
> checking for close... yes
> checking for execv... yes
> checking for write... yes
> checking for read... yes
> checking for fopen... yes
> checking for fputs... yes
> checking for atoi... yes
> checking for atol... yes
> checking for malloc... yes
> checking for memset... (cached) yes
> checking for strcmp... yes
> checking for strncmp... yes
> checking for strcasecmp... yes
> checking for waitpid... yes
> checking for strncat... yes
> checking for strcpy... yes
> checking for fflush... yes
> checking for kill... yes
> checking for rename... yes
> checking for chmod... yes
> checking for free... yes
> checking for srand... yes
> checking for rand... yes
> checking for getenv... yes
> checking for gmtime... yes
> checking for strtoll... yes
> checking for htonll... no
> checking for ntohll... no
> checking for bswap64... no
> checking id command syntax... id -u
> checking ps command syntax... ps -aux
> checking if we're building on Solaris... no
> checking whether we can locate the qmail directory... /var/qmail
> checking whether we can locate the qmail-newu program... yes
> checking whether we can locate the qmail-inject program... yes
> checking whether we can locate the qmail-newmrh program... yes
> checking if vpopmail user and group settings are correct... yes
> checking directory layout... vpopmail style
> checking whether /home/vpopmail/etc exists...... yes
> checking whether roaming-users has been enabled... no
> checking whether learn-passwords is enabled... no
> checking whether md5-passwords is enabled... yes
> checking whether system supports MD5 passwords... yes
> checking whether file-locking is enabled... yes
> checking whether file-sync is enabled... no
> checking whether make-seekable is enabled... yes
> checking whether clear-passwd is enabled... yes
> checking whether user-big-dir is enabled... yes
> checking whether sqwebmail-pass is enabled... no
> checking whether qmail-ext is enabled... no
> checking whether ip-alias-domains is enabled... no
> checking whether onchange script is enabled... no
> checking whether spamassassin is enabled... no
> checking whether maildrop is enabled... no
> checking whether domainquotas is enabled... yes
> checking whether system accounts have been enabled... no
> checking whether /etc/shadow exists... no
> checking whether logging is enabled... errors only
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... no
> checking whether pthreads work with -Kthread... no
> checking whether pthreads work with -kthread... no
> checking for the pthreads library -llthread... no
> checking whether pthreads work with -pthread... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for pthreads... no
> checking ev.h usability... yes
> checking ev.h presence... yes
> checking for ev.h... yes
> checking for ev_loop_new in -lev... yes
> checking whether any discontinued --enable commands have been used... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating vusaged/Makefile
> config.status: creating vusaged/contrib/rc.vusaged
> config.status: creating backends/module.mk
> config.status: creating config.h
> config.status: config.h is unchanged
>
>            vpopmail 5.5.0
>             Current settings
> ---------------------------------------
>
>  domains directory = /home/vpopmail/domains
>     conf directory = /home/vpopmail/etc
>      bin directory = /home/vpopmail/bin
>      lib directory = /home/vpopmail/lib
>  include directory = /home/vpopmail/include
>                uid = 1012
>                gid = 1005
>      roaming users = OFF --disable-roaming-users (default)
>  password learning = OFF --disable-learn-passwords (default)
>      md5 passwords = ON  --enable-md5-passwords (default)
>       file locking = ON  --enable-file-locking (default)
> vdelivermail fsync = OFF --disable-file-sync (default)
>      make seekable = ON  --enable-make-seekable (default)
>       clear passwd = ON  --enable-clear-passwd (default)
>  user dir hashing  = ON  --enable-users-big-dir (default)
> address extensions = OFF --disable-qmail-ext (default)
>           ip alias = OFF --disable-ip-alias-domains (default)
>    onchange script = OFF --disable-onchange-script (default)
>      domain quotas = ON  --enable-domainquotas (default)
>   system passwords = OFF --disable-passwd (default)
>         pop syslog = show only failed attempts --enable-logging=e (default)
>       spamassassin = OFF --disable-spamassassin (default)
>           maildrop = OFF --disable-maildrop (default)
>
> (Type 'gmake' to compile)
>
> ===========================================================
> gmake
> ===========================================================
> (cd cdb;gmake)
> gmake[1]: Entering directory `/usr/src/vpopmail-5.5.0/cdb'
> ( cat warn-auto.sh; \
>     echo exec "`head -1 conf-cc`" -fPIC '-c ${1+"$@"}' \
>     ) > compile
> chmod 755 compile
> ( cat warn-auto.sh; \
>     echo 'main="$1"; shift'; \
>     echo exec "`head -1 conf-ld`" \
>     '-o "$main" "$main".o ${1+"$@"}' \
>     ) > load
> chmod 755 load
> ( ( ./compile tryulong32.c && ./load tryulong32 && \
>     ./tryulong32 ) >/dev/null 2>&1 \
>     && cat uint32.h2 || cat uint32.h1 ) > uint32.h
> rm -f tryulong32.o tryulong32
> ( cat warn-auto.sh; \
>     echo CC=\'`head -1 conf-cc`\'; \
>     echo LD=\'`head -1 conf-ld`\'; \
>     cat find-systype.sh; \
>     ) | sh > systype
> ( cat warn-auto.sh; \
>     echo 'main="$1"; shift'; \
>     echo 'rm -f "$main"'; \
>     echo 'ar cr "$main" ${1+"$@"}'; \
>     case "`cat systype`" in \
>     sunos-5.*) ;; \
>     unix_sv*) ;; \
>     irix64-*) ;; \
>     irix-*) ;; \
>     dgux-*) ;; \
>     hp-ux-*) ;; \
>     sco*) ;; \
>     *) echo 'ranlib "$main"' ;; \
>     esac \
>     ) > makelib
> chmod 755 makelib
> ./compile cdb_hash.c
> ./compile cdb_unpack.c
> ./compile cdb_seek.c
> ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
> ./compile cdbmake_pack.c
> ./compile cdbmake_hash.c
> ./compile cdbmake_add.c
> ./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \
>     cdbmake_add.o
> gmake[1]: Leaving directory `/usr/src/vpopmail-5.5.0/cdb'
> (cd cdb;gmake)
> gmake[1]: Entering directory `/usr/src/vpopmail-5.5.0/cdb'
> gmake[1]: Nothing to be done for `default'.
> gmake[1]: Leaving directory `/usr/src/vpopmail-5.5.0/cdb'
> gcc  -fPIC -o md5.o -c md5.c
> gcc  -fPIC -o bigdir.o -c bigdir.c
> gcc  -fPIC -o vauth.o -c vauth.c
> gcc  -fPIC -o file_lock.o -c file_lock.c
> gcc  -fPIC -o vpalias.o -c vpalias.c
> gcc  -fPIC -o seek.o -c seek.c
> gcc  -fPIC -o vlimits.o -c vlimits.c
> gcc  -fPIC -o maildirquota.o -c maildirquota.c
> gcc  -fPIC -o vutil.o -c vutil.c
> gcc  -fPIC -o vlistlib.o -c vlistlib.c
> gcc  -fPIC -o client.o -c client.c
> gcc  -fPIC -o conf.o -c conf.c
> gcc  -fPIC -o ippp.o -c ippp.c
> gcc  -fPIC -o backfill.o -c backfill.c
> gcc  -fPIC -o vpopmail.o -c vpopmail.c
> gcc  -fPIC -o quota.o -c quota.c
> gcc  -fPIC -o group.o -c group.c
> gcc -shared -o libvpopmail.so md5.o bigdir.o vauth.o file_lock.o vpalias.o seek.o vlimits.o maildirquota.o vutil.o vlistlib.o client.o conf.o ippp.o backfill.o vpopmail.o quota.o group.o cdb/uint32.h cdb/cdb_hash.o cdb/cdbmake_add.o cdb/cdbmake_hash.o cdb/cdbmake_pack.o cdb/cdb_seek.o cdb/cdb_unpack.o
>
> gcc: compilation of header file requested
> gmake: *** [libvpopmail.so] Error 1
>
>
> Remo Mattei
> [email protected]
>
>
> 

!DSPAM:4c0e368b32718504117459!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.