Problems installing GPC

Frank Heckenbach frank at g-n-u.de
Tue Jul 23 17:29:38 CEST 2002


Preben Mikael Bohn wrote:

> At the last step I get the following error:
> 
> chmod a-x "/export/athen01/pmb/gpc/doc/gpc/BUGS"
> "/export/athen01/pmb/gpc/doc/gpc/demos"/*
> if [ "`cd p/docdemos && echo a*`" != "a*" ]; then \
>   (cd "/export/athen01/pmb/gpc/doc/gpc/docdemos"; for f in *; do rm
> -f "$f"; done) && \
>   for f in `cd p/docdemos && echo *`; do \
>     rm -f "/export/athen01/pmb/gpc/doc/gpc/docdemos/$f"; \
>     /bin/sh /export/athen01/pmb/gpc/gcc-2.95.2/install-sh -c -m 644
> "p/docdemos/$f" "/export/athen01/pmb/gpc/doc/gpc/docdemos/$f" && \
>     chmod a-x "/export/athen01/pmb/gpc/doc/gpc/docdemos/$f" || exit
> 1; \
>   done; \
> fi
> install: 
> p/docdemos//export/athen01/pmb/gpc/gpcbuild/gcc/p/docdemos does not
> exist

I don't undestand this. It seems like $f contains
/export/athen01/pmb/gpc/gpcbuild/gcc/p/docdemos, but f should only
contains file names without directories (the `echo *' in the `for'
loop).

Unless I'm overlooking something, you either have a very strange
shell or echo command, or something else is going wrong ... If you
know a little about shell programming, you might want to try to
debug it, otherwise I can't help you now.

I have little time now, and I'll be out of town for ~3 weeks (I'll
read email and might answer occasionally, but don't bet on it) ...

Frank

-- 
Frank Heckenbach, frank at g-n-u.de, http://fjf.gnu.de/, 7977168E
GPC To-Do list, latest features, fixed bugs:
http://www.gnu-pascal.de/todo.html




More information about the Gpc mailing list