[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vchkpw
Subject:    Re: [vchkpw] Trouble compiling under solaris 10 sparc
From:       dave vz <vpop () xtra-communications ! nu>
Date:       2009-10-07 6:49:51
Message-ID: bc043a9b0910062349v5f746516i61c9c7d92f56cd0b () mail ! gmail ! com
[Download RAW message or body]

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 <matt@inter7.com> 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 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 Brookings <matt@inter7.com>       GnuPG 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-----
>


!DSPAM:4acc3a1232713355960018!

[Attachment #3 (text/html)]

hello and thank you for the quick reply.<br><br>i tried version 5.4.27 so for my \
project i will use that version.<br><br>For the storage.h problem i will try to help \
you.<br><br>commenting the line&#39;s produced following errors:<br> <br><br>make  \
all-recursive<br>Making all in cdb<br>( cat warn-auto.sh; \<br>echo CC=\&#39;`head -1 \
conf-cc`\&#39;; \<br>echo LD=\&#39;`head -1 conf-ld`\&#39;; \<br>cat find-systype.sh; \
\<br>) | sh &gt; systype<br>( cat warn-auto.sh; \<br> echo &#39;main=&quot;$1&quot;; \
shift&#39;; \<br>echo &#39;rm -f &quot;$main&quot;&#39;; \<br>echo &#39;ar cr \
&quot;$main&quot; ${1+&quot;$@&quot;}&#39;; \<br>case &quot;`cat systype`&quot; in \
\<br>sunos-5.*) ;; \<br>unix_sv*) ;; \<br> irix64-*) ;; \<br>irix-*) ;; \<br>dgux-*) \
;; \<br>hp-ux-*) ;; \<br>sco*) ;; \<br>*) echo &#39;ranlib &quot;$main&quot;&#39; ;; \
\<br>esac \<br>) &gt; makelib<br>chmod 755 makelib<br>( cat warn-auto.sh; \<br>echo \
exec &quot;`head -1 conf-cc`&quot; -fPIC &#39;-c ${1+&quot;$@&quot;}&#39; \<br> ) \
&gt; compile<br>chmod 755 compile<br>( cat warn-auto.sh; \<br>echo \
&#39;main=&quot;$1&quot;; shift&#39;; \<br>echo exec &quot;`head -1 conf-ld`&quot; \
\<br>&#39;-o &quot;$main&quot; &quot;$main&quot;.o ${1+&quot;$@&quot;}&#39; \<br> ) \
&gt; load<br>chmod 755 load<br>( ( ./compile tryulong32.c &amp;&amp; ./load \
tryulong32 &amp;&amp; \<br>./tryulong32 ) &gt;/dev/null 2&gt;&amp;1 \<br>&amp;&amp; \
                cat uint32.h2 || cat uint32.h1 ) &gt; uint32.h<br>rm -f tryulong32.o \
                tryulong32<br>
./compile cdb_hash.c<br>./compile cdb_unpack.c<br>./compile cdb_seek.c<br>./makelib \
cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o<br>./compile cdbmake_pack.c<br>./compile \
cdbmake_hash.c<br>./compile cdbmake_add.c<br>./makelib cdbmake.a cdbmake_pack.o \
cdbmake_hash.o \<br> cdbmake_add.o<br>gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-vpopmail.o `test -f &#39;vpopmail.c&#39; || echo \
&#39;./&#39;`vpopmail.c<br>gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-md5.o `test -f &#39;md5.c&#39; || echo &#39;./&#39;`md5.c<br> gcc -I. \
-Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a-bigdir.o `test -f \
&#39;bigdir.c&#39; || echo &#39;./&#39;`bigdir.c<br>gcc -I. -Icdb -I.    -fPIC -g -O2 \
-Wall -c -o libvpopmail_a-vauth.o `test -f &#39;vauth.c&#39; || echo \
                &#39;./&#39;`vauth.c<br>
vauth.c: In function `set_vpasswd_files&#39;:<br>vauth.c:385: warning: int format, \
pid_t arg (arg 6)<br>vauth.c: In function `vauth_setpw&#39;:<br>vauth.c:634: warning: \
int format, uid_t arg (arg 5)<br>vauth.c:634: warning: int format, gid_t arg (arg \
                6)<br>
vauth.c: In function `vwrite_dir_control&#39;:<br>vauth.c:1017: warning: int format, \
pid_t arg (arg 5)<br>gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-file_lock.o `test -f &#39;file_lock.c&#39; || echo \
&#39;./&#39;`file_lock.c<br> gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-vpalias.o `test -f &#39;vpalias.c&#39; || echo \
&#39;./&#39;`vpalias.c<br>gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o \
                libvpopmail_a-seek.o `test -f &#39;seek.c&#39; || echo \
                &#39;./&#39;`seek.c<br>
seek.c: In function `MakeSeekable&#39;:<br>seek.c:65: warning: implicit declaration \
of function `vmin&#39;<br>gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-vlimits.o `test -f &#39;vlimits.c&#39; || echo \
&#39;./&#39;`vlimits.c<br> gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-maildirquota.o `test -f &#39;maildirquota.c&#39; || echo \
&#39;./&#39;`maildirquota.c<br>gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-vutil.o `test -f &#39;vutil.c&#39; || echo &#39;./&#39;`vutil.c<br> gcc \
-I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a-vlistlib.o `test -f \
&#39;vlistlib.c&#39; || echo &#39;./&#39;`vlistlib.c<br>gcc -I. -Icdb -I.    -fPIC -g \
-O2 -Wall -c -o libvpopmail_a-backfill.o `test -f &#39;backfill.c&#39; || echo \
                &#39;./&#39;`backfill.c<br>
backfill.c: In function `remove_line&#39;:<br>backfill.c:87: warning: int format, \
uid_t arg (arg 4)<br>backfill.c:87: warning: int format, gid_t arg (arg \
5)<br>backfill.c:87: warning: unsigned int format, mode_t arg (arg 6)<br> gcc -I. \
-Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a-client.o `test -f \
&#39;client.c&#39; || echo &#39;./&#39;`client.c<br>client.c: In function \
`client_connect&#39;:<br>client.c:60: error: syntax error before numeric constant<br> \
client.c:156: error: invalid lvalue in unary `&amp;&#39;<br>client.c:157: error: \
request for member `sun_family&#39; in something not a structure or \
union<br>client.c:158: error: request for member `sun_path&#39; in something not a \
structure or union<br> client.c:166: error: invalid lvalue in unary \
`&amp;&#39;<br>*** Error code 1<br>make: Fatal error: Command failed for target \
`libvpopmail_a-client.o&#39;<br>Current working directory \
/root/vpopmail-5.4.28<br>*** Error code 1<br> The following command caused the \
error:<br>failcom=&#39;exit 1&#39;; \<br>for f in x $MAKEFLAGS; do \<br>  case $f in \
\<br>    *=* | --[!k]*);; \<br>    *k*) failcom=&#39;fail=yes&#39;;; \<br>  esac; \
\<br>done; \<br>dot_seen=no; \<br> target=`echo all-recursive | sed s/-recursive//`; \
\<br>list=&#39;cdb&#39;; for subdir in $list; do \<br>  echo &quot;Making $target in \
$subdir&quot;; \<br>  if test &quot;$subdir&quot; = &quot;.&quot;; then \<br>    \
dot_seen=yes; \<br>  local_target=&quot;$target-am&quot;; \<br>  else \<br>    \
local_target=&quot;$target&quot;; \<br>  fi; \<br>  (cd $subdir &amp;&amp; make  \
$local_target) \<br>  || eval $failcom; \<br>done; \<br>if test &quot;$dot_seen&quot; \
= &quot;no&quot;; then \<br>  make  &quot;$target-am&quot; || exit 1; \<br>fi; test \
-z &quot;$fail&quot;<br>make: Fatal error: Command failed for target \
`all-recursive&#39;<br>Current working directory /root/vpopmail-5.4.28<br>*** Error \
code 1<br>make: Fatal error: Command failed for target `all&#39;<br> <br><div \
class="gmail_quote">On Tue, Oct 6, 2009 at 3:44 PM, Matt Brookings <span \
dir="ltr">&lt;<a href="mailto:matt@inter7.com">matt@inter7.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
                204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
dave vz wrote:<br>
&gt; hello<br>
&gt; I&#39;m having problems compiling vpopmail 5.4.28 under solaris 10 sparc.<br>
<br>
</div>The vusage daemon is not required in 5.4.28, but you may want to try \
5.4.27.<br> If you can, to help me out since I don&#39;t have a Solaris system to \
test with<br> currently, can you edit storage.h and remove the two lines that \
include<br> those headers and try to compile again?<br>
- --<br>
/*<br>
    Matt Brookings &lt;<a href="mailto:matt@inter7.com">matt@inter7.com</a>&gt;       \
GnuPG Key FAE0672C<br>  Software developer                     Systems technician<br>
    Inter7 Internet Technologies, Inc.     (815)776-9465<br>
*/<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" \
target="_blank">http://enigmail.mozdev.org</a><br> <br>
iEYEARECAAYFAkrLScwACgkQIwet2/rgZyxaMACcCkpj22eGTTovrrowHFjxtoaa<br>
EDcAn1SrrZ5UihqMKroOuai2Y2xvXKnj<br>
=BSIl<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br>


!DSPAM:4acc3a1232713355960018!



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic