subranshu patel wrote:

> My machine has OpenSolaris(2009.06 version) installed. I downloaded the
> source code for the Image Packaging System from the mercurial repository
> as follows:
> 
> $ hg clone ssh://[email protected]/hg/pkg/gate
> 
> From this repository, I downloaded the 2009.06 source version of the Image
> Packaging System.

"Downloaded"?  Do you mean that you ran "hg update os200906"?  Note that
right now, the latest source intended for use on 2009.06 is available from
a different source repository, "pkg/2009.06".  It may eventually be merged
into the main gate, but hasn't yet.  It also has newer changesets in it
that are available in /support and /release, though it also has some
changesets that aren't available in those repos yet.

> However when I fire the make command, then the following error is thrown:
> 
> ----8<----
> running build
> running build_py
> ERROR: unable to obtain mercurial version
> running build_ext
> ----8<----

Something went wrong with the build; "hg id -i" failed to run correctly.
You must have mercurial installed if the clone succeeded.  What does "hg id
-i" say?  If you search for that message in setup.py, change the except
statement to read

    except OSError, e:

and put

    print >> sys.stderr, e

after the first print statement, what error do you see?

> ----8<----
> running build
> running build_py
> ERROR: unable to obtain mercurial version
> running build_ext
> running install_lib
> running install_data
> ----8<----
> As far as I know, if the installation of the Image Packaging System is
> done successfully then a new folder is created in the parent directory
> with the name "package".

If you run "make packages", there'll be a directory in the root of the
workspace called "packages".  But "make install" only creates the proto
area in proto/root_$(uname -p).

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to