Re: [greenstone-users] not able to execute setup.ba

From Nirupama Bawdekar
DateThu, 18 Dec 2003 15:24:08 +0530 (IST)
Subject Re: [greenstone-users] not able to execute setup.ba
In-Reply-To (Pine-LNX-4-53-0312181252320-31334-ncsi-iisc-ernet-in)
Hello Thompson,

Thanks for your prompt support. As reported by Francis, I too have got rid
of the character in the setup.bat file.

The problem has been solved successfully.

Thanks again and wish you and the GSDL team a merry christmas and a very
happy new year.

regards,

Nirupama


On Thu, 18 Dec 2003, Francis Jayakanth wrote:

> Hi Thompson:
>
> Thanks for your quick and detailed response.
>
> There isn't any problematic line in the setup.bat file but most of the
> lines are terminating with cntl-M (^M) character. This was the root cause
> of 'setup.bat' not being able to execute successfully on a system with
> Windows 98 OS. I have edited 'setup.bat' file and got rid of all ^Ms and
> it works fine now.
>
> Thanks again to you and your colleagues for providing such a wonderful
> support.
>
> Wishing you all Merry Christmas and a Very Happy New Year.
>
> - Francis
>
> On Thu, 18 Dec 2003, John M Thompson wrote:
>
> > Hello Nirupama and Francis,
> >
>
> > It sounds like Greenstone/GLI is getting stuck on the same line in both
> > of your cases. In order to get enough environment memory to run
> > Greenstone/GLI (nothing to do with RAM) we make a program call under
> > Win98 which looks a little like this (the letter case isn't important,
> > and there may be several other arguments):
> >
> > COMMAND /E:2048
> >
> > I would imagine that this line is somehow causing the "Bad command or
> > filename" message, and then, since it hasn't been run, Greenstone
> > subsequently runs out of memory (the /E:2048 argument sets environment
> > memory to 2MB). Of course why this is happening I'm not so sure about.
> >
> > The first thing I would suggest is attempting to open a old style DOS
> > prompt. To do this go to Start Menu->Run, and in the textbox type:
> >
> > command
> >
> > and press enter. If this doesn't work then you're likely using the newer
> > DOS prompt, which is started by typing cmd instead, and doesn't suffer
> > from the same lack of environment memory problem. If it does work then
> > the next thing to try is typing in the problematic line above. If it
> > doesn't work, or displays an error message, then you have a strange
> > version of command.com and we'll try to provide you with a working one.
> >
> > Now if you have a newer DOS prompt, or if the problem command seems to
> > work fine, then we have to edit the setup.bat or gli.bat. The thing to
> > try would be to find the line noted above and change it so it is:
> >
> > COMMAND.COM /E:2048 <other arguments unchanged>
> >
> > Some versions of Win98 require the file extension ".com" to be added.
> >
> > If that doesn't help, or if your systems using cmd anyway, try using the
> > appropriate attached batch file. Rename the old file (setup.bat or
> > gli.bat) first, and then copy the appropriate file into its place.
> > Finally rename these files by removing the .txt (an unfortunate
> > necessity of sending executable files from the university). In
> > these versions of the batch files I've commented out the offending
> > lines. There is a good chance that this won't actually help, and you'll
> > still suffer from an "Out of Memory" error, but its worth a shot.
> >
> > Good Luck, Cheers, and Merry Christmas
> >
> > John Thompson
> > Greenstone Project, NZDL, University of Waikato,
> > New Zealand
> >
> > Francis Jayakanth wrote:
> >
> > >Hello List:
> > >
> > >I have successfully installed local library version of GSDL 2.41 on a PIII
> > >system running Windows 98 OS with 256 MB of RAM. I'm able to build a
> > >collection using the 'collector'. However, I'm unable to build the
> > >collection in the command prompt. When I change directory (cd) to the GSDL
> > >installation directory and execute the command, 'setup.bat', a series of
> > >same error message, "Bad command or file name" is displayed. The error
> > >message "Program is too big to fit in memory" is also displayed. Could you
> > >please let me what am I doing wrong. There is no such problem on a system
> > >running Windows 2000 Professional OS.
> > >
> > >Many thanks,
> > >
> > > - Francis
> > >
> > >NCSI, IISc
> > >Bangalore, India
> > >
> > >
> > >_______________________________________________
> > >greenstone-users mailing list
> > >greenstone-users@list.scms.waikato.ac.nz
> > >https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> > >
> > >
> > and Nirupama Bawdekar wrote:
> >
> > >hi,
> > >
> > >I am using windows 98.
> > >
> > >reg,
> > >nirupama bawdekar
> > >
> > >On Mon, 15 Dec 2003, John M Thompson wrote:
> > >
> > >
> > >
> > >>Hello Nirupama Bawdekar,
> > >>
> > >>What version of windows are you running (XP, NT, 2000, 98, 95 etc)?
> > >>
> > >>John Thompson
> > >>Greenstone Digital Libraries, University of Waikato
> > >>New Zealand
> > >>
> > >>Nirupama Bawdekar wrote:
> > >>
> > >>
> > >>
> > >>>Hi,
> > >>>
> > >>>I have downloaded the 2.41 windows version, and installed it
> > >>>on a p4 machine. However when i try to access GLI, it gives the following
> > >>>error on accessing the program files>greenstone>GLI option:
> > >>>
> > >>>Bad command or file name
> > >>>Program too big to fit in memory
> > >>>
> > >>>can you help?
> > >>>
> > >>>reg,
> > >>>
> > >>>Mrs Nirupama Bawdekar
> > >>>
> >
> >
>

--
***************************************************************************
Mrs Nirupama Bawdekar
Scientific/Technical Officer-Library
Inter-University Centre for Astronomy and Astrophysics
Post Bag No. 4, Ganeshkhind
Pune 411 007
India
---------------------------------------------------------------------------
email: nub@iucaa.ernet.in, telephone:+91-20-569 1414, fax: +91-20-569 0760
****************************************************************************