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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-13-2012, 10:04 AM
|
#1
|
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,575
|
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
|
|
|
|
10-13-2012, 01:37 PM
|
#2
|
|
Member
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 560
Rep: 
|
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?
|
|
|
|
10-13-2012, 01:42 PM
|
#3
|
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,575
Original Poster
|
Hi Keith
I followed the book switches
Code:
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/polkit-1 \
--with-authfw=shadow \
--disable-static
|
|
|
|
10-13-2012, 02:22 PM
|
#4
|
|
Member
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 560
Rep: 
|
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.
|
|
|
|
10-13-2012, 02:33 PM
|
#5
|
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,575
Original Poster
|
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
|
|
|
|
10-13-2012, 03:00 PM
|
#6
|
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,575
Original Poster
|
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
|
|
|
|
10-14-2012, 06:11 AM
|
#7
|
|
Member
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 560
Rep: 
|
Quote:
Originally Posted by spiky0011
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?
|
|
|
|
10-14-2012, 12:46 PM
|
#8
|
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,575
Original Poster
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:44 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|