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

Started by Larson, Tim (Corporate)about 21 years ago3 messagesbugs
Jump to latest
#1Larson, Tim (Corporate)
Tim.Larson@conagrafoods.com

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.

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Larson, Tim (Corporate) (#1)
Re: BUG #1457: ./configure --with-openssl --enabled-thread-safety fails

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/

#3Larson, Tim (Corporate)
Tim.Larson@conagrafoods.com
In reply to: Peter Eisentraut (#2)
Re: BUG #1457: ./configure --with-openssl --enabled-thread-safety fails

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.

PLATFORM STUFF
**DMESG fragment
Memory BAT mapping: BAT2=256Mb, BAT3=256Mb, residual: 576Mb
Total memory = 576MB; using 2048kB for hash table (at c0600000)
Linux version 2.4.22-2f (dburcaw@skyfox.terraplex.com) (gcc version 3.2.2 20030217 (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 actually krb5.h that was missing. A quick Google found that RH-derived systems (which YDL is) keep this file in a different location. The following command resulted in successful configuration, following by successful build.

./configure --with-openssl --enable-thread-safety --with-includes=/usr/kerberos/include/

Sorry to waste your time.

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