Re: [vchkpw] Trouble compiling under solaris 10 sparc

2009-10-06 Thread dave vz
hello and thank you for the quick reply.

i tried version 5.4.27 so for my project i will use that version.

For the storage.h problem i will try to help you.

commenting the line's produced following errors:


make  all-recursive
Making all in cdb
( 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
( 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
./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
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vpopmail.o `test
-f 'vpopmail.c' || echo './'`vpopmail.c
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-md5.o `test -f
'md5.c' || echo './'`md5.c
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-bigdir.o `test
-f 'bigdir.c' || echo './'`bigdir.c
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vauth.o `test -f
'vauth.c' || echo './'`vauth.c
vauth.c: In function `set_vpasswd_files':
vauth.c:385: warning: int format, pid_t arg (arg 6)
vauth.c: In function `vauth_setpw':
vauth.c:634: warning: int format, uid_t arg (arg 5)
vauth.c:634: warning: int format, gid_t arg (arg 6)
vauth.c: In function `vwrite_dir_control':
vauth.c:1017: warning: int format, pid_t arg (arg 5)
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-file_lock.o
`test -f 'file_lock.c' || echo './'`file_lock.c
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vpalias.o `test
-f 'vpalias.c' || echo './'`vpalias.c
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-seek.o `test -f
'seek.c' || echo './'`seek.c
seek.c: In function `MakeSeekable':
seek.c:65: warning: implicit declaration of function `vmin'
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vlimits.o `test
-f 'vlimits.c' || echo './'`vlimits.c
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-maildirquota.o
`test -f 'maildirquota.c' || echo './'`maildirquota.c
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vutil.o `test -f
'vutil.c' || echo './'`vutil.c
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-vlistlib.o `test
-f 'vlistlib.c' || echo './'`vlistlib.c
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-backfill.o `test
-f 'backfill.c' || echo './'`backfill.c
backfill.c: In function `remove_line':
backfill.c:87: warning: int format, uid_t arg (arg 4)
backfill.c:87: warning: int format, gid_t arg (arg 5)
backfill.c:87: warning: unsigned int format, mode_t arg (arg 6)
gcc -I. -Icdb -I.-fPIC -g -O2 -Wall -c -o libvpopmail_a-client.o `test
-f 'client.c' || echo './'`client.c
client.c: In function `client_connect':
client.c:60: error: syntax error before numeric constant
client.c:156: error: invalid lvalue in unary `&'
client.c:157: error: request for member `sun_family' in something not a
structure or union
client.c:158: error: request for member `sun_path' in something not a
structure or union
client.c:166: error: invalid lvalue in unary `&'
*** Error code 1
make: Fatal error: Command failed for target `libvpopmail_a-client.o'
Current working directory /root/vpopmail-5.4.28
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='cdb'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
  else \
local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/vpopmail-5.4.28
*** Error code 1
make: Fatal error: Command failed for target `all'

On Tue, Oct 6, 2009 at 3:44 PM, Matt Brookings  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> dave vz wrote:
> > hello
> > I'm having problems compiling vpopmail 5.4.28 under solaris 10 sparc.
>
> The vusage daemon is 

Re: [vchkpw] Trouble compiling under solaris 10 sparc

2009-10-06 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

dave vz wrote:
> hello
> I'm having problems compiling vpopmail 5.4.28 under solaris 10 sparc.

The vusage daemon is not required in 5.4.28, but you may want to try 5.4.27.
If you can, to help me out since I don't have a Solaris system to test with
currently, can you edit storage.h and remove the two lines that include
those headers and try to compile again?
- --
/*
Matt BrookingsGnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrLScwACgkQIwet2/rgZyxaMACcCkpj22eGTTovrrowHFjxtoaa
EDcAn1SrrZ5UihqMKroOuai2Y2xvXKnj
=BSIl
-END PGP SIGNATURE-


[vchkpw] Trouble compiling under solaris 10 sparc

2009-10-06 Thread dave vz
hello
I'm having problems compiling vpopmail 5.4.28 under solaris 10 sparc.

I receive following error :

storage.h:30:20: endian.h: No such file or directory
storage.h:31:22: byteswap.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `libvpopmail_a-maildirquota.o'
Current working directory /src/vpopmail-5.4.28
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='cdb'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
  else \
local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /src/vpopmail-5.4.28
*** Error code 1
make: Fatal error: Command failed for target `all'


which is normal since both endian.h and byteswap.h don't exist under
solaris.

Does anyone know a sollution which does not force me to backtrack every
release to find the latest version that does compile?


!DSPAM:4acb3c2932711020371026!