From: | "Charlie Derr" <charliederr(at)organicmeat(dot)net> |
---|---|
To: | "Homayoun Yousefi'zadeh" <homayounyz(at)home(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | RE: JDBC and Perl compiling problems w/ postgresql-7.1rc4 |
Date: | 2001-04-09 23:31:25 |
Message-ID: | LOBBJCAMDNLNCGCCHGEIIECFKJAA.charliederr@organicmeat.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-jdbc |
This sounds like the problem with the version of gcc that is included with
rh7.0
If you don't want to upgrade gcc to a newer version, I think you can fix the
problem by "mv"ing gcc to brokengcc and then creating creating a new symlink
gcc to kgcc. Redhat included a non-broken gcc in the distro and called it
kgcc.
~c
~ -----Original Message-----
~ From: pgsql-general-owner(at)postgresql(dot)org
~ [mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of Homayoun
~ Yousefi'zadeh
~ Sent: Monday, April 09, 2001 6:33 PM
~ To: pgsql-general(at)postgresql(dot)org
~ Subject: [GENERAL] JDBC and Perl compiling problems w/ postgresql-7.1rc4
~
~
~ Hello there,
~
~ I first ran configure with the following options
~
~ ./configure --with-perl --with-tcl --enable-odbc --with-java
~ --enable-syslog --enable-debug
~
~ and then compiled postgresql-7.1rc4 on Redhat 7.0 successfully
~ with the exceptions in JDBC and Perl modules as
~ indicated below.
~
~ -------------------------------------------------------------
~
~ gmake[3]: Entering directory
~ `/usr/pgsql-pkg/postgresql-7.1rc4/src/interfaces/jdbc'
~ /usr/jakarta/jakarta-ant/bin/ant -buildfile ../../../build.xml -Dmajor=7
~ -Dminor=1 -Dfullversion=7.1rc4 -Ddef_pgport=5432
~ Buildfile: ../../../build.xml
~
~ jar:
~
~ call:
~
~ prepare:
~
~ check_versions:
~
~ driver:
~ Configured build for the JDBC2 edition driver.
~
~ compile:
~ [javac] Compiling 41 source files to
~ /usr/pgsql-pkg/postgresql-7.1rc4/src/interfaces/jdbc/build
~ [javac] Modern compiler is not available - using classic compiler
~
~ BUILD FAILED
~
~ /usr/pgsql-pkg/postgresql-7.1rc4/src/interfaces/jdbc/build.xml:99:
~ Cannot use classic compiler, as it is not available
~
~ Total time: 0 seconds
~
~ -----------------------------------------------------------------
~
~ <!-- This is the core of the driver. It is common for all three
~ versions -->
~
~ <target name="compile" depends="prepare,check_versions,driver">
~
~ <!-- **** The following is line 99 of build.xml ******* -->
~ <javac srcdir="${src}" destdir="${dest}">
~
~ <include name="${package}/**" />
~ <exclude name="${package}/core/ConnectionHook.java"
~ unless="jdk1.3+" />
~ <exclude name="${package}/jdbc1/**" if="jdk1.2+" />
~ <exclude name="${package}/jdbc2/**" unless="jdk1.2+" />
~ <exclude name="${package}/largeobject/PGblob.java"
~ unless="jdk1.2+" />
~ <exclude name="${package}/largeobject/PGclob.java"
~ unless="jdk1.2+" />
~ <exclude name="${package}/PostgresqlDataSource.java"
~ unless="jdk1.2e+" />
~ <exclude name="${package}/xa/**" unless="jdk1.2e+" />
~ <exclude name="${package}/test/**" unless="junit" />
~ </javac>
~ <copy todir="${dest}" overwrite="true" filtering="on">
~ <fileset dir="${src}">
~ <include name="**/*.properties" />
~ <exclude name="${dest}/**" />
~ </fileset>
~ </copy>
~ </target>
~
~
~ I have both j2se version 1.3 and ant installed on the machine.
~
~ ----------------------------------------------------------------
~ gmake[4]: Entering directory
~ `/usr/pgsql-pkg/postgresql-7.1rc4/src/pl/plperl'
~ *****
~ * Cannot build PL/Perl because libperl is not a shared library.
~ * Skipped.
~ *****
~
~ It seems like that the compiler does not like the fact that
~
~ /usr/lib/perl5/5.6.0/i386-linux/CORE/libperl.a
~
~ is not a shared object.
~ -----------------------------------------------------
~
~ Your comments to resolve these issues is greatly
~ appreciated.
~
~ BTW, rserv module in contrib directory now compiles
~ beautifully.
~
~ Regards,
~ HY
~
~
~ ---------------------------(end of broadcast)---------------------------
~ TIP 4: Don't 'kill -9' the postmaster
~
From | Date | Subject | |
---|---|---|---|
Next Message | The Hermit Hacker | 2001-04-09 23:33:37 | Re: table level locking vs. row level (or whatever PSQL uses) |
Previous Message | John Havard | 2001-04-09 22:55:45 | Using pl/pgsql or sql for in/out functions for types |
From | Date | Subject | |
---|---|---|---|
Next Message | Homayoun Yousefi'zadeh | 2001-04-09 23:43:03 | Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4 |
Previous Message | Homayoun Yousefi'zadeh | 2001-04-09 22:33:19 | JDBC and Perl compiling problems w/ postgresql-7.1rc4 |
From | Date | Subject | |
---|---|---|---|
Next Message | Homayoun Yousefi'zadeh | 2001-04-09 23:43:03 | Re: JDBC and Perl compiling problems w/ postgresql-7.1rc4 |
Previous Message | Homayoun Yousefi'zadeh | 2001-04-09 22:33:19 | JDBC and Perl compiling problems w/ postgresql-7.1rc4 |