hgn / captcp

A open source program for TCP analysis of PCAP files
http://research.protocollabs.com/captcp/
GNU General Public License v3.0
113 stars 40 forks source link

no Graphs with FreeBSD 8.3 #13

Closed stoege closed 11 years ago

stoege commented 11 years ago

I'm struggeling with the graphical part. I'm able to parse and analyze capture files, but generating PDF/PNG doesn't work. All packages are installed except texlive-latex-extra, which is not availabe under BSD.

OS: [root@psrISS001 ~]# uname -a FreeBSD psrISS001 8.3-RELEASE-p11 FreeBSD 8.3-RELEASE-p11 #0: Tue Sep 10 00:06:55 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

[root@psrISS001 /data/HSI-10G/captcp]# captcp timesequence -i -o timesequence -f 1.1 data.pcap
Traceback (most recent call last): File "/usr/bin/captcp", line 4932, in sys.exit(captcp.run()) File "/usr/bin/captcp", line 4893, in run classinstance.initialize() File "/usr/bin/captcp", line 1275, in initialize self.parse_local_options() File "/usr/bin/captcp", line 1515, in parse_local_options parser.add_option( "-g", "--gnuplot-options", dest="gnuplotoptions", default=none, NameError: global name 'none' is not defined

any help appreciated !

Regards Daniel

hgn commented 11 years ago

Ok, fixed with current version (git pull). Thank you!

hgn commented 11 years ago

One more comment: texlive-latex-extra is required to generate PDF files. texlive-latex-extra includes epstopdf. I have no BSD installed on any local machine here. So if you can provide the actual ports package to install epstopdf it would be great!

stoege commented 11 years ago

great, work ! will check with PDF and get back to you ... many thanks !

ykasap commented 11 years ago

Hi, epstopdf is included in print/teTeX-base.

hgn commented 11 years ago

Perfect! I will update the documentation.

hgn commented 11 years ago

ps: thank you @ykasap

stoege commented 11 years ago

hi,

everythings works as expected now ! had to use "gmake all" instead of "make all". so, big thinks for your quick help. highly appreciated !

001