[Gdal-dev] Can't configure GDAL for FreeBSD 5.5

Martin Spott Martin.Spott at mgras.net
Sat Dec 16 16:03:35 EST 2006


vic at telerem.ru wrote:

> A have problem with configure Gdal in FreeBSD
> I have tried to configure? but have results:
> 
> ./configure --with-mysql=/etc/my.cnf
> ...
> using pre-installed libz
> checking for pg_config... no
> checking for PostgreSQL... ./configure.lineno: 21648: Syntax error: Bad fd number
> 
> If I use --with-pg=no it does not change anything.
> 
> I look at configure.lineno. Line 21648 has text ( line 21648 empty,
> but previous line has text ):
>   LIBS="-lpq $LIBS"

A typical ressource of errors with 'configure' stuff is the fact that
on certain systems /bin/sh is, contradictory to widely assumption, not
necessarily a BASH. Many of the shell scripts that are distributed
nowadays actually rely on /bin/sh to conform with the BASH syntax when
it comes to handle variable contents - actually 'configure' nothing but
such a shell script.
You could try to investigate if this is actually the case here.

Cheers,
	Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------



More information about the Gdal-dev mailing list