| From: | condlej(at)chplink(dot)chp(dot)edu (Joe) |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Make switches from gcc to cc Java is failing |
| Date: | 2001-09-13 18:50:26 |
| Message-ID: | f9bee399.0109131050.5138652@posting.google.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
I am running Solairs 2.7 and I am trying to compile postgresql-7.1.2.
When I first try to compile I only have the gcc compiler in the path.
The make gives me the following errors.
make[3]: cc: Command not found
make[3]: *** [pltcl.o] Error 127
make[3]: Leaving directory `/ufs/gnu/postgresql-7.1.2/src/pl/tcl'
make[2]: ***[all] Error 2
make[2]: Leaving directory `/ufs/gnu/postgresql-7.1.2/src/pl'
make[1]: ***[all] Error 2
make[1]: Leaving directory `/ufs/gnu/postgresql-7.1.2/src'
make: *** [all] Error 2
I then put /usr/ucb in the path. This only changed one error message
in the make.
'/usr/ucb/cc: language optional software package not installed.
I thought postgresql only needed the gcc compiler. Should I install
the cc compiler.
I found an Error saying that JAVA_HOME was not defined. I set it to
/usr/java1.2
I did a make clean and make distclean
I did configure again
I did the make this time the compile errors are as follows
make[3]: Entering directory
`/ufs/gnu/postgresql-7.1.2/src/interfaces/jdbc'
/usr/local/ant/bin/ant -buildfile ../../../build.xml -Dmajor=7
-Dminor=1 -Dfullversion=7.1.2 -ddef_pgport=5432
Exception in thread "main" java.lang.NoClassDefFounderror:
org/apache/tools/ant/Main
make[3]: *** [all] Error 1
make[3]: Leaving directory
`/ufs/gnu/postgresql-7.1.2/src/interfaces/jdbc'
make[2]: ***[all] Error 2
make[2]: Leaving directory `/ufs/gnu/postgresql-7.1.2/src/interfaces'
make[1]: ***[all] Error 2
make[1]: Leaving directory `/ufs/gnu/postgresql-7.1.2/src'
make: *** [all] Error 2
Any ideas?
Installing postgresql has so far been both painfull and a learning
experiance.
Joe
Childrens Hospital of Pittsburgh
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephan Szabo | 2001-09-13 19:06:17 | Re: Working with dates and queries |
| Previous Message | wsheldah | 2001-09-13 18:49:35 | Re: business perspective |