hi
i downloaded the source code and binaries for postfresql but am unable
to use either one
the following is the error message i get when i try and use the binary
version:

$ uname -a
SunOS myhost 5.6 Generic_105181-03 sun4u sparc SUNW,Ultra-2
$ cat .profile
export LD_LIBRARY_PATH=/usr/local/pgsql/lib
export PATH=$PATH:/usr/local/pgsql/bin
export MANPATH=$MANPATH:/usr/local/pgsql/man
export  PGLIB=/usr/local/pgsql/lib
export PGDATA=/usr/local/pgsql/data
export USER=pgsql

$ initdb

ld.so.1: pg_id: fatal: libgen.so.1: open failed: No such file or
directory
Unable to determine a valid username.  If you are running
initdb without an explicit username specified, then there
may be a problem with finding the Postgres shared library
and/or the pg_id utility.
$

This is using postgesql v6.4.2

As far as the source code goes, I get the following error:
make[3]: Entering directory
`/local/src/pgsql/src/interfaces/ecpg/preproc'
/usr/ccs/bin/yacc -d preproc.y
"preproc.y", line 576: warning: redeclaration of precedence of UNLISTEN.

gcc -I../../../include -I../../../backend     -Wall -Wmissing-prototypes
-I../include -DMAJOR_VERSION=2 -DMINOR_VERSION=4 -DPATCHLEVEL=4
-DINCLUDE_PATH=\"/usr/local/pgsql/include\"    -c y.tab.c -o y.tab.o
/usr/ccs/bin/yaccpar: In function `yyparse':
/usr/ccs/bin/yaccpar:274: warning: implicit declaration of function
`yylex'
/usr/ccs/bin/yaccpar:374: warning: label `yyerrlab' defined but not used

/usr/ccs/bin/yaccpar:164: warning: label `yynewstate' defined but not
used
lex pgc.l
"pgc.l":line 53: Error: missing translation value
make[3]: *** [pgc.c] Error 1
make[3]: Leaving directory
`/local/src/pgsql/src/interfaces/ecpg/preproc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/local/src/pgsql/src/interfaces/ecpg'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/local/src/pgsql/src/interfaces'
make: *** [all] Error 2
$

Any leads on how I can solve these problems?

Thank you.




Reply via email to