Problems installing GPC

Preben Mikael Bohn preben_bohn at yahoo.com
Tue Jul 23 16:02:34 CEST 2002


Hi all, I have a problem installing both the gcc and the gpc
compiler.

I use the following (taken directly from
http://www.gnu-pascal.de/gpc_51.html#SEC51 ):

tar xzf gpc-20020510.tar.gz  
tar xzf gcc-core-2.95.2.tar.gz
cd gpc-20020510
mv p /export/athen01/prb/programs/gcc-2.95.2/gcc/ 
cd ..
mkdir gpcbuild
cd gpcbuild
/export/athen01/pmb/gpc/gcc-2.95.2/configure
--prefix=/export/athen01/pmb/gpc
make 
make -n install
make install

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
make[1]: *** [pascal.real-install-doc] Error 1
make[1]: Leaving directory `/export/athen01/pmb/gpc/gpcbuild/gcc'
make: *** [install-gcc] Error 2


And gcc is not build. The strange thing is that it works flawlessly
on another RedHat 7.3 system...

On the RH7.3 I use gcc version 2.96 20000731 (Red Hat Linux 7.3
2.96-110).

On the "failure"-system I'm using gcc version 2.96 20000731 (Red
Hat Linux 7.1 2.96-98)

Any ideas what is wrong???

Best regards

Preben Bohn


=====
Computers are like airconditioners: 
They stop working properly if you open windows.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com




More information about the Gpc mailing list