[pgadmin-support] pgAgent build error

2015-03-22 Thread Beholder
 Hello.

OS: Windows 7 x64
pgAgent sources 3.4.0
CMake 2.6
wxWidgets 2.8.12
Visual Studio 2008 Express , Version 9.0.30729.1 SP, Visual C++ Microsoft 
Visual Studio 2008
Microsoft .NET Framework
Version 3.5 SP1

All steps for building doing like described here  
https://github.com/postgres/pgagent
But - 
-- Построение начато: проект: pgagent, Конфигурация: Debug Win32 --
Компоновка...
connection.obj : error LNK2019: ссылка на неразрешенный внешний символ 
_PQfinish в функции "private: bool __thiscall DBconn::Connect(class wxString 
const &)" (?Connect@DBconn@@AAE_NABVwxString@@@Z)
connection.obj : error LNK2019: ссылка на неразрешенный внешний символ 
_PQerrorMessage в функции "private: bool __thiscall DBconn::Connect(class 
wxString const &)" (?Connect@DBconn@@AAE_NABVwxString@@@Z)
connection.obj : error LNK2019: ссылка на неразрешенный внешний символ 
_PQstatus в функции "private: bool __thiscall DBconn::Connect(class wxString 
const &)" (?Connect@DBconn@@AAE_NABVwxString@@@Z)
connection.obj : error LNK2019: ссылка на неразрешенный внешний символ 
_PQconnectdb в функции "private: bool __thiscall DBconn::Connect(class wxString 
const &)" (?Connect@DBconn@@AAE_NABVwxString@@@Z)
connection.obj : error LNK2019: ссылка на неразрешенный внешний символ 
_PQcmdTuples в функции "public: long __thiscall 
DBresult::RowsAffected(void)const " (?RowsAffected@DBresult@@QBEJXZ)
job.obj : error LNK2001: неразрешенный внешний символ "_PQcmdTuples"
connection.obj : error LNK2019: ссылка на неразрешенный внешний символ _PQclear 
в функции "protected: __thiscall DBresult::DBresult(class DBconn *,class 
wxString const &)" (??0DBresult@@IAE@PAVDBconn@@ABVwxString@@@Z)
connection.obj : error LNK2019: ссылка на неразрешенный внешний символ 
_PQntuples в функции "protected: __thiscall DBresult::DBresult(class DBconn 
*,class wxString const &)" (??0DBresult@@IAE@PAVDBconn@@ABVwxString@@@Z)
connection.obj : error LNK2019: ссылка на неразрешенный внешний символ 
_PQresultStatus в функции "protected: __thiscall DBresult::DBresult(class 
DBconn *,class wxString const &)" (??0DBresult@@IAE@PAVDBconn@@ABVwxString@@@Z)
connection.obj : error LNK2019: ссылка на неразрешенный внешний символ _PQexec 
в функции "protected: __thiscall DBresult::DBresult(class DBconn *,class 
wxString const &)" (??0DBresult@@IAE@PAVDBconn@@ABVwxString@@@Z)
connection.obj : error LNK2019: ссылка на неразрешенный внешний символ 
_PQgetvalue в функции "public: class wxString __thiscall 
DBresult::GetString(int)const " (?GetString@DBresult@@QBE?AVwxString@@H@Z)
connection.obj : error LNK2019: ссылка на неразрешенный внешний символ 
_PQfnumber в функции "public: class wxString __thiscall 
DBresult::GetString(class wxString const &)const " 
(?GetString@DBresult@@QBE?AVwxString@@ABV2@@Z)
C:\Users\Beholder\Documents\Binaries\Debug\pgagent.exe : fatal error LNK1120: 
11 неразрешенных внешних элементов
Журнал построения был сохранен в 
"file://c:\Users\Beholder\Documents\Binaries\pgagent.dir\Debug\BuildLog.htm"
pgagent - ошибок 13, предупреждений 0
-- Построение начато: проект: run, Конфигурация: Debug Win32 --
Generating pgagent--3.4.sql, pgagent.control
CMake Error: Error processing file: cmake/MakeExt.cmake
Project : error PRJ0019: Инструмент вернул код ошибки из "Generating 
pgagent--3.4.sql, pgagent.control"
Журнал построения был сохранен в 
"file://c:\Users\Beholder\Documents\Binaries\run.dir\Debug\BuildLog.htm"
run - ошибок 1, предупреждений 0
-- Пропуск построения: проект: INSTALL, Конфигурация: Debug Win32 --
Проект не выбран для построения в данной конфигурации решения 
-- Пропуск построения: проект: PACKAGE, Конфигурация: Debug Win32 --
Проект не выбран для построения в данной конфигурации решения 
== Построение: успешно: 0, с ошибками: 2, без изменений: 3, пропущено: 
2 ==




С уважением,
Beholder .
ras_at...@mail.ru

[pgadmin-support] Re[2]: [pgadmin-support] pgAgent build error

2015-03-23 Thread Beholder
 Thank you Dmitriy, but i already found where was my mistake)It exactly was 
missed libpq)


Вторник, 24 марта 2015, 8:37 +03:00 от Воронин Дмитрий 
:
>Beholder, hello. 
>
>You must install libpq - dynamic client library for postgresql. And link it to 
>project.
>
>>  All steps for building doing like described here  
>> https://github.com/postgres/pgagent
>
>
>-- 
>Best regards, Dmitry Voronin
>
>
>-- 
>Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgadmin-support


С уважением,
Beholder .
ras_at...@mail.ru


[pgadmin-support] pgAgent build error,(Ubuntu)

2015-03-25 Thread Beholder
 Problem with building on Ubuntu:

Linking CXX executable pgagent
/usr/bin/ld: 
/usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib/libpq.a(fe-auth.o): undefined 
reference to symbol 'error_message'
//lib/i386-linux-gnu/libcom_err.so.2: error adding symbols: DSO missing from 
command line
collect2: error: ld returned 1 exit status
make[2]: *** [pgagent] Error 1
make[1]: *** [CMakeFiles/pgagent.dir/all] Error 2
make: *** [all] Error 2

pgAgent source 3.4.0
Ubuntu 14.02.2 x86
cmake version 2.8.12.2
wxWidgets 2.8.12
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
postgresql 9.3.6

Any advice?

С уважением,
Beholder .
ras_at...@mail.ru

[pgadmin-support] Re[2]: [pgadmin-support] pgAgent build error,(Ubuntu)

2015-03-26 Thread Beholder
 tested, 100%, everything need is established, including 
postgresql-server-dev-9.3 and libpq, otherwise "ccmake" will not configure 
sources.


Четверг, 26 марта 2015, 8:30 +03:00 от Dmitry Voronin 
:
>Make sure, that you install all postgresql packages 
>(postgresql-server-dev-9.3, and libpq). 
>
>25.03.2015, 19:49, "Beholder" < ras_at...@mail.ru >:
>>  Problem with building on Ubuntu:
>
>-- 
>Best regards, Dmitry Voronin


С уважением,
Beholder .
ras_at...@mail.ru


[pgadmin-support] Re[2]: [pgadmin-support] pgAgent build error,(Ubuntu)

2015-03-26 Thread Beholder
 tested, 100%, everything need is established, including 
postgresql-server-dev-9.3 and libpq, otherwise "ccmake" will not configure 
sources.


Четверг, 26 марта 2015, 8:29 +03:00 от Dmitry Voronin :
>Make sure, that you install all postgresql packages 
>(postgresql-server-dev-9.3, and libpq). 
> 
>25.03.2015, 19:49, "Beholder" : Problem with building on 
>Ubuntu:
> 
>-- 
>Best regards, Dmitry Voronin
> 

С уважением,
Beholder .
ras_at...@mail.ru


[pgadmin-support] Re[2]: [pgadmin-support] pgAgent build error,(Ubuntu)

2015-03-26 Thread Beholder
 tested, 100%, everything need is established, including 
postgresql-server-dev-9.3 and libpq, otherwise "ccmake" will not configure 
sources.


Четверг, 26 марта 2015, 8:30 +03:00 от Dmitry Voronin 
:
>Make sure, that you install all postgresql packages 
>(postgresql-server-dev-9.3, and libpq). 
>
>25.03.2015, 19:49, "Beholder" < ras_at...@mail.ru >:
>>  Problem with building on Ubuntu:
>
>-- 
>Best regards, Dmitry Voronin
>
>
>-- 
>Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgadmin-support


С уважением,
Beholder .
ras_at...@mail.ru