problem installing pgsql_perl5 1.8.1 - Mailing list pgsql-interfaces

From Kim Thye Chua
Subject problem installing pgsql_perl5 1.8.1
Date
Msg-id 002401bf6e1d$2ae152a0$ea7bbbca@tekla.com.my
Whole thread Raw
List pgsql-interfaces

I've tried to build pgsql_perl5 1.8.1 on my machine, but got some problem when I do 'make'.

Looks like the generated Makefile has a syntax error. I don't know if this is because my machine is WinNT with Cygwin (more detailed machine settings at the end of this mail) or some other reasons. Has anyone successfully installed the package in NT machine ?

Please help. Thanx.

~Kim Thye Chua

 

Here's the history:

****************************************************************************

/usr/local/pgsql_perl5-1.8.1>perl Makefile.PL

Configuring Pg
Remember to actually read the README file !
Found PostgreSQL in /usr/local/pgsql
Note (probably harmless): No library found for '-lpq'
Note (probably harmless): No library found for 'oldnames.lib'
Note (probably harmless): No library found for 'kernel32.lib'
Note (probably harmless): No library found for 'user32.lib'
Note (probably harmless): No library found for 'gdi32.lib'
Note (probably harmless): No library found for 'winspool.lib'
Note (probably harmless): No library found for 'comdlg32.lib'
Note (probably harmless): No library found for 'advapi32.lib'
Note (probably harmless): No library found for 'shell32.lib'
Note (probably harmless): No library found for 'ole32.lib'
Note (probably harmless): No library found for 'oleaut32.lib'
Note (probably harmless): No library found for 'netapi32.lib'
Note (probably harmless): No library found for 'uuid.lib'
Note (probably harmless): No library found for 'wsock32.lib'
Note (probably harmless): No library found for 'mpr.lib'
Note (probably harmless): No library found for 'winmm.lib'
Note (probably harmless): No library found for 'version.lib'
Note (probably harmless): No library found for 'odbc32.lib'
Note (probably harmless): No library found for 'odbccp32.lib'
Writing Makefile for Pg
/usr/local/pgsql_perl5-1.8.1>make
Makefile:730: *** missing separator.  Stop.
/usr/local/pgsql_perl5-1.8.1>cat -n Makefile | tail --lines=20
   722
   723  # --- MakeMaker pm_to_blib section:
   724
   725  pm_to_blib: $(TO_INST_PM)
   726          @$(PERL) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" \
   727          "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -MExtUtils::Install \
   728          -e "pm_to_blib(qw[ <<pmfiles.dat ],'$(INST_LIB)\auto')"
   729
   730  $(PM_TO_BLIB)
   731  <<
   732          @$(TOUCH) $@
   733
   734
   735  # --- MakeMaker selfdocument section:
   736
   737
   738  # --- MakeMaker postamble section:
   739
   740
   741  # End.
/usr/local/pgsql_perl5-1.8.1>

***************************************************************************

----------------------------------------------------------------------------------------

My machine is a Windows NT4 with Cygwin B20.

-----------------------------------------------------------------------------------------

postgresql-6.5.3

----------------------------------------------------------------------------------------

/usr/local/pgsql_perl5-1.8.1>perl -v

This is perl, version 5.005_03 built for MSWin32-x86-object
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-1999, Larry Wall

Binary build 522 provided by ActiveState Tool Corp. http://www.ActiveState.com
Built 09:52:28 Nov  2 1999


Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.


/usr/local/pgsql_perl5-1.8.1>perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 03) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-object
    uname=''
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cl.exe', optimize='-Od -MD -DNDEBUG -TP -GX', gccversion=
    cppflags='-DWIN32'
    ccflags ='-Od -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT  -DHAVE_DE
S_FCRYPT -DPERL_OBJECT'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -release  -libpath:"d:\pkgs\perl\
lib\CORE"  -machine:x86'
    libpth="d:\pkgs\perl\lib\CORE"
    libs= oldnames.lib kernel32.lib user32.lib gdi32.lib  winspool.lib comdlg32.
lib advapi32.lib shell32.lib ole32.lib  oleaut32.lib netapi32.lib uuid.lib wsock
32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib PerlCRT.lib
    libc=d:\pkgs\perl\lib\CORE\PerlCRT.lib, so=dll, useshrplib=yes, libperl=perl
core.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release  -libpath:"d:
\pkgs\perl\lib\CORE"  -machine:x86'


Characteristics of this binary (from libperl):
  Locally applied patches:
        ActivePerl Build 522
  Built under MSWin32
  Compiled at Nov  2 1999 09:52:28
  @INC:
    d:/pkgs/Perl/lib
    d:/pkgs/Perl/site/lib
    .

-----------------------------------------------------------------------------------------

 

pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: [INTERFACES] ExecCommandOk() return code always zero?
Next
From: "Paul Rijke"
Date:
Subject: Access 2000 and ODBC