Motion - Bug Report 2008x 02x 25x 025134
You are here: Foswiki>Motion Web>BugReports>BugReport2008x02x25x025134 (20 Sep 2008, AngelCarpintero)Edit Attach

BUG: configure --with-pgsql=DIR checking postgresql does not return results

broken configure checking for postgresql, using --with-pgsql=DIR option

not sure if the warning in configure.in:596 is important. but checking for PostgreSQL does not return any result and hence the output merges with the next ANSI C header check.

please find the output from ./configure --with-pgsql=DIR below.

Something must be wrong in configure.in about checking postgresql.

...
configure.in:596: warning: underquoted definition of PGSQL_INC_CHK
...
checking for PostgreSQL... checking for ANSI C header files... (cached) yes
...

Environment

Motion version: 3.2.9
ffmpeg version:  
Shared libraries: postgresql
Server OS:  

-- JunqianXu - 25 Feb 2008

Follow up

Looks like --with-pgsql is broken, anyway could you tell how are you trying to link motion with postgres ?

Please attach config.log , ./configure output and anything that can help .

-- AngelCarpintero - 27 Feb 2008

Follow up

./configure output log.do_configure.28564

config.log config.log

btw, the env was set up for cross-compiling.

-- JunqianXu - 28 Feb 2008


Thanks , i'm going to update configure.in in trunk , following same way i did for mysql ( mysq-headers, mysql-libs ).

Update configure.in in trunk :
Added  
 --with-pgsql-lib
 --with-pgsql-include
Removed
 --with-pgsql

-- AngelCarpintero - 28 Feb 2008

Fix record

fixed in 3.2.10.1

-- AngelCarpintero - 20 Sep 2008

BugReportForm edit

TopicTitle configure --with-pgsql=DIR checking postgresql does not return results
BugStatus Released
AssignedBugTo AngelCarpintero
SubmittedBy JunqianXu
Topic attachments
I Attachment Action Size Date Who Comment
config.loglog config.log manage 64 K 28 Feb 2008 - 02:51 UnknownUser config.log
log.do_configure.2856428564 log.do_configure.28564 manage 10 K 28 Feb 2008 - 02:49 UnknownUser configure output
Topic revision: r7 - 20 Sep 2008, AngelCarpintero
Copyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.