[postgis-users] Re: [postgis] postgis and sgi irix 5.3

Paul Ramsey pramsey at refractions.net
Tue Mar 26 08:30:32 PST 2002


Well, at the minimum, you'll be able to separate the trivial errors from
the important errors. Run a simple script over all the files to remove
the CR's and try again...

dos.pl

#!/usr/bin/perl

while(<>) { 
  s/\r\n/\n/;
  print;
}



foreach f (*.c *.h)
  perl dos.pl $f > out
  mv -f out $f
end


JiXX Kastner wrote:
> 
> On Mon, 25 Mar 2002 14:18:14 -0800
> Paul Ramsey <pramsey at refractions.net> wrote:
> 
> > This is an unfortunate consequence of one of the quirks of our office,
> > I think. Dave tests his code on Solaris, but edits it using MicroSoft
> > Wordpad (go figure) off an SMB share. As a result, our code is riddled
> > with carriage returns. Solaris and Linux gcc seem to ignore them.
> > Apparently your IRIX does not. What version of gcc are you using?
> > Could an upgrade perhaps help things?
> 
> i have ansi c compiler from sgi ido (integr. devel. option cd), i
> think, this is version 5.xx, i'm able to compile postgresql only with
> ansi c compiler, not with gcc 2.95.3 (through problems with assembler
> part of code for mips r3000 - i have mips r4600). so, removing <cr> from
> text, i will be able to compile postgis?
> 
> jiri
> 
> --
> jiri kastner
> statni ustav pamatkove pece
> odd. pam. archeologie - cechy
> detasovane pracoviste domazlice
> haltravska 438
> domazlice
> 34440
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list