Changes between Version 13 and Version 14 of LatestGetStarted
- Timestamp:
- 06/18/09 23:48:55 (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LatestGetStarted
v13 v14 5 5 To compile picviz, you will need: 6 6 * Compile suite (gcc, make etc..) 7 * flex and bison 7 8 * Cmake (http://www.cmake.org) 8 9 * pcre library (http://www.pcre.org/) 9 * libevent (http://monkey.org/~provos/libevent/)10 * cairo library (http://cairographics.org/) 10 11 11 12 Optional: … … 14 15 15 16 === Compile and install === 16 '''Core'''17 17 18 As a regular user: 18 '''libpicviz''' 19 19 20 {{{ 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 20 24 $ 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 26 28 }}} 27 29 28 ''' Bindings''':30 '''Command line''': 29 31 30 As a regular user:31 32 {{{ 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 33 38 }}} 34 As root: 35 {{{ 36 # python ./setup.py install 37 }}} 39 38 40 39 41 '''Frontend'': 40 42 41 As a regular user:42 43 {{{ 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 44 47 }}} 45 As root: 46 {{{ 47 # python ./setup.py install 48 }}} 48 49 50 You can now try in picviz-cli-0.6/samples, you have some example files. 49 51 50 52 == Use == … … 64 66 }}} 65 67 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.svg69 }}}70 71 68 Because the file is pretty big, your svg viewer may not work. So you can use the png plugin: 72 69 {{{ 73 $ pcv -Tpngcairo syslog.pcv >syslog.png70 $ pcv -Tpngcairo syslog.pcv -o syslog.png 74 71 }}} 75 72 … … 77 74 78 75 [[Image(syslog.png)]] 76 77 78 You can also increase the image resolution to get a better image 79 {{{ 80 $ pcv -Tpngcairo syslog.pcv -o syslog.png -rrr 81 }}} 82 79 83 80 84 Default 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:
