From: Monika Hendricks Newsgroups: comp.os.msdos.djgpp Subject: Re: [grx245]installation problems Date: 8 Aug 2003 15:59:57 GMT Lines: 48 Message-ID: References: <7263-Fri08Aug2003101530+0300-eliz AT elta DOT co DOT il> <3791-Fri08Aug2003181106+0300-eliz AT elta DOT co DOT il> NNTP-Posting-Host: p3e9b9f7d.dip.t-dialin.net (62.155.159.125) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 1060358397 30936055 62.155.159.125 (16 [201915]) User-Agent: Xnews/5.04.25 Hamster/2.0.0.1 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote in news:3791-Fri08Aug2003181106+0300-eliz AT elta DOT co DOT il: >> From: Monika Hendricks >> Newsgroups: comp.os.msdos.djgpp >> Date: 8 Aug 2003 11:42:15 GMT >> >> > Anyway, the problem seems to be that a line that is supposed to >> > delete *.o files fails, right? >> >> I'm not sure. I would be happy if *.o files would be created. > > One possible problem might be that it does a "make clean" for some > reason. I don't have the makefile in front of me, but it strikes > me as something weird to do when building a library. Possibly it wants to make sure to have no files from older versions before installing new ones? >> > Does it help to prepend a `-' character to >> > the offending line in the Makefile? >> >> I put a `-' in front of "clean :" in makefile.dj2 and in >> /src/makefile.dj2 (the first rule here deals with this "if exist >> del bgi\*.o") with the following result: > > No, that's not what I meant. You need to prepend `-' to the > _command_ that this rule runs, like this: > > clean: > -if exist bgi\*.o del bgi\*.o > Now I did it like you said with the following result whereas the line 123 is the one with the del bgi\*.o command. C:\DJGPP\contrib\grx245>make -f makefile.dj2 libs c:/djgpp/bin/make.exe -C src -f makefile.dj2 make.exe[1]: Entering directory `c:/DJGPP/contrib/grx245/src' makefile.dj2:123: *** missing separator. Stop. make.exe[1]: Leaving directory `c:/DJGPP/contrib/grx245/src' make.exe: *** [libs] Error 2 Thanks a lot for your patience. Monika PS. I deleted the shell environment variable.