problem with "make dist"



I have a clone of the NetworkManager git repository and, this morning, I ran "git pull" (from master) to make sure it was up to date. I also have a couple of other branches checked out: pavlix/ipv6 and pavlix/dhcp.

I wanted to make a distribution tarball for pavlix/ipv6 so I could build an rpm of it. But, I seem to be having a problem doing that. Can someone tell me the magic dance I need to do to create a tarball from the git.

Here is what I did on each of those branches:

|./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var

make

make dist

And here is what I get:

make[2]: Leaving directory `/home/gc/devel/git-test/NetworkManager/docs/api'
(cd libnm-glib && make top_distdir=../../NetworkManager-0.9.7.0 distdir=../../NetworkManager-0.9.7.0/docs/libnm-glib \ am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[2]: Entering directory `/home/gc/devel/git-test/NetworkManager/docs/libnm-glib'
  DOC   Scanning header files
  DOC   Introspecting gobjects

(process:17064): GLib-CRITICAL **: g_hash_table_insert_internal: assertion `hash_table != NULL' failed

(process:17064): GLib-CRITICAL **: g_hash_table_insert_internal: assertion `hash_table != NULL' failed

(process:17064): GLib-CRITICAL **: g_hash_table_insert_internal: assertion `hash_table != NULL' failed

(process:17064): GLib-CRITICAL **: g_hash_table_insert_internal: assertion `hash_table != NULL' failed
make  \
top_distdir="../../NetworkManager-0.9.7.0" distdir="../../NetworkManager-0.9.7.0/docs/libnm-glib" \
  dist-hook
make[3]: Entering directory `/home/gc/devel/git-test/NetworkManager/docs/libnm-glib'
*** gtk-doc must be installed and enabled in order to make dist
make[3]: *** [dist-check-gtkdoc] Error 1
make[3]: Leaving directory `/home/gc/devel/git-test/NetworkManager/docs/libnm-glib'
make[2]: *** [distdir] Error 2
make[2]: Leaving directory `/home/gc/devel/git-test/NetworkManager/docs/libnm-glib'
make[1]: *** [distdir] Error 1
make[1]: Leaving directory `/home/gc/devel/git-test/NetworkManager/docs'
make: *** [distdir] Error 1

One other thing: I did "yum install libnl3-devel" before I ran the above (I need to remove it when I work on libvirt).

I also tried to do a "make clean" before I did "make dist" but that just produced another error.

I am sure there is a way this works but I do not know "the magic dance."

Gene
|


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