pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
how to make libpq on winnt using the 'win32.mak's
5+ messages / 1 participants
[nested] [flat]

* how to make libpq on winnt using the 'win32.mak's
@ 2000-02-10 00:02 Rini Dutta <rinid@rocketmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Rini Dutta @ 2000-02-10 00:02 UTC (permalink / raw)
  To: pgsql-interfaces; +Cc: pgsql-hackers@postgresql.org

Hi

I'm running postgres v6.5.3. I need to make calls to
the functions in libpq in my code. For this I need the
files - libpq.lib/libpq.lib.dll/libpqdll.lib.

When I run 'nmake /f win32.mak' in the src directory,
it is unable to open/find config.h . If I use the
config.h generated as a result of 'configure' on
cygwin, it complains about other .h files not being
found. (I do not know if there is a way to do the
equivalent on the DOS Shell/Command Prompt )

Could anyone let me know how to build libpq to get
libpq.dll/libpq.lib/libpqdll.lib ?

Thanks,
Rini

ps : The administrators guide has a chapter on this
which I followed. (But it mentions Postgres v6.4 ?!)
Here is an extract :

Chapter 20. Installation on Win32

Table of Contents
Building the libraries
Installing the libraries
Using the libraries

       Build and installation instructions for
Postgres v6.4 client libraries on Win32.

Building the libraries

The makefiles included in Postgres are written for
Microsoft Visual C++, and will probably not work with
other systems. It should be
possible to compile the libaries manually in other
cases.

To build the libraries, change directory into the src
directory, and type the command 

nmake /f win32.mak

This assumes that you have Visual C++ in your path.

The following files will be built: 

       interfaces\libpq\Release\libpq.dll - The
dynamically linkable frontend library

       interfaces\libpq\Release\libpqdll.lib - Import
library to link your program to libpq.dll

       interfaces\libpq\Release\libpq.lib - Static
library version of the frontend library

       bin\psql\Release\psql.exe - The Postgresql
interactive SQL monitor

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* how to make libpq on winnt using the 'win32.mak's
@ 2000-02-10 00:09 Rini Dutta <rinid@rocketmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Rini Dutta @ 2000-02-10 00:09 UTC (permalink / raw)
  To: pgsql-hackers@postgreSQL.org; +Cc: pgsql-interfaces


 
 Hi
 
 I'm running postgres v6.5.3. I need to make calls to
 the functions in libpq in my code. For this I need
 the
 files - libpq.lib/libpq.lib.dll/libpqdll.lib.
 
 When I run 'nmake /f win32.mak' in the src
 directory,
 it is unable to open/find config.h . If I use the
 config.h generated as a result of 'configure' on
 cygwin, it complains about other .h files not being
 found. (I do not know if there is a way to do the
 equivalent on the DOS Shell/Command Prompt )
 
 Could anyone let me know how to build libpq to get
 libpq.dll/libpq.lib/libpqdll.lib ?
 
 Thanks,
 Rini
 
 ps : The administrators guide has a chapter on this
 which I followed. (But it mentions Postgres v6.4 ?!)
 Here is an extract :
 
 Chapter 20. Installation on Win32
 
 Table of Contents
 Building the libraries
 Installing the libraries
 Using the libraries
 
        Build and installation instructions for
 Postgres v6.4 client libraries on Win32.
 
 Building the libraries
 
 The makefiles included in Postgres are written for
 Microsoft Visual C++, and will probably not work
 with
 other systems. It should be
 possible to compile the libaries manually in other
 cases.
 
 To build the libraries, change directory into the
 src
 directory, and type the command 
 
 nmake /f win32.mak
 
 This assumes that you have Visual C++ in your path.
 
 The following files will be built: 
 
        interfaces\libpq\Release\libpq.dll - The
 dynamically linkable frontend library
 
        interfaces\libpq\Release\libpqdll.lib -
 Import
 library to link your program to libpq.dll
 
        interfaces\libpq\Release\libpq.lib - Static
 library version of the frontend library
 
        bin\psql\Release\psql.exe - The Postgresql
 interactive SQL monitor
 

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* how to make libpq on winnt using the 'win32.mak's
@ 2000-02-10 13:40 Rini Dutta <rinid@rocketmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Rini Dutta @ 2000-02-10 13:40 UTC (permalink / raw)
  To: pgsql-hackers@postgreSQL.org; +Cc: pgsql-interfaces

 
Hi
  
I'm running postgres v6.5.3. I need to make calls to
the functions in libpq in my code. For this I need the
files - libpq.lib/libpq.lib.dll/libpqdll.lib.

When I run 'nmake /f win32.mak' in the src directory,
it is unable to open/find config.h . If I use the
config.h generated as a result of 'configure' on
cygwin, it complains about other .h files not being
found. (I do not know if there is a way to do the
equivalent on the DOS Shell/Command Prompt )

Could anyone let me know how to build libpq to get
libpq.dll/libpq.lib/libpqdll.lib ? If somebody already
has a version of the same for postgres v6.5.3, even
that would be helpful.

Thanks,
Rini

ps : The administrators guide has a chapter on this
which I followed. (But it mentions Postgres v6.4
?!)
Here is an extract :
  
>  Chapter 20. Installation on Win32
>  
>  Table of Contents
>  Building the libraries
>  Installing the libraries
>  Using the libraries
>  
>         Build and installation instructions for
>  Postgres v6.4 client libraries on Win32.
>  
>  Building the libraries
>  
>  The makefiles included in Postgres are written for
>  Microsoft Visual C++, and will probably not work
>  with
>  other systems. It should be
>  possible to compile the libaries manually in other
>  cases.
>  
>  To build the libraries, change directory into the
>  src
>  directory, and type the command 
>  
>  nmake /f win32.mak
>  
>  This assumes that you have Visual C++ in your path.
>  
>  The following files will be built: 
>  
>         interfaces\libpq\Release\libpq.dll - The
>  dynamically linkable frontend library
>  
>         interfaces\libpq\Release\libpqdll.lib -
>  Import
>  library to link your program to libpq.dll
>  
>         interfaces\libpq\Release\libpq.lib - Static
>  library version of the frontend library
>  
>         bin\psql\Release\psql.exe - The Postgresql
>  interactive SQL monitor
>  
> 
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* how to make libpq on winnt using the 'win32.mak's
@ 2000-02-10 13:47 Rini Dutta <rinid@rocketmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Rini Dutta @ 2000-02-10 13:47 UTC (permalink / raw)
  To: pgsql-interfaces; +Cc: pgsql-hackers@postgreSQL.org

 
Hi
  
I'm running postgres v6.5.3. I need to make calls to
the functions in libpq in my code. For this I need
the
files - libpq.lib/libpq.lib.dll/libpqdll.lib.

When I run 'nmake /f win32.mak' in the src
directory,
it is unable to open/find config.h . If I use the
config.h generated as a result of 'configure' on
cygwin, it complains about other .h files not being
found. (I do not know if there is a way to do the
equivalent on the DOS Shell/Command Prompt )

Could anyone let me know how to build libpq to get
libpq.dll/libpq.lib/libpqdll.lib ? If somebody
already
has a version of the same for postgres v6.5.3, even
that would be helpful.

Thanks,
Rini

ps : The administrators guide has a chapter on this
which I followed. (But it mentions Postgres v6.4
?!)
Here is an extract :
   
>  Chapter 20. Installation on Win32
>  
>  Table of Contents
>  Building the libraries
>  Installing the libraries
>  Using the libraries
>  
>         Build and installation instructions for
>  Postgres v6.4 client libraries on Win32.
>  
>  Building the libraries
>  
>  The makefiles included in Postgres are written
for
>  Microsoft Visual C++, and will probably not work
>  with
>  other systems. It should be
>  possible to compile the libaries manually in
other
>  cases.
>  
>  To build the libraries, change directory into the
>  src
>  directory, and type the command 
>  
>  nmake /f win32.mak
>  
>  This assumes that you have Visual C++ in your
path.
>  
>  The following files will be built: 
>  
>         interfaces\libpq\Release\libpq.dll - The
>  dynamically linkable frontend library
>  
>         interfaces\libpq\Release\libpqdll.lib -
>  Import
>  library to link your program to libpq.dll
>  
>         interfaces\libpq\Release\libpq.lib -
Static
>  library version of the frontend library
>  
>         bin\psql\Release\psql.exe - The Postgresql
>  interactive SQL monitor
>  
> 

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* how to make libpq on winnt using the 'win32.mak's
@ 2000-02-10 14:17 Rini Dutta <rinid@rocketmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Rini Dutta @ 2000-02-10 14:17 UTC (permalink / raw)
  To: pgsql-interfaces

  
Hi
  
I'm running postgres v6.5.3. I need to make calls to
the functions in libpq in my code. For this I need the
files - libpq.lib/libpq.lib.dll/libpqdll.lib.

When I run 'nmake /f win32.mak' in the src directory,
it is unable to open/find config.h . If I use the
config.h generated as a result of 'configure' on
cygwin, it complains about other .h files not being
found. (I do not know if there is a way to do the
equivalent on the DOS Shell/Command Prompt )

Could anyone let me know how to build libpq to get
libpq.dll/libpq.lib/libpqdll.lib ? If somebody already
has a version of the same for postgres v6.5.3, even
that would be helpful.

Thanks,
Rini

ps : The administrators guide has a chapter on this
which I followed. (But it mentions Postgres v6.4
?!)
Here is an extract :
   
>  Chapter 20. Installation on Win32
>  
>  Table of Contents
>  Building the libraries
>  Installing the libraries
>  Using the libraries
>  
         Build and installation instructions for
>  Postgres v6.4 client libraries on Win32.
>  
>  Building the libraries
>  
>  The makefiles included in Postgres are written
for
>  Microsoft Visual C++, and will probably not work
>  with
>  other systems. It should be
>  possible to compile the libaries manually in
other
>  cases.
>  
>  To build the libraries, change directory into the
>  src
>  directory, and type the command 
>  
>  nmake /f win32.mak
>  
>  This assumes that you have Visual C++ in your
path.
>  
>  The following files will be built: 
>  
>         interfaces\libpq\Release\libpq.dll - The
>  dynamically linkable frontend library
>  
>         interfaces\libpq\Release\libpqdll.lib -
>  Import
>  library to link your program to libpq.dll
>  
>         interfaces\libpq\Release\libpq.lib -
Static
>  library version of the frontend library
>  
>         bin\psql\Release\psql.exe - The Postgresql
>  interactive SQL monitor
>  

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2000-02-10 14:17 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-02-10 00:02 how to make libpq on winnt using the 'win32.mak's Rini Dutta <rinid@rocketmail.com>
2000-02-10 00:09 how to make libpq on winnt using the 'win32.mak's Rini Dutta <rinid@rocketmail.com>
2000-02-10 13:40 how to make libpq on winnt using the 'win32.mak's Rini Dutta <rinid@rocketmail.com>
2000-02-10 13:47 how to make libpq on winnt using the 'win32.mak's Rini Dutta <rinid@rocketmail.com>
2000-02-10 14:17 how to make libpq on winnt using the 'win32.mak's Rini Dutta <rinid@rocketmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox