Re: [greenstone-devel] How to use mgbuild script?

From Katherine Don
DateMon, 28 Feb 2005 10:23:53 +1300
Subject Re: [greenstone-devel] How to use mgbuild script?
In-Reply-To (20050227025259-83830-qmail-web54205-mail-yahoo-com)
Hi

It looks like the people who wrote MG didn't make any windows bat files.
To use mgbuild under windows you will need to convert the .sh file into
a .bat file.
Alternatively you can write your own bat file. The man page for
mg_passes gives a basic list of commands needed to create a database.
mg/src/text/mg_passes.1
The online documentation for mg is at
http://www.mds.rmit.edu.au/mg/

Alternatively you could install cygwin on your windows machine and run
mgbuild.sh in the cygwin environment. (http://www.cygwin.com/)

Regarding mgpp, you can download it from cvs:
cvs -d
:pserver:cvs_anon@cvs.scms.waikato.ac.nz:2402/usr/local/global-cvs/gsdl-src
co mgpp

Regards,
Katherine Don

Leho@nq wrote:
>
> Hi,
>
> I do want to build a mg database without Greenstone. In MG's document,
> they told me that I should use mgbuild to build database. But I knew
> that a script. (And I didn't know why its extension is .sh but it's a
> csh script). Here is the syntax:
>
> "mgbuild [ -c ] [ -g get ] [ -s source ] collection-name"
>
> But I'm using WindowsXP, and I can't type that commandline to execute !
> It's designed to use in Linux, isn't it? Or what program do I have to
> run that script? What can I do now? Please help me! Please! I really
> need it, the sooner the better!
>
> Thank you very much! I highly appreciate your help!
>
> Regards,
>
> Lehoanq
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail - Easier than ever with enhanced search. Learn more.
> <http://us.rd.yahoo.com/evt=29916/*http://info.mail.yahoo.com/mail_250>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-devel mailing list
> greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel