I'm trying to compile under SunOS 5.8 Generic_117350-28 sun4u sparc SUNW,Ultra-5_10 (I know it's a bit oldish :-) and I get this error:
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT pkcs5.lo -MD -MP -MF .deps/pkcs5.Tpo -c -o pkcs5.lo pkcs5.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT pkcs5.lo -MD -MP -MF .deps/pkcs5.Tpo -c pkcs5.c -fPIC -DPIC -o .libs/pkcs5.o pkcs5.c:9:20: error: stdint.h: No such file or directory make[4]: *** [pkcs5.lo] Error 1
What have I missed?
I did:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--mandir=/usr/share/man --docdir=/usr/share/doc/packages/dovecot
--disable-ipv6 --enable-header-install\
make
Is it reasonable?
Thanks in advance,
Luciano.
/"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/
You are missing stdint.h. Try to locate that, and include the directory. However, this is odd, since it should be shipped with GCC itself.
Lev
On Fri, Jul 21, 2017 at 2:15 PM, Luciano Mannucci luciano@vespaperitivo.it wrote:
I'm trying to compile under SunOS 5.8 Generic_117350-28 sun4u sparc SUNW,Ultra-5_10 (I know it's a bit oldish :-) and I get this error:
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT pkcs5.lo -MD -MP -MF .deps/pkcs5.Tpo -c -o pkcs5.lo pkcs5.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT pkcs5.lo -MD -MP -MF .deps/pkcs5.Tpo -c pkcs5.c -fPIC -DPIC -o .libs/pkcs5.o pkcs5.c:9:20: error: stdint.h: No such file or directory make[4]: *** [pkcs5.lo] Error 1
What have I missed?
I did:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--mandir=/usr/share/man --docdir=/usr/share/doc/packages/dovecot
--disable-ipv6 --enable-header-install\make
Is it reasonable?
Thanks in advance,
Luciano.
/"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/
On Fri, 21 Jul 2017 14:38:57 +0200 Levente leventelist@gmail.com wrote:
You are missing stdint.h. Try to locate that, and include the directory. However, this is odd, since it should be shipped with GCC itself. You're right! It is missing.
This is the output of gcc -v:
Reading specs from /opt/csw/gcc4/lib/gcc/sparc-sun-solaris2.8/4.0.2/specs Target: sparc-sun-solaris2.8 Configured with: ../sources/gcc-4.0.2/configure --prefix=/opt/csw/gcc4 --with-local-prefix=/opt/csw --without-gnu-as --with-as=/usr/ccs/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-shared --enable-multilib --enable-nls --with-included-gettext --with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib --with-system-zlib --enable-languages=c,c++,f95,java,objc,ada Thread model: posix gcc version 4.0.2
Is it too old?
Thanks again,
Luciano.
/"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/
On 07/21/17 08:56 AM, Luciano Mannucci wrote:
Target: sparc-sun-solaris2.8 Configured with: ../sources/gcc-4.0.2/configure --prefix=/opt/csw/gcc4 --with-local-prefix=/opt/csw --without-gnu-as --with-as=/usr/ccs/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-shared --enable-multilib --enable-nls --with-included-gettext --with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib --with-system-zlib --enable-languages=c,c++,f95,java,objc,ada Thread model: posix gcc version 4.0.2
Is it too old?
solaris 8 is way too old! I think you need Solaris 10 or newer
On Fri, 21 Jul 2017 09:27:18 -0400 Oscar del Rio delrio@mie.utoronto.ca wrote:
solaris 8 is way too old! I think you need Solaris 10 or newer I know. Though dovecot 2.2.5 compiles and runs:
nameron# doveconf -n # 2.2.5: /etc/dovecot/dovecot.conf # OS: SunOS 5.8 sun4u ufs
Luciano.
/"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/
On 21/07/2017 13:38, Levente wrote:
You are missing stdint.h. Try to locate that, and include the directory. However, this is odd, since it should be shipped with GCC itself.
Headers are generally supplied by the OS not the compiler, stdint.h is
$ find /usr/include -name stdint.h /usr/include/sys/stdint.h /usr/include/stdint.h
from SUNWhea on S10 and system/header on S11. Nevertheless it's missing on Solaris 8 and 9. You can make your own, this worked for me on Solaris 9 at least once, untested recently:
#ifndef _STDINT_H #define _STDINT_H
#include
#endif /* _STDINT_H */
Or just #define what you think it needs, it's not complex.
On Fri, 21 Jul 2017 15:04:59 +0100 James list@xdrv.co.uk wrote:
from SUNWhea on S10 and system/header on S11. Nevertheless it's missing on Solaris 8 and 9. You can make your own, this worked for me on Solaris 9 at least once, untested recently: Worked! Thanks! Now it is complainig about openssl, I think:
../../src/lib-ssl-iostream/iostream-openssl.h:6:25: error: openssl/ssl.h: No such file or directory In file included from test-http-client.c:12:
I'll try to install a modern version, hoping it'll compile... :)
Thanks again,
Luciano.
/"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/
participants (4)
-
James
-
Levente
-
Luciano Mannucci
-
Oscar del Rio