Re: cygwin + postgres 7.1 + tcl support
От | guard |
---|---|
Тема | Re: cygwin + postgres 7.1 + tcl support |
Дата | |
Msg-id | 9efb40$312a$1@news.tht.net обсуждение исходный текст |
Ответ на | Re: cygwin + postgres 7.1 + tcl support (s0lao@netscape.net (S. L.)) |
Список | pgsql-ports |
i try cygwin+pgsql 7.1 not work please help me > configure --with-tcl --with-tclconfig=/lib --with-perl ok > ln -s /bin/cygtclsh80.exe /bin/tclsh ok > ln -s /bin/cygwish80.exe /bin/wish ok > configure --with-tcl --with-tclconfig=/lib --with-perl ok > make -i ok > cd src/interfaces/libpgtcl/ ok > > ( [...] here I edited pgTclId.c and commented out 2 lines with undefined refferences to Tcl_CreateFileHandler and Tcl_DeleteFileHandler -- 693/694 and 715 -- respectively) ok > > make NOT OK error message PgtclId.o ....undefined referend to 'Tcl_Alloc' PgtclId.o ....undefined referend to 'Tcl_...' PgtclId.o ....undefined referend to 'Tcl_...' > dllwrap -o pgtcl.dll --dllname pgtcl.dll --def pgtcl.def pgtcl.o pgtclCmds.o pgtclId.o ../../../src/utils/dllinit.o ?lcygipc -lcrypt -L../../../src/interfaces/libpq -lpq -L/usr/local/lib -lcry pt -ltcl80 "S. L." <s0lao@netscape.net> ���g���l�� news:04410B88.3F3582D2.00013D13@netscape.net... > "Tim Dunnington" <timbert@timshouse.com> wrote: > [...] > > At any rate, has anyone actually been able to do this (compile libpgtcl on > > cygwin)? > > > > TIm > > Here's the way I did it today -- to recall the steps (excerpts from $HOME/.bash_history -- with some irrelevant cut-outs and notes added): > > > tar xvzf postgresql-7.1.tar.gz > cd postgresql-7.1/ > configure --with-tcl --with-tclconfig=/lib --with-perl > ln -s /bin/cygtclsh80.exe /bin/tclsh > ln -s /bin/cygwish80.exe /bin/wish > configure --with-tcl --with-tclconfig=/lib --with-perl > make -i > cd ../../interfaces/libpgtcl/ > > ( [...] here I edited pgTclId.c and commented out 2 lines with undefined refferences to Tcl_CreateFileHandler and Tcl_DeleteFileHandler -- 693/694 and 715 -- respectively) > > make > dllwrap -o pgtcl.dll --dllname pgtcl.dll --def pgtcl.def pgtcl.o pgtclCmds.o pgtclId.o ../../../src/utils/dllinit.o ?lcygipc -lcrypt -L../../../src/interfaces/libpq -lpq -L/usr/local/lib -lcry pt -ltcl80 > > (NOTE about -ltcl80 which is hand inserted) > > make -i install > cp /usr/local/pgsql/lib/pgtcl.dll /usr/local/pgsql/libpgtcl.dll > > (this is how pgaccess expects the library name) > > . /pgrc > ipc-daemon & > initdb > pg > psql -h localhost template1 > PGLIB=c:/cygwin/usr/local/pgsql/lib cygwish80 c:/cygwin/usr/local/pgsql/share/pgaccess/main.tcl > pg stop > > > Final notes: > 1. ". /pgrc" and "pg" commands are some shell scripts I use to initialize PG vars and to use pg_ctl according to windows cygwin specs. > 2. This is done under windows 98 SE; I have no means to make a built under NT/2000 -- but 100% this built works on NT/2000. > 3. The c:/cygwin/usr[...] notation in cygwish80 command line is necessary, as tcl/tk are mingw32, so they don't know anything about cygwin mounts > 4. My cygwin1.dll is 1.1.6. > > Hope it helps, > > ???????????�SLao > __________________________________________________________________ > Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/ > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster
В списке pgsql-ports по дате отправления: