Changes between Version 13 and Version 14 of LatestGetStarted

Show
Ignore:
Timestamp:
06/18/09 23:48:55 (15 months ago)
Author:
toady
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LatestGetStarted

    v13 v14  
    55To compile picviz, you will need: 
    66 * Compile suite (gcc, make etc..) 
     7 * flex and bison 
    78 * Cmake (http://www.cmake.org) 
    89 * pcre library (http://www.pcre.org/) 
    9  * libevent (http://monkey.org/~provos/libevent/) 
     10 * cairo library (http://cairographics.org/) 
    1011 
    1112Optional: 
     
    1415 
    1516=== Compile and install === 
    16 '''Core''' 
    1717 
    18 As a regular user: 
     18'''libpicviz''' 
     19 
    1920{{{ 
     21$ wget http://www.wallinfire.net/files/picviz/libpicviz-0.6.tar.gz 
     22$ tar xvf libpicviz-0.6.tar.gz 
     23$ cd libpicviz-0.6 
    2024$ make 
    21 }}} 
    22 As root: 
    23 {{{ 
    24 # make install 
    25 # ldconfig 
     25$ sudo make install 
     26$ cd src/bindings/python 
     27$ sudo python ./setup.py install 
    2628}}} 
    2729 
    28 '''Bindings''': 
     30'''Command line''': 
    2931 
    30 As a regular user: 
    3132{{{ 
    32 $ cd src/libpicviz/bindings/python/ 
     33$ wget http://www.wallinfire.net/files/picviz/picviz-cli-0.6.tar.gz 
     34$ tar xvf picviz-cli-0.6.tar.gz 
     35$ cd src 
     36$ make 
     37$ sudo make install 
    3338}}} 
    34 As root: 
    35 {{{ 
    36 # python ./setup.py install 
    37 }}} 
     39 
    3840 
    3941'''Frontend'': 
    4042 
    41 As a regular user: 
    4243{{{ 
    43 $ cd src/frontend 
     44$ wget http://www.wallinfire.net/files/picviz/picviz-gui-0.6.tar.gz 
     45$ tar xvf picviz-gui-0.6.tar.gz 
     46$ sudo python ./setup.py install 
    4447}}} 
    45 As root: 
    46 {{{ 
    47 # python ./setup.py install 
    48 }}} 
     48 
     49 
     50You can now try in picviz-cli-0.6/samples, you have some example files. 
    4951 
    5052== Use == 
     
    6466}}} 
    6567 
    66 To convert the file into a SVG file, the binary '''pcv''' is used with its svg plugin: 
    67 {{{ 
    68 $ pcv -Tsvg syslog.pcv > syslog.svg 
    69 }}} 
    70  
    7168Because the file is pretty big, your svg viewer may not work. So you can use the png plugin: 
    7269{{{ 
    73 $ pcv -Tpngcairo syslog.pcv > syslog.png 
     70$ pcv -Tpngcairo syslog.pcv -o syslog.png 
    7471}}} 
    7572 
     
    7774 
    7875[[Image(syslog.png)]] 
     76 
     77 
     78You can also increase the image resolution to get a better image 
     79{{{ 
     80$ pcv -Tpngcairo syslog.pcv -o syslog.png -rrr 
     81}}} 
     82 
    7983 
    8084Default values positioning is not relative. As of now, this is not the default behavior to put data in relative mode but it soon may change. To active it, simply add at the beginning of the graph: