--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 26, 2010 at 04:18:18PM +0900, Michael Graff wrote:
> On 3/25/10 8:22 PM, Aaron Patterson wrote:
>=20
> > Most likely this will be fixed when I get the dl/ffi underpinnings
> > merged to trunk.  In the mean time, could you try against my ruby fork
> > that has ffi integrated?
>=20
>=20
> Trying that gives a different set of errors mostly:
>=20
>   1) Error:
> test_to_ptr_io(DL::TestCPtr):
> RangeError: bignum too big to convert into `long'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_cptr.rb:84:in `call'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_cptr.rb:84:in
> `block in test_to_ptr_io'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_cptr.rb:81:in `open'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_cptr.rb:81:in
> `test_to_ptr_io'
>=20
>   2) Error:
> test_NEXT(DL::TestHandle):
> DL::DLError: unknown symbol "malloc"
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_handle.rb:128:in `[=
]'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_handle.rb:128:in
> `test_NEXT'
>=20
>   3) Error:
> test_static_sym(DL::TestHandle):
> DL::DLError: unknown symbol "dlopen"
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_handle.rb:25:in `sy=
m'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_handle.rb:25:in
> `test_static_sym'

Are you on 32bit or 64bit?  I'll try installing a virtual machine.

> I'm willing to give out a NetBSD account to you if that helps :)

If I can't get my virtual machine running, I'll take you up on that
offer.  Thanks!

--=20
Aaron Patterson
http://tenderlovemaking.com/

--KsGdsel6WgEHnImy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iQEcBAEBAgAGBQJLrM/EAAoJEJUxcLy0/6/G2VYIAIQ4Y0waFvTopAjfOB4a5Z1g
278UbPo/B43zeFOkS3k/VkRJXkj3l0Z06KbWbkshDWgj8SPEcmQI7K44jblLbsgC
7bDbc8rKgJzR0AcvjbUfcPLU4kCdxxgIkgDIEPUdcohA1vsp9AgLg7q8fkRltEuq
eSyfbnx/bpTO2lPF72Aqtvht20CZGfL49FBVlD3nglAENSBTarm0PR6z/oXiObFQ
dNQD7+mtZV42ZvLzhPyWaULIEWy6jxT5grKwzXTy0kmPTUwmxLrwP0xkp6iooPlu
cvH44V2bB6AAvoVWPWD2ghhAiN/NezJrvmH7Th3N0BQnTtn9Wfo1yFaYA/A3J/8=
=a5WG
-----END PGP SIGNATURE-----

--KsGdsel6WgEHnImy--

On Fri, Mar 26, 2010 at 04:18:18PM +0900, Michael Graff wrote:
> On 3/25/10 8:22 PM, Aaron Patterson wrote:
>=20
> > Most likely this will be fixed when I get the dl/ffi underpinnings
> > merged to trunk.  In the mean time, could you try against my ruby fork
> > that has ffi integrated?
>=20
>=20
> Trying that gives a different set of errors mostly:
>=20
>   1) Error:
> test_to_ptr_io(DL::TestCPtr):
> RangeError: bignum too big to convert into `long'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_cptr.rb:84:in `call'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_cptr.rb:84:in
> `block in test_to_ptr_io'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_cptr.rb:81:in `open'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_cptr.rb:81:in
> `test_to_ptr_io'
>=20
>   2) Error:
> test_NEXT(DL::TestHandle):
> DL::DLError: unknown symbol "malloc"
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_handle.rb:128:in `[=
]'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_handle.rb:128:in
> `test_NEXT'
>=20
>   3) Error:
> test_static_sym(DL::TestHandle):
> DL::DLError: unknown symbol "dlopen"
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_handle.rb:25:in `sy=
m'
>     /u1/home/explorer/proj/ruby-ffi/ruby/test/dl/test_handle.rb:25:in
> `test_static_sym'

Are you on 32bit or 64bit?  I'll try installing a virtual machine.

> I'm willing to give out a NetBSD account to you if that helps :)

If I can't get my virtual machine running, I'll take you up on that
offer.  Thanks!

--=20
Aaron Patterson
http://tenderlovemaking.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iQEcBAEBAgAGBQJLrM/EAAoJEJUxcLy0/6/G2VYIAIQ4Y0waFvTopAjfOB4a5Z1g
278UbPo/B43zeFOkS3k/VkRJXkj3l0Z06KbWbkshDWgj8SPEcmQI7K44jblLbsgC
7bDbc8rKgJzR0AcvjbUfcPLU4kCdxxgIkgDIEPUdcohA1vsp9AgLg7q8fkRltEuq
eSyfbnx/bpTO2lPF72Aqtvht20CZGfL49FBVlD3nglAENSBTarm0PR6z/oXiObFQ
dNQD7+mtZV42ZvLzhPyWaULIEWy6jxT5grKwzXTy0kmPTUwmxLrwP0xkp6iooPlu
cvH44V2bB6AAvoVWPWD2ghhAiN/NezJrvmH7Th3N0BQnTtn9Wfo1yFaYA/A3J/8=
=a5WG
-----END PGP SIGNATURE-----