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

Поиск
Список
Период
Сортировка
От 劉大維
Тема PQescapeStringConn in C:\Program Files\PostgreSQL\8.3\lib not found"
Дата
Msg-id 639575fa0811260531p307eed2br1abb0e488149ca5c@mail.gmail.com
обсуждение исходный текст
Ответы Re: PQescapeStringConn in C:\Program Files\PostgreSQL\8.3\lib not found"  (Craig Ringer <craig@postnewspapers.com.au>)
Список 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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: BUG #4549: ecpg produces code that don't compile
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: PQescapeStringConn in C:\Program Files\PostgreSQL\8.3\lib not found"