problems with win2k...
От | Robert J. Sanford, Jr. |
---|---|
Тема | problems with win2k... |
Дата | |
Msg-id | HOEFIONAHHKFEFENBMNOCELPCAAA.rsanford@nolimitsystems.com обсуждение исходный текст |
Ответы |
Re: problems with win2k...
(Jason Tishler <jason@tishler.net>)
|
Список | pgsql-cygwin |
i'm new at this but i'll at least be thorough ;) i was reading the instructions for installing on win2k at http://postgresql.cokernet.com/docs/faq-mswin. so i download the latest cygwinsetup.exe and run the full install (including source files which takes for freakin' ever). i then install cygipc 1.09-2 into the cygwin/usr directory and start the daemon (not as a service but just straight up). i launch the cygwin bash shell and cd to the postgres 7.1.2 directory and start running the commands per the admin manual (pdf version). the commands are... ./configure gmake gmake install adduser postgres su - postgres /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 & /usr/local/pgsql/bin/createdb test /usr/local/pgsql/bin/psql test first, there isn't a gmake. but, being the bright sort of bear that i am i just used make instead and it seems to work. well, mostly. i get lots of good stuff being dumped to stdout that says that things are being built up until the very end where i get the following... ************** error msgs start here ************** gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations command.o common.o help.o input.o stringutils.o mainloop.o copy.o startup.o prompt.o variables.o large_obj.o print.o describe.o tab-complete.o -L../../../src/interfaces/libpq -lpq -L /usr/local/lib -g -lz -lcrypt -lreadline -lcygipc -o psql tab-complete.o(.text+0x2a36):tab-complete.c: undefined reference to `filename_co mpletion_function' collect2: ld returned 1 exit status make[3]: *** [psql] Error 1 make[3]: Leaving directory `/cygdrive/c/postgresql-7.1.2/src/bin/psql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/cygdrive/c/postgresql-7.1.2/src/bin' make[1]: *** [all] Error 2 make[1]: Leaving directory `/cygdrive/c/postgresql-7.1.2/src' make: *** [all] Error 2 ************** error msgs end here ************** in cygwin/usr/local/pgsql/bin i have the following files that have been created... 08/08/2001 03:47p 298,036 ecpg.exe 08/08/2001 03:47p 20,698 initdb 08/08/2001 03:47p 4,886 initlocation 08/08/2001 03:47p 2,862 ipcclean 08/08/2001 03:47p 9,131 pg_ctl 08/08/2001 03:47p 159,415 pg_dump.exe 08/08/2001 03:47p 6,895 pg_dumpall 08/08/2001 03:47p 24,282 pg_id.exe 08/08/2001 03:47p 35,913 pg_passwd.exe 08/08/2001 03:47p 93,699 pg_restore.exe 08/08/2001 03:47p 1,747,642 postgres.exe 08/08/2001 03:47p 104 postmaster.lnk reading from the instructions that say... /usr/local/pgsql/bin/createdb test /usr/local/pgsql/bin/psql test i notice that createdb and psql don't exist. i'm figuring that the compiler errors above are responsible for that. i'm guessing that something in cygwin is not properly configured but since i am new at this i have no idea... many thanks! rjsjr ps - the adduser and su commands don't exist either. i'm guessing that since i'm on win2k that there isn't a real need for them since everyone is a superuser?
В списке pgsql-cygwin по дате отправления:
Предыдущее
От: Terry CarlinДата:
Сообщение: CYGWIN PostgreSQL problems - backend processes turn non responsive after a a couple hours of hard use.