Thread: BUG #1457: ./configure --with-openssl --enabled-thread-safety fails

BUG #1457: ./configure --with-openssl --enabled-thread-safety fails

From
"Tim Larson"
Date:
The following bug has been logged online:

Bug reference:      1457
Logged by:          Tim Larson
Email address:      tim.larson@conagrafoods.com
PostgreSQL version: 8.0.1
Operating system:   YDLinux 3.0.1
Description:        ./configure --with-openssl --enabled-thread-safety fails
Details:

Required lib installed at /usr/include/openssl/ssl.h, but ./configure step
still fails all three tests for it.

Re: BUG #1457: ./configure --with-openssl --enabled-thread-safety fails

From
Peter Eisentraut
Date:
Tim Larson wrote:
> Required lib installed at /usr/include/openssl/ssl.h, but ./configure
> step still fails all three tests for it.

But without showing us the complete details, we won't be able to fix it.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Re: BUG #1457: ./configure --with-openssl --enabled-thread-safety fails

From
"Larson, Tim (Corporate)"
Date:
> Tim Larson wrote:
> > Required lib installed at /usr/include/openssl/ssl.h, but=20
> ./configure
> > step still fails all three tests for it.
>=20
> But without showing us the complete details, we won't be able=20
> to fix it.

PLATFORM STUFF
**DMESG fragment
Memory BAT mapping: BAT2=3D256Mb, BAT3=3D256Mb, residual: 576Mb
Total memory =3D 576MB; using 2048kB for hash table (at c0600000)
Linux version 2.4.22-2f (dburcaw@skyfox.terraplex.com) (gcc version 3.2.2 2=
0030217 (Yellow Dog Linux 3.0 3.2.2-2a)) #1 Sun Nov 9 16:49:49 EST 2003
Found a Heathrow mac-io controller, rev: 1, mapped at 0xfde6f000
PowerMac motherboard: PowerMac G3 (Gossamer)
CPU HID1 : 0x70000000
Found Grackle (MPC106) PCI host bridge at 0x80000000. Firmware bus number: =
0->0
hose pci, pci_mem_offset: 00000000, start0: 80000000
  io_base_virt: fd66c000, io_base_phys: fe000000, isa_mem_base: fd000000
**UNAME -a
Linux charliebrown.christtrek.org 2.4.22-2f #1 Sun Nov 9 16:49:49 EST 2003 =
ppc ppc ppc GNU/Linux

After a more careful reading of the config.log, it turned out that it was a=
ctually krb5.h that was missing.  A quick Google found that RH-derived syst=
ems (which YDL is) keep this file in a different location.  The following c=
ommand resulted in successful configuration, following by successful build.

./configure --with-openssl --enable-thread-safety --with-includes=3D/usr/ke=
rberos/include/

Sorry to waste your time.

Tim
--=20
Tim Larson                   ><>                        402.595.4419
Systems Analyst                             Web Center of Excellence
mail stop 9-180                                  ConAgra Foods, Inc.