PQescapeStringConn in C:\Program Files\PostgreSQL\8.3\lib not found"

From: 劉大維 <sunshineuyl(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: PQescapeStringConn in C:\Program Files\PostgreSQL\8.3\lib not found"
Date: 2008-11-26 13:31:13
Message-ID: 639575fa0811260531p307eed2br1abb0e488149ca5c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Dear Sir,

I try to make gammu-svn2643. I run Cmakesetup.exe and then change
the following setting:
where is the source code: d:\gammu-svn2643
where to build the binaries: d:\gammu-svn2643\win32\gammu-library\bcc06.mak
GETTEXT_MSGFMT_EXECUTABLE: C:\GETGNUWIN32\bin
GETTEXT_MSGMERGE_EXECUTABLE: C:\GETGNUWIN32\bin
MYSQL_ADD_INCLUDE_DIR: C:\Program Files\MySQL\MySQL Server 5.0\include
MYSQL_ADD_LIBRARY_PATH: C:\Program Files\MySQL\MySQL Server 5.0\lib\opt
MYSQL_LIBRARIES_mysql: C:\Program Files\MySQL\MySQL Server 5.0\lib\opt
POSTGRES_INCLUDE_DIR: C:\Program Files\PostgreSQL\8.3\include
POSTGRES_LIBRARY: C:\Program Files\PostgreSQL\8.3\lib
And then I click [config] button. But Cmakesetup.exe shows
"Cmake error: invalid escape sequence \p"
"Syntax error in cmake code at D:/gammu-svn2643/cmake/FindPostgres.cmake:73:
syntax error,
unexpected cal_ERRO, expecting $end (38), when parsing string Looking
for PQescapeStringConn in C:\Program Files\PostgreSQL\8.3\lib not found"
"Cmake error: invalid escape sequence \p"
"Syntax error in cmake code at D:/gammu-svn2643/cmake/FindPostgres.cmake:73:
syntax error,
unexpected cal_ERRO, expecting $end (4), when parsing string "Looking
for PQescapeStringConn in C:\Program Files\PostgreSQL\8.3\lib"
"WARNING: Target "cmTryComileExec" requests linking to directory "Syntax
error in cmake code at D:/gammu-svn2643/cmake/FindPostgres.cmake:73: syntax
error,
unexpected cal_ERRO, expecting $end (38), when parsing string "Looking
for PQescapeStringConn in C:\Program Files\PostgreSQL\8.3\lib". Targets may
link
only to libraries. Cmake is dropping the item."
"Cmake error: invalid escape sequence \p"
"Syntax error in cmake code at D:/gammu-svn2643/cmake/FindPostgres.cmake:73:
syntax error,
unexpected cal_ERRO, expecting $end (38), when parsing string 'Looking
for PQescapeStringConn in C:\Program Files\PostgreSQL\8.3\lib not found'"
"WARING: Target 'gammu' request linking to directory 'C:\Program
Files\PostgreSQL\8.3\lib'.
Targets may link only ot libraries. CMake is dropping the item.
Then I type make on cmd
D:\gammu-svn2643\win32\gammu-binary\bcc06.mak>make
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Scanning dependencies of target libGammu
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
[ 1%] Building C object common/CMakeFiles/libGammu.dir/gsmcomon.obj
Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
D:\gammu-svn2643\common\gsmcomon.c:
Warning W8057 D:\gammu-svn2643\common\gsmcomon.c 73: Parameter 'path' is
never u
sed in function GSM_InitLocales
[ 1%] Building C object common/CMakeFiles/libGammu.dir/gsmphones.obj
Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
D:\gammu-svn2643\common\gsmphones.c:
[ 2%] Building C object common/CMakeFiles/libGammu.dir/gsmstate.obj
Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
D:\gammu-svn2643\common\gsmstate.c:
Warning W8066 D:\gammu-svn2643\common\gsmstate.c 1350: Unreachable code in
funct
ion GSM_OSErrorInfo
[ 3%] Building C object common/CMakeFiles/libGammu.dir/api.obj
Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
D:\gammu-svn2643\common\api.c:
Assertion failed D:\gammu-svn2643\common\api.c(46) : CompilingCPP at
c:\helena\b
cc\indep\cpperror.c(1571)
** error 3 ** deleting common\CMakeFiles\libGammu.dir\api.obj
** error 1 ** deleting common\CMakeFiles\libGammu.dir\all
** error 1 ** deleting all
D:\gammu-svn2643\win32\gammu-binary\bcc06.mak>

Please help to check it.

Thanks!

Best Regards,

sunshine_uyl

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Craig Ringer 2008-11-26 13:36:57 Re: PQescapeStringConn in C:\Program Files\PostgreSQL\8.3\lib not found"
Previous Message Michael Meskes 2008-11-26 13:20:19 Re: BUG #4549: ecpg produces code that don't compile