Re: HowTo configure and compile with openssl and jdbc on

From: chris(at)goforit(dot)de
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: HowTo configure and compile with openssl and jdbc on
Date: 2004-01-22 23:37:41
Message-ID: 34538.24.130.69.156.1074814661.squirrel@mail.vote4ad.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi,

thanks, but it doesn't work. This has been my first guess, but results in
the same error as if I add the prefix:

checking for openssl/ssl.h... no
configure: error: header file <openssl/ssl.h> is required for OpenSSL

Even so I checked, file IS there and read permission is granted.
I just can't figure out why it doesn't work ...

Thanks
Chris

> Hi,
>
> For jsdk, I don't know.
>
> For openssl, my configure line is :
>
> configure --with-openssl
>
> No more and is running.
>
>
> Bruno
>
>
> On Thu, 22 Jan 2004 chris(at)goforit(dot)de wrote:
>
>> Hi,
>>
>> yesterday I got a new server running RH ES and now I try to get
>> postgresql
>> up and running with no success ...
>>
>> RH ES 3.2.3-20
>> PostgreSQL 7.4.1 .tgz package from postgresql.org
>> openssl 0.9.7a with openssl-devel package installed
>> j2sdk-1.4.2_03 RPM from SUN installed
>>
>> If I try to run configure with the "--with-openssl=/usr" option, having
>> the openssl-devel package installed and files verified to be there
>> (/usr/include/openssl/ssl.h ...) configure will break saying
>> openssl/ssl.h
>> needs to be available.
>>
>> Then, having tried without openssl, but with "--with-java" enabled ...
>> configure suceeds, but compile will fail:
>>
>> driver:
>> [copy] Copying 1 file to
>> /usr/local/src/postgresql-7.4.1/src/interfaces/jdbc/org/postgresql
>> [echo] Configured build for the JDBC3 edition driver with NO SSL
>>
>> compile:
>> [javac] Compiling 77 source files to
>> /usr/local/src/postgresql-7.4.1/src/interfaces/jdbc/build
>> [javac]
>> /usr/local/src/postgresql-7.4.1/src/interfaces/jdbc/org/postgresql/jdbc3/Jdbc3Statement.java:28:
>> error: Invalid checked exception class `java.sql.SQLException' in
>> `throws' clause. The exception must be a subclass of an exception
>> thrown by
>> `org.postgresql.jdbc1.AbstractJdbc1Statement.createRefCursorResultSet(java.lang.String)'
>> from class `org.postgresql.jdbc1.AbstractJdbc1Statement'.
>> [javac] public PGRefCursorResultSet
>> createRefCursorResultSet (String cursorName) throws SQLException
>> [javac] ^
>> [javac]
>> /usr/local/src/postgresql-7.4.1/src/interfac

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Bill Moseley 2004-01-23 01:28:09 Hierarchal data
Previous Message Bruno LEVEQUE 2004-01-22 23:11:48 Re: HowTo configure and compile with openssl and jdbc on