Re: Garnome 2.24.0 paranoid-install on RHEL4 fails at polkit-context.c (PolicyKit-0.9)

"C.J. Adams-Collier" <[email protected]> Thu, 23 Jul 2009 14:39:15 -0700
Newsgroups gmane.comp.gnome.garnome
Organization Collier Technologies
Message-ID <1248385155.32758.7.camel@norseth>
--===============0620424657==
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-zcWBxDfr6yJfAIW95Y2f"


--=-zcWBxDfr6yJfAIW95Y2f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Sounds like old kernel headers... iNotify is post-RHEL4, IIRC...
Gunther?

On Thu, 2009-07-23 at 17:13 -0400, Lay, Tony wrote:
> Good Afternoon,
>=20
> =20
>=20
> I am on a machine that has no access to the internet.  I pulled down
> the source on a web connected machine using =E2=80=98make =E2=80=93deep-c=
hecksum=E2=80=99.
> Ran in to this same issue with just pulling down the source into a
> =E2=80=9CGARCHIVE=E2=80=9D directory.
>=20
> =20
>=20
> The machine is a little older=E2=80=A6
>=20
> Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
>=20
> =20
>=20
> As standard user I perform a make paranoid-install.
>=20
> =20
>=20
> Patches that were linked to the home directory of the machine I was on
> were removed and then relinked to the new paths (the first one was
> key-computations.patch
> -> /home/username/Desktop/garnome-2.24.0/platform/libxslt/files/key-compu=
tations.patch).  Nine others followed, but it=E2=80=99s just a link, so tha=
t=E2=80=99s easy enough=E2=80=A6then eventually the build gets to=E2=80=A6
>=20
> =20
>=20
> Making all in polkit
>=20
> make[11]: Entering directory
> `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-=
0.9/src/polkit'
>=20
> /bin/sh ../../libtool --tag=3DCC   --mode=3Dcompile cc -DHAVE_CONFIG_H -I=
.
> -I../.. -I../../src -I../../src -DPACKAGE_LIBEXEC_DIR=3D
> \""/my/home/dir/garnome/libexec"\" -DPACKAGE_SYSCONF_DIR=3D
> \""/my/home/dir/garnome/etc"\" -DPACKAGE_DATA_DIR=3D
> \""/my/home/dir/garnome/share"\" -DPACKAGE_BIN_DIR=3D
> \""/my/home/dir/garnome/bin"\" -DPACKAGE_LOCALSTATE_DIR=3D
> \""/my/home/dir/garnome/var"\" -DPACKAGE_LOCALE_DIR=3D
> \""/my/home/dir/garnome/share/locale"\" -DPACKAGE_LIB_DIR=3D
> \""/my/home/dir/garnome/lib"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -DPOLKIT_COMPILATION -DTEST_DATA_DIR=3D\"../../test/\" -DTEST_BUILD_DIR=
=3D
> \"../..\"  -I/my/home/dir/garnome/include
> -I/my/home/dir/garnome/include -L/my/home/dir/garnome/lib -O2 -pipe
> -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs
> -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security
> -MT polkit-context.lo -MD -MP -MF .deps/polkit-context.Tpo -c -o
> polkit-context.lo polkit-context.c
>=20
>  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src
> -DPACKAGE_LIBEXEC_DIR=3D\"/my/home/dir/garnome/libexec\"
> -DPACKAGE_SYSCONF_DIR=3D\"/my/home/dir/garnome/etc\" -DPACKAGE_DATA_DIR=
=3D
> \"/my/home/dir/garnome/share\" -DPACKAGE_BIN_DIR=3D
> \"/my/home/dir/garnome/bin\" -DPACKAGE_LOCALSTATE_DIR=3D
> \"/my/home/dir/garnome/var\" -DPACKAGE_LOCALE_DIR=3D
> \"/my/home/dir/garnome/share/locale\" -DPACKAGE_LIB_DIR=3D
> \"/my/home/dir/garnome/lib\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -DPOLKIT_COMPILATION -DTEST_DATA_DIR=3D\"../../test/\" -DTEST_BUILD_DIR=
=3D
> \"../..\" -I/my/home/dir/garnome/include
> -I/my/home/dir/garnome/include -L/my/home/dir/garnome/lib -O2 -pipe
> -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs
> -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security
> -MT polkit-context.lo -MD -MP -MF .deps/polkit-context.Tpo -c
> polkit-context.c  -fPIC -DPIC -o .libs/polkit-context.o
>=20
> polkit-context.c: In function `polkit_context_init':
>=20
> polkit-context.c:313: error: structure has no member named
> `inotify_fd'
>=20
> polkit-context.c:313: warning: implicit declaration of function
> `inotify_init'
>=20
> polkit-context.c:313: warning: nested extern declaration of
> `inotify_init'
>=20
> polkit-context.c:314: error: structure has no member named
> `inotify_fd'
>=20
> polkit-context.c:321: error: structure has no member named
> `inotify_config_wd'
>=20
> polkit-context.c:321: warning: implicit declaration of function
> `inotify_add_watch'
>=20
> polkit-context.c:321: warning: nested extern declaration of
> `inotify_add_watch'
>=20
> polkit-context.c:321: error: structure has no member named
> `inotify_fd'
>=20
> polkit-context.c:323: error: `IN_MODIFY' undeclared (first use in this
> function)
>=20
> polkit-context.c:323: error: (Each undeclared identifier is reported
> only once
>=20
> polkit-context.c:323: error: for each function it appears in.)
>=20
> polkit-context.c:323: error: `IN_CREATE' undeclared (first use in this
> function)
>=20
> polkit-context.c:323: error: `IN_ATTRIB' undeclared (first use in this
> function)
>=20
> polkit-context.c:324: error: structure has no member named
> `inotify_config_wd'
>=20
> polkit-context.c:332: error: structure has no member named
> `inotify_policy_wd'
>=20
> polkit-context.c:332: error: structure has no member named
> `inotify_fd'
>=20
> polkit-context.c:334: error: `IN_DELETE' undeclared (first use in this
> function)
>=20
> polkit-context.c:335: error: structure has no member named
> `inotify_policy_wd'
>=20
> polkit-context.c:344: error: structure has no member named
> `inotify_grant_perm_wd'
>=20
> polkit-context.c:344: error: structure has no member named
> `inotify_fd'
>=20
> polkit-context.c:347: error: structure has no member named
> `inotify_grant_perm_wd'
>=20
> polkit-context.c:355: error: structure has no member named
> `inotify_fd_watch_id'
>=20
> polkit-context.c:355: error: structure has no member named
> `inotify_fd'
>=20
> polkit-context.c:356: error: structure has no member named
> `inotify_fd_watch_id'
>=20
> polkit-context.c: In function `polkit_context_io_func':
>=20
> polkit-context.c:575: error: structure has no member named
> `inotify_fd'
>=20
> polkit-context.c:580: error: invalid application of `sizeof' to
> incomplete type `inotify_event'
>=20
> polkit-context.c:584: error: invalid application of `sizeof' to
> incomplete type `inotify_event'
>=20
> polkit-context.c:598: error: dereferencing pointer to incomplete type
>=20
> polkit-context.c:598: error: dereferencing pointer to incomplete type
>=20
> polkit-context.c:598: error: dereferencing pointer to incomplete type
>=20
> polkit-context.c:598: error: dereferencing pointer to incomplete type
>=20
> polkit-context.c:603: error: invalid application of `sizeof' to
> incomplete type `inotify_event'
>=20
> polkit-context.c:603: error: dereferencing pointer to incomplete type
>=20
> make[11]: *** [polkit-context.lo] Error 1
>=20
> make[11]: Leaving directory
> `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-=
0.9/src/polkit'
>=20
> make[10]: *** [all-recursive] Error 1
>=20
> make[10]: Leaving directory
> `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-=
0.9/src'
>=20
> make[9]: *** [all-recursive] Error 1
>=20
> make[9]: Leaving directory
> `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-=
0.9'
>=20
> make[8]: *** [all] Error 2
>=20
> make[8]: Leaving directory
> `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-=
0.9'
>=20
> make[7]: *** [build-work/main.d/PolicyKit-0.9/Makefile] Error 2
>=20
> make[7]: Leaving directory
> `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit'
>=20
> make[6]: *** [../../freedesktop/PolicyKit/cookies/main.d/install]
> Error 2
>=20
> make[6]: Leaving directory
> `/my/home/dir/garnome-2.24.0/platform/GConf'
>=20
> make[5]: *** [../../platform/GConf/cookies/main.d/install] Error 2
>=20
> make[5]: Leaving directory
> `/my/home/dir/garnome-2.24.0/platform/gnome-vfs'
>=20
> make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2
>=20
> make[4]: Leaving directory
> `/my/home/dir/garnome-2.24.0/platform/libgnome'
>=20
> make[3]: *** [../../platform/libgnome/cookies/main.d/install] Error 2
>=20
> make[3]: Leaving directory
> `/my/home/dir/garnome-2.24.0/platform/libbonoboui'
>=20
> make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error
> 2
>=20
> make[2]: Leaving directory
> `/my/home/dir/garnome-2.24.0/platform/libgnomeui'
>=20
> make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Error
> 2
>=20
> make[1]: Leaving directory
> `/my/home/dir/garnome-2.24.0/desktop/bug-buddy'
>=20
> make: *** [paranoid-install] Error 2
>=20
> =20
>=20
> On the other hand a make install finishes=E2=80=A6but I end up with no
> gnome-desktop (and who knows what else)=E2=80=A6plus the dependencies app=
ear
> to snowball and I can=E2=80=99t build the tools my team is asking for.
>=20
> =20
>=20
> I started looking into other PolicyKit errors and similar ones seemed
> to trace back to the dbus and inotify packages.  I built them from
> source (to /usr/local=E2=80=A6just can=E2=80=99t touch the main libs), an=
d even with
> PKG_CONFIG_PATH pointing to my shiny new dbus, PolicyKit and I-notify
> tools, it seems to have no bearing on the result.
>=20
> =20
>=20
> Upon reading further I saw that the issue may actually get down to
> HAL, and that I may need to patch the kernel!  I don=E2=80=99t know if th=
is is
> acceptable=E2=80=A6and I am hoping that there is simply some way that I c=
an
> gracefully either build around polkit/PolicyKit (same thing?) or cut
> it out altogether.  I=E2=80=99m really only interested in some of the
> =E2=80=98hacker-tools=E2=80=99 for some coders that I=E2=80=99m working w=
ith=E2=80=A6and in all
> honesty building all of the dependencies by hand has made me a mad man
> for the last two weeks.  If GARNOME works it will truly be a godsend
> for us!
>=20
> Regards,
>=20
> =20
>=20
> Tony Lay
>=20
>=20
> --
> garnome-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/garnome-list

--=-zcWBxDfr6yJfAIW95Y2f
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkpo2IAACgkQXKBS0hdr6UblrgCfXfqu8o441/DsC6vVRT7zqMjS
WvkAoJS9V9sYakkl+38ZjFn7EC56E32J
=zHkG
-----END PGP SIGNATURE-----

--=-zcWBxDfr6yJfAIW95Y2f--


--===============0620424657==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
garnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/garnome-list

--===============0620424657==--