# # Original File # ------------- # Linux-CAE.net/PCB/Scripts/gerbv.Install.txt # # # 27-Jul-03 amo Date-of-Birth -- gerbv-0.13 did NOT have libpng problems # 13-Dec-04 amo Download gerbv-0.16 # 29-Dec-04 amo Download gerbv-1.0.0.tar.gz # # # http://www.sourceforge.net/projects/gerbv # http://gerbv.sourceforge.net # # # http://internap.dl.sourceforge.net/sourceforge/gerbv/gerbv-1.0.0.tar.gz # # # # http://geda.seul.org/tools/ # http://geda.seul.org/source.html # # # # # http://libpng.org/ # # # Mailing list # http://www.geda.seul.org # # # Version # ======== # gerbv -V # # # ------------------------------------------ # # 29-Dec-04 amo Download gerbv-1.0.0.tar.gz # cd /usr/local/src # tar zxvfp gerbv-1.0.0.tar.gz # cd gerbv-1.0.0 # ./configure # make # make install # # gerbv # # exit 1 # # # ----------------------------------------------------------- # # 13-Dec-04 amo Download gerbv-0.16 # cd /usr/local/src # tar zxvfp gerbv-0.16.tar.gz # cd gerbv-0.16 # ./configure # configure: error: *** Must have libpng to get export-png to work # - # 0. - see ../libpng.txt and install libpng-* # - # - # 1. ./configure --disable-exportpng # - # - # 2. - http://archives.seul.org/geda/dev/Aug-2004/msg00081.html # - # - vi configure # - s/LIBS="-lpng $LIBS"/LIBS="-lpng -lm -lz $LIBS"/ # - # - locate libpng.so # - cat config.log | grep png # - # # # Build it Again # ============== # cd /usr2/src/EDA/gerbv-0.16 # cp -p /usr2/SrcCD/EDA/gerbv-0.16.patched.configure configure # cp -p /usr2/SrcCD/EDA/gerbv-0.16.patched.Makefile Makefile # cp -p /usr2/SrcCD/EDA/gerbv-0.16.patched.src.Makefile src/Makefile # # ./configure ( new version ) # make # s/PNG_LIBS = -lpng/PNG_LIBS = -lpng -lz -lm/ # cd src # - manually edit ( add -lz ) to the gcc line # - gcc -Wall -g -O2 -o gerbv .... *.o .. -lm -lpng -lz # cd .. # make install # # ./src/gerbv example/*/* # ./src/gerbv /tmp/gerb/LedAssy-1.1/top274x.gbr ./src/gerbv /tmp/gerb/LedAssy-1.1/bot274x.gbr # # # gerbv-0.13 - 0.16 segfaults: # ------------------------- # EDA/PCB/LedAssy # EDA/PCB/Riser # # # gzip -d foo.zip # # unzip foo.zip # # # End of file