Re: [HACKERS] Debian build prob

2002-11-17 Thread Patrick Welche
On Thu, Nov 14, 2002 at 08:55:22PM +, Patrick Welche wrote:
 Believe it or not, I'm trying to compile today's cvs pgsql on a
 Debian 2.2.19 system. Compilation dies while compiling pg_dump with
 
 ../../../src/interfaces/libpq/libpq.so: undefined reference to `atexit'
 
 In the mail archives there is a mention of upgrading libc to
 libc6-dev_2.2.5-3_i386.deb. As far as I can tell, that should read
 libc6_2.2.5-3_i386.deb, and again AFAICT this system already has
 libc6_2.2.5-6_i386.deb on it. I can see atexit is undefined in libpq, and it
 is defined in /usr/lib/libc.a. For some reason /lib/libc*.so are stripped,
 so it is hard to tell, but I assume it must be the same as for
 /usr/lib/libc.a.
 
 Have any of you managed to compile postgresql on an oldstable Debian system?

Adam Buraczewski tells me its a linux i386 gcc=2.95.3 problem. Upgrading gcc
to

gcc version 2.95.4 20011002 (Debian prerelease)

yielded a working postgresql!

 PostgreSQL 7.4devel on i686-pc-linux-gnu, compiled by GCC 2.95.4


Cheers,

Patrick

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [HACKERS] Debian build prob

2002-11-15 Thread Nigel J. Andrews
On Thu, 14 Nov 2002, Patrick Welche wrote:

 Believe it or not, I'm trying to compile today's cvs pgsql on a
 Debian 2.2.19 system. Compilation dies while compiling pg_dump with
 
 ../../../src/interfaces/libpq/libpq.so: undefined reference to `atexit'
 
 In the mail archives there is a mention of upgrading libc to
 libc6-dev_2.2.5-3_i386.deb. As far as I can tell, that should read
 libc6_2.2.5-3_i386.deb, and again AFAICT this system already has
 libc6_2.2.5-6_i386.deb on it. I can see atexit is undefined in libpq, and it
 is defined in /usr/lib/libc.a. For some reason /lib/libc*.so are stripped,
 so it is hard to tell, but I assume it must be the same as for
 /usr/lib/libc.a.
 
 Have any of you managed to compile postgresql on an oldstable Debian system?
 

The latest I've built was from somewhere like the beta 3 mark but yes, built it
on a Debian 2.2 installation with no library upgrades or anything. Now of
course one would need a new bison.


-- 
Nigel J. Andrews


---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly



[HACKERS] Debian build prob

2002-11-14 Thread Patrick Welche
Believe it or not, I'm trying to compile today's cvs pgsql on a
Debian 2.2.19 system. Compilation dies while compiling pg_dump with

../../../src/interfaces/libpq/libpq.so: undefined reference to `atexit'

In the mail archives there is a mention of upgrading libc to
libc6-dev_2.2.5-3_i386.deb. As far as I can tell, that should read
libc6_2.2.5-3_i386.deb, and again AFAICT this system already has
libc6_2.2.5-6_i386.deb on it. I can see atexit is undefined in libpq, and it
is defined in /usr/lib/libc.a. For some reason /lib/libc*.so are stripped,
so it is hard to tell, but I assume it must be the same as for
/usr/lib/libc.a.

Have any of you managed to compile postgresql on an oldstable Debian system?

Cheers,

Patrick

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Re: [HACKERS] Debian build prob

2002-11-14 Thread Tom Lane
Patrick Welche [EMAIL PROTECTED] writes:
 Believe it or not, I'm trying to compile today's cvs pgsql on a
 Debian 2.2.19 system. Compilation dies while compiling pg_dump with
 ../../../src/interfaces/libpq/libpq.so: undefined reference to `atexit'

blink  Did you run configure?  AFAICT that call only gets compiled if
configure found atexit(), so this is more than a tad surprising ...

regards, tom lane

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])