[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Newbie - Simple? installation problem



Have you tried to install binary packages from 
http://www.sunfreeware.com/.

lg,
Kurt


On Wed, 2001-12-19 at 11:42, Euan Guttridge wrote:
> I am attempting to install OpenLDAP on Solaris 2.7. I am having problems
> installing all the pre-requisite software. For starters, below are the
> errors from RX, and m4. Configure runs fine, both fail at make. I am not too
> hot on compilation either so excuse the ignorance if these are simple
> errors. 
> 
> Also to clarify I seem to need to have:
> autoconf, binutils, gcc, libgcc, m4, cyrus, rx, SleepyCat, OpenSSL?
> 
> 
> Any help much appreciated.
> 
> 
> rx fails at make with:
> 
> gcc -c -I. -I. -I./../libsystas -g -O -DSTDC_HEADERS=1 -I. rxdbug.c
> In file included from rxdbug.c:21:
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:36:27:
> iso/stdio_iso.h: No such file or directory
> In file included from rxdbug.c:21:
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:194: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:229: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:230: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:236: parse
> error before "size_t"
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:241: parse
> error before "size_t"
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:250: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:252: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:276: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:285: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:286: parse
> error before "FILE"
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:287: parse
> error before '*' token
> *** Error code 1
> make: Fatal error: Command failed for target `rxdbug.o'
> 
> 
> m4 fails at make with:
> 
> Error for m4 at make:
> In file included from getopt.c:41:
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:36:27:
> iso/stdio_iso.h: No such file or directory
> In file included from getopt.c:41:
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:194: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:229: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:230: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:236: parse
> error before "size_t"
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:241: parse
> error before "size_t"
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:250: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:252: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:276: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:285: parse
> error before '*' token
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:286: parse
> error before "FILE"
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h:287: parse
> error before '*' token
> getopt.c:84: `NULL' undeclared here (not in a function)
> getopt.c: In function `_getopt_initialize':
> getopt.c:286: `NULL' undeclared (first use in this function)
> getopt.c:286: (Each undeclared identifier is reported only once
> getopt.c:286: for each function it appears in.)
> getopt.c: In function `_getopt_internal':
> getopt.c:375: `NULL' undeclared (first use in this function)
> getopt.c:430: `EOF' undeclared (first use in this function)
> getopt.c:508: `stderr' undeclared (first use in this function)
> *** Error code 1
> make: Fatal error: Command failed for target `getopt.o'
> Current working directory /export/home/dmadmin/m4-1.4/lib
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> 
>