[greenstone-users] Re: [greenstone-devel] compiling 3.03 on OS X with Tomcat 6

From Nathan Speed
DateWed, 7 Nov 2007 16:50:19 -0800 (PST)
Subject [greenstone-users] Re: [greenstone-devel] compiling 3.03 on OS X with Tomcat 6
Thanks Qiu - that helps a lot!

Nathan

----- Original Message ----
From: Qiu <qq6@cs.waikato.ac.nz>
To: Nathan Speed <speedarius@yahoo.com>; greenstone-users@list.scms.waikato.ac.nz
Sent: Tuesday, November 6, 2007 6:04:35 PM
Subject: Re: [greenstone-devel] compiling 3.03 on OS X with Tomcat 6


Hi Nathan
Nathan Speed wrote:
> Hi all,
>
>
>
> I sent this question to greenstone-users with no response. Maybe this
is a more appropriate place to ask. I'm trying to compile the 3.03
source distribution on OS X (1.4/Tiger). I ultimately want to install it
as a servlet in my existing Tomcat 6 installation. I've come across
multiple issues and (I think) resolved some of them myself. I'll explain
them here in case the information may be useful to someone else. I'm
still not quite there.
>
>
>
> * First issue: 'ant prepare install' didn't work. ant complains that
build.xml does not have a 'prepare' target. So I figured I would get
around that by using 'ant configure && ant compile && ant install'
instead. I'm not sure if that's the way to go.
>
>
>
'ant prepare install' is used to compile the source codes downloaded
from the svn repository. "ant install" is the comand to compile the
Greenstone3 source distribution.
> * Second issue: When I run ant configure, ant complains that there is
no 'get-macos-extra' target. I looked at the build.xml in svn and
found that there was a section missing from my 3.03 source download (the
get-macos-extra target), so I added it:
>
>
> <target name="get-macos-extra" depends="init" if="need.macos.extra">
>
> </target>
>
>
>
Yes, you are right. We will fix it in the next release.
> * Third issue: Several scripts in the various packages couldn't run
because the permissions were not set to allow execution. I chmod +x 'ed
the following files:
>
>
>
> src/packages/javagdbm/configure
>
> gs2build/indexers/configure
>
> gs2build/mg/configure
>
> gs2build/mgpp/configure
>
> gli/makegli.sh
>
> gli/makejar.sh
>
>
>
Yes, you are right. We will fix it.
> (I think that's all of 'em.. :-))
>
>
>
> At this point 'ant configure' followed by 'ant compile' works (at
least, I don't get any error messages.)
>
>
>
> * Last issue. When I try 'ant install' (having set my
build.properties to install in my existing Tomcat 6 installation at
/usr/local/tomcat), I get an error: "/usr/local/tomcat/common/endorsed not found." I
think this has something to do with Tomcat 6 vs. previous versions of
Tomcat. Does greenstone 3 work with tomcat 6?
>
>
Greenstone3 has included a tomcat which need to be used for running
Greenstone3.
> I hope this is useful to someone and/or somebody can help me with
that last issue!
>
>
>
> Thanks,
>
> Nathan
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-devel mailing list
> greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com