Trying to compile on Solaris 8 box using gcc
SunOS wnc1s00b 5.8 Generic_108528-08 sun4u sparc SUNW,Sun-Blade-1000
and initial make is failing; I have only changed
CC=gcc
CFLAGS=... (removed # for GCC_WARNINGS)
I added additional directories to test NFS on both an auspex
and a netapp filer.
Any guidance would be appreciated; I hope to move to 3.21 for
maildir support. It seems I just started having file locking
problems in accessing my mailspool through mutt; and i think
mutt will access maildir format -- hence my interest in
upgrading.
wnc1s00b-187> make
/bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" \
"-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun -lgen
-lsockdns -ldl" \
"/lib /usr/lib /usr/local/lib" \
/dev/null "/opt/corp/contrib/bin/make" o \
"gcc" "-O -O2 -pedantic -Wreturn-type -Wunused -Wformat
-Wtraditional -Wpointer-arith -Wconversion -Waggregate-return " "-s
" "procmail lockfile formail mailstat" \
"procmail formail lockfile" \
"procmailrc procmailsc procmailex" "src man" \
"/hwtools/bin" \
"strip"
gcc seems to work fine, using that as the C-compiler
...scanning for 13 libraries...
Added LDFLAGS= -lm -lsocket -lnsl -lgen -ldl -lc
cd src; /opt/corp/contrib/bin/make ../autoconf.h
make[1]: Entering directory
`/opt/corp/mnt/nchdeu10/gcasey/src/procmail-3.21/src'
/bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f"
/dev/null \
"fgrep" "/opt/corp/contrib/bin/make" o "__defaults__" \
"/hwtools/bin" ../autoconf.h
==============================================================================
In order for the kernel-locking tests to work as
intended I have to be able to
test-lock files on as many semantically different
filesystems as possible (for
more information about this, READ PARAGRAPH TWO in
INSTALL). To suppress this
prompt you can set the LOCKINGTEST variable in the
Makefile.
Please add writable directories to the list. You
should only add directories
that reside on filesystems that have unique
characteristics. E.g. if you have
several remote NFS partitions, pick some unique
client-server pairs, there is
little use in picking the same server twice from the
same client-machine.
An excellent candidate would be a remotely mounted
mail spool directory.
==============================================================================
I will temporarily use a testdirectory named _locktest
in the following directories:
/tmp .
If you would like to add any, please specify them
below,
press return to continue:
/home/gcasey /users/gcasey
/net/znc1y000/vol/vol0/tmp_backup
I will temporarily use a testdirectory named _locktest
in the following directories:
/tmp . /home/gcasey /users/gcasey
/net/znc1y000/vol/vol0/tmp_backup
If you would like to add any, please specify them
below,
press return to continue:
Initiating fcntl()/kernel-locking-support tests
Whoeaaa! There's something fishy going on here.
You have a look and see if you detect anything
uncanny:
*******************************************************
make[2]: Entering directory
`/opt/corp/mnt/nchdeu10/gcasey/src/procmail-3.21/src'
cc -c -O -O2 -pedantic -Wreturn-type -Wunused -Wformat
-Wtraditional -Wpointer-arith -Wconversion
-Waggregate-return _autotst.c
In file included from
/opt/corp/contrib/gcc/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/include/time.h:90,
from /usr/include/sys/time.h:410,
from
/usr/include/sys/select.h:17,
from
/opt/corp/contrib/gcc/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/include/sys/types.h:281,
from
_autotst.c:2:
/usr/include/sys/siginfo.h:74:
parse
error
before
`pthread_attr_t'
/usr/include/sys/siginfo.h:74:
warning:
no
semicolon
at
end
of
struct
or
union
/usr/include/sys/siginfo.h:76:
parse
error
before
`}'
/usr/include/sys/siginfo.h:76:
warning:
ANSI
C
does
not
allow
extra
`;'
outside
of
a
function
make[2]:
***
[_autotst.o]
Error
1
make[2]:
Leaving
directory
`/opt/corp/mnt/nchdeu10/gcasey/src/procmail-3.21/src'*******************************************************
I
suggest
you
take
a
look
at
the
definition
of
CFLAGS*
and
CC
in
the
Makefile
before
you
try
make
again.
make[1]:
***
[../autoconf.h]
Error
1
make[1]:
Leaving
directory
`/opt/corp/mnt/nchdeu10/gcasey/src/procmail-3.21/src'make:
***
[autoconf.h]
Error
2
wnc1s00b-188>
--
Errol Casey
http://www.askerrol.org http://www.boo-bear.com
http://www.rtpnet.org http://www.ncarrl.org
(GPG Key: Send email with Subject: send gpg )
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail