[asterisk-dev] Trunk configure bombs, but the files are there and 1.4.x builds fine

Brian Capouch brianc at palaver.net
Thu Jan 24 18:44:08 CST 2008


After months of cross-compiling trunk for embedded systems, the 
cobbler's kids are found barefoot when I returned to try to build it for 
my X86 system.  1.4.x versions build just fine.

The build is bombing on --with-postgres=/usr/local/pgsql

I don't have all the sources, but I have binfiles, libraries, and includes.

The confusing part is I see what appears to be normal discernment of the 
files in the output of configure:

 > checking for pg_config... /usr/local/pgsql/bin/pg_config
 > checking for PQescapeStringConn in -lpq... no

Is that second lack (I'm running 7.4.1) fatal?

Much later in the configure output, it bombs like this:
> checking for curl-config... /usr/bin/curl-config
> checking for curl_version() in curl/curl.h... yes
> checking for mandatory modules:  PGSQL... fail
>  
> configure: ***
> configure: *** The PGSQL installation appears to be missing or broken.
> configure: *** Either correct the installation, or run configure
> configure: *** including --without-postgres.

pg_config --libdir returns /usr/local/pgsql/lib
pg_config --includedir returns /usr/local/pgsql/include

Is the missing PQescapeStringConn the culprit but not being reported as 
the cause of the problem?  If that isn't it, how can I find the problem? 
  There is nothing suspicious in config.log besides the last few lines 
quoted above that say the installation is missing/broken.

I got a similar set of output (and bombing of the configure script) when 
I tried to use ssl, using the same exact --with-ssl=/usr/local/ssl which 
is similarly set up, and which also works just fine under 1.4.x.

Any pointers would be greatly appreciated.

Thx.

b.



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the asterisk-dev mailing list