From: | Richard Scranton <scrantr(at)ix(dot)netcom(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Build problems for PostgreSQL v7.4 on FreeBSD v4.1 |
Date: | 2003-11-18 05:38:16 |
Message-ID: | 3FB9B048.9040603@ix.netcom.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-jdbc |
In file postgresql-7.4/src/interfaces/ecpg/ecpglib/misc.c, this version
of FreeBSD has no definition of LONG_LONG_MIN, although it does
support an int64_t integral type. Compilation was successful after
inserting
a definition immediately following the block of included files:
/* XXX */
#define LONG_LONG_MIN (1LL << 63)
In file
postgresql-7.4/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java,
the JDBC version 1 driver cannot be built with JDK v1.1.8 because that
version of the Double class does not include a static parseDouble(String)
method, which first appeared in JDK 1.2. The driver will compile if
line 836 is
modified as below.
// XXX if (Double.parseDouble(s)==1)
if (Double.valueOf(s).doubleValue()==1)
--
_______________________________________________________
When you can see a light at the end of the tunnel, it
will be a guy with a flashlight bringing more bad news.
From | Date | Subject | |
---|---|---|---|
Next Message | Theodore Petrosky | 2003-11-18 13:29:25 | thread safe? |
Previous Message | Gaetano Mendola | 2003-11-17 23:36:05 | Other Contributors List |
From | Date | Subject | |
---|---|---|---|
Next Message | Frederic Thomas | 2003-11-18 07:19:38 | java.lang.NegativeArraySizeException at org.postgresql.jdbc1.AbstractJdbc1Statement.setBinaryStream() |
Previous Message | Kris Jurka | 2003-11-18 04:25:20 | Re: COPY support |