[Picviz] MacOS 10.5

2009-02-24 Thread Mike Patterson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Futzing with MacPorts and picviz, I managed to get 0.5 to build.  It
does not, however, seem to work very well.  :~(  To wit:

$ pcv -Tpngcairo fc15feb.pcv > fc15feb.png
Floating point exception
$

Intel iMac, MacOS 10.5.6.  I can send other details if it would be
useful.  I have other platforms on which I can run this, but it would be
extremely convenient for me to make it go on a Mac.  Has anybody made
this go?

I'd be submitting patches, except I've little experience with cmake
projects and am otherwise a lousy coder.  But I'd be happy to test
patches anybody would like to send.  :)  I also have a PPC (G4) Mac that
I can test things on too, if that's a platform of interest.

Thanks,

Mike
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmkfq0ACgkQrqw9H9F0mCTGsgCfVOJnffkmpnzFWGgnbMdEIXeS
GN0AniAleIolzxfJl0wGQ8v8mL0eAm6Z
=5r7k
-END PGP SIGNATURE-
___
Picviz mailing list
Picviz@wallinfire.net
http://www.wallinfire.net/cgi-bin/mailman/listinfo/picviz


Re: [Picviz] MacOS 10.5

2009-02-24 Thread Sebastien Tricaud
Hello Mike,

first of all, thanks for building picviz on MacOS.

>
> $ pcv -Tpngcairo fc15feb.pcv > fc15feb.png
> Floating point exception
> $

Can you share you pcv file? can you isolate the line in your pcv
producing this error?

I guess there should be debug information with it, what gdb tells you?

>
> Intel iMac, MacOS 10.5.6.  I can send other details if it would be
> useful.  I have other platforms on which I can run this, but it would be
> extremely convenient for me to make it go on a Mac.  Has anybody made
> this go?

Not as I know of.

>
> I'd be submitting patches, except I've little experience with cmake
> projects and am otherwise a lousy coder.  But I'd be happy to test
> patches anybody would like to send.  :)  I also have a PPC (G4) Mac that
> I can test things on too, if that's a platform of interest.
>

Thanks. Let's do that if I have more debug info.

Sebastien.
___
Picviz mailing list
Picviz@wallinfire.net
http://www.wallinfire.net/cgi-bin/mailman/listinfo/picviz


Re: [Picviz] MacOS 10.5

2009-02-24 Thread Mike Patterson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sebastien Tricaud wrote on 2/24/09 6:54 PM:
> Can you share you pcv file? can you isolate the line in your pcv
> producing this error?

Yes, although I'd need to sanitize it - I'm actually graphing some flow
data from our routers and it includes IP addresses.  :-)  But the same
pcv file works ok on a Linux host, so I don't think it's the problem.

It looks like this though:
header {
title = "picviz flows";
}
engine {
relative = "1";
}

axes{
ipv4 s [label="Source IP"];
integer p [label="Source Port"];
ipv4 d [label="Dest IP"];
integer r [label="Dest Port"];
}
data {
s="an ip",p="a port",d="an ip",r="a port" ;
...
}

(I guess I could have better variable names, but they work... :) )

> I guess there should be debug information with it, what gdb tells you?

(gdb) run -Tpngcairo -Rheatline -rra /Users/mpatters/tmp/fc.pcv
Starting program: /usr/local/bin/pcv -Tpngcairo -Rheatline -rra
/Users/mpatters/tmp/fc.pcv
Reading symbols for shared libraries ++ done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries
 done
Reading symbols for shared libraries . done

Program received signal EXC_ARITHMETIC, Arithmetic exception.
0x95a8231e in __udivdi3 ()
(gdb)

Am I missing something obvious?  gdb n00b on top of everything else.

Mike

- --
Only he who handles his ideas lightly is master of his ideas, and
only he who is master of his ideas is not enslaved by them.
 - Lin Yutang
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmkiv4ACgkQrqw9H9F0mCRYJACcCYeJUIugs54CXWjLn8/BDP1E
LRsAnjcsAui3fIX4Xr4XnQatfbrPLZNd
=XGbk
-END PGP SIGNATURE-
___
Picviz mailing list
Picviz@wallinfire.net
http://www.wallinfire.net/cgi-bin/mailman/listinfo/picviz


Re: [Picviz] MacOS 10.5

2009-02-24 Thread Sebastien Tricaud
On Wed, Feb 25, 2009 at 1:04 AM, Mike Patterson
 wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Sebastien Tricaud wrote on 2/24/09 6:54 PM:
>> Can you share you pcv file? can you isolate the line in your pcv
>> producing this error?
>
> Yes, although I'd need to sanitize it - I'm actually graphing some flow
> data from our routers and it includes IP addresses.  :-)  But the same
> pcv file works ok on a Linux host, so I don't think it's the problem.

OK. As far as I search for your exception, it means there are other
people facing it on MacOS only. I will look for a workaround.

>    ipv4 s [label="Source IP"];
>    integer p [label="Source Port"];

You may use 'port' instead of 'integer', which will display ports from
0 to 1024 on half of the axis, and the other half will be from 1024 to
65535.


>
> Program received signal EXC_ARITHMETIC, Arithmetic exception.
> 0x95a8231e in __udivdi3 ()
> (gdb)
>
> Am I missing something obvious?  gdb n00b on top of everything else.
>

No, this is not your mistake, blame MacOS :-)

Can you type 'bt' here and send us the backtrace?

Thanks,
Sebastien.
___
Picviz mailing list
Picviz@wallinfire.net
http://www.wallinfire.net/cgi-bin/mailman/listinfo/picviz