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

RE: Newbie - Simple? installation problem



Thanks, that seemed to resolve most compilation probs..

-----Original Message-----
From: Kurt Bauer [mailto:bauer@cc.univie.ac.at]
Sent: 19 December 2001 12:42
To: Euan Guttridge
Cc: 'openldap-software@OpenLDAP.org'
Subject: RE: Newbie - Simple? installation problem



ftp://ftp.sunfreeware.com/pub/freeware/sparc/7/m4-1.4-sol7-sparc-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/sparc/7/openssl-0.9.6b-sol7-sparc-loc
al.gz

You're right for the others.

Maybe you have a problem with correct versions, your path says
'/usr/local/lib/gcc-lib/sparc-sun-solaris2.8'. 
                        ^^^^^^^^^^^^^^^^^^^^           
If you use Solaris7, maybe thats the problem and you should fetch
yourself a gcc for your OS-version.

lg,
Kurt



On Wed, 2001-12-19 at 13:31, Euan Guttridge wrote:
> Yes, although I cannot find the binary packages for m4, cyrus, rx,
> SleepyCat, and OpenSSL - only sources. Any ideas?
> 
> -----Original Message-----
> From: Kurt Bauer [mailto:bauer@cc.univie.ac.at]
> Sent: 19 December 2001 12:11
> To: Euan Guttridge
> Cc: 'openldap-software@OpenLDAP.org'
> Subject: 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'
> > 
> > 
>