Installing Picviz

Fedora core 6

These instructions are valid with Picviz version 0.2.3 a newly installed Fedora core 6.

Install packages

  • To have Picviz usable with the pcv command line tool, and able to generate png images
    # yum install gcc
    # yum install gcc-c++
    # yum install bison
    # yum install flex
    # yum install cmake
    # yum install libtool-ltdl-devel
    # yum install plplot-devel
    # yum install plplot-gnome
    
  • To have the Python bindings working
    # yum install python-devel
    

Compile

  • Decompress:
    # tar xf picviz-0.2.3.tar.gz
    
  • Compile:
    # make
    
  • Install:
    # make install
    # echo "/usr/local/lib" > /etc/ld.so.conf.d/picviz.conf
    # ldconfig
    

Test

  • SVG output
    # pcv -Tsvg samples/test1.pcv
    
  • Gnome canvas
    $ pcv -Tplplot samples/test1.pcv
    
    Plotting Options:
     < 1> xwin       X-Window (Xlib)
     < 2> gcw        Gnome Canvas Widget
     < 3> plmeta     PLplot Native Meta-File
     < 4> ps         PostScript File (monochrome)
     < 5> psc        PostScript File (color)
     < 6> xfig       Fig file
     < 7> hp7470     HP 7470 Plotter File (HPGL Cartridge, Small Plotter)
     < 8> hp7580     HP 7580 Plotter File (Large Plotter)
     < 9> lj_hpgl    HP Laserjet III, HPGL emulation mode
     <10> pbm        PDB (PPM) Driver
     <11> png        PNG file
     <12> jpeg       JPEG file
     <13> null       Null device
     <14> mem        User-supplied memory device
     <15> gif        GIF file
     <16> psttf      PostScript File (monochrome)
     <17> psttfc     PostScript File (color)
    
    Enter device number or keyword: 2
    

Attachments