[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] libvirt on OS X Leopard 10.5.1



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'll try the latter. However, from an earlier e-mail I pointed out that I cannot get the 'make dist' to work on Linux. It moans about a missing help file:

cp: cannot stat `./libvirt.devhelp': No such file or directory
make[2]: *** [distdir] Error 1
make[2]: Leaving directory `/usr/local/src/libvirt/docs/devhelp'
make[1]: *** [distdir] Error 1
make[1]: Leaving directory `/usr/local/src/libvirt/docs'
make: *** [distdir] Error 1

Ideas?

- --
- -a


On Jan 21, 2008, at 10:32 PM, Daniel P. Berrange wrote:

On Mon, Jan 21, 2008 at 08:30:28PM -0600, Schley Andrew Kutz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Unfortunately none of your suggestions work, and I also found this
http://svn.pdos.csail.mit.edu/svn/uia/trunk/uia/?view=log&pathrev=885
(search for hyper) which suggests only 21 months ago that OS X does not support hyper. However, this does not preclude Leopard supporting it, although emperical evidence would suggest that support is still lacking.

Ok, so if they really don't support hyper, then I've two final ideas,
the first of which will definitely work, but requires some coding on
our part. we define a new type

  typedef remote_int64 int[2];
  typedef remote_uint64 unsigned int[2];

and then replace all use of hyper/unsigned hyper with remote_int64
and remote_uint64. And define our own code to marshall this on/off
the wire. We'd merely have to take care to get the 2 bytes in the
correct order to match the current definition of hyper.

Other option is to not re-run rpcgen on Mac, and simply try and define
an impl for that missing  _xdr_quad_t function symbol so it links.

The latter might be simpler, but is a slightly evil hack..


Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/ ~danberr/ -=| |=- Projects: http://freshmeat.net/ ~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|

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

iD8DBQFHlXNoTg8lceyAqqQRAmlnAKCGOHqE+vXBfM/1FZ38awwWED/7jgCfXW1w
SDXWZbhRwUg3m9A8EZqXatM=
=WM+W
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]