LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices



Reply
 
Search this Thread
Old 10-13-2012, 11:04 AM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
polkit-0.107 fail


Hi

Just trying to install polkit-0.107 BLFS I have some errors
Code:
polkitbackendjsauthority.c:70:10: error: field 'rkt_init_mutex' has incomplete type
polkitbackendjsauthority.c:71:9: error: field 'rkt_init_cond' has incomplete type
polkitbackendjsauthority.c: In function 'polkit_backend_js_authority_constructed':
polkitbackendjsauthority.c:480:3: warning: implicit declaration of function 'g_mutex_init' [-Wimplicit-function-declaration]
polkitbackendjsauthority.c:480:3: warning: nested extern declaration of 'g_mutex_init' [-Wnested-externs]
polkitbackendjsauthority.c:481:3: warning: implicit declaration of function 'g_cond_init' [-Wimplicit-function-declaration]
polkitbackendjsauthority.c:481:3: warning: nested extern declaration of 'g_cond_init' [-Wnested-externs]
polkitbackendjsauthority.c:483:3: warning: implicit declaration of function 'g_thread_new' [-Wimplicit-function-declaration]
polkitbackendjsauthority.c:483:3: warning: nested extern declaration of 'g_thread_new' [-Wnested-externs]
polkitbackendjsauthority.c:483:42: warning: assignment makes pointer from integer without a cast [enabled by default]
polkitbackendjsauthority.c: In function 'polkit_backend_js_authority_finalize':
polkitbackendjsauthority.c:509:3: warning: implicit declaration of function 'g_mutex_clear' [-Wimplicit-function-declaration]
polkitbackendjsauthority.c:509:3: warning: nested extern declaration of 'g_mutex_clear' [-Wnested-externs]
polkitbackendjsauthority.c:510:3: warning: implicit declaration of function 'g_cond_clear' [-Wimplicit-function-declaration]
polkitbackendjsauthority.c:510:3: warning: nested extern declaration of 'g_cond_clear' [-Wnested-externs]
polkitbackendjsauthority.c: In function 'set_property_strv':
polkitbackendjsauthority.c:640:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[4]: *** [libpolkit_backend_1_la-polkitbackendjsauthority.lo] Error 1
make[4]: Leaving directory `/home/spiky/Downloads/polkit-0.107/src/polkitbackend'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/spiky/Downloads/polkit-0.107/src/polkitbackend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/spiky/Downloads/polkit-0.107/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/spiky/Downloads/polkit-0.107'
make: *** [all] Error 2
I,m not finding alot in config.log to help, and google not much help
 
Old 10-13-2012, 02:37 PM   #2
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 993

Rep: Reputation: 214Reputation: 214Reputation: 214
Compiled fine on mine this is my configure:
Code:
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --libexecdir=/usr/lib/polkit-1 --with-authfw=shadow --disable-static
LIBDIRSUFFIX is set to "64"

What configure switches are you using?
 
Old 10-13-2012, 02:42 PM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Original Poster
Rep: Reputation: 245Reputation: 245Reputation: 245
Hi Keith

I followed the book switches
Code:
--prefix=/usr \
            --sysconfdir=/etc \
            --localstatedir=/var \
            --libexecdir=/usr/lib/polkit-1 \
            --with-authfw=shadow \
            --disable-static
 
Old 10-13-2012, 03:22 PM   #4
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 993

Rep: Reputation: 214Reputation: 214Reputation: 214
Much the same must be a problem in something auto detected is PAM installed it's not on my system, the other stuff I have installed.
The errors seem to point to "polkitbackendjsauthority" js is the lib from spidermonkey, maybe the problem is there my installed version is js-1.8.5.
 
Old 10-13-2012, 03:33 PM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Original Poster
Rep: Reputation: 245Reputation: 245Reputation: 245
No I havn't installed pam spidermonkey is js-1.8.5 as well there were no errors in spidermonkey maybe i,ll go back and reinstall
 
Old 10-13-2012, 04:00 PM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Original Poster
Rep: Reputation: 245Reputation: 245Reputation: 245
Hi

The return from
Code:
groupadd -fg 27 polkitd &&
useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 \
        -g polkitd -s /bin/false polkitd
useradd: UID 27 is not unique. << is this the correct output.

Although
polkitd:x:1001: in /etc/group
polkituser:x:27:27:Policy Kit Daemon User:/dev/null:/bin/false in /etc/passwd
 
Old 10-14-2012, 07:11 AM   #7
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 993

Rep: Reputation: 214Reputation: 214Reputation: 214
Quote:
Originally Posted by spiky0011 View Post
Hi

The return from
Code:
groupadd -fg 27 polkitd &&
useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 \
        -g polkitd -s /bin/false polkitd
useradd: UID 27 is not unique. << is this the correct output.

Although
polkitd:x:1001: in /etc/group
polkituser:x:27:27:Policy Kit Daemon User:/dev/null:/bin/false in /etc/passwd
Have a look at the man page and /etc/login.defs its usual to keep system gids between SYS_GID_MIN and SYS_GID_MAX and normal gids between GID_MIN and GID_MAX.
Having a system gid in the normal user gid range probably won't do any harm but why cause potential problems for yourself?
 
Old 10-14-2012, 01:46 PM   #8
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Original Poster
Rep: Reputation: 245Reputation: 245Reputation: 245
Ok

Problem overcome thks to some help, I reverted back to older version polkit-0.105 all seems to have worked out colord didn't complain
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
polkit-kde-auth and libglib-2.0.so.0.2800.6 SeRi@lDiE Slackware 9 11-28-2011 12:10 PM
PolicyKit / polkit in openSUSE : problem with configuration files rrije Linux - Software 5 04-23-2011 10:33 PM
polkit-kde-authentication-agent-1 segfaults on Leave->Turn off computer jamesf Slackware 2 12-19-2010 02:54 PM
LXer: KDE extends Polkit support to polkit-1 LXer Syndicated Linux News 0 12-26-2009 01:00 PM
Pioneer DVR-107 Greebo Linux - Hardware 0 06-21-2004 10:15 AM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration