[Pgsql-ayuda] Re: postgresql 7.3.4 en solaris 8
red-utm
pglist@mixteco.utm.mx
Wed, 27 Aug 2003 16:46:28 -0600
Ya corregi la variable PATH para que utilice el sort de gnu que esta en
/usr/local/bin, pero ahora me saca este error:
--------------------->
gcc -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC -I.
-I../../../src/include -I/usr/local/ssl/include -DFRONTEND
-DSYSCONFDIR='"/opt/pgsql/etc"' -c -o fe-connect.o fe-connect.c
In file included from fe-connect.c:46:
/usr/include/crypt.h:22: parse error before '(' token
/usr/include/crypt.h:22: parse error before "const"
make[3]: *** [fe-connect.o] Error 1
make[3]: Leaving directory `/opt/pgsql/postgresql-7.3.4/src/interfaces/libpq'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/pgsql/postgresql-7.3.4/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/pgsql/postgresql-7.3.4/src'
make: *** [all] Error 2
------------------------>
el archivo /usr/include/crypt.h hasta la linea 23 tiene lo siguiente:
------------------------>
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
#ifndef _CRYPT_H
#define _CRYPT_H
#pragma ident "@(#)crypt.h 1.10 92/09/14 SMI" /* SVr4.0 1.1 */
#ifdef __cpluspluS
extern "C" {
#endif
/* Password and file encryption functions */
#if defined(__STDC__)
extern char *crypt(const char *, const char *);
extern int crypt_close(int *);
extern char *des_crypt(const char *, const char *);
---------------------->
comente las lineas
#ifdef __cpluspluS
extern "C" {
#endif
poque pense que la } le faltaba que cerrara pero sigue marcando el mismo
error, alguna idea de donde buscar
gracias de antemano
David Cruz
On 27 Aug 2003 13:49:08 -0500, Manuel Sugawara wrote
> Manuel Sugawara <masm@fciencias.unam.mx> writes:
>
> > "red-utm" <pglist@mixteco.utm.mx> writes:
> >
> > > Tenian razon ya pude configurar agregandole las rutas de librerias a la
> > > variable
> > > LD_LIBRARY_PATH , ahora al hacer el make me sale el siguiente error,
abusando
> > > de sus concimientos a que se debe el siguiente error que me arroja el make:
> > >
> > > Gen_fmgrtab.sh failed
>
> otro intento, pasate al directorio src/backend/utils y le pícale
>
> sh -x Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
>
> y mandanos la salida para ver exactamente que falla.
>
> Saludos,
> Manuel.
--
Universidad Tecnologica de la Mixteca