Re: [xml] Problems building libxml2 when files are read-only (because of source control)



On Thu, Oct 27, 2005 at 06:43:48PM -0700, greg_corson playstation sony com wrote:
I've been using libxml2 in a project and have hit a snag.  For various
reasons I need to checkin the version of libxml2 I'm using (2.6.22) to
our source control system (ClearCase).   This system keeps files read
only and owned by a privleged user until they are checked out.  I can
create new files but can't modify or even chmod a file that is under
source control without checking it out.

Most configure scripts are fine with this setup, but for libxml2 I'm
having problems.  It wants to modify the following files which are
included in the distribution:

include/libxml/xmlversion.h
python/setup.py
COPYING
libxml2.spec
config.h.in

But it can't do it because the files are readonly.  Anyone have a
solution to this?  (chmod-ing or checking out the files before building
isn't an option)

What does the build log look like so we can see what commands are
modifying the above files?

-- 
albert chin (china thewrittenword com)



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