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

vic at telerem.ru vic at telerem.ru
Sat Dec 16 17:03:40 EST 2006


Hello Martin Spott,

Sunday, December 17, 2006, 12:03:35 AM, you wrote:

MS> 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"

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

Thank you
But I can't understand some sentences.

Do I need to test is my 'configure' really /bin/sh script or not?
If yes how I can do it? What difference between /bin/sh and other
shell?


Victor




More information about the Gdal-dev mailing list