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

RE: [Xen-devel] [PATCH] reiserfs module for pygrub

> > The libraries get linked dynamically into the python module.  If at 
> > runtime, the library isn't present, it won't cause a fatal 
> error (you 
> > won't be able to access those types of filesystems, but it 
> won't fall 
> > over on the import)
> > 
> yes, this trick could be easily adapted to reiserfs and 
> others. but what if the user keeps the needed libraries, but 
> removes those headers ( like /usr/include/ext2fs/ext2_fs.h 
> )after building (for example to make the system more 
> compact)? then the check would fail.

As I understand it, it's a build-time check for the header file

> actually we should check for those need to present at 
> runtime, not things at compile time. i propose checking 
> /usr/lib/libext2fs.so instead of header files (incase we use 
> dynamic libs)

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.