7.0.2 Compile Errors on Solaris 2.5.1

Поиск
Список
Период
Сортировка
От ghaverla@freenet.edmonton.ab.ca
Тема 7.0.2 Compile Errors on Solaris 2.5.1
Дата
Msg-id Pine.A41.3.95.1000816130552.4780B-100000@freenet.edmonton.ab.ca
обсуждение исходный текст
Ответ на how to use GUI  ("Robinson, Marlena CECOM RDEC I2WD" <Marlena.Robinson@mail1.monmouth.army.mil>)
Список pgsql-novice
Hi!
  I compiled  a 6.x version of PostGres before, and never ran
into any problems, but this is a little baffling.

I have an oldish Sun here, with the GNU libraries and utilities
installed on top of Solaris stuff.  (So /usr/bin/tar is the
Solaris tar, and /usr/local/bin/tar is gtar, ...)

I set the PATH to include /usr/local/bin first, and ran
./configure  --prefix=/export/home2/postgres \
             --with-tcl \
             --with-tclconfig=/usr/local/lib \
             --with-tkconfig=/usr/local/lib \
             --with-perl \
             --with-odbc \
             --with-odbcinst=/export/home2/postgres/etc \
             --infodir=/usr/local/info \
             --mandir=/usr/local/man

(I know, it's a little screwed up.)  When I run make, it dies
on the very first module, version.c
 from ../include/postgres.h:40,
 from version.c:25:
../include/c.h:803: parse error before 'va_list'
version.c: In function 'ValidatePgVersion':
version.c:83: warning: subscript has type 'char'

Line 83 is a call to isdigit( char ), so I would imgaine
gcc is doing an implicit cast to int to satisfy isdigit.
I've had problems before with vsnprintf on other packages
I've installed, and that is what line 803 in c.h is.
Configure sets config.h as
/* undef HAVE_VSNPRINTF_DECL */
so I don't see why this is dying when I am trying to use
the vsnprintf that you guys have included with PostgreSQL
7.0.2

Ideas?  Oh, as far as tarballs goes, I downloaded
base, docs, support, test and postgresql-7.0.2.tar.gz
from looking-glass.usask.  I then untarred the big
postgresql-7.0.2.tar.gz file, then base, thendocs, then
support, then test.

Thanks,
Gord

Matter Realisations     http://www.materialisations.com/
Gordon Haverland, B.Sc. M.Eng. President
101  9504 182 St. NW    Edmonton, AB, CA  T5T 3A7
780/481-8019            ghaverla @ freenet.edmonton.ab.ca


В списке pgsql-novice по дате отправления:

Предыдущее
От: kumar1@home.com (Prasanth A. Kumar)
Дата:
Сообщение: Re: how to use GUI
Следующее
От: Michele Bendazzoli
Дата:
Сообщение: Installation problem in NT