|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Garnome 2.24.0 paranoid-install on RHEL4 fails at polkit-context.c (PolicyKit-0.9)Good Afternoon, I am on a machine that has no access to the internet. I
pulled down the source on a web connected machine using ‘make –deep-checksum’.
Ran in to this same issue with just pulling down the source into a “GARCHIVE”
directory. The machine is a little older… Red Hat Enterprise Linux ES release 4 (Nahant Update 6) As standard user I perform a make paranoid-install. 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-computations.patch).
Nine others followed, but it’s just a link, so that’s easy enough…then
eventually the build gets to… Making all in polkit make[11]: Entering directory `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9/src/polkit' /bin/sh ../../libtool --tag=CC --mode=compile cc
-DHAVE_CONFIG_H - cc -DHAVE_CONFIG_H - polkit-context.c: In function `polkit_context_init': polkit-context.c:313: error: structure has no member named
`inotify_fd' polkit-context.c:313: warning: implicit declaration of
function `inotify_init' polkit-context.c:313: warning: nested extern declaration of
`inotify_init' polkit-context.c:314: error: structure has no member named
`inotify_fd' polkit-context.c:321: error: structure has no member named
`inotify_config_wd' polkit-context.c:321: warning: implicit declaration of
function `inotify_add_watch' polkit-context.c:321: warning: nested extern declaration of
`inotify_add_watch' polkit-context.c:321: error: structure has no member named
`inotify_fd' polkit-context.c:323: error: `IN_MODIFY' undeclared (first
use in this function) polkit-context.c:323: error: (Each undeclared identifier is
reported only once polkit-context.c:323: error: for each function it appears
in.) polkit-context.c:323: error: `IN_CREATE' undeclared (first
use in this function) polkit-context.c:323: error: `IN_ATTRIB' undeclared (first
use in this function) polkit-context.c:324: error: structure has no member named
`inotify_config_wd' polkit-context.c:332: error: structure has no member named
`inotify_policy_wd' polkit-context.c:332: error: structure has no member named
`inotify_fd' polkit-context.c:334: error: `IN_DELETE' undeclared (first
use in this function) polkit-context.c:335: error: structure has no member named
`inotify_policy_wd' polkit-context.c:344: error: structure has no member named
`inotify_grant_perm_wd' polkit-context.c:344: error: structure has no member named
`inotify_fd' polkit-context.c:347: error: structure has no member named
`inotify_grant_perm_wd' polkit-context.c:355: error: structure has no member named
`inotify_fd_watch_id' polkit-context.c:355: error: structure has no member named
`inotify_fd' polkit-context.c:356: error: structure has no member named
`inotify_fd_watch_id' polkit-context.c: In function `polkit_context_io_func': polkit-context.c:575: error: structure has no member named
`inotify_fd' polkit-context.c:580: error: invalid application of `sizeof'
to incomplete type `inotify_event' polkit-context.c:584: error: invalid application of `sizeof'
to incomplete type `inotify_event' polkit-context.c:598: error: dereferencing pointer to
incomplete type polkit-context.c:598: error: dereferencing pointer to
incomplete type polkit-context.c:598: error: dereferencing pointer to
incomplete type polkit-context.c:598: error: dereferencing pointer to
incomplete type polkit-context.c:603: error: invalid application of `sizeof'
to incomplete type `inotify_event' polkit-context.c:603: error: dereferencing pointer to
incomplete type make[11]: *** [polkit-context.lo] Error 1 make[11]: Leaving directory `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9/src/polkit' make[10]: *** [all-recursive] Error 1 make[10]: Leaving directory `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9/src' make[9]: *** [all-recursive] Error 1 make[9]: Leaving directory `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9' make[8]: *** [all] Error 2 make[8]: Leaving directory `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9' make[7]: *** [build-work/main.d/PolicyKit-0.9/Makefile]
Error 2 make[7]: Leaving directory `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit' make[6]: ***
[../../freedesktop/PolicyKit/cookies/main.d/install] Error 2 make[6]: Leaving directory `/my/home/dir/garnome-2.24.0/platform/GConf' make[5]: *** [../../platform/GConf/cookies/main.d/install]
Error 2 make[5]: Leaving directory `/my/home/dir/garnome-2.24.0/platform/gnome-vfs' make[4]: ***
[../../platform/gnome-vfs/cookies/main.d/install] Error 2 make[4]: Leaving directory `/my/home/dir/garnome-2.24.0/platform/libgnome' make[3]: ***
[../../platform/libgnome/cookies/main.d/install] Error 2 make[3]: Leaving directory `/my/home/dir/garnome-2.24.0/platform/libbonoboui' make[2]: ***
[../../platform/libbonoboui/cookies/main.d/install] Error 2 make[2]: Leaving directory `/my/home/dir/garnome-2.24.0/platform/libgnomeui' make[1]: ***
[../../platform/libgnomeui/cookies/main.d/install] Error 2 make[1]: Leaving directory `/my/home/dir/garnome-2.24.0/desktop/bug-buddy' make: *** [paranoid-install] Error 2 On the other hand a make install finishes…but I end up
with no gnome-desktop (and who knows what else)…plus the dependencies
appear to snowball and I can’t build the tools my team is asking for. 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…just can’t touch the main libs), and 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. 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’t know if
this is acceptable…and I am hoping that there is simply some way that I
can gracefully either build around polkit/PolicyKit (same thing?) or cut it out
altogether. I’m really only interested in some of the ‘hacker-tools’
for some coders that I’m working with…and 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! Regards, Tony Lay [Anthony (Tony) Lay (tony.lay@...).vcf] BEGIN:VCARD VERSION:2.1 N:Lay;Anthony (Tony) FN:Anthony (Tony) Lay (tony.lay@...) ORG:Lockheed Martin TITLE:Computer Network Supprt SrSpec TEL;WORK;VOICE:407/306-6559 TEL;PAGER;VOICE:321/297-0122 ADR;WORK:;;12506 Lake Underhill Rd;Orlando;FL;32825;US LABEL;WORK;ENCODING=QUOTED-PRINTABLE:12506 Lake Underhill Rd=0D=0AOrlando, FL 32825=0D=0AUS EMAIL;PREF;INTERNET:tony.lay@... REV:20090424T165829Z END:VCARD -- garnome-list mailing list garnome-list@... http://mail.gnome.org/mailman/listinfo/garnome-list |
|
|
Re: Garnome 2.24.0 paranoid-install on RHEL4 fails at polkit-context.c (PolicyKit-0.9)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, > > > > I am on a machine that has no access to the internet. I pulled down > the source on a web connected machine using ‘make –deep-checksum’. > Ran in to this same issue with just pulling down the source into a > “GARCHIVE” directory. > > > > The machine is a little older… > > Red Hat Enterprise Linux ES release 4 (Nahant Update 6) > > > > As standard user I perform a make paranoid-install. > > > > 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-computations.patch). Nine others followed, but it’s just a link, so that’s easy enough…then eventually the build gets to… > > > > Making all in polkit > > make[11]: Entering directory > `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9/src/polkit' > > /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. > -I../.. -I../../src -I../../src -DPACKAGE_LIBEXEC_DIR= > \""/my/home/dir/garnome/libexec"\" -DPACKAGE_SYSCONF_DIR= > \""/my/home/dir/garnome/etc"\" -DPACKAGE_DATA_DIR= > \""/my/home/dir/garnome/share"\" -DPACKAGE_BIN_DIR= > \""/my/home/dir/garnome/bin"\" -DPACKAGE_LOCALSTATE_DIR= > \""/my/home/dir/garnome/var"\" -DPACKAGE_LOCALE_DIR= > \""/my/home/dir/garnome/share/locale"\" -DPACKAGE_LIB_DIR= > \""/my/home/dir/garnome/lib"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT > -DPOLKIT_COMPILATION -DTEST_DATA_DIR=\"../../test/\" -DTEST_BUILD_DIR= > \"../..\" -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 > > cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src > -DPACKAGE_LIBEXEC_DIR=\"/my/home/dir/garnome/libexec\" > -DPACKAGE_SYSCONF_DIR=\"/my/home/dir/garnome/etc\" -DPACKAGE_DATA_DIR= > \"/my/home/dir/garnome/share\" -DPACKAGE_BIN_DIR= > \"/my/home/dir/garnome/bin\" -DPACKAGE_LOCALSTATE_DIR= > \"/my/home/dir/garnome/var\" -DPACKAGE_LOCALE_DIR= > \"/my/home/dir/garnome/share/locale\" -DPACKAGE_LIB_DIR= > \"/my/home/dir/garnome/lib\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT > -DPOLKIT_COMPILATION -DTEST_DATA_DIR=\"../../test/\" -DTEST_BUILD_DIR= > \"../..\" -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 > > polkit-context.c: In function `polkit_context_init': > > polkit-context.c:313: error: structure has no member named > `inotify_fd' > > polkit-context.c:313: warning: implicit declaration of function > `inotify_init' > > polkit-context.c:313: warning: nested extern declaration of > `inotify_init' > > polkit-context.c:314: error: structure has no member named > `inotify_fd' > > polkit-context.c:321: error: structure has no member named > `inotify_config_wd' > > polkit-context.c:321: warning: implicit declaration of function > `inotify_add_watch' > > polkit-context.c:321: warning: nested extern declaration of > `inotify_add_watch' > > polkit-context.c:321: error: structure has no member named > `inotify_fd' > > polkit-context.c:323: error: `IN_MODIFY' undeclared (first use in this > function) > > polkit-context.c:323: error: (Each undeclared identifier is reported > only once > > polkit-context.c:323: error: for each function it appears in.) > > polkit-context.c:323: error: `IN_CREATE' undeclared (first use in this > function) > > polkit-context.c:323: error: `IN_ATTRIB' undeclared (first use in this > function) > > polkit-context.c:324: error: structure has no member named > `inotify_config_wd' > > polkit-context.c:332: error: structure has no member named > `inotify_policy_wd' > > polkit-context.c:332: error: structure has no member named > `inotify_fd' > > polkit-context.c:334: error: `IN_DELETE' undeclared (first use in this > function) > > polkit-context.c:335: error: structure has no member named > `inotify_policy_wd' > > polkit-context.c:344: error: structure has no member named > `inotify_grant_perm_wd' > > polkit-context.c:344: error: structure has no member named > `inotify_fd' > > polkit-context.c:347: error: structure has no member named > `inotify_grant_perm_wd' > > polkit-context.c:355: error: structure has no member named > `inotify_fd_watch_id' > > polkit-context.c:355: error: structure has no member named > `inotify_fd' > > polkit-context.c:356: error: structure has no member named > `inotify_fd_watch_id' > > polkit-context.c: In function `polkit_context_io_func': > > polkit-context.c:575: error: structure has no member named > `inotify_fd' > > polkit-context.c:580: error: invalid application of `sizeof' to > incomplete type `inotify_event' > > polkit-context.c:584: error: invalid application of `sizeof' to > incomplete type `inotify_event' > > polkit-context.c:598: error: dereferencing pointer to incomplete type > > polkit-context.c:598: error: dereferencing pointer to incomplete type > > polkit-context.c:598: error: dereferencing pointer to incomplete type > > polkit-context.c:598: error: dereferencing pointer to incomplete type > > polkit-context.c:603: error: invalid application of `sizeof' to > incomplete type `inotify_event' > > polkit-context.c:603: error: dereferencing pointer to incomplete type > > make[11]: *** [polkit-context.lo] Error 1 > > make[11]: Leaving directory > `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9/src/polkit' > > make[10]: *** [all-recursive] Error 1 > > make[10]: Leaving directory > `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9/src' > > make[9]: *** [all-recursive] Error 1 > > make[9]: Leaving directory > `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9' > > make[8]: *** [all] Error 2 > > make[8]: Leaving directory > `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit/work/main.d/PolicyKit-0.9' > > make[7]: *** [build-work/main.d/PolicyKit-0.9/Makefile] Error 2 > > make[7]: Leaving directory > `/my/home/dir/garnome-2.24.0/freedesktop/PolicyKit' > > make[6]: *** [../../freedesktop/PolicyKit/cookies/main.d/install] > Error 2 > > make[6]: Leaving directory > `/my/home/dir/garnome-2.24.0/platform/GConf' > > make[5]: *** [../../platform/GConf/cookies/main.d/install] Error 2 > > make[5]: Leaving directory > `/my/home/dir/garnome-2.24.0/platform/gnome-vfs' > > make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2 > > make[4]: Leaving directory > `/my/home/dir/garnome-2.24.0/platform/libgnome' > > make[3]: *** [../../platform/libgnome/cookies/main.d/install] Error 2 > > make[3]: Leaving directory > `/my/home/dir/garnome-2.24.0/platform/libbonoboui' > > make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error > 2 > > make[2]: Leaving directory > `/my/home/dir/garnome-2.24.0/platform/libgnomeui' > > make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Error > 2 > > make[1]: Leaving directory > `/my/home/dir/garnome-2.24.0/desktop/bug-buddy' > > make: *** [paranoid-install] Error 2 > > > > On the other hand a make install finishes…but I end up with no > gnome-desktop (and who knows what else)…plus the dependencies appear > to snowball and I can’t build the tools my team is asking for. > > > > 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…just can’t touch the main libs), and 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. > > > > 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’t know if this is > acceptable…and I am hoping that there is simply some way that I can > gracefully either build around polkit/PolicyKit (same thing?) or cut > it out altogether. I’m really only interested in some of the > ‘hacker-tools’ for some coders that I’m working with…and 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! > > Regards, > > > > Tony Lay > > > -- > garnome-list mailing list > garnome-list@... > http://mail.gnome.org/mailman/listinfo/garnome-list -- garnome-list mailing list garnome-list@... http://mail.gnome.org/mailman/listinfo/garnome-list |
| Free embeddable forum powered by Nabble | Forum Help |