Re: [greenstone-users] Read a greenstone collection on a Mac

From qq6@cs.waikato.ac.nz
DateMon, 11 Jun 2007 11:09:38 +1200 (NZST)
Subject Re: [greenstone-users] Read a greenstone collection on a Mac
In-Reply-To (BAY143-F22D7933BB477D2D253D68ABC240-phx-gbl)
Hi S□bastien

Yes, you can move a collection built with the Windows platform to a Mac.
But you have to convert the index database file which is
/gsdl/collect/your-collection/index/text/your-collection.ldb (the little
endian database format for Windows) to
/gsdl/collect/your-collection/index/text/your-collection.bdb (the big
endian database format for Mac) by running commands "txt2db" and "db2txt",
instead of rebuilding the whole collection on the Mac.

Did you install the Greenstone on the Mac successfully? If you did, you
can try the way below to finish convert.

Before running the command either "txt2db" or "db2txt", the GSDL
environment need to be set up.

setup.bat (for Windows)
source setup.bash (for Mac and Linux)

Go to your collection directory (on the Windows platform), run "db2txt
index/text/your-collection.ldb > out.txt", copy the out.txt over to
collect/your-collection/index/text on the Mac, and run "txt2db
your-collection.bdb < out.txt"


Regards
Quan


> <html><div style='background-color:'><DIV class=RTE>
> <P><BR><BR></P>
> <DIV></DIV><FONT color=#000000></DIV>
> <DIV></DIV>Hi,
> <DIV></DIV>
> <DIV></DIV>
> <P>I would like to know if it's possible to install a Greenstone
> collection on a mac with a cd-rom which are built with Windows
> plateform??</P>
> <P>&nbsp;</P>
> <P>Thanks a lot</P>
> <P>&nbsp;</P>
> <P>Sebastien</FONT></P></div><br clear=all><hr>Grand passion□ ?
> Rassemblez tout ce qui vous int□resse <a
> href="http://g.msn.com/8HMAFRBE/2740??PS=47575" target="_top">en un seul
> endroit </a> !</html>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>