[Pgsql-ayuda] Re: postgresql 7.3.4 en solaris 8

From: "red-utm" <pglist(at)mixteco(dot)utm(dot)mx>
To: "Jose Joaquin Lorente Garcia" <jlorente(at)unesco(dot)upv(dot)es>
Cc: pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx
Subject: [Pgsql-ayuda] Re: postgresql 7.3.4 en solaris 8
Date: 2003-08-28 23:47:51
Message-ID: 20030828231605.M3316@www.utm.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

> Ya instale el postgres pero al ejecutar initdb me marca el siguiente error.
------------------------------->
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locales:
COLLATE: es_MX.ISO8859-1 CTYPE: es_MX.ISO8859-1 MESSAGES: es
MONETARY: es_MX.ISO8859-1 NUMERIC: es_MX.ISO8859-1 TIME: es_MX.
ISO8859-1
This locale setting will prevent the use of indexes for pattern matching
operations. If that is a concern, rerun initdb with the collation order
set to "C". For more information see the Administrator's Guide.

creating directory /opt/pgsql/data... ok
creating directory /opt/pgsql/data/base... ok
creating directory /opt/pgsql/data/global... ok
creating directory /opt/pgsql/data/pg_xlog... ok
creating directory /opt/pgsql/data/pg_clog... ok
creating template1 database in /opt/pgsql/data/base/1... Failed to initialize lc
_messages to ''

ok
creating configuration files... ok
initializing pg_shadow... Failed to initialize lc_messages to ''
-------------------------------------->
> y cuando lo arranco desde el postmaster manda el siguiente error:

$ /opt/pgsql/bin/postmaster -D /opt/pgsql/data -i -o -e
Failed to initialize lc_messages to ''
FATAL: invalid value for option 'LC_MESSAGES': 'es'

> al aparcer es un problema con la configuracion del lenguaje como lo puedo
>arreglar?
>gracias por la ayuda para instalarlo y ojala puedan ayudarme en este error

----------------------------------------------------------------------
On Thu, 28 Aug 2003 07:20:12 +0200, Jose Joaquin Lorente Garcia wrote
> Hola David,
> parece que se resiste postgresQL a instalarse en tu solaris 8. Bueno,
> creo que este problema tiene que ver con la librería openssl. En
> las FAQ de postgres recomiendan utilizar la última versión debido a
> una redefinición de variables o constantes en los ficheros de
> cabecera de openssl y postgres que parece ser lo que te ocurre a ti
> al compilar. Si a pesar de todo no consiguieras eliminar este error,
> yo de ti ejecutaría de nuevo el configure excluyendo la opción de ssl
>
> Saludos,
>
> JJ
> ----- Original Message -----
> From: "red-utm" <pglist(at)mixteco(dot)utm(dot)mx>
> To: "Manuel Sugawara" <masm(at)fciencias(dot)unam(dot)mx>
> Cc: <pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx>
> Sent: Thursday, August 28, 2003 12:46 AM
> Subject: Re: [Pgsql-ayuda] Re: postgresql 7.3.4 en solaris 8
>
> > 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(at)fciencias(dot)unam(dot)mx> writes:
> > >
> > > > "red-utm" <pglist(at)mixteco(dot)utm(dot)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
> >
> > _______________________________________________
> > Pgsql-ayuda mailing list
> > Pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx
> > http://tlali.iztacala.unam.mx/mailman/listinfo/pgsql-ayuda

--
Universidad Tecnologica de la Mixteca

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera Munoz 2003-08-29 00:00:33 Re: [Pgsql-ayuda] Re: postgresql 7.3.4 en solaris 8
Previous Message Gunnar Wolf 2003-08-28 22:38:07 Re: [Pgsql-ayuda] trigger solo en algunos campos...