From: | Devrim GUNDUZ <devrim(at)gunduz(dot)org> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Problem while building SRPM PostgreSQL on Red Hat Linux 9 |
Date: | 2003-04-12 16:57:45 |
Message-ID: | Pine.LNX.4.44.0304121934140.8232-100000@emo.org.tr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
I really can't believe this; because this is the first time that I could
not recompile an SRPM on Red Hat. :-)
GCC Version:
======
[devrim(at)localhost devrim]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
======
PostgreSQL Source RPM Info
======
[devrim(at)localhost devrim]$ ls -al postgresql-7.3.2-1PGDG.src.rpm
-rw-r--r-- 1 devrim devrim 10951832 Apr 12 16:34
postgresql-7.3.2-1PGDG.src.rpm
======
I've given the following command:
=====
rpmbuild --rebuild --target i686 ~devrim/postgresql-7.3.2-1PGDG.src.rpm
=====
And the error message :
=======================
....... gcc -O2 -g -pipe -march=i686 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/include -I/usr/kerberos/include -c
-o stringinfo.o stringinfo.c
/usr/bin/ld -r -o SUBSYS.o bit.o dllist.o lispsort.o stringinfo.o
make[3]: Leaving directory
`/usr/src/redhat/BUILD/postgresql-7.3.2/src/backend/lib'
make -C libpq all
make[3]: Entering directory
`/usr/src/redhat/BUILD/postgresql-7.3.2/src/backend/libpq'
gcc -O2 -g -pipe -march=i686 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/include -I/usr/kerberos/include -c
-o be-fsstubs.o be-fsstubs.c
gcc -O2 -g -pipe -march=i686 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/include -I/usr/kerberos/include -c
-o be-secure.o be-secure.c
be-secure.c: In function `open_server_SSL':
be-secure.c:712: warning: assignment from incompatible pointer type
gcc -O2 -g -pipe -march=i686 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/include -I/usr/kerberos/include -c
-o auth.o auth.c
gcc -O2 -g -pipe -march=i686 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/include -I/usr/kerberos/include -c
-o crypt.o crypt.c
gcc -O2 -g -pipe -march=i686 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/include -I/usr/kerberos/include -c
-o hba.o hba.c
hba.c:76: parse error before "c"
hba.c:76: parse error before '&' token
make[3]: *** [hba.o] Error 1
make[3]: Leaving directory
`/usr/src/redhat/BUILD/postgresql-7.3.2/src/backend/libpq'
make[2]: *** [libpq-recursive] Error 2
make[2]: Leaving directory
`/usr/src/redhat/BUILD/postgresql-7.3.2/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.3.2/src'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.96624 (%build)
=======================
I've built this SRPM on Red Hat 8.0 and using it on a production server.
So there seems to be no problem with the package
What should I do?
Thanks for your help.
Best regards,
--
Devrim GUNDUZ
devrim(at)gunduz(dot)org devrim(dot)gunduz(at)linux(dot)org(dot)tr
http://www.gunduz.org
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-04-12 17:22:29 | Re: Problem while building SRPM PostgreSQL on Red Hat Linux 9 |
Previous Message | Lamar Owen | 2003-04-12 16:00:20 | Re: Upgrade to Red Hat Linux 9 broke PostgreSQL |