On 11/23/07 2:59 PM -0800, R. Timothy Edwards wrote:
>Dear Walt,
>
>> During my attempts to compile either 3.4.27 or 3.6.127 under
>> Mac OS X, version 10.3.9 (no Fink or Macports involved), I get
>> ...
>>
>> Installing library and netlist files
>> /bin/sh ./mkinstalldirs /usr/local/lib/xcircuit-3.6
>> ( cd lib ; for i in xcircps2.pro *.lps *.cir; do \
>> ./install-sh -c -m 644 $i /usr/local/lib/xcircuit-3.6; \
>> done )
>> /bin/sh: line 1: ./install-sh: No such file or directory
>
>It looks like the "make" process on Linux always produces a full
>path for "INSTALL_DATA" (which is an executable /usr/bin/install).
>What seems to be happening here is that MacOS doesn't have
>/usr/bin/install or an equivalent, so it falls back on the
>"install_sh" script. However, since it gives a relative path
>instead of an absolute path, after execuding "cd lib" in the line
>above, it can no longer find install_sh, which is then in the
>directory above.
>
>Just tracing through what the make process does, I think you can
>fix this problem by editing the Makefile and changing the line
>
> srcdir = .
>
>to the full path of the xcircuit source directory. I'm not sure
>what the "proper" solution is (i.e., the one that doesn't involve
>editing Makefiles).
We've come to the same conclusion as to what's happening. I was
able to get a working version by editing "configure". Your edit
is, I suspect, a better idea.
FWIW: as near as I can tell, Mac OS X includes an "install" in
Tiger (10.4) but not previous versions of the OS. I rather like
the inclusion of the "install-sh" script as it does not orphan
older systems ... if it works. Perhaps someone with a stronger
notion of what's really happening in all the auto, etc. stuff
could fix it. I did look at it but I got thoroughly lost in the
who's-doing-what-to-whom war going on between my ears.
Out of curiosity, might one copy the "install-sh" script to some
place on $PATH as "install" and have the result be workable?
--
Walter M. Pawley <[EMAIL PROTECTED]>
Wump Research & Company
676 River Bend Road, Roseburg, OR 97470
541-672-8975
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev