Building postgres 0.7.1 on Windows

D

Daniel Berger

Hi all,

Windows XP Pro
VC++ 8

When attempting to build the postgres-0.7.1 library, I get this error:

C:\ruby\bin\ruby -e "puts 'EXPORTS', 'Init_postgres'" >
postgres-i386-mswin32_80.
cl -W3 -nologo -I. -I. -IC:/ruby/lib/ruby/1.8/i386-mswin32_80 -
I. -DHAVE_SOCKET -
OSTNAME -DHAVE_PQSETCLIENTENCODING -DHAVE_PG_ENCODING_TO_CHAR -
DHAVE_PQESCAPESTRING -Ic:/p
stgr~1/8.2/include -D_CRT_SECURE_NO_DEPRECATE -
D_CRT_NONSTDC_NO_DEPRECATE -c -Tcpostgres.
postgres.c
postgres.c(214) : warning C4101: 'idx' : unreferenced local variable
postgres.c(212) : warning C4101: 'c' : unreferenced local variable
postgres.c(651) : warning C4013: 'pg_encoding_to_char' undefined;
assuming extern returnin
cl -W3 -nologo -LD -Fepostgres.so postgres.obj msvcr80-
ruby18.lib libpq.lib oldna
er32.lib advapi32.lib wsock32.lib -link -incremental:no -debug -
opt:ref -opt:icf -dll -li
-libpath:"C:/ruby/lib" -libpath:"c:/progra~1/postgr~1/8.2/lib" -
def:postgres-i386-mswin32_
plib:postgres-i386-mswin32_80.lib -pdb:postgres-i386-mswin32_80.pdb
Creating library postgres-i386-mswin32_80.lib and object postgres-
i386-mswin32_80.exp
mt -nologo -manifest postgres.so.manifest -
outputresource:postgres.so;2

postgres.so.manifest : general error c1010070: Failed to load and
parse the manifest. The
not find the file specified.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\mt.EXE"' :
e '0x1f'

I've built a ruby.exe.manifest, btw, if that matters, via:

mt -inputresource:ruby.exe;2 -out:ruby.exe.manifest

Do I need to do something similar for postgres? If so, what exactly?

Regards,

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top