[postgis-devel] 1.1.0 closed - Release on 21 - call for tests

Havard Tveite havard.tveite at umb.no
Wed Dec 21 07:32:25 PST 2005


Solaris 2.7:
configure now runs, but there is still a problem with
PGTEMPLATE="`${PGCONFIG}...

INSTALL=...  now works OK.

Current output:

$ make
./autogen.sh
./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether ln -s works... yes
checking for iconv_open in -liconv... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking build system type... sparc-sun-solaris2.7
checking host system type... sparc-sun-solaris2.7
checking for pg_config... /usr/local/pgsql/82/bin/pg_config
checking which template to use... ./configure: syntax error at line 6: `end of file' unexpected
./configure: syntax error at line 39: `similar' unexpected
./configure: syntax error at line 3: `fi./configure: syntax error at line 3: `end of file' unexpected
' unexpected
./configure: syntax error at line 2: `elif' unexpected
./configure: syntax error at line 2: `elif' unexpected
./configure: syntax error at line 2: `elif' unexpected
./configure./configure: syntax error at line 10: `end of file' unexpected
: syntax error at line 2: `elif' unexpected
./configure: syntax error at line 2: sed: command garbled: s/'//gecho
`elif' unexpected
./configure: syntax error at line 2: `elif' unexpected
./configure./configure: syntax error at line 3: `fi' unexpected
: _ACEOF: not found
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged

  SUMMARY
  -------------------------------------------------------

  HOST_OS: solaris2.7

    PGSQL: /usr/local/pgsql/82/bin/pg_config
./configure: test: argument expected
./config.status
config.status: creating config.h
config.status: config.h is unchanged
make -C lwgeom
make[1]: Entering directory `/data3/usr/local/src/postgresql/pgsql/contrib/postgis-cvs-online/lwgeom'
Makefile:2: ../Makefile.config: No such file or directory
make[1]: *** No rule to make target `../Makefile.config'.  Stop.
make[1]: Leaving directory `/data3/usr/local/src/postgresql/pgsql/contrib/postgis-cvs-online/lwgeom'
make: *** [liblwgeom] Error 2


Haavard

strk at refractions.net wrote:
> I've changed all $() constructs with "`..`" ones, which
> is probably more portable. Can people test current CVS
> for compatibility on the following systems ?
> 	- Solaris
> 	- MinGW
> 
> The online snapshot will be available in an hour.
> You'll need to run ./autogen.sh from a CVS checkout/update.
> 
> TIA
> 
> --strk;
> 
> On Wed, Dec 21, 2005 at 01:24:10PM +0100, Havard Tveite wrote:
> 
>>strk at refractions.net wrote:
>>
>>>Does removing the braces work ?
>>>$PWD instead of ${PWD} and
>>>$PGCONFIG instead of ${PGCONFIG}
>>
>>No. Same error messages.
>>
>>I found the following on http://code.dogmap.org/lintsh/:
>>"$(command)" is a syntax error for Solaris sh. However, "`command`" works 
>>portably.
>>
>>Thank you for your efforts!!!
>>Hope this is to some help (I am not a sh hacker myself...)
>>
>>
>>Håvard
>>
>>
>>>--strk;
>>>
>>>On Tue, Dec 20, 2005 at 04:57:43PM +0100, Havard Tveite wrote:
>>>
>>>
>>>>strk at refractions.net wrote:
>>>>
>>>>
>>>>>Call for tests before tagging:
>>>>
>>>>I am on Solaris 2.7.
>>>>
>>>>I get the following response from ./configure:
>>>>
>>>>./configure: syntax error at line 3584: `)' unexpected
>>>>
>>>>Seems to be a problem with $(
>>>>
>>>>Same kind of problem in 4058:
>>>>INSTALL=$( echo ${PWD} )/install-sh
>>>>
>>>>When substituting the first one with:
>>>>PGTEMPLATE=""
>>>>
>>>>and the second one with:
>>>>INSTALL=/data3/usr/local/src/postgresql/pgsql/contrib/postgis/install-sh
>>>>
>>>>configuration and compilation went fine, and all tests
>>>>were OK (postgresql from CVS some days ago, proj 4.4.9, geos 2.1.4, gcc 
>>>>3.3.2).

-- 
Håvard Tveite
Department of Mathematical Sciences and Technology, UMB
Drøbakveien 14, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt



More information about the postgis-devel mailing list