tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirk True <k...@mustardgrain.com>
Subject Re: Problems building 5.5.27 from source
Date Fri, 17 Apr 2009 21:55:48 GMT
Hi sebb,

sebb wrote:
> On 17/04/2009, Kirk True <kirk@mustardgrain.com> wrote:
>   
>> Hi all,
>>
>>  I had some problems building 5.5.27 as pulled from
>> http://tomcat.apache.org/download-55.cgi.
>>
>>  The first issue was that I couldn't use a JDK 1.4.2-level compiler as it
>> chokes on the class format of the JUnit libraries.
>>     
>
> AFAIK it requires Java 1.5, see:
>
> http://www.mirrorservice.org/sites/ftp.apache.org/tomcat/tomcat-5/v5.5.27/README.html
>
> Or is there some other documentation that says otherwise?
>   

In the zip, apache-tomcat-5.5.27-src.zip is a file named 
build/BUILDING.txt which provides steps to build, among which is:

    (0) Download and Install a Java Development Kit

    * If the JDK is already installed, skip to (1).

    * Download a Java Development Kit (JDK) release (version 1.4.x or 
later) from:

        http://java.sun.com/j2se/

    * Install the JDK according to the instructions included with the 
release.

    * Set an environment variable JAVA_HOME to the pathname of the directory
      into which you installed the JDK release.

That's what I went off of.

Kirk

>> Using JDK 1.6 didn't work
>> because of the fact that the java.sql.Wrapper class methods aren't
>> implemented in the connection pool module classes. So I had to install a
>> 1.5-era JDK. No biggie.
>>
>>  Secondly, there are some version problems in the build.properties.default
>> for which I've submitted a patch (below). I don't know what the "right" fix
>> is for the native Tomcat dependencies, but this at least allowed the build
>> to complete. I couldn't find 1.1.12 anywhere, so while the build doesn't
>> complain, I don't _assume_ this is the correct fix.
>>     
>
> I don't know about the properties file, perhaps someone more familiar
> with Tomcat releases will chip in.
>
>   
>>  Thanks,
>>  Kirk
>>
>>  --- a/build/build.properties.default    2008-08-28
>> 22:10:32.000000000 -0700
>>  +++ b/build/build.properties.default    2009-04-17
>> 11:58:06.000000000 -0700
>>  @@ -12,10 +12,10 @@
>>  # ----- Vesion Control Flags -----
>>  version.major=5
>>  version.minor=5
>>  -version.build=26
>>  +version.build=27
>>  version.patch=0
>>  #Set the pretty version name
>>  -version=5.5.26
>>  +version=5.5.27
>>
>>  # ----- Compile Control Flags -----
>>  compile.debug=on
>>  @@ -140,9 +140,9 @@
>> jdt.loc=http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.3.1-200709211145/eclipse-JDT-3.3.1.zip
>>
>>  # ----- Tomcat native library -----
>>  -tomcat-native.home=${base.path}/tomcat-native-1.1.12
>>  +tomcat-native.home=${base.path}/tomcat-native-1.1.16
>> tomcat-native.tar.gz=${tomcat-native.home}/tomcat-native.tar.gz
>> -tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/tomcat-native-1.1.12-src.tar.gz
>> +tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/source/1.1.16/tomcat-native-1.1.16-src.tar.gz
>>
>>
>>  # --------------------------------------------------
>>
>>
>> ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>>  For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message