# p2c is a Pascal to C translator wget -c http://schneider.ncifcrf.gov/p2c/p2c-1.21alpha2.tar.gz mkdir -p p2c-1.21alpha2 cd p2c-1.21alpha2 tar -xzf ../p2c-1.21alpha2.tar.gz cd src sed -i -e 's/#include <stdio\.h>/#define getline C_getline\n&\n#undef getline/;' trans.h # workaround for errors about redeclaring getline make HOMEDIR=/usr/lib/p2c INCDIR=/usr/include/p2c BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/share/man ABSHOMEDIR=/usr/lib/p2c ABSINCDIR=/usr/include/p2c make install HOMEDIR=/usr/lib/p2c INCDIR=/usr/include/p2c BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/share/man ABSHOMEDIR=/usr/lib/p2c ABSINCDIR=/usr/include/p2c