Getting pcb version 1.6.3 to compile on Redhat 7.2 Linux.
(the current alpha, 1.7.3, has more bugs than I want to deal with, but
was an easier compile/install)
pcb homepage
Read the INSTALL in README_FILES directory.
Following directions...
STEP 1 - edit config.h:
change GNUM4 to /usr/bin/m4
(YOU MUST DO THIS!)
change PCBLIBDIR to $(LIBDIR)/pcb
(The default, /home/cad/lib/pcb, makes little sense, to me at least. This
puts the lib files in /usr/X11R6/lib/X11/pcb)
STEP 2 - xmkmf -a
STEP 3 - You should do this, and even though you get errors here, you
get fewer errors later.
cd doc ; make
cd src ; make Pcb.ad
STEP 4 - not applicable for me
STEP 5 - do a "make"
Now I get an error about target "pcb.man". But! Keep going, this is the important part.
type "make" again. Now gcc will make your pcb executable.
STEP 6/7 - cd src ; ./pcbtest.sh ../example/68HC11
Voila. pcb is working.
STEP 8 - su root, make install.
And it all should be working.
Uninstall:
Since there isn't a "make uninstall", manually remove:
/usr/X11R6/bin/pcb
/usr/X11R6/lib/X11/app-defaults/Pcb
directory /usr/X11R6/lib/X11/pcb
Linux home