Re: [blfs-support] wpa_supplicant D-Bus autostart problem

2014-04-10 Thread Armin K.
On 04/10/2014 05:02 PM, Cliff McDiarmid wrote:
 Hi
 
 I'm trying to setup Connman on my LFS/BLFS system(7.5).  It requires 
 supplicant to be configured to D-Bus autostart, so ConnMan can
 trigger the autostart of wpa_supplicant, i.e. wpa_supplicant -u.  Obviously 
 DBus needs the proper .service and .conf(Connman)for wpa_supplicant.
 I have:
 
 /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service
 

There's second service for wpa supplicant too, did you install both of
them using BLFS instructions?

 /etc/dbus-1/system.d/wpa_supplicant.conf
 
 /etc/dbus-1/system.d/connman.conf
 
 The problem I have is, that unless I start supplicant manually, 
 'wpa_supplicant -u', it doesn't get started by d-bus when requested by 
 Connman.
 Once it's started I can connect.
 
 I have built supplicant and d-bus with the neccessary options, there were a 
 few extra for supplicant to suit Connman.
 
 On an LFS system is there any reason why this d-bus 'thing' would not be 
 working?
 
 thanks
 
 Cliff 
 

Are you using systemd?

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wpa_supplicant D-Bus autostart problem

2014-04-10 Thread Armin K.
On 04/10/2014 05:49 PM, Cliff McDiarmid wrote:
 - Original Message -
 From: Armin K.
 Sent: 04/10/14 04:20 PM
 To: BLFS Support List
 Subject: Re: [blfs-support] wpa_supplicant D-Bus autostart problem

 On 04/10/2014 05:02 PM, Cliff McDiarmid wrote:
 Hi

 I'm trying to setup Connman on my LFS/BLFS system(7.5). It requires 
 supplicant to be configured to D-Bus autostart, so ConnMan can
 trigger the autostart of wpa_supplicant, i.e. wpa_supplicant -u. Obviously 
 DBus needs the proper .service and .conf(Connman)for wpa_supplicant.
 I have:

 /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service


 There's second service for wpa supplicant too, did you install both of
 them using BLFS instructions?
 
 Yes, I have that too.
 
 /etc/dbus-1/system.d/wpa_supplicant.conf

 /etc/dbus-1/system.d/connman.conf

 The problem I have is, that unless I start supplicant manually, 
 'wpa_supplicant -u', it doesn't get started by d-bus when requested by 
 Connman.
 Once it's started I can connect.

 I have built supplicant and d-bus with the neccessary options, there were a 
 few extra for supplicant to suit Connman.

 On an LFS system is there any reason why this d-bus 'thing' would not be 
 working?
 
 Are you using systemd?
 
 Yes, but a conversion following a hint.
 
 thanks for speedy reply
 
 Cliff
 

You need to enable systemd service, wpa_supplicant.service in order to
start wpa_supplicant dbus mode when using systemd.


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Ruby-2.1.0 build failure readline issue

2014-04-10 Thread Armin K.
On 04/10/2014 08:52 PM, Robin wrote:
 Same as xine-ui
 http://www.mail-archive.com/blfs-support@linuxfromscratch.org/msg19281.html
 
 readline.c: In function ‘Init_readline’:
 readline.c:1977:26: error: ‘Function’ undeclared (first use in this function)
  rl_pre_input_hook = (Function *)readline_pre_input_hook;
   ^
 readline.c:1977:26: note: each undeclared identifier is reported only
 once for each function it appears in
 readline.c:1977:36: error: expected expression before ‘)’ token
  rl_pre_input_hook = (Function *)readline_pre_input_hook;
 ^
 readline.c: At top level:
 readline.c:634:1: warning: ‘readline_pre_input_hook’ defined but not
 used [-Wunused-function]
  readline_pre_input_hook(void)
  ^
 Makefile:228: recipe for target 'readline.o' failed
 make[2]: *** [readline.o] Error 1
 make[2]: Leaving directory '/sources/xgenlib/ruby-2.1.0/ext/readline'
 exts.mk:199: recipe for target 'ext/readline/all' failed
 make[1]: *** [ext/readline/all] Error 2
 make[1]: Leaving directory '/sources/xgenlib/ruby-2.1.0'
 uncommon.mk:180: recipe for target 'build-ext' failed
 make: *** [build-ext] Error 2
 
 

Don't mix unstable lfs and stable blfs, you'll likely get burned, BLFS
svn has Ruby 2.1.1 and a sed that fixes the issue.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-support] Ruby-2.1.0 build failure readline issue

2014-04-10 Thread Armin K.
On 04/10/2014 09:47 PM, Robin wrote:
 It was mentioned in the xine-ui that there might be other packages
 with the problem. I was using the 7.5 blfs book find those.
 

Even if there are, fixes never go in stable release, only errata
(sometimes). Check svn book for a fix, since it's likely fixed there
most of the time.

Also, don't top post. Cheers.

And another thing. I think it's a bad idea to use lfs development and
blfs stable, they likely don't play along in some cases. Either use
stable/stable or development/development.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wpa_supplicant D-Bus autostart problem

2014-04-10 Thread Armin K.
On 04/11/2014 12:16 AM, Cliff McDiarmid wrote:
 - Original Message -
 From: Armin K.
 Sent: 04/10/14 04:52 PM
 To: BLFS Support List
 Subject: Re: [blfs-support] wpa_supplicant D-Bus autostart problem

 On 04/10/2014 05:49 PM, Cliff McDiarmid wrote:
 - Original Message -
 From: Armin K.
 Sent: 04/10/14 04:20 PM
 To: BLFS Support List
 Subject: Re: [blfs-support] wpa_supplicant D-Bus autostart problem

 On 04/10/2014 05:02 PM, Cliff McDiarmid wrote:
 Hi

 I'm trying to setup Connman on my LFS/BLFS system(7.5). It requires 
 supplicant to be configured to D-Bus autostart, so ConnMan can
 trigger the autostart of wpa_supplicant, i.e. wpa_supplicant -u. 
 Obviously DBus needs the proper .service and .conf(Connman)for 
 wpa_supplicant.
 I have:

 /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service


 There's second service for wpa supplicant too, did you install both of
 them using BLFS instructions?

 Yes, I have that too.

 /etc/dbus-1/system.d/wpa_supplicant.conf

 /etc/dbus-1/system.d/connman.conf

 The problem I have is, that unless I start supplicant manually, 
 'wpa_supplicant -u', it doesn't get started by d-bus when requested by 
 Connman.
 Once it's started I can connect.

 I have built supplicant and d-bus with the neccessary options, there were 
 a few extra for supplicant to suit Connman.

 On an LFS system is there any reason why this d-bus 'thing' would not be 
 working?
 
 You need to enable systemd service, wpa_supplicant.service in order to
 start wpa_supplicant dbus mode when using systemd.
 
 Many thanks Armin.  I have just found a piece on LFS about converting 
 packages to systemd.  Wpa_supplicant was there with an explanation.  
 
 Shouldn't 'install -v -m644 systemd/*.service /lib/systemd/system' be 
 included in BLFS for supplicant if installing under Systemd?
 
 thanks again
 
 Cliff
 

BLFS does not support systemd as of this moment. You can use my notes if
you like:

http://www.linuxfromscratch.org/~krejzi/notes.txt

Those are against LFS 7.5/Systemd 208 and BLFS 7.5. Might need ssome
adjustments for later versions.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Missing X11/extensions/Print.h

2014-04-09 Thread Armin K.
On 04/09/2014 03:00 PM, Robin wrote:
 I'm trying to build something that requires this file. I've searched
 the blfs book and google (but maybe not the right search terms)  and
 have ended up somewhat confused as to what package provides the file.
 
 I'm wondering whether I've missed a dependency when building xorg.
 
 Thanks
 

Install printproto and libXp, not part of Xorg Katamari nor BLFS Xorg
Setup. Ussual instructions apply.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] GPM-1.20.7 autogen.sh error

2014-04-03 Thread Armin K.
On 04/03/2014 12:36 PM, Robin wrote:
 I'm just going through LFS 9.3 - extra packages - so am still in chroot.
 
 The error:
 
 libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
 libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
 libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
 configure.ac:43: error: possibly undefined macro: AC_PROG_LIBTOOL
   If this token and others are legitimate, please use m4_pattern_allow.
   See the Autoconf documentation.
 
 
 Thanks
 

libtool is installed in LFS, so you should have its macros in
/usr/share/aclocal.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] ntp and libcap

2014-03-22 Thread Armin K.
On 03/22/2014 09:26 PM, Pol Vangheluwe wrote:
 Op 20-mrt.-2014, om 00:16 heeft Fernando de Oliveira fam...@yahoo.com.br 
 het volgende geschreven:
 
 Em 19-03-2014 19:13, Pol Vangheluwe escreveu:


 Looks like the BLFS-dev has hit a similar problem as mine?

 Sorry, I have no idea if the dev hit similar problem. I did not.


 -- 
 []s,
 Fernando
 -- 
 http://linuxfromscratch.org/mailman/listinfo/blfs-support
 FAQ: http://www.linuxfromscratch.org/blfs/faq.html
 Unsubscribe: See the above information page
 
 I rebuilt libcap with DESTDIR:
 
 pol@iMac400:/sources/libcap-2.22$ sudo make DESTDIR=/lib RAISE_SETFCAP=no 
 install
 
 and I indeed could then build ntp without errors.  Thanks for the hint.
 
 pvg
 

Latest libcap has way different instructions than that. You should stick
to them.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Libxml2-2.9.1

2014-03-20 Thread Armin K.
On 20.3.2014 14:40, Ronnie van Aarle wrote:
 Hello blfs,

 The optional test for Libxml-2.2.9.1 is not available.



You mean this one?

http://www.w3.org/XML/Test/xmlts20130923.tar.gz

Works here.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] rmdir: failed to remove '/usr/include/freetype2/freetype/config': No such file or directory - BLFS 7.5

2014-03-20 Thread Armin K.
On 20.3.2014 14:03, rhubarbpie...@gmail.com wrote:

 On 03/19/14 16:40, Armin K. wrote:
 On 03/19/2014 10:20 PM, rhubarbpie...@gmail.com wrote:
 I receive rmdir: failed to remove
 '/usr/include/freetype2/freetype/config': No such file or directory
 when compiling freetype.

 I have /usr/include/freetype2/config but not
 /usr/include/freetype2/freetype/config.  I assume I've something wrong
 (which isn't much of a stretch), but I've removed my commands and don't
 see it.  Thoughts?

 Ignore that. It's just there to make sure there aren't any leftovers of
 old freetype headers which were installed in that location.

 Darn, I was hoping that was a problem.  What about:

 rmdir: failed to remove '/usr/include/freetype2/freetype': No such file
 or directory /sources/freetype-2.5.2/builds/unix/install.mk:32: recipe
 for target 'install' failed


Same answer as above.

 I ask this as I built xorg seemingly without problems but noticed xclock 
 didn't work.  I traced the problem back to libXft, which I traced back to 
 freetype.

   From my libXft compilation:

 xftglyphs.c:24:30: fatal error: freetype/ftoutln.h: No such file or 
 directory

 I see no error referenced to ftoutln in my freetype log.


You can notice that Xorg Libraries page has a patch that needs to be 
applied to libXft before building it.

 libXft-[0-9]* )
   patch -Np1 -i ../../libXft-2.3.1-freetype_fix-1.patch
   ./configure $XORG_CONFIG
 ;;
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] rmdir: failed to remove '/usr/include/freetype2/freetype/config': No such file or directory - BLFS 7.5

2014-03-19 Thread Armin K.
On 03/19/2014 10:20 PM, rhubarbpie...@gmail.com wrote:
 
 I receive rmdir: failed to remove 
 '/usr/include/freetype2/freetype/config': No such file or directory 
 when compiling freetype.
 
 I have /usr/include/freetype2/config but not 
 /usr/include/freetype2/freetype/config.  I assume I've something wrong 
 (which isn't much of a stretch), but I've removed my commands and don't 
 see it.  Thoughts?
 

Ignore that. It's just there to make sure there aren't any leftovers of
old freetype headers which were installed in that location.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Systemd issues

2014-03-17 Thread Armin K.
On 03/17/2014 10:57 AM, m...@pc-networking-services.com wrote:
 On 03/16/2014 02:55 PM, m...@pc-networking-services.com wrote:
 Hello,

 I have completed the installation of the lfs 7.5 systemd, and have an
 interesting and annoying issue.

 I have a separate /usr partition and no matter what I have tried, even
 though it is LISTED in /etc/fstab it just will not get mounted at boot
 time.

 Would creating the intitramfs file correct this issue?

 I have read the separate usr is broken wiki artical from systemd.

 I just want to make sure that going through that work is going to
 actually
 solve it, before doing so.

 I have never had a partition refuse to mount at boot time before.

 If I issue mount -a after I have booted it happily does so.

 Regards,

 Christopher


 Unfortunately, systemd doesn't support split /usr at boot time. It has
 to be mounted in an initramfs.

 --
 Note: My last name is not Krejzi.
 --
 http://linuxfromscratch.org/mailman/listinfo/blfs-support
 FAQ: http://www.linuxfromscratch.org/blfs/faq.html
 Unsubscribe: See the above information page

 
 Hello,
 
 This is starting to do my head in,
 
 I have created the initramfs image as per the instructions, and it does
 load correctly, however it still does not solve the problem of mounting
 the /usr partition.
 
 What do I need to add to the scripts to mount the seperate /usr partition
 to shut systemd up?
 
 I tried manually creating the symlink to usr.mount and editing it to match
 the other files and it just blindly deletes it again and places the file
 back in the initrd needs directory.  I know that is not the correct
 directory name.
 
 I really would appreciate some assistance on this as I am getting no where
 on it.
 
 I only re-installed and decided to try this as I was getting no where with
 the phonon-vlc-backend.
 
 I have in the past created an initrd image from the kernel source, but
 that was on a debian system and a few years back now.
 
 Regards,
 
 Christopher
 
 

initramfs scripts have to mount /usr in new root before switch-root and
before systemd has been started. I doubt that default blfs initramfs
does that.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Systemd issues

2014-03-16 Thread Armin K.
On 03/16/2014 02:55 PM, m...@pc-networking-services.com wrote:
 Hello,
 
 I have completed the installation of the lfs 7.5 systemd, and have an
 interesting and annoying issue.
 
 I have a separate /usr partition and no matter what I have tried, even
 though it is LISTED in /etc/fstab it just will not get mounted at boot
 time.
 
 Would creating the intitramfs file correct this issue?
 
 I have read the separate usr is broken wiki artical from systemd.
 
 I just want to make sure that going through that work is going to actually
 solve it, before doing so.
 
 I have never had a partition refuse to mount at boot time before.
 
 If I issue mount -a after I have booted it happily does so.
 
 Regards,
 
 Christopher
 

Unfortunately, systemd doesn't support split /usr at boot time. It has
to be mounted in an initramfs.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Armin K.
On 03/07/2014 10:04 PM, Ken Moffat wrote:
 On Fri, Mar 07, 2014 at 05:37:22PM +, Ken Moffat wrote:
 On Fri, Mar 07, 2014 at 04:17:29PM +0100, Sergei Antonov wrote:
 Hello!
 I follow this instruction to build Cyrus SASL-2.1.26:
 http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cyrus-sasl.html

 make -j1 results in a link error about PIC:

 libtool: link: gcc -shared  -fPIC -DPIC  .libs/sasldb.o
 .libs/sasldb_init.o .libs/plugin_common.o  -Wl,--whole-archive
 ../sasldb/.libs/libsasldb.a -Wl,--no-whole-archive  -ldb -lresolv  -O2
   -Wl,-soname -Wl,libsasldb.so.3 -o .libs/libsasld
 b.so.3.0.0
 /usr/bin/ld: ../sasldb/.libs/libsasldb.a(allockey.o): relocation
 R_X86_64_32 against `.rodata.str1.1' can not be used when making a
 shared object; recompile with -fPIC
 ../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad value
 collect2: error: ld returned 1 exit status

 What may cause this?

  The cause is as it says.  On 32-bit x86 you can build shared
 objects using static libs compiled without -fPIC, on 64-nit x86 you
 cannot.  I guess that whoever originally updated the book was using
 i686.  Once upon a time, many packages had similar problems, but most
 have now been fixed upstream.

  I did notice that I build it by passing CFLAGS=-fPIC at the end of
 my configure command, but I forgot to check if that was necessary
 (it isn't a package I _use_).

  My bad, seems something like that _is_ needed on x86_64.
 
  And looking back, we had CFLAGS=-fPIC at the end of configure in
 BLFS-7.4, but without an explanation.
 
  It fell out in r12739 when Fernando applied a fix from Armin.  The
 fPIC seems to have come in at r11674, amongst some tagging for 7.4.
 I'll put it back, and add an explanation.

 And a slight correction:  is missing after pushd saslauthd and
 popd build commands.

  Yes, for consistency.

  Unless anyone else is interested I'll take a look, maybe some time
 this weekend.

 ĸen
 -- 
 das eine Mal als Tragödie, dieses Mal als Farce
 -- 
 http://linuxfromscratch.org/mailman/listinfo/blfs-support
 FAQ: http://www.linuxfromscratch.org/blfs/faq.html
 Unsubscribe: See the above information page
 

I still can't reproduce it. I have -fPIC in my cflags even if I don't
specify them.



make[2]: Entering directory '/home/armin/src/cyrus-sasl-2.1.26/sasldb'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I..  -I../include -I../include  -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2
-MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c -o allockey.lo allockey.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT allockey.lo -MD
-MP -MF .deps/allockey.Tpo -c allockey.c  -fPIC -DPIC -o .libs/allockey.o
mv -f .deps/allockey.Tpo .deps/allockey.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I..  -I../include -I../include  -DOBSOLETE_CRAM_ATTR=1  -Wall -W -g -O2
-MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c -o
db_berkeley.lo db_berkeley.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include
-I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT db_berkeley.lo
-MD -MP -MF .deps/db_berkeley.Tpo -c db_berkeley.c  -fPIC -DPIC -o
.libs/db_berkeley.o
mv -f .deps/db_berkeley.Tpo .deps/db_berkeley.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -Wall -W -g -O2   -o
libsasldb.la  allockey.lo db_berkeley.lo -ldb -lresolv
libtool: link: ar cru .libs/libsasldb.a .libs/allockey.o
.libs/db_berkeley.o
libtool: link: ranlib .libs/libsasldb.a
libtool: link: ( cd .libs  rm -f libsasldb.la  ln -s
../libsasldb.la libsasldb.la )


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-support] Cyrus SASL compilation error

2014-03-07 Thread Armin K.
On 03/07/2014 10:04 PM, Ken Moffat wrote:
 On Fri, Mar 07, 2014 at 05:37:22PM +, Ken Moffat wrote:
 On Fri, Mar 07, 2014 at 04:17:29PM +0100, Sergei Antonov wrote:
 Hello!
 I follow this instruction to build Cyrus SASL-2.1.26:
 http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cyrus-sasl.html

 make -j1 results in a link error about PIC:

 libtool: link: gcc -shared  -fPIC -DPIC  .libs/sasldb.o
 .libs/sasldb_init.o .libs/plugin_common.o  -Wl,--whole-archive
 ../sasldb/.libs/libsasldb.a -Wl,--no-whole-archive  -ldb -lresolv  -O2
   -Wl,-soname -Wl,libsasldb.so.3 -o .libs/libsasld
 b.so.3.0.0
 /usr/bin/ld: ../sasldb/.libs/libsasldb.a(allockey.o): relocation
 R_X86_64_32 against `.rodata.str1.1' can not be used when making a
 shared object; recompile with -fPIC
 ../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad value
 collect2: error: ld returned 1 exit status

 What may cause this?

  The cause is as it says.  On 32-bit x86 you can build shared
 objects using static libs compiled without -fPIC, on 64-nit x86 you
 cannot.  I guess that whoever originally updated the book was using
 i686.  Once upon a time, many packages had similar problems, but most
 have now been fixed upstream.

  I did notice that I build it by passing CFLAGS=-fPIC at the end of
 my configure command, but I forgot to check if that was necessary
 (it isn't a package I _use_).

  My bad, seems something like that _is_ needed on x86_64.
 
  And looking back, we had CFLAGS=-fPIC at the end of configure in
 BLFS-7.4, but without an explanation.
 
  It fell out in r12739 when Fernando applied a fix from Armin.  The
 fPIC seems to have come in at r11674, amongst some tagging for 7.4.
 I'll put it back, and add an explanation.

 And a slight correction:  is missing after pushd saslauthd and
 popd build commands.

  Yes, for consistency.

  Unless anyone else is interested I'll take a look, maybe some time
 this weekend.

 ĸen
 -- 
 das eine Mal als Tragödie, dieses Mal als Farce
 -- 
 http://linuxfromscratch.org/mailman/listinfo/blfs-support
 FAQ: http://www.linuxfromscratch.org/blfs/faq.html
 Unsubscribe: See the above information page
 

Then again, I believe this patch might fix it. It mentions PIC for
sasldb and friends.

http://anonscm.debian.org/gitweb/?p=pkg-cyrus-sasl2/cyrus-sasl2.git;a=blob;f=debian/patches/0014_avoid_pic_overwrite.patch;h=fd84681a2160dea6e52d6f53ed9c2fe081954cb5;hb=HEAD

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-support] libebml download and others

2014-03-04 Thread Armin K.
On 03/05/2014 03:25 AM, m...@pc-networking-services.com wrote:
 Hello,
 
 On the VLC page, under Optional mux/demux plugins there is a dependancy
 for libebml.  If you download the source code from the provided link it
 does not compile.  You need to get it from the git hub:
 
 https://github.com/Matroska-Org/libebml.git
 
 

Latest stable version of libebml and libmatroska compiled fine for me.

I got the tarballs from the matroska.org.

You need however to run make differently than ussual, something like

make -C make/linux and make -C make/linux install

to build and install correctly.

 Also it may well pay to take a look at the sid-play libs as I have not
 been able to find a version that will successfully compile.
 
 This may well save some others a few headaches if they are wanting to
 install either of these libraries.
 
 Regards,
 
 Christopher
 

If everything else fails, Debian and Gentoo are your friends.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] LFS systemd 7.5 is out

2014-03-02 Thread Armin K.
I am pleased to announce the first stable release of the Linux From
Scratch book that is using systemd as the init system.

For a quick summary about differences between this and the official LFS
book see the first release candidate announcement[1].

The book can be read online[2] or downloaded[3] to read locally.

Unfortunately, there is no release of BLFS that follows this book. There
are notes[4] for building packages from current BLFS svn (soon to be
BLFS 7.5) book on LFS systemd.

Once again, thanks to everyone who made this release possible.

[1] http://www.mail-archive.com/lfs-dev@linuxfromscratch.org/msg19432.html
[2] http://www.linuxfromscratch.org/lfs/view/7.5-systemd/
[3] http://www.linuxfromscratch.org/lfs/downloads/7.5-systemd/

f5894fbe2aa482e028a016c89a3ee3df  LFS-BOOK-7.5-systemd-NOCHUNKS.html
ee5e98a2809ce30f43bae786529f1124  LFS-BOOK-7.5-systemd.pdf
3da4d24da2264e375a4f99e8b9347eb8  LFS-BOOK-7.5-systemd.tar.bz2
3f25106ace9c17b7fe759076b482e321  lfs-network-scripts-20140214.tar.bz2
3c6e98a815615d61b4c210030bd6ee91  md5sums
85134bfc9576352d9a0eb0f41f85ee81  wget-list

[4] http://www.linuxfromscratch.org/~krejzi/notes.txt

--
Armin K.

Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] question about thunar-volman-0.8.0 / udev-extras (from systemd) (for GUdev)

2014-02-26 Thread Armin K.
On 02/26/2014 08:54 PM, Waitman Gobble wrote:
 Hi,
 
 BLFS 2014-02-25
 http://www.linuxfromscratch.org/blfs/view/svn/xfce/thunar-volman.html
 
 lists a requirement of 'udev-extras (from systemd) (for GUdev)'
 
 when i try gudev,
 
 bash-4.2# make -f udev-lfs-208-3/Makefile.lfs gudev
 make: *** No rule to make target 'build/gudevclient.o', needed by 
 'build/libgudev-1.0.so.0.1.3'.  Stop.
 
 (same with gir-data)
 bash-4.2# make -f udev-lfs-208-3/Makefile.lfs gir-data
 make: *** No rule to make target 'build/gudevclient.o', needed by 
 'build/libgudev-1.0.so.0.1.3'.  Stop.
 
 
 I followed LFS Version 20140218-SYSTEMD which does not appear to include 
 udev separately, as the page states the development of udev has been 
 merged with systemd
 
 Anyhow, I'm not 100% but I think with this version of systemd/LFS 
 libgudev is already built and udev-extras requirement is not necessary? 
 Any clarity on this?
 
 # ls /usr/lib/libgudev-1.0.*
 /usr/lib/libgudev-1.0.la  /usr/lib/libgudev-1.0.so
 
 Thanks
 
 
 

You can't use udev-extras for systemd book. Use my notes from here:

http://www.linuxfromscratch.org/~krejzi/notes.txt

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] question about thunar-volman-0.8.0 / udev-extras (from systemd) (for GUdev)

2014-02-26 Thread Armin K.
On 02/27/2014 12:35 AM, Waitman Gobble wrote:
 On 2/26/2014 12:05 PM, Armin K. wrote:
 On 02/26/2014 08:54 PM, Waitman Gobble wrote:
 Hi,

 BLFS 2014-02-25
 http://www.linuxfromscratch.org/blfs/view/svn/xfce/thunar-volman.html

 lists a requirement of 'udev-extras (from systemd) (for GUdev)'

 when i try gudev,

 bash-4.2# make -f udev-lfs-208-3/Makefile.lfs gudev
 make: *** No rule to make target 'build/gudevclient.o', needed by
 'build/libgudev-1.0.so.0.1.3'.  Stop.

 (same with gir-data)
 bash-4.2# make -f udev-lfs-208-3/Makefile.lfs gir-data
 make: *** No rule to make target 'build/gudevclient.o', needed by
 'build/libgudev-1.0.so.0.1.3'.  Stop.


 I followed LFS Version 20140218-SYSTEMD which does not appear to include
 udev separately, as the page states the development of udev has been
 merged with systemd

 Anyhow, I'm not 100% but I think with this version of systemd/LFS
 libgudev is already built and udev-extras requirement is not necessary?
 Any clarity on this?

 # ls /usr/lib/libgudev-1.0.*
 /usr/lib/libgudev-1.0.la  /usr/lib/libgudev-1.0.so

 Thanks



 You can't use udev-extras for systemd book. Use my notes from here:

 http://www.linuxfromscratch.org/~krejzi/notes.txt

 
 
 Hi,
 
 Everything seemed to work great, thanks so much for the link to your notes.
 
 One question,
 
 mv -v /usr/lib/libgcrypt.so.* /usr/lib/libgpg-error.so.* /lib
 ln -sfv ../../lib/$(readlink /usr/lib/libgcrypt.so) /usr/lib/libgcrypt.so
 ln -sfv ../../lib/$(readlink /usr/lib/libgpg-error.so) 
 usr/lib/libgpg-error.so
 
 
 I'm not sure it's good to use the relative paths to lib ? Maybe it's ok. 
 but I think there's a missing '/' on the usr/lib/libgpg-error.so line..
 
 Thanks again.
 Waitman
 

Yes, that's a typo. usr/lib/libgpg-error.so should have a leading /.


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] question about thunar-volman-0.8.0 / udev-extras (from systemd) (for GUdev)

2014-02-26 Thread Armin K.
On 02/27/2014 12:35 AM, Waitman Gobble wrote:
 On 2/26/2014 12:05 PM, Armin K. wrote:
 On 02/26/2014 08:54 PM, Waitman Gobble wrote:
 Hi,

 BLFS 2014-02-25
 http://www.linuxfromscratch.org/blfs/view/svn/xfce/thunar-volman.html

 lists a requirement of 'udev-extras (from systemd) (for GUdev)'

 when i try gudev,

 bash-4.2# make -f udev-lfs-208-3/Makefile.lfs gudev
 make: *** No rule to make target 'build/gudevclient.o', needed by
 'build/libgudev-1.0.so.0.1.3'.  Stop.

 (same with gir-data)
 bash-4.2# make -f udev-lfs-208-3/Makefile.lfs gir-data
 make: *** No rule to make target 'build/gudevclient.o', needed by
 'build/libgudev-1.0.so.0.1.3'.  Stop.


 I followed LFS Version 20140218-SYSTEMD which does not appear to include
 udev separately, as the page states the development of udev has been
 merged with systemd

 Anyhow, I'm not 100% but I think with this version of systemd/LFS
 libgudev is already built and udev-extras requirement is not necessary?
 Any clarity on this?

 # ls /usr/lib/libgudev-1.0.*
 /usr/lib/libgudev-1.0.la  /usr/lib/libgudev-1.0.so

 Thanks



 You can't use udev-extras for systemd book. Use my notes from here:

 http://www.linuxfromscratch.org/~krejzi/notes.txt

 
 Also, I noticed that if libxslt is installed but *not* the 
 docbook-xml/xsl packages, the build fails with a 'network error'. Not 
 sure if that should be in the notes or not.
 
 Thanks
 Waitman
 
 

All 3 are required for building man pages. If libxslt is present, but
not others, --disable-manpages switch is needed. I'll clarify that when
I update the notes.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] some packages need option --mandir=/usr/share/man --infodir=/usr/share/info or patch to prevent create /usr/man

2014-02-18 Thread Armin K.
On 02/18/2014 11:24 AM, xinglp wrote:
 screen need --mandir=/usr/share/man --infodir=/usr/share/info
 tree need  sed -i s%\${prefix}/man%\${prefix}/share/man%g Makefile
 unzip need sed -i s%\$\(prefix\)/man%\$\(prefix\)/share/man%g unix/Makefile
 

latest unzip instructions already override man dir at make install stage.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] LFS systemd 7.5-rc1 is out

2014-02-16 Thread Armin K.
I am pleased to announce a release candidate for the first release of
the Linux From Scratch book that is using systemd as the main init system.

The book contains all the changes from LFS-7.5-rc1, along with extra
packages that are necessarry for systemd, as well with some packages
removed that are still part of standard Linux From Scratch installation.

New packages include:

Acl-2.2.52
Attr-2.4.47
D-Bus-1.8.0
Expat-2.1.0
Gperf-3.0.4
Intltool-0.50.2
LFS-Network-Scripts 20140214
Libcap-2.24
Systemd-208
XML-Parser-2.42_01

Removed packages include:

LFS-Bootscripts-20130821
Sysklogd-1.5
Sysvinit-2.88dsf
Udev-208

The book can be read online at

http://www.linuxfromscratch.org/lfs/view/7.5-systemd-rc1/

or it can be downloaded as HTML, HTML-NOCHUNKS and PDF version at

http://www.linuxfromscratch.org/lfs/downloads/7.5-systemd-rc1/

dd7a8768f2c413cc1c94485ede7dea15  LFS-BOOK-7.5-systemd-rc1-NOCHUNKS.html
3d91ca81723a3dcb16d82a3eb8224554  LFS-BOOK-7.5-systemd-rc1.pdf
b370e26cba75f2366787b6e1fb634b48  LFS-BOOK-7.5-systemd-rc1.tar.bz2
3c67714167e09c727e3422e20284765d  lfs-network-scripts-20140214.tar.bz2
8bdbab37787a687575a30f8463b594af  md5sums
4e36d00a4076f201086a8e773f5ac3c6  wget-list

All users are encouraged to read through this release of the book and
test the instructions so that the final release can be made as good as
possible.

Thanks to all who have contributed and provided feedback for this
hopefully useful piece of work.

-- 
Armin K.

Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Recommended Display Manager for BLFS

2014-02-15 Thread Armin K.
On 02/16/2014 01:55 AM, Douglas R. Reno wrote:
 Hello,
 
 This is probably not the right list to report this, I realize that.
 According
 to http://osdir.com/ml/plasma-devel/2014-01/msg00208.html and 
 http://quickgit.kde.org/?p=kde-workspace.gita=commith=8577abf894a661bc0700adc72513dacf0b7dca7f,
 KDM is being retired. This is the only Display Manager that I know of
 that BLFS Supports that I can use multiple desktop environments with. Is
 there any way that SDDM or LightDM could be added to the book, or
 possibly another replacement? I use KDM on my BLFS box and when I update
 to KDE5, I expect that it will no longer work and that future builds of
 BLFS will not contain it. What display manager does the list recommend I
 use? I do not like logging in from the command line, and it is very hard
 to teach family members who use my computer occasionally how to do so.
 
 Thank you,
 
 Douglas Reno
 
 

See

http://www.mail-archive.com/blfs-support@linuxfromscratch.org/msg18911.html

for instructions on how to build LightDM. Use Lightdm-GTK-Greeter (1.8.1
is the latest), configure it with --prefix=/usr --sysconfdir=/etc. I
have no initscript for non-systemd systems though, but you just might
modify kdm setup instructions and replace kdm with lightdm.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Iced Tea 2.4.1 and iced tea 2.4.5 sed unknown option to `s'

2014-02-14 Thread Armin K.
On 02/14/2014 10:32 AM, akhiezer wrote:
 Date: Fri, 14 Feb 2014 22:14:25 +1300
 From: m...@pc-networking-services.com
 To: blfs-support@linuxfromscratch.org
 Subject: [blfs-support] Iced Tea 2.4.1 and iced tea 2.4.5 sed unknown option
  to `s'

 Hello,

 This is my second attempt to post this here.  I beat the confirmation
 e-mail by posting to the list and receieve the bounce that it was waiting
 the list moderators approval and that was on the 5th.

 I have also posted this error on the devleopers website on the 3rd of Feb
 and no responce there either.

 I really do not know how you can say that compiling java from scratch
 following EXACTLY the instructions given works on a BLFS build as it
 clearly does NOT.  Though this is the output from a later version, the at
 the time book version 2.4.1 gives the same unknow option to s sed error
 message.

 I do not know enough about the substitution strings in sed to know if by
 chaning the / to another character if it would actually in an unknown way
 create errors down the track if compilation was successful.  It would seem
 to me that no one has actually followed the printed instructions through
 to see if it actually does compile.

 I am by no means a newbie to linux.  I have done technical writing and
 have followed through the instructions that I wrote to make sure there
 were no errors.

 make[5]: Entering directory
 `/opt/icedtea-2.4.5/openjdk-boot/jdk/make/java/version'
 /bin/mkdir -p /opt/icedtea-2.4.5/generated.build/sun/misc
 rm -f /opt/icedtea-2.4.5/generated.build/sun/misc/Version.java
 rm -f /opt/icedtea-2.4.5/generated.build/sun/misc/Version.java.temp
 /bin/sed -e 's/@@launcher_name@@/java/g' \
 -e 's/@@java_version@@/1.7.0_51-BLFS/g' \
 -e 's/@@java_runtime_version@@/1.7.0_51-BLFS-b31/g' \
 -e 's/@@jdk_derivative_name@@/IcedTea 2.4.5/g' \
 -e 's/@@distro_name@@/n/a/g' \
 
 
 That '/n/a/g' looks not right - one too many '/' chars?
 
 And note - re sed errmsg below - that _that_ is the fifth '-e' expr.
 
 
 
 hth,
 akh
 

Indeed, like distro_name is set to n/a by configure or whatever java
uses. You could look for a switch that overrides it but I think someone
would notice it if it was present in the default BLFS setup. If you
modified the official instructions for some reason, try first with the
default ones and see if it works.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] iptables-1.4.21 install broken

2014-02-12 Thread Armin K.
On 02/12/2014 09:45 PM, Ken Moffat wrote:
  I'm seeing the following when I try to install of 1.4.21 :
 
 
 libtool: install: (cd /building/iptables-1.4.21/libiptc; /bin/sh
 /building/iptables-1.4.21/libtool  --tag CC --mode=relink gcc -Wall
 -Waggregate-return -Wmissing-declarations -Wmissing-prototypes
 -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -O2
 -version-info 0:0:0 -Wl,--no-as-needed -o libiptc.la -rpath /usr/lib
 libip4tc.la libip6tc.la )
 libtool: relink: gcc -shared  -fPIC -DPIC   -L/usr/lib -lip4tc
 -lip6tc  -O2 -Wl,--no-as-needed   -Wl,-soname -Wl,libiptc.so.0 -o
 .libs/libiptc.so.0.0.0
 /usr/lib/libip4tc.so: file not recognized: Is a directory
 collect2: error: ld returned 1 exit status
 libtool: install: error: relink `libiptc.la' with the above command
 before installing it
 Makefile:330: recipe for target 'install-libLTLIBRARIES' failed
 make[2]: *** [install-libLTLIBRARIES] Error 1
 
  What seems to be happening, for reasons I do not understand, is
 that libiptc.so gets installed as a symlink:
 
 root in chroot ~# ls -l /usr/lib/libip4tc.so
 lrwxrwxrwx 1 root root 10 Feb 12 20:41 /usr/lib/libip4tc.so -
 ../../lib/
 
  I think I'll revert to 1.4.20 for this build :-(
 
 ĸen
 

Seems like failure in this part:

for file in ip4tc ip6tc ipq iptc xtables
do
  mv -v /usr/lib/lib${file}.so.* /lib 
  ln -sfv ../../lib/$(readlink /usr/lib/lib${file}.so)
/usr/lib/lib${file}.so
done

Either your scripts still have the old switches or something else went
wrong. Note that BLFS configure options don't have --exec-prefix switch
anymore.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-support] X.Org server 1.15.0 and intel video drivers

2014-01-31 Thread Armin K.
On 1.2.2014 1:52, alex lupu wrote:
 Hi,

 I prefer to stay with video-intel 2.99.907 (as opposed to 2.21.15)
 for the time being:

 1.  Being released subsequent to server 1.15.0, it compiles naturally
 on it.
 (otherwise the intel developer would be tarred and feathered and run
   out of town on a rail)

 2.  It should contain some other goodies (besides the buildt-in patch
 logic)
 the developer came up with over the four months of hard work.


Lot of sna work, no doubt, including the TearFree option. Also, addition 
of intel-virtual-output tool, intel broadwell support and some minor 
fixes unrelated to anything mentioned.

http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/log/

repository is public

 Actually, that's neither here nor there (different folks, different
 strokes).
 The problem is my server (1.15.0) crashes if
   Option  AccelMethod glamor, as in the book.
   (whether using 2.21.15 or 2.99.907 (without the patch, of course:))
 However. comes up perfectly with
   Option  AccelMethod glamoregl


Unrelated to this, but fyi sna is superior to glamor acceleration. You 
might get better preformance when using sna, which is now the default 
one without the --with-default-accel switch.

 Reference: BLFS Development Book 2014-01-29
  xf86-video-intel 2.21.1521-Aug-2013
  xorg-server 1.15.0  27-Dec-2013
  xf86-video-intel 2.99.907   30-Dec-2013

 Cheers,
 -- Alex


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] X.Org server 1.15.0 and intel video drivers

2014-01-30 Thread Armin K.
On 01/31/2014 01:00 AM, alex lupu wrote:
 To Who(m) It May Concern (mostly intel video people, I suppose),
 
 On the latest server (1.15.0), the latest regular intel driver 2.21.15
 fails on make (on my system - Intel HD Graphics 4000).
 
 The latest, 2.99.907 (pre-release?) driver builds and installs very
 smoothly.
 
 The situation is not that surprising when you look at release dates:
 
 xf86-video-intel 2.21.1521-Aug-2013
 xorg-server 1.15.0  27-Dec-2013
 xf86-video-intel 2.99.907   30-Dec-2013
 
 Note:  there are some earlier releases (2.99.901 ... 2.99.906).
 I didn't test them for two main reasons,
 1.  They are earlier than 27-Dec-2013 so I assume they would fail anyway.
 2.   Lack of time.  This (pre) Super Bowl hoopla can drive a regular (intel)
 fella to distraction.
 
 Reference:   BLFS Development Book 2014-01-29
 
 Cheers,
 -- Alex
 

BLFS sticks to upstream declared stable releases. Xorg packages in
general having .9xx at the end of the version number indicate that is a
development version. Don't let release date confuse you. If you looked
at intel driver page, you could notice that there's a patch that fixes
the current stable driver for xserver 1.15.x. Of course, there's nothing
stopping you from using the 2.99.907 version.


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] wpa_supplicant not working

2014-01-22 Thread Armin K.
On 01/22/2014 03:12 PM, Niels Terp wrote:
 
 wpa_supplicant is there to allow your wifi interface to associate with a
 wifi access point in negociating the required authentification elements,
 nothing more.Once the association is successful dhclient asks the access
 point to provide an IP adress to the wifi interface.
 
 To test wlan interface, as root, ifdown eth0, ifdown wlan0, remove the
 cable, ifup wlan0.
 
 I tried that, and besides that I don't have a wlan0 but wifi0, then that
 works. It fetches an IP ok, and I can surf the internet. BUT what do I do
 when I want to connect to another (random) AP ? I cannot scan for it ?
 
 I'm sorry for the many newbee questions, networks is definitely one of my
 weak points !
 
 Niels
 

Use something like wicd or NetworkManager (requires
network-manager-gnome for GTK+ based desktops or plasma-nm for KDE)

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Autologin on lfs-systemd with pam?

2014-01-21 Thread Armin K.

On 21.1.2014 14:41, Thanos Baloukas wrote:

I setup systemd-208 with pam and polkit and user can shutdown, reboot
and has access to devices without being member of audio and video
groups. To have these rights in my xfce session started with
startxfce4 I needed to make it start on  the same vt I login,
making ~/.xserverrc like
exec /usr/bin/X -nolisten tcp -layout us,gr vt01

I have two questions. Is autologin to virtual console possible
on this setup, and if it is how can this be done?
Has anyone installed a login/display manager on this setup?
I have never installed one, so some info would be helpful.

Thanks



I don't know about autologin, but I have installed and I'm currently 
using lightdm display manager and it works fine.


The script in attachment will build and install lightdm using destdir 
method to a DEST dir defined at the beginning of the file. It creates 
INSTALL file in the DEST dir which you simply execute and environment 
gets set up correctly.


Deps:

itstool, libxklavier, polkit

Maybe optional, look for switches - my script build all by default:

qt4, qt5, accountsservice (runtime), gobject-introspection

You also need a greeter. Default one is ligthdm-gtk-greeter, a GTK+3 
variant but can be built as GTK+2 variant too, just look for the right 
switch.


https://launchpad.net/lightdm-gtk-greeter

Install it in /usr, I forgot if it's cmake or autotools setup. I don't 
have a script for it.


After everything is done, just run systemctl enable lightdm

Most of the files created by the script are taken from archlinux lightdm 
package.


Note that lightdm uses even/odd stable/unstable versioning. Latest 
lightdm stable is 1.8.x and latest lightdm-gtk-greeter stable is 1.6.x


There's also kde greeter, but that depends on KDE and Qt4 library from 
lightdm.
#!/bin/bash -e

export VER=1.8.5
export DEST=/binary/lightdm-${VER}

pushd lightdm-${VER}

export MOC4=moc-qt4
export MOC5=moc-qt5

CFLAGS=-march=native -mtune=native -O3   \
CXXFLAGS=-march=native -mtune=native -O3 \
CPPLAGS=-march=native -mtune=native -O3  \
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib \
--with-greeter-user=lightdm \
--with-greeter-session=lightdm-gtk-greeter \
--disable-static \
--disable-tests

make -j4
make install DESTDIR=${DEST}

popd

rm -rf lightdm-${VER}

rm -rf ${DEST}/etc/apparmor.d ${DEST}/etc/init

find ${DEST} -name *.la -delete

install -dm770 ${DEST}/var/lib/lightdm
install -dm711 ${DEST}/var/log/lightdm

chmod +t ${DEST}/var/lib/lightdm

echo GDK_CORE_DEVICE_EVENTS=true  ${DEST}/var/lib/lightdm/.pam_environment

chmod 644 ${DEST}/var/lib/lightdm/.pam_environment

install -dm755 ${DEST}/etc/lightdm

cat  ${DEST}/etc/lightdm/lightdm.conf  EOF
#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the 
configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the 
system location
# guest-account-script = Script to be run to setup guest account
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
#
[LightDM]
#start-default-seat=true
greeter-user=lightdm
#minimum-display-number=0
minimum-vt=1
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
log-directory=/var/log/lightdm
run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=/usr/share/lightdm/greeters:/usr/share/xgreeters

#
# Seat defaults
#
# type = Seat type (xlocal, xremote)
# xdg-seat = Seat name to set pam_systemd XDG_SEAT variable and name to pass to 
X server
# xserver-command = X server command to run (can also contain arguments e.g. X 
-special-option)
# xserver-layout = Layout to pass to X server
# xserver-config = Config file to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xserver-share = True if the X server is shared for both greeter and session
# xserver-hostname = Hostname of X server (only for type=xremote)
# xserver-display-number = Display number of X server (only for type=xremote)
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in 
keys.conf)
# 

Re: [blfs-support] dhcpcd 6.1 and NetworkManager

2014-01-17 Thread Armin K.
On 01/17/2014 09:38 PM, Ragnar Thomsen wrote:
 On Fri, Jan 17, 2014 at 9:06 PM, Armin K. kre...@email.com wrote:
 Maybe this?

 https://wiki.archlinux.org/index.php/NetworkManager#Missing_default_route
 
 KDE4 is not the problem, since the error also occurs when X is not
 started at all. Also, the wiki mentions that it only affects wireless
 connections, while on my system both wired and wireless are affected.
 
 Have you tried recent versions of dhcpcd with NetworkManager, Armin?
 
 Sincerely,
 Ragnar
 

I have always used ISC DHCP, so no.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] vmplayer tools and update

2014-01-16 Thread Armin K.
On 01/14/2014 10:43 PM, Fernando de Oliveira wrote:
 I know some of you use vmplayer, Armin used to, perhaps stil uses it.
 

I do use VMWare Player, but I haven't felt the need to install the guest
tools. The only thing I needed was the GPU driver which is now present
in the kernel by default. Since I mainly use it for testing, I don't
need to install the tools so I can't really answer to this thread.

 I have not solved a problem: I cannot get it to inform me about updates
 nor to download the tools. Have to do manually. I see that some
 connections are made
 
 Help would be much appreciated with this. Thanks.
 
 Following, some use of the new great package *lsof* hopefully soon to be
 in BLFS and from the deprecated ifconfig:
 
 
 fernando [ ~/sshfs/blfs ]$ lsof -i 4 | grep vm
 vmplayer 21063 fernando   24u  IPv4 5856679  0t0  TCP
 NovoGamerLFS71:47762-a23-209-35-51.deploy.static.akamaitechnologies.com:https
 (CLOSE_WAIT)
 vmplayer 21063 fernando   26u  IPv4 5856684  0t0  TCP
 NovoGamerLFS71:49650-as-40816.engx.vmware.com:https (CLOSE_WAIT)
 
 
 
 fernando [ ~/sshfs/blfs ]$ ifconfig vmnet1
 vmnet1Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
   inet addr:192.168.95.1  Bcast:192.168.95.255  Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
 
 fernando [ ~/sshfs/blfs ]$ ifconfig vmnet8
 vmnet8Link encap:Ethernet  HWaddr 00:50:56:C0:00:08
   inet addr:192.168.109.1  Bcast:192.168.109.255  Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
 
 fernando [ ~/sshfs/blfs ]$
 


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] WebKitGTK-1/Flash

2014-01-13 Thread Armin K.
On 01/13/2014 06:35 PM, Fernando de Oliveira wrote:
 Em 11-01-2014 13:10, Richard escreveu:
 
 
 - Do you happen to know what options you used for configure/make when 
 building webkitgtk-1.10.2?
 - Are you able to post the output of 'lsof -c GtkLauncher' when the
 flash page is open? It may help to highlight what is missing.
 
 
 I confirm that flash is not working with WebKitGTK-1.
 

It works here with webkitgtk-1.10.2 and
midori-0.5.whatever-is-the-version-in-blfs

Do note that midori was built against gtk2 and not gtk3. Flash won't
work with with webkitgtk-2.2.x and midori built for gtk3 nor with
epiphany (well, maybe yes since it uses webkit2 which should fix that).

Do note that I patched the hell out of my glibc.

 Have been all day trying to fix, without success. I cannot confirm that
 the reason it is not running is the same as in your case. In my case,
 midori is trying to get totem to run it, in LFS7.4.
 
 First, apologies. Second, thanks, for reporting and for introducing me
 to lsof.
 
 Explaining: as I have my LFS7.4 machine all the time in development and
 it is a VM, I compiled GtkLauncher in may main machine, LFS7.1, much
 faster. Then, forgot differences between the two and started testing
 your queries in 7.1. Today, after I got lsof working, I did it again,
 had the logs ready to send to you, the thought that I could copy
 GtkLauncher to LFS7.4, just to see lsof running there and comparing the
 outputs.
 
 Great surprise for me, *flash did not work*. Then tried midori, which
 was natively built with native WKGTK, again, *flash did not work*. It
 used to work. Have no idea when it stopped working. So, apologies, again.
 
 In the following, some output from running GtkLauncher from the terminal
 with your example. It will be easy to see the difference from flash ok
 to flash not ok. Also, attached logs of good and bad for your request:
 
 
 
 sudo lsof -c GtkLauncher
 
 when it is running:
 
 ./GtkLauncher http://www.adobe.com/flash
 
 
 
 
 Flash ok (LFS7.1):
 {{{
 $ ./GtkLauncher http://www.adobe.com/flash
 java version 1.7.0_45-blfs
 OpenJDK Runtime Environment (IcedTea 2.4.3) (7u45-2.4.3-blfs)
 OpenJDK Server VM (build 24.45-b08, mixed mode)
 ** Message: console message:  @0: Unsafe JavaScript attempt to access
 frame with URL http://www.adobe.com/products/flash.html from frame with
 URL
 http://adobe.ugc.bazaarvoice.com/8814/crossdomain.htm?format=embedded#origin=http%3A%2F%2Fwww.adobe.com.
 Domains, protocols and ports must match.
 
 
 ** Message: console message: http://connect.facebook.net/en_US/all.js
 @56: Invalid App Id: Must be a number or numeric string representing the
 application id.
 
 ** Message: console message: http://connect.facebook.net/en_US/all.js
 @56: FB.getLoginStatus() called before calling FB.init().
 }}}
 
 Flash *not* ok (LFS7.4):
 {{{
 $ ./GtkLauncher http://www.adobe.com/flash
 java version 1.7.0_45-blfs
 OpenJDK Runtime Environment (IcedTea 2.4.3) (7u45-2.4.3-blfs)
 OpenJDK Server VM (build 24.45-b08, mixed mode)
 Viewer: PID 8180, args: /usr/lib/totem/totem-plugin-viewer --plugin-type
 vegas --user-agent Videos/3.10.1 --referrer
 http://adobe.ugc.bazaarvoice.com/8814/crossdomain.htm?format=embedded#origin=http%3A%2F%2Fwww.adobe.com
 --mimetype application/x-shockwave-flash --no-autostart
 Viewer: PID 8183, args: /usr/lib/totem/totem-plugin-viewer --plugin-type
 vegas --user-agent Videos/3.10.1 --referrer
 http://www.adobe.com/products/flash.html --mimetype
 application/x-shockwave-flash --no-autostart
 Checking videosite for URI '/include/flash/neroli4/neroli.swf' returned
 'FALSE' (false)
 Checking videosite for URI 'http://www.adobe.com/products/flash.html'
 returned 'FALSE' (false)
 Viewer: PID 8187, args: /usr/lib/totem/totem-plugin-viewer --plugin-type
 vegas --user-agent Videos/3.10.1 --referrer
 http://www.adobe.com/products/flash.html --mimetype
 application/x-shockwave-flash --repeat --no-autostart
 Viewer: PID 8189, args: /usr/lib/totem/totem-plugin-viewer --plugin-type
 vegas --user-agent Videos/3.10.1 --referrer
 http://www.adobe.com/products/flash.html --mimetype
 application/x-shockwave-flash --no-autostart
 ** Message: console message: http://connect.facebook.net/en_US/all.js
 @56: Invalid App Id: Must be a number or numeric string representing the
 application id.
 
 ** Message: console message: http://connect.facebook.net/en_US/all.js
 @56: FB.getLoginStatus() called before calling FB.init().
 
 Viewer: SetWindow XID 44040456 size 300:150
 Referrer URI: http://www.adobe.com/products/flash.html
 
 (GtkLauncher:8128): GLib-GObject-CRITICAL **: g_object_unref: assertion
 'G_IS_OBJECT (object)' failed
 
 ** (GtkLauncher:8128): WARNING **: SetWindow failed: A operação foi
 cancelada
 Viewer: SetWindow XID 44040458 size 708:398
 Referrer URI: http://www.adobe.com/products/flash.html
 TotemEmbedded-Message: Viewer state: STOPPED
 TotemEmbedded-Message: Viewer: Controls height is 26px
 }}}
 
 


-- 
Note: My last name is not Krejzi.
-- 

Re: [blfs-support] WebKitGTK-1/Flash

2014-01-13 Thread Armin K.
On 01/14/2014 12:09 AM, Fernando de Oliveira wrote:
 Em 13-01-2014 18:03, Armin K. escreveu:
 On 01/13/2014 06:35 PM, Fernando de Oliveira wrote:
 Em 11-01-2014 13:10, Richard escreveu:


 - Do you happen to know what options you used for configure/make when 
 building webkitgtk-1.10.2?
 - Are you able to post the output of 'lsof -c GtkLauncher' when the
 flash page is open? It may help to highlight what is missing.


 I confirm that flash is not working with WebKitGTK-1.


 It works here with webkitgtk-1.10.2 and
 midori-0.5.whatever-is-the-version-in-blfs

 Do note that midori was built against gtk2 and not gtk3. Flash won't
 work with with webkitgtk-2.2.x and midori built for gtk3 nor with
 epiphany (well, maybe yes since it uses webkit2 which should fix that).

 Do note that I patched the hell out of my glibc.
 
 Do you you mean glib? Can you please post the hell of patches, perhaps
 or probably can be useful for BLFS? :-)
 

no, GlibC, the C library. All patches are available in archlinux repository.

 Well, it is working, now. I am tired but will conclude at least this.
 
 I have:
 
 {{{
 $ ls /usr/lib/mozilla/plugins/saved-plugins
 libgnome-shell-browser-plugin.la  libtotem-mully-plugin.la
 libgnome-shell-browser-plugin.so  libtotem-mully-plugin.so
 lib_plugin.so libtotem-narrowspace-plugin.la
 libtotem-cone-plugin.la   libtotem-narrowspace-plugin.so
 libtotem-cone-plugin.so   libtotem-vegas-plugin.la
 libtotem-gmp-plugin.lalibtotem-vegas-plugin.so
 libtotem-gmp-plugin.so
 }}}
 

Do note that one of the Totem plugins also provides Flash plugin. Or at
least it should provide one. I didn't install Totem on my latest build
though.

 lib_plugin.so is a symlink to libflashplayer.so
 
 All these were in /usr/lib/mozilla/plugins/.
 
 Now I only have:
 
 {{{
 $ ls /usr/lib/mozilla/plugins/
 IcedTeaPlugin.so  libflashplayer.so  saved-plugins
 }}}
 
 (One directory and two symlinks.)
 
 Before, GtkLauncher and Midori were trying to play flash and other media
 with totem, using those.
 
 Was capable of playing other videos, such as youtube, using totem. But
 my totem cannot play flash, I need something for it, but at the moment I
 have no need nor wish to try and find it.
 
 Thanks, Armin, for the help.
 
 To Richard: tomorrow I will post terminal and lsof again, to replace the
 ones that were send for not working.
 
 


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] WebKitGTK-1/Flash

2014-01-13 Thread Armin K.
On 01/14/2014 12:12 AM, Armin K. wrote:
 On 01/14/2014 12:09 AM, Fernando de Oliveira wrote:
 Em 13-01-2014 18:03, Armin K. escreveu:
 On 01/13/2014 06:35 PM, Fernando de Oliveira wrote:
 Em 11-01-2014 13:10, Richard escreveu:


 - Do you happen to know what options you used for configure/make when 
 building webkitgtk-1.10.2?
 - Are you able to post the output of 'lsof -c GtkLauncher' when the
 flash page is open? It may help to highlight what is missing.


 I confirm that flash is not working with WebKitGTK-1.


 It works here with webkitgtk-1.10.2 and
 midori-0.5.whatever-is-the-version-in-blfs

 Do note that midori was built against gtk2 and not gtk3. Flash won't
 work with with webkitgtk-2.2.x and midori built for gtk3 nor with
 epiphany (well, maybe yes since it uses webkit2 which should fix that).

 Do note that I patched the hell out of my glibc.

 Do you you mean glib? Can you please post the hell of patches, perhaps
 or probably can be useful for BLFS? :-)

 
 no, GlibC, the C library. All patches are available in archlinux repository.
 
 Well, it is working, now. I am tired but will conclude at least this.

 I have:

 {{{
 $ ls /usr/lib/mozilla/plugins/saved-plugins
 libgnome-shell-browser-plugin.la  libtotem-mully-plugin.la
 libgnome-shell-browser-plugin.so  libtotem-mully-plugin.so
 lib_plugin.so libtotem-narrowspace-plugin.la
 libtotem-cone-plugin.la   libtotem-narrowspace-plugin.so
 libtotem-cone-plugin.so   libtotem-vegas-plugin.la
 libtotem-gmp-plugin.lalibtotem-vegas-plugin.so
 libtotem-gmp-plugin.so
 }}}

 
 Do note that one of the Totem plugins also provides Flash plugin. Or at
 least it should provide one. I didn't install Totem on my latest build
 though.
 
 lib_plugin.so is a symlink to libflashplayer.so

 All these were in /usr/lib/mozilla/plugins/.

 Now I only have:

 {{{
 $ ls /usr/lib/mozilla/plugins/
 IcedTeaPlugin.so  libflashplayer.so  saved-plugins
 }}}

 (One directory and two symlinks.)

 Before, GtkLauncher and Midori were trying to play flash and other media
 with totem, using those.

 Was capable of playing other videos, such as youtube, using totem. But
 my totem cannot play flash, I need something for it, but at the moment I
 have no need nor wish to try and find it.

 Thanks, Armin, for the help.

 To Richard: tomorrow I will post terminal and lsof again, to replace the
 ones that were send for not working.



As a side note, I've used gecko-mediaplayer in the past to play
non-flash media on web. Today I mostly use mpv with quvi support, which
can display the media just nicely by just passing the url to the media
player.

https://code.google.com/p/gecko-mediaplayer/downloads/list (requires
gnome-mplayer and gmtk and obviously mplayer)

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Cannot build Attica with QT5 installed

2014-01-12 Thread Armin K.
On 12.1.2014 16:39, Niels Terp wrote:
 Hi there,

 Now I have completed the full chapter 25 - X Libraries, and I have installed
 both QT4 and QT5, and I have also installed qtchooser and configured QT4 to
 be the default.

 Now in KDE, when I attempt to build attica, I get the error:

 CMake Error at CMakeList.txt:10 (find_package):
 Could not find a package configuration file provided by ECM (requested
 version 0.0.6) with any of the following names:

   ECMConfig.cmake
   Ecm-config.cmake

 I have made a temporary solution by deleting QT5, installing attica (which
 now builds perfectly) and then reinstalling QT5 in the end of the
 installation script.

 But this is not a very elegant solution, and it makes it nessesary to have
 the QT5 RPM file from the beginning - and when everything is finished you
 would not have that, because it is generated and installed in another
 chapter.

 Greetings

 Niels


You're obviously using older instructions. Current instructions have:

cmake -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX \
   -DCMAKE_BUILD_TYPE=Release \
   -DQT4_BUILD=ON

And further below in command explanations:

-DQT4_BUILD=ON: This switch forces the package to build against Qt4 even 
if Qt5 is present on the system. Remove it if you want to build the 
package against Qt5.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Firefox-26.0 (with Xulrunner) vs. Glib-2.38.2

2014-01-06 Thread Armin K.
On 7.1.2014 0:43, James Richard Tyrer wrote:
 On 01/03/2014 08:07 PM, Armin K. wrote:
 On 01/04/2014 12:37 AM, James Richard Tyrer wrote:
 On 01/03/2014 09:56 AM, Armin K. wrote:
 On 01/03/2014 05:29 PM, James Richard Tyrer wrote:
 I am getting the error message:

 GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' 
 failed

 and Firefox does not open a window.

 It appears that Mozilla bug 833117 has not been fixed.

 https://bugzilla.mozilla.org/show_bug.cgi?id=833117

 Can you add a work around such as installing an older version of Glib
 and linking Firefox to it?



 I am getting that message for more than a year now, but never had any
 issues that I'd notice. What is exactly a problem you have besides that
 message?

 Although Firefox starts a process, it fails to open a window.


 Hm, looking on some bugs, you might have a problem with this

 ac_add_options --enable-shared-js

 If mozillajs package is installed, xulrunner might try to use it instead
 of its own. This option looks like copy/paste from my xulrunner config
 from the time when shared mozillajs from xulrunner was required to build
 gnome-shell.

 I don't have that switch in my latest builds so that's maybe the reason
 I don't hit the bug. Can you try without the switch?

 Well, I didn't get this done for a while because my system quit.  It
 appears that I had some memory that was dieing and was only still
 working because it was ECC.

 So, now I have rebuilt with the above change and it made no difference. :-(

 I am also getting other messages besides the error:

 (process:14840): GLib-CRITICAL **: g_slice_set_config: assertion
 'sys_page_size == 0' failed

 (firefox:14840): GLib-GObject-WARNING **: Attempt to add property
 GnomeProgram::sm-connect after class was initialised

 (firefox:14840): GLib-GObject-WARNING **: Attempt to add property
 GnomeProgram::show-crash-dialog after class was initialised

 (firefox:14840): GLib-GObject-WARNING **: Attempt to add property
 GnomeProgram::display after class was initialised

 (firefox:14840): GLib-GObject-WARNING **: Attempt to add property
 GnomeProgram::default-icon after class was initialised

 It appears that Firefox and GLib are not working together.

 IIUC, you are using GLib-2.38.2 with no problems although you get the
 error message.


Do you use binary AMD driver for your GPU? Some sites seem to mention 
that it might be causing the issue. Mozilla bug says that this issue 
(but doesn't mention that it's related to fglrx) is fixed in firefox 
nightly (28.0, at the time I believe).

https://bugzilla.mozilla.org/show_bug.cgi?id=95
http://forums.opensuse.org/english/get-technical-help-here/network-internet/492562-browsers-do-not-work-new-13-1-installation.html#post2602291
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Firefox-26.0 (with Xulrunner) vs. Glib-2.38.2

2014-01-03 Thread Armin K.
On 01/03/2014 05:29 PM, James Richard Tyrer wrote:
 I am getting the error message:
 
 GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
 
 and Firefox does not open a window.
 
 It appears that Mozilla bug 833117 has not been fixed.
 
 https://bugzilla.mozilla.org/show_bug.cgi?id=833117
 
 Can you add a work around such as installing an older version of Glib 
 and linking Firefox to it?
 
 

I am getting that message for more than a year now, but never had any
issues that I'd notice. What is exactly a problem you have besides that
message?

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Firefox-26.0 (with Xulrunner) vs. Glib-2.38.2

2014-01-03 Thread Armin K.
On 01/04/2014 12:37 AM, James Richard Tyrer wrote:
 On 01/03/2014 09:56 AM, Armin K. wrote:
 On 01/03/2014 05:29 PM, James Richard Tyrer wrote:
 I am getting the error message:

 GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

 and Firefox does not open a window.

 It appears that Mozilla bug 833117 has not been fixed.

 https://bugzilla.mozilla.org/show_bug.cgi?id=833117

 Can you add a work around such as installing an older version of Glib
 and linking Firefox to it?



 I am getting that message for more than a year now, but never had any
 issues that I'd notice. What is exactly a problem you have besides that
 message?

 Although Firefox starts a process, it fails to open a window.
 

I doubt that it has something to do with the message you wrote in the
first place. Few of us see that message too, but firefox starts just fine.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Firefox-26.0 (with Xulrunner) vs. Glib-2.38.2

2014-01-03 Thread Armin K.
On 01/04/2014 12:37 AM, James Richard Tyrer wrote:
 On 01/03/2014 09:56 AM, Armin K. wrote:
 On 01/03/2014 05:29 PM, James Richard Tyrer wrote:
 I am getting the error message:

 GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

 and Firefox does not open a window.

 It appears that Mozilla bug 833117 has not been fixed.

 https://bugzilla.mozilla.org/show_bug.cgi?id=833117

 Can you add a work around such as installing an older version of Glib
 and linking Firefox to it?



 I am getting that message for more than a year now, but never had any
 issues that I'd notice. What is exactly a problem you have besides that
 message?

 Although Firefox starts a process, it fails to open a window.
 

Hm, looking on some bugs, you might have a problem with this

ac_add_options --enable-shared-js

If mozillajs package is installed, xulrunner might try to use it instead
of its own. This option looks like copy/paste from my xulrunner config
from the time when shared mozillajs from xulrunner was required to build
gnome-shell.

I don't have that switch in my latest builds so that's maybe the reason
I don't hit the bug. Can you try without the switch?

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] WebKitGTK-1/Flash

2014-01-02 Thread Armin K.
On 01/02/2014 01:43 PM, Fernando de Oliveira wrote:

 Install the plugin at /usr/lib/adobe-flashplugin.

 Link to it at /usr/lib/mozilla:

 ln -sv ../../adobe-flashplugin/libflashplayer.so /usr/lib/mozilla
 
 If you place the plugin, not the symlink, at /usr/lib/mozilla, it most
 probably will not work.
 

Sorry to hijack the thread, but isn't the correct location for this
/usr/lib/mozilla/plugins, as mentioned on Xulrunner/Firefox pages?

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] JSON-C fails to build

2013-12-20 Thread Armin K.
On 12/20/2013 06:15 PM, Dan McGhee wrote:
 I'm building JSON-C as a dependency for PulseAudio.  It fails to build with:
 
 /bin/sh ./libtool --tag=CC   --mode=link gcc -Wall -Werror -Wextra 
 -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE 
 -D_REENTRANT -g -O2 -version-info 1:0:1 -no-undefined -ljson-c  -o 
 libjson.la -rpath /usr/lib libjson.lo -ljson-c
 mv -f .deps/json_util.Tpo .deps/json_util.Plo
 mv -f .deps/printbuf.Tpo .deps/printbuf.Plo
 mv -f .deps/linkhash.Tpo .deps/linkhash.Plo
 libtool: link: gcc -shared  .libs/libjson.o   -ljson-c -Wl,-soname 
 -Wl,libjson.so.0 -o .libs/libjson.so.0.1.0
 /usr/bin/ld: cannot find -ljson-c
 collect2: error: ld returned 1 exit status
 make[2]: *** [libjson.la] Error 1
 make[2]: *** Waiting for unfinished jobs
 mv -f .deps/json_object.Tpo .deps/json_object.Plo
 mv -f .deps/json_tokener.Tpo .deps/json_tokener.Plo
 make[2]: Leaving directory `/usr/src/json-c-0.11/json-c-0.11'
 make[1]: Leaving directory `/usr/src/json-c-0.11/json-c-0.11'
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 
 I don't know if it's relevant, but the README file contains this:
 
 Linking to libjson-c

 If your system has pkgconfig then you can just add this to your makefile

 CFLAGS += $(shell pkg-config --cflags json-c)
 LDFLAGS += $(shell pkg-config --libs json-c)

 Without pkgconfig, you would do something like this:

 JSON_C_DIR=/path/to/json_c/install
 CFLAGS += -I$(JSON_C_DIR)/include/json-c
 LDFLAGS+= -L$(JSON_C_DIR)/lib -ljson-c
 
 If it's relevant to pass any of these things to get JSON-C to build, how 
 and where would I do it?
 
 Thanks,
 Dan
 
 
 

libjson-c is built as part of the same package and it should be present
in the build directory, .libs subdirectory.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Another Polkit Action Problem

2013-12-13 Thread Armin K.
On 12/13/2013 06:18 PM, Dan McGhee wrote:
 Well, it seems that the knowledge I gained over the last few days about 
 polkit and how to configure it isn't quite good enough yet.
 
 As I stated in the other thread there were two applications which need 
 authorization to run and which I want to run from a menu selection in 
 xfce4: gparted and Catalyst Control Center.  The latter configures my 
 Radeon chip.  Gparted works fine--thanks, Armin.  But when selecting 
 Catalyst Control Center-Administrative from the menu, nothing happens.
 
 The application is called amdcccle, but invoking that gets only the 
 non-privileged version to adjust brightness, contrast and color.  The 
 privileged version is called amdccclesu which is actually an alias for 
 amdxdg-su -c amdcccle.  The amdxdg-su is a wrapper GUI that requires 
 superuser privileges.  Each is called from the menu by its own 
 .desktop file.
 
 When I run pkexec amdxdg-su -c amdcccle from a terminal I get the 
 dialogue that requires my password.  But when I enter my password and 
 Enter nothing happens and I get the message in the terminal:
 
 Failed to open connection to session message bus: Using X11 for 
 dbus-daemon autolaunch was disabled at compile time, set your 
 DBUS_SESSION_BUS_ADDRESS instead
 xprop:  unable to open display ''
 amdxdg-su: no graphical method available for invoking 'amdcccle' as 'root'
 
 This is reminiscent of the situation the other day, which I solved, with 
 gparted and polkit, gnome-polkit and consolekit.  In addtion, when I 
 open the Details drop down in the authentification window I see:
 
 Action: org.freedesktop.policykit.exec
 
 as opposed to what I see when I run pkexec gparted in a terminal:
 
 Action: org.freedesktop.policykit.pkexec.run-gparted
 
 I would have expected the Action statement in the details for 
 authenticating amdxdg-su to be 
 org.freedeskto.policykit.pkexec.run-amdxdg-su.  Since I didn't get 
 that, I think that there is something wrong in the pkexec policy file.
 
 Here is /usr/share/polkit-1/actions/org.freedesktop.policykit.pkexec.policy:
 
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE policyconfig PUBLIC
  -//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN
  http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd;
 policyconfig

   action id=org.freedesktop.policykit.pkexec.run-gparted
 descriptionRun GParted/description
 messageAuthentication is required to run GParted/message
 defaults
   allow_anyno/allow_any
   allow_inactiveno/allow_inactive
   allow_activeauth_admin_keep/allow_active
 /defaults
 annotate 
 key=org.freedesktop.policykit.exec.path/usr/sbin/gparted/annotate
 annotate 
 key=org.freedesktop.policykit.exec.allow_guiTRUE/annotate
   /action


   action id=org.freedesktop.policykit.pkexec.run-amdxdg-su
 descriptionRun Catalyst Control Center/description
 messageAuthentication is required to run Catalyst Control 
 Center/message
 defaults
   allow_anyno/allow_any
   allow_inactiveno/allow_inactive
   allow_activeauth_admin_keep/allow_active
 /defaults
 annotate 
 key=org.freedesktop.policykit.exec.path/usr/bin/amdxdg-su -c 
 amdccle/annotate
 annotate 
 key=org.freedesktop.policykit.exec.allow_guiTRUE/annotate
   /action

 /policyconfig
 

well. for a start I'd suggest keeping these two seperate. Not that it
would matter much. Second, you want to run amdcccle GUI program, not
amdxdg-su, which does EXACTLY what pkexec does, but amdxdg-su appears to
invoke gksu/gksudo. Saying so, you need to change this in the file above:

 key=org.freedesktop.policykit.exec.path/usr/bin/amdxdg-su -c
 amdccle/annotate

to the full path to amdcccle executable.

key=org.freedesktop.policykit.exec.path/usr/bin/amdcccle/annotate

This means you want to drop amdxdg-su everywhere in the instructions
here which would make:

 This is the same file I created the other day to get gparted to run from 
 menu.  I copied and pasted the gparted action./action and made 
 the changes that I thought I needed for amdxdg-su -c amdcccle.  The 
 only difference I can see is the space-separted words in the exec.path 
 line.  Should the spaces be escaped somhow?  (I would try that but I 
 don't know the syntax for an XML file.)  Also, I don't know if the whole 
 command should be in the run-amdxdg-su  line.  I just thought this 
 particular item was a name of sorts.
 
 And here is the Exec line from the .desktop file.
 

This one:

 Exec=pkexec amdxdg-su -c amdcccle
 

Into this one:

Exec=pkexec amdcccle

 Any pointers, suggestions or directions?
 
 Thanks,
 Dan
 
 
 
 


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Another Polkit Action Problem

2013-12-13 Thread Armin K.
On 12/13/2013 06:58 PM, Dan McGhee wrote:
 On 12/13/2013 11:23 AM, Armin K. wrote:
 On 12/13/2013 06:18 PM, Dan McGhee wrote:
 Well, it seems that the knowledge I gained over the last few days about
 polkit and how to configure it isn't quite good enough yet.

 As I stated in the other thread there were two applications which need
 authorization to run and which I want to run from a menu selection in
 xfce4: gparted and Catalyst Control Center.  The latter configures my
 Radeon chip.  Gparted works fine--thanks, Armin.  But when selecting
 Catalyst Control Center-Administrative from the menu, nothing happens.

 The application is called amdcccle, but invoking that gets only the
 non-privileged version to adjust brightness, contrast and color.  The
 privileged version is called amdccclesu which is actually an alias for
 amdxdg-su -c amdcccle.  The amdxdg-su is a wrapper GUI that requires
 superuser privileges.  Each is called from the menu by its own
 .desktop file.

 When I run pkexec amdxdg-su -c amdcccle from a terminal I get the
 dialogue that requires my password.  But when I enter my password and
 Enter nothing happens and I get the message in the terminal:

 Failed to open connection to session message bus: Using X11 for
 dbus-daemon autolaunch was disabled at compile time, set your
 DBUS_SESSION_BUS_ADDRESS instead
 xprop:  unable to open display ''
 amdxdg-su: no graphical method available for invoking 'amdcccle' as 'root'
 This is reminiscent of the situation the other day, which I solved, with
 gparted and polkit, gnome-polkit and consolekit.  In addtion, when I
 open the Details drop down in the authentification window I see:

 Action: org.freedesktop.policykit.exec
 as opposed to what I see when I run pkexec gparted in a terminal:

 Action: org.freedesktop.policykit.pkexec.run-gparted
 I would have expected the Action statement in the details for
 authenticating amdxdg-su to be
 org.freedeskto.policykit.pkexec.run-amdxdg-su.  Since I didn't get
 that, I think that there is something wrong in the pkexec policy file.

 Here is /usr/share/polkit-1/actions/org.freedesktop.policykit.pkexec.policy:

 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE policyconfig PUBLIC
   -//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN
   http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd;
 policyconfig

action id=org.freedesktop.policykit.pkexec.run-gparted
  descriptionRun GParted/description
  messageAuthentication is required to run GParted/message
  defaults
allow_anyno/allow_any
allow_inactiveno/allow_inactive
allow_activeauth_admin_keep/allow_active
  /defaults
  annotate
 key=org.freedesktop.policykit.exec.path/usr/sbin/gparted/annotate
  annotate
 key=org.freedesktop.policykit.exec.allow_guiTRUE/annotate
/action


action id=org.freedesktop.policykit.pkexec.run-amdxdg-su
  descriptionRun Catalyst Control Center/description
  messageAuthentication is required to run Catalyst Control
 Center/message
  defaults
allow_anyno/allow_any
allow_inactiveno/allow_inactive
allow_activeauth_admin_keep/allow_active
  /defaults
  annotate
 key=org.freedesktop.policykit.exec.path/usr/bin/amdxdg-su -c
 amdccle/annotate
  annotate
 key=org.freedesktop.policykit.exec.allow_guiTRUE/annotate
/action

 /policyconfig
 well. for a start I'd suggest keeping these two seperate. Not that it
 would matter much. Second, you want to run amdcccle GUI program, not
 amdxdg-su, which does EXACTLY what pkexec does, but amdxdg-su appears to
 invoke gksu/gksudo. Saying so, you need to change this in the file above:

 key=org.freedesktop.policykit.exec.path/usr/bin/amdxdg-su -c
 amdccle/annotate
 to the full path to amdcccle executable.

 key=org.freedesktop.policykit.exec.path/usr/bin/amdcccle/annotate

 This means you want to drop amdxdg-su everywhere in the instructions
 here which would make:

 This is the same file I created the other day to get gparted to run from
 menu.  I copied and pasted the gparted action./action and made
 the changes that I thought I needed for amdxdg-su -c amdcccle.  The
 only difference I can see is the space-separted words in the exec.path
 line.  Should the spaces be escaped somhow?  (I would try that but I
 don't know the syntax for an XML file.)  Also, I don't know if the whole
 command should be in the run-amdxdg-su  line.  I just thought this
 particular item was a name of sorts.

 And here is the Exec line from the .desktop file.

 This one:

 Exec=pkexec amdxdg-su -c amdcccle
 Into this one:

 Exec=pkexec amdcccle

 Didn't work. Didn't work after I changed things back to the way they 
 were and corrected the typo in the action file from amdccle to amdcccle.
 

Then you might want try to use full path to amdcccle in the desktop
file, like

Exec=pkexec /usr/bin/amdcccle

 One thing did change. This is with the changes you suggested in place. 
 When I ran pkexec amdcccle I got

Re: [blfs-support] Another Polkit Action Problem

2013-12-13 Thread Armin K.
On 13.12.2013 19:30, Dan McGhee wrote:
 On 12/13/2013 12:00 PM, Armin K. wrote:
 On 12/13/2013 06:58 PM, Dan McGhee wrote:
 On 12/13/2013 11:23 AM, Armin K. wrote:
 On 12/13/2013 06:18 PM, Dan McGhee wrote:
 Well, it seems that the knowledge I gained over the last few days about
 polkit and how to configure it isn't quite good enough yet.

 As I stated in the other thread there were two applications which need
 authorization to run and which I want to run from a menu selection in
 xfce4: gparted and Catalyst Control Center.  The latter configures my
 Radeon chip.  Gparted works fine--thanks, Armin.  But when selecting
 Catalyst Control Center-Administrative from the menu, nothing happens.

 The application is called amdcccle, but invoking that gets only the
 non-privileged version to adjust brightness, contrast and color.  The
 privileged version is called amdccclesu which is actually an alias for
 amdxdg-su -c amdcccle.  The amdxdg-su is a wrapper GUI that requires
 superuser privileges.  Each is called from the menu by its own
 .desktop file.

 When I run pkexec amdxdg-su -c amdcccle from a terminal I get the
 dialogue that requires my password.  But when I enter my password and
 Enter nothing happens and I get the message in the terminal:

 Failed to open connection to session message bus: Using X11 for
 dbus-daemon autolaunch was disabled at compile time, set your
 DBUS_SESSION_BUS_ADDRESS instead
 xprop:  unable to open display ''
 amdxdg-su: no graphical method available for invoking 'amdcccle' as 
 'root'
 This is reminiscent of the situation the other day, which I solved, with
 gparted and polkit, gnome-polkit and consolekit.  In addtion, when I
 open the Details drop down in the authentification window I see:

 Action: org.freedesktop.policykit.exec
 as opposed to what I see when I run pkexec gparted in a terminal:

 Action: org.freedesktop.policykit.pkexec.run-gparted
 I would have expected the Action statement in the details for
 authenticating amdxdg-su to be
 org.freedeskto.policykit.pkexec.run-amdxdg-su.  Since I didn't get
 that, I think that there is something wrong in the pkexec policy file.

 Here is 
 /usr/share/polkit-1/actions/org.freedesktop.policykit.pkexec.policy:

 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE policyconfig PUBLIC
 -//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN
 http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd;
 policyconfig

  action id=org.freedesktop.policykit.pkexec.run-gparted
descriptionRun GParted/description
messageAuthentication is required to run GParted/message
defaults
  allow_anyno/allow_any
  allow_inactiveno/allow_inactive
  allow_activeauth_admin_keep/allow_active
/defaults
annotate
 key=org.freedesktop.policykit.exec.path/usr/sbin/gparted/annotate
annotate
 key=org.freedesktop.policykit.exec.allow_guiTRUE/annotate
  /action


  action id=org.freedesktop.policykit.pkexec.run-amdxdg-su
descriptionRun Catalyst Control Center/description
messageAuthentication is required to run Catalyst Control
 Center/message
defaults
  allow_anyno/allow_any
  allow_inactiveno/allow_inactive
  allow_activeauth_admin_keep/allow_active
/defaults
annotate
 key=org.freedesktop.policykit.exec.path/usr/bin/amdxdg-su -c
 amdccle/annotate
annotate
 key=org.freedesktop.policykit.exec.allow_guiTRUE/annotate
  /action

 /policyconfig
 well. for a start I'd suggest keeping these two seperate. Not that it
 would matter much. Second, you want to run amdcccle GUI program, not
 amdxdg-su, which does EXACTLY what pkexec does, but amdxdg-su appears to
 invoke gksu/gksudo. Saying so, you need to change this in the file above:

 key=org.freedesktop.policykit.exec.path/usr/bin/amdxdg-su -c
 amdccle/annotate
 to the full path to amdcccle executable.

 key=org.freedesktop.policykit.exec.path/usr/bin/amdcccle/annotate

 This means you want to drop amdxdg-su everywhere in the instructions
 here which would make:

 This is the same file I created the other day to get gparted to run from
 menu.  I copied and pasted the gparted action./action and made
 the changes that I thought I needed for amdxdg-su -c amdcccle.  The
 only difference I can see is the space-separted words in the exec.path
 line.  Should the spaces be escaped somhow?  (I would try that but I
 don't know the syntax for an XML file.)  Also, I don't know if the whole
 command should be in the run-amdxdg-su  line.  I just thought this
 particular item was a name of sorts.

 And here is the Exec line from the .desktop file.

 This one:

 Exec=pkexec amdxdg-su -c amdcccle
 Into this one:

 Exec=pkexec amdcccle

 Didn't work. Didn't work after I changed things back to the way they
 were and corrected the typo in the action file from amdccle to amdcccle.

 Then you might want try to use full path to amdcccle in the desktop
 file, like

 Exec

Re: [blfs-support] XML Files

2013-12-12 Thread Armin K.
On 12/12/2013 04:56 PM, Dan McGhee wrote:
 I've noticed that many files that get installed are XML files and 
 contain many lines for messages in different languages.  In particular 
 I'm thinking of the action files in /usr/share/polkit-1/actions.  My 
 $LANG is en_US.ISO-8859-1.  The existence of these other lines in the 
 files make it a little difficult to find what I'm looking for.
 
 In installing these packages; e.g., polkit, did I miss a dependency to 
 render these files with only the en_US messages, or is there another 
 application that I can apply to these files to eliminate the lines 
 relating to other messages?
 
 Thanks,
 Dan
 

That's called Native Language Support. Some packages have --disable-nls
configure switches that disable translating messages into other
languages when possible.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Polkit Actions

2013-12-12 Thread Armin K.
On 12/12/2013 11:14 PM, Dan McGhee wrote:
 On 12/12/2013 03:17 PM, akhiezer wrote:
 Date: Thu, 12 Dec 2013 12:37:39 -0600
 From: Dan McGhee beesn...@grm.net
 To: BLFS Support List blfs-support@linuxfromscratch.org
 Subject: Re: [blfs-support] Polkit Actions

  .
  .
 I usually don't suggest things like this and I don't know if ConsoleKit
 can be used without PAM. [...]
 It can be used ohne PAM: Slackware does not use PAM, and does use 
 (optionally)
 console-kit; ref e.g.
 --
 * ftp://ftp.slackware.no/slackware/slackware64-14.1/source/l/ConsoleKit/

 * 
 ftp://ftp.slackware.no/slackware/slackware64-14.1/source/l/ConsoleKit/ConsoleKit.SlackBuild
 --
 [...] But in some of the pacakge pages there are
 comments like If you don't install the optional dependencies then you
 can't do description. Armin said yesterday that PAM was almost a
 required dependency of ConsoleKit. Maybe a comment of explanation would
 be appropriate for the ConsoleKit page.

 'almost' !== 'required'  (of course).


 Hopefully BLFS will continue the recent-years move towards the practice of
 being (more) rigourous, consistent, strict and correct, about the meanings
 of 'Required', 'Recommended', 'Optional', and their variants. In other parts
 of Linux, there's been far too much - to put it lightly - forcing of
 contrived dependencies: so I'd hope it doesn't begin to appear in
 (B/)Lennux From Scratch also.
 I agree with you 100%. And this is why I hesitate to make suggestions 
 like I did.
 
 When something does not work for me, the situation is usually that I 
 missed something in the book's instructions or I didn't have the 
 knowledge to make it work in the first place. This was the case with the 
 console kit, gnome-polkit, polkit, xfce4 combination that I wanted to 
 configure. And in my latest situation, it was console-kit that was not 
 helping. I know I would not have had the problem if I had installed 
 KDE, but I chose XFCE4 and had to work on the configuration myself.
 
 My knowledge, or, as in this case, the lack of it is usually the 
 culprit. Even after the last couple of days I have only a foggy notion 
 of how all those applications fit together and work. The piece of 
 knowledge that ConsoleKit needs PAM to generate an active session solved 
 my problem.
 
 Now is it the entire set of PAM modules? I don't know. I don't even know 
 if having only one PAM module will do the trick. I found it interesting 
 in examining one of the links you provided that I found these lines in 
 slack's install script for ConsoleKit:
 cat $CWD/pam-foreground-compat.ck  \
$PKG/usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck
 chmod 0755 $PKG/usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck
 That file pam-foreground-compat.ck is built and installed in ConsoleKit. 
 Can it be used without the rest of PAM? If slack doesn't install PAM, 
 the answer is yes. But, how then do you configure ConsoleKit to work 
 properly. It didn't in my install.
 
 It may not be precise or technically correct, but installing PAM helped 
 my system to work. Is it then a run time dependency? Maybe you could 
 call it that.
 

No, it's a build and runtime dependency. You need PAM headers and libs
to build pam_consolekit.so PAM module, which in turn is responsible
(using PAM session facility) to register a local session with
ConsoleKit. Same mechanism is used by systemd-logind, which uses
pam_systemd.so to register sessions.

 This is the logic that I used when I wrote what I did. I figure that if 
 I don't find anything in the archives, then I'm the only one who's 
 having the problems, or, at least, I'm the only on who is asking. That's 
 not a basis for suggesting a change or addition to the book.
 

Believe me, you are not the only one who has this specific problem. I
lost a count of these people. We have a policy that we can mark required
packages only if the package can't be built without it. Recommended
packages are ones which are essential, but package can be built without
them. We do expect that recommended dependencies are honored. Optional
dependencies are what you think they are. You can or can't install them,
your choice. You might be missing some specific (and not so common)
funcionality, but you can always reinstall package later with specific
feature enabled.

 One thing that did occur to me earlier and I might as well express it. I 
 remember when the wiki got started as a place in which LFS-ers could 
 document their experiences. I try to faithfully check it when I'm 
 building, but I haven't installed a package yet this time that had a 
 current comment. In fact most of the pages are empty.
 
 Now that I've said that, and to forestall any suggestions, it's up to me 
 to sign up to use the wiki and document my polkit and console-kit 
 experiences, how I got taught to troubleshoot them and what fixed them.
 
 I'm beginning to ramble and rant and this is not the venue for it. 
 Thanks for your comment, though, ak.
 
 Dan
 

Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/11/2013 06:45 PM, Dan McGhee wrote:
 Now that I've learned (?) how to deal with polkit--as documented in 
 another thread--I'd like to get a few more things under my belt.  In 
 particular, I'd like to call gparted from the menus in my desktop 
 system.  The way it works in Ubuntu is that a message pops up and asks 
 for my password before GParted runs.  Right now I get only the message 
 that I need to be root to run it.  I found this at the Arch wiki:
 

Ubuntu used gksu/gksudo which called respective utilities for
authentication as superuser. PolicyKit is somehow different mechanism.

 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE policyconfig PUBLIC
   -//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN
   http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd;
 policyconfig

action id=org.archlinux.pkexec.gparted
  messageAuthentication is required to run the GParted Partition 
 Editor/message
  icon_namegparted/icon_name
  defaults
allow_anyauth_admin/allow_any
allow_inactiveauth_admin/allow_inactive
allow_activeauth_admin/allow_active
  /defaults
  annotate 
 key=org.freedesktop.policykit.exec.path/usr/bin/gparted/annotate
  annotate key=org.freedesktop.policykit.exec.allow_guitrue/annotate
/action

 /policyconfig
 
 This is a polkit action file to be put in /usr/share/polkit-1/actions 
 directory.  As written, it would go in that directory with the name
 
 org.archlinux.pkexec.gparted
 
 What I haven't been able to find is the answer to the following 
 question.  Does it matter that part of the name would be org.archlinux 
 or is this just a name and doesn't refer to anything else on my system.  
 There are only two org's in the actions I have now: freedesktop and 
 xorg.  Both of those have things installed on my system.  If it's just a 
 name, then I don't have to consider anything else.
 

This matters little. You could use any valid domain name or no at all.
See https://bbs.archlinux.org/viewtopic.php?pid=999328#p999328, for
nearly the same rule they used org.freedesktop...

 In addition to GParted, I would like to employ this method for the 
 Catalyst Control Center for my ATI-Radeon chip.
 
 Thanks,
 Dan
 
 

You have to edit both .desktop files and add pkexec /path/to/program
to the Exec= line. Do note that using pkexec requires an authentication
agent to be running, such as polkit-gnome or lxpolkit.

The file you mentioned is necessarry because pkexec won't allow running
gui programs by default.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/11/2013 07:58 PM, Dan McGhee wrote:
 On 12/11/2013 12:20 PM, Armin K. wrote:
 On 12/11/2013 06:45 PM, Dan McGhee wrote:
 This is a polkit action file to be put in /usr/share/polkit-1/actions
 directory.  As written, it would go in that directory with the name

 org.archlinux.pkexec.gparted

 What I haven't been able to find is the answer to the following
 question.  Does it matter that part of the name would be org.archlinux
 or is this just a name and doesn't refer to anything else on my system.
 There are only two org's in the actions I have now: freedesktop and
 xorg.  Both of those have things installed on my system.  If it's just a
 name, then I don't have to consider anything else.

 This matters little. You could use any valid domain name or no at all.
 See https://bbs.archlinux.org/viewtopic.php?pid=999328#p999328, for
 nearly the same rule they used org.freedesktop...
 Thanks for that link. I noticed a few, subtle differences in the two 
 files and decided to use this one, if, for no other reason than 
 consistency.
 In addition to GParted, I would like to employ this method for the
 Catalyst Control Center for my ATI-Radeon chip.

 You have to edit both .desktop files and add pkexec /path/to/program
 to the Exec= line. Do note that using pkexec requires an authentication
 agent to be running, such as polkit-gnome or lxpolkit.

 The file you mentioned is necessarry because pkexec won't allow running
 gui programs by default.
 Right now gparted.desktop has
 
 Exec= /usr/sbin/gparted %f
 

This would become

Exec=pkexec /usr/sbin/gparted %f

 To add pkexec to this file, would it read pkexec /usr/bin or similar 
 to the entry now /usr/bin/pkexec %f? Also would I place it before the 
 gparted line and separate it by space or ;. Or would it be better to 
 have another Exec line before or after the gparted line?
 
 Thanks for your help, Armin.
 
 Dan
 


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/11/2013 10:06 PM, Dan McGhee wrote:
 On 12/11/2013 12:20 PM, Armin K. wrote:
 On 12/11/2013 06:45 PM, Dan McGhee wrote:
 In addition to GParted, I would like to employ this method for the
 Catalyst Control Center for my ATI-Radeon chip.
 You have to edit both .desktop files and add pkexec /path/to/program
 to the Exec= line. Do note that using pkexec requires an authentication
 agent to be running, such as polkit-gnome or lxpolkit.

 The file you mentioned is necessarry because pkexec won't allow running
 gui programs by default.

 When I first read this, I didn't do anything because I have polkit-gnome 
 installed. When I made the changes for pkexec in the gparted.desktop 
 file and tried to run it, nothing happened. I didn't even get the 
 message that I needed to be root. I guess that's progress.
 

You don't need to be root. As I said, pkexec *won't* allow you to run
gui programs when using pkexec guiprogram unless you *create* a policy
file in /usr/share/polkit-1/actions (which is the file you posted and I
linked to in the arch forums).

 But when I checked my installation of polkit-gnome, I discovered that I 
 had forgotten to add the helper file in /etc/xde/autostart. I created 
 that file and tried to run GParted again and once more nothing happened. 
 I took a closer look at the file and saw the line:
 
 AutostartCondition=GNOME3 unless-session gnome
 

This condition makes sure polkit-gnome doesn't start in gnome-shell
environment, which has its own polkit-authentication-agent, but that it
starts in gnome fallback, which was available back then.

 I'm not using Gnome, but xfce4. I logged out and restarted xfce4, but 
 gnome-polkit didn't start. I don't know how to change the line in the 
 polkit-gnome.desktop file.
 
 Dan
 
 

You don't need to change it at all.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/11/2013 11:53 PM, Dan McGhee wrote:
 On 12/11/2013 03:56 PM, Armin K. wrote:
 On 12/11/2013 10:06 PM, Dan McGhee wrote:
 On 12/11/2013 12:20 PM, Armin K. wrote:
 On 12/11/2013 06:45 PM, Dan McGhee wrote:
 In addition to GParted, I would like to employ this method for the
 Catalyst Control Center for my ATI-Radeon chip.
 You have to edit both .desktop files and add pkexec /path/to/program
 to the Exec= line. Do note that using pkexec requires an authentication
 agent to be running, such as polkit-gnome or lxpolkit.

 The file you mentioned is necessarry because pkexec won't allow running
 gui programs by default.

 When I first read this, I didn't do anything because I have polkit-gnome
 installed. When I made the changes for pkexec in the gparted.desktop
 file and tried to run it, nothing happened. I didn't even get the
 message that I needed to be root. I guess that's progress.

 You don't need to be root. As I said, pkexec *won't* allow you to run
 gui programs when using pkexec guiprogram unless you *create* a policy
 file in /usr/share/polkit-1/actions (which is the file you posted and I
 linked to in the arch forums).
 I was unclear in my statement. I created the policy file containing the 
 action. I edited the gparted.desktop file to include pkexec. When I 
 selected GParted in my Applications Menu, nothing happened. I did not 
 even get a message.
 
 For clarity's sake, I'll include the files. I kept from doing this to 
 keep the posts shorter. But maybe there is something in them that 
 prevents what I'm trying to do.
 
 Here is 
 /usr/share/polkit-1/actions/org.freedesktop.policykit.pkexec.run-gparted.policy:
 
 exec.run-gparted.policy
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE policyconfig PUBLIC
 -//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN
 http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd;
 policyconfig

 action id=org.freedesktop.policykit.pkexec.run-gparted
 descriptionRun GParted/description
 messageAuthentication is required to run GParted/message
 defaults
 allow_anyno/allow_any
 allow_inactiveno/allow_inactive
 allow_activeauth_admin_keep/allow_active
 /defaults
 annotate 
 key=org.freedesktop.policykit.exec.path/usr/sbin/gparted/annotate
 annotate key=org.freedesktop.policykit.exec.allow_guiTRUE/annotate
 /action

 /policyconfig

I've created /usr/share/polkit-1/actions/org.gnome.gparted.policy file
with the same contents (name shouldn't matter), and restarted polkitd
daemon.

 
 Here is /usr/share/applications/gparted.desktop:
 
 Name=GParted
 GenericName=Partition Editor
 Comment=Create, reorganize, and delete partitions
 Exec=pkexec /usr/sbin/gparted %f
 Icon=gparted
 Terminal=false
 Type=Application
 Categories=GNOME;System;Filesystem;
 StartupNotify=true

I've edited the desktop file and made it same as yours.

 
 And finally, the 
 /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop:
 
 [Desktop Entry]
 Name=PolicyKit Authentication Agent
 Comment=PolicyKit Authentication Agent
 Exec=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
 Terminal=false
 Type=Application
 Categories=
 NoDisplay=true
 OnlyShowIn=GNOME;XFCE;Unity;
 AutostartCondition=GNOME3 unless-session gnome

I have the same desktop file here. However, you do need to verify if
authentication agent is started. Run ps aux | grep polkit. You should
get something like:

armin  726  0.0  0.2 565160 15636 ?Sl   17:48   0:00
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

in the output.

 
  From everything I've read, I don't think I need a rule in 
 /etc/polkit-1/rules.d. There is no rule there.

No, you don't need any.

 Like I said, when I try to run Gparted from the desktop, absolutely 
 nothing happens. It's got to be something quite simple now, but I can't 
 see it.
 

You should see polkit authentication dialog, asking for an administrator
password. Do note that an gui authentication agent *must* be running
(polkit-gnome in this case).

That said, with the same configuration, everything works fine here. I
do, however, use polkit-0.10whatever with Linux PAM support. Not sure if
that should matter.

 Also, Armin, thanks for explaining the autostart file options for me, 
 and also for you other help so far.
 
 Dan
 
 


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/12/2013 12:19 AM, Dan McGhee wrote:
 On 12/11/2013 05:01 PM, Armin K. wrote:
 I have the same desktop file here. However, you do need to verify if
 authentication agent is started. Run ps aux | grep polkit. You should
 get something like:

 armin  726  0.0  0.2 565160 15636 ?Sl   17:48   0:00
 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

 in the output.
 This is the exact output I get:
 
 polkitd 807 0.0 0.1 514052 9048 ? Sl 06:19 0:00 
 /usr/lib/polkit-1/polkitd --no-debug
 dan 12378 0.0 0.1 240516 7348 tty1 Sl 15:20 0:00 
 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
 root 12804 0.0 0.0 16416 1100 pts/0 S+ 17:15 0:00 grep --color=auto polkit
 It looks like what you got, but Gparted doesn't start. I don't know 
 enough to distinguish the forest from the trees here and am responding 
 only to what you say. I don't have the knowledge to analyze this.
 
 Dan
 
 
 

You can always try running pkexec /usr/sbin/gparted from a terminal
and check the output.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Polkit Actions

2013-12-11 Thread Armin K.
On 12/12/2013 12:47 AM, Dan McGhee wrote:
 On 12/11/2013 05:35 PM, Armin K. wrote:
 On 12/12/2013 12:19 AM, Dan McGhee wrote:
 On 12/11/2013 05:01 PM, Armin K. wrote:
 I have the same desktop file here. However, you do need to verify if
 authentication agent is started. Run ps aux | grep polkit. You should
 get something like:

 armin  726  0.0  0.2 565160 15636 ?Sl   17:48   0:00
 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

 in the output.
 This is the exact output I get:

 polkitd 807 0.0 0.1 514052 9048 ? Sl 06:19 0:00
 /usr/lib/polkit-1/polkitd --no-debug
 dan 12378 0.0 0.1 240516 7348 tty1 Sl 15:20 0:00
 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
 root 12804 0.0 0.0 16416 1100 pts/0 S+ 17:15 0:00 grep --color=auto polkit
 It looks like what you got, but Gparted doesn't start. I don't know
 enough to distinguish the forest from the trees here and am responding
 only to what you say. I don't have the knowledge to analyze this.

 Dan



 You can always try running pkexec /usr/sbin/gparted from a terminal
 and check the output.
 Interesting output. Now I need to find out why when running pkexec from 
 the terminal, it thinks I'm somebody else.
 dan [ ~ ]$ pkexec /usr/sbin/gparted
 Error executing command as another user: Not authorized
 Dan
 

This is due to consolekit misconfiguration. Most people ignore
recommended dependency of Linux PAM on the ConsoleKit page, which is
really, really *required* if you want ConsoleKit to work correctly. On
the other hand, I use systemd, which has logind - a replacement for
consolekit so I don't really know if polkit works anymore with just
consolekit.

Post output of ck-list-sessions. It should read something like (if the
memory serves me well) active: yes, local: yes. If these two are not
yes, then consolekit is not configured correctly.
-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Xorg: startx will not start

2013-12-09 Thread Armin K.
On 10.12.2013 0:06, Hans P. wrote:
 Hello,

 My BLFS run in an Virtualbox environment, so i have installed the
 Xorg-Cirrus-Driver and the Xorg-Vesa-Driver.

 Accordingly, i have enabled the modules in the kernel.

 So i have expanded the file /etc/sysconfig/modules:
 cirrusfb
 # Fallback
 uvesafb

 When I try to start 'startx', then i get following:

 [  1815.751]
 X.Org X Server 1.14.3
 Release Date: 2013-09-12
 [  1815.755] X Protocol Version 11, Revision 0
 [  1815.757] Build Operating System: Linux 3.10.10mylfs i686
 [  1815.759] Current Operating System: Linux mylfs 3.10.10mylfs #1 SMP
 Mon Dec 9 17:38:31 CET 2013 i686
 [  1815.759] Kernel command line:
 BOOT_IMAGE=/boot/vmlinuz-3.10.10-lfs-7.4 root=/dev/sda1 ro
 [  1815.762] Build Date: 09 December 2013  03:13:52PM
 [  1815.763]
 [  1815.765] Current version of pixman: 0.30.2
 [  1815.767] Before reporting problems, check http://wiki.x.org
  to make sure that you have the latest version.
 [  1815.768] Markers: (--) probed, (**) from config file, (==) default
 setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [  1815.777] (==) Log file: /var/log/Xorg.0.log, Time: Mon Dec 9
 23:10:56 2013
 [  1815.779] (==) Using system config directory /usr/share/X11/xorg.conf.d
 [  1815.780] (==) No Layout section.  Using the first Screen section.
 [  1815.780] (==) No screen section available. Using defaults.
 [  1815.780] (**) |--Screen Default Screen Section (0)
 [  1815.780] (**) |   |--Monitor default monitor
 [  1815.780] (==) No monitor specified for screen Default Screen Section.
  Using a default monitor configuration.
 [  1815.781] (==) Automatically adding devices
 [  1815.781] (==) Automatically enabling devices
 [  1815.781] (==) Automatically adding GPU devices
 [  1815.781] (==) FontPath set to:
  /usr/share/fonts/X11/misc/,
  /usr/share/fonts/X11/TTF/,
  /usr/share/fonts/X11/OTF/,
  /usr/share/fonts/X11/Type1/,
  /usr/share/fonts/X11/100dpi/,
  /usr/share/fonts/X11/75dpi/
 [  1815.781] (==) ModulePath set to /usr/lib/xorg/modules
 [  1815.781] (II) The server relies on udev to provide the list of input
 devices.
  If no devices become available, reconfigure udev or disable
 AutoAddDevices.
 [  1815.781] (II) Loader magic: 0x8254bc0
 [  1815.781] (II) Module ABI versions:
 [  1815.781] X.Org ANSI C Emulation: 0.4
 [  1815.781] X.Org Video Driver: 14.1
 [  1815.781] X.Org XInput driver : 19.1
 [  1815.781] X.Org Server Extension : 7.0
 [  1815.789] (--) PCI:*(0:0:2:0) 80ee:beef:: rev 0, Mem @
 0xe000/16777216
 [  1815.789] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file
 or directory)
 [  1815.790] Initializing built-in extension Generic Event Extension
 [  1815.791] Initializing built-in extension SHAPE
 [  1815.793] Initializing built-in extension MIT-SHM
 [  1815.795] Initializing built-in extension XInputExtension
 [  1815.796] Initializing built-in extension XTEST
 [  1815.798] Initializing built-in extension BIG-REQUESTS
 [  1815.799] Initializing built-in extension SYNC
 [  1815.800] Initializing built-in extension XKEYBOARD
 [  1815.801] Initializing built-in extension XC-MISC
 [  1815.802] Initializing built-in extension XINERAMA
 [  1815.804] Initializing built-in extension XFIXES
 [  1815.805] Initializing built-in extension RENDER
 [  1815.806] Initializing built-in extension RANDR
 [  1815.807] Initializing built-in extension COMPOSITE
 [  1815.809] Initializing built-in extension DAMAGE
 [  1815.810] Initializing built-in extension MIT-SCREEN-SAVER
 [  1815.811] Initializing built-in extension DOUBLE-BUFFER
 [  1815.813] Initializing built-in extension RECORD
 [  1815.814] Initializing built-in extension DPMS
 [  1815.816] Initializing built-in extension X-Resource
 [  1815.817] Initializing built-in extension XVideo
 [  1815.818] Initializing built-in extension XVideo-MotionCompensation
 [  1815.820] Initializing built-in extension XFree86-VidModeExtension
 [  1815.821] Initializing built-in extension XFree86-DGA
 [  1815.822] Initializing built-in extension XFree86-DRI
 [  1815.823] Initializing built-in extension DRI2
 [  1815.823] (II) LoadModule: glx
 [  1815.824] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
 [  1815.824] (II) Module glx: vendor=X.Org Foundation
 [  1815.824] compiled for 1.14.3, module version = 1.0.0
 [  1815.824] ABI class: X.Org Server Extension, version 7.0
 [  1815.824] (==) AIGLX enabled
 [  1815.825] Loading extension GLX
 [  1815.825] (==) Matched vboxvideo as autoconfigured driver 0
 [  1815.825] (==) Matched vesa as autoconfigured driver 1
 [  1815.825] (==) Matched modesetting as autoconfigured driver 2
 [  1815.825] (==) Matched fbdev as autoconfigured driver 3
 [  1815.825] (==) Assigned the driver to the xf86ConfigLayout
 [  1815.825] (II) LoadModule: vboxvideo
 [  1815.826] (WW) Warning, couldn't open module 

Re: [blfs-support] Ways to convert a .doc to something more civil.

2013-12-06 Thread Armin K.
On 12/06/2013 10:30 PM, Aleksandar Kuktin wrote:
 Hi all!
 
 Is there a way to convert .doc documents to something else (preferably
 PDF) WITHOUT using *Office?
 
 The thing is that I have moved to new harware, rebuilt most of (B)LFS,
 but would want to read these bunch of documents without first having to
 spend the entire weekend hacking OpenOffice. It has been 3 or 4 years
 since I last built it and I remember it not being a breeze.
 
 BTW, this e-mail is not signed because of a mixup with keys when I
 migrated to the new machine. I'll get them when I get back home for
 Christmas. I also forgot my SSL certificate files so now I can't really
 SSL around the net - at least untill I rebuild them. I *really* hope I
 remembered to bring the PGP keys for various packages I spent years
 collecting. Have to check that in the morning.
 

You could use AbiWord if you don't want to build entire Libreoffce.

But it seems that wv package (available in BLFS) could help you do what
you want.

See http://wvware.sourceforge.net/ wv Utilities. They recommend using
abiword executable though.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Building Thunderbird

2013-12-05 Thread Armin K.
On 5.12.2013 18:31, Dan McGhee wrote:
 The first thing is that the build bailed out on me because I didn't have
 gstreamer installed.  That's not listed in any of the dependencies.

 I just wanted to get a working Thunderbird so that I wouldn't have to
 keep rebooting to get to my e-mail.  I have it, but I want it built with
 all the system dependencies and right now it's not.  My troubles with
 NSS are documented in another thread.

 But I'm going to build it again, which leads to my next observation.

 In preparing for Firefox, the book, BLFS SVN, gives the procedure for
 linking it agains XULrunner.  (And I hope this isn't a mis-print, but
 that the build time for Firefox drops from 55 to .3 SBU's.
 Fantastic.).  The page for Thunderbird says nothing about XULrunner.
 I'm just making the assumption, and I would like someone to verify it,
 that since Thunderbird also employs the gekko-engine it will also link
 against XULrunner.  Is this correct?

 I want to minimize the number of 50+ SBU builds. :-)

 Thanks,
 Dan


You can't link thunderbird to an external version of xulrunner. First of 
all, versions differ and second, I believe thunderbird uses some custom 
modifications or addition to the engine itself.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] inkscape and latest gc

2013-12-01 Thread Armin K.
FYI, Inkscape configure fails with gc 7.4. Following sed fixes it:

sed s:extern unsigned GC_version:unsigned GC_version =
GC_get_version(): -i configure
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] inkscape and latest gc

2013-12-01 Thread Armin K.
On 12/01/2013 05:07 PM, Armin K. wrote:
 On 12/01/2013 04:51 PM, Fernando de Oliveira wrote:
 BTW, I think that inkscape is also affected by the new freetype. If you
 have time and do not mind, would you please test the attached patch?
 That way, I will fix both, after updating gc, depending on your reply.

Thanks for that one, I've also hit the same problem.

 
 However, my sed only fixes the configure part. The package still fails
 at building part, and I need to figure that one out.
 
 

Fix attached. It looks like one of the functions in Gc got a constified
pointer in 7.4, where in 7.2 it wasn't marked as constant. g++ detected
invalid conversion and that's why it failed.
diff -Naur a/configure b/configure
--- a/configure	2012-12-15 17:56:08.450334780 +0100
+++ b/configure	2013-12-01 17:34:15.643762526 +0100
@@ -8959,8 +8959,8 @@
 			# include gc.h
 			#endif
 			#include stdio.h
-			extern unsigned GC_version;
 			int main(void){
+unsigned GC_version = GC_get_version();
 unsigned min = ((6  16) | (4  8) | 0);
 printf(%d.%d.%d ,GC_version  16, (GC_version  8)  0xFF, GC_version  0xFF);
 if (GC_version=min) return 0;
diff -Naur a/configure.ac b/configure.ac
--- a/configure.ac	2012-12-15 17:50:19.205918190 +0100
+++ b/configure.ac	2013-12-01 17:33:57.903433873 +0100
@@ -263,8 +263,8 @@
 			# include gc.h
 			#endif
 			#include stdio.h
-			extern unsigned GC_version;
 			int main(void){
+unsigned GC_version = GC_get_version();
 unsigned min = ((6  16) | (4  8) | 0);
 printf(%d.%d.%d ,GC_version  16, (GC_version  8)  0xFF, GC_version  0xFF);
 if (GC_version=min) return 0;
diff -Naur a/src/gc-core.h b/src/gc-core.h
--- a/src/gc-core.h	2012-02-14 04:22:17.670697000 +0100
+++ b/src/gc-core.h	2013-12-01 17:32:03.286326073 +0100
@@ -57,7 +57,7 @@
CleanupFunc *old_func,
void **old_data);
 int (*general_register_disappearing_link)(void **p_ptr,
-  void *base);
+  const void *base);
 int (*unregister_disappearing_link)(void **p_ptr);
 std::size_t (*get_heap_size)();
 std::size_t (*get_free_bytes)();
diff -Naur a/src/gc.cpp b/src/gc.cpp
--- a/src/gc.cpp	2012-02-14 04:22:17.670697000 +0100
+++ b/src/gc.cpp	2013-12-01 17:32:03.286326073 +0100
@@ -70,8 +70,8 @@
 return base + debug_base_fixup();
 }
 
-int debug_general_register_disappearing_link(void **p_ptr, void *base) {
-char *real_base=reinterpret_castchar *(base) - debug_base_fixup();
+int debug_general_register_disappearing_link(void **p_ptr, const void *base) {
+const char *real_base=reinterpret_castconst char *(base) - debug_base_fixup();
 return GC_general_register_disappearing_link(p_ptr, real_base);
 }
 
@@ -90,7 +90,7 @@
 }
 }
 
-int dummy_general_register_disappearing_link(void **, void *) { return false; }
+int dummy_general_register_disappearing_link(void **, const void *) { return false; }
 
 int dummy_unregister_disappearing_link(void **/*link*/) { return false; }
 
@@ -202,7 +202,7 @@
 die_because_not_initialized();
 }
 
-int stub_general_register_disappearing_link(void **, void *) {
+int stub_general_register_disappearing_link(void **, const void *) {
 die_because_not_initialized();
 return 0;
 }
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-support] Lots of problems with Firefox

2013-12-01 Thread Armin K.
On 12/01/2013 08:45 PM, Richard wrote:
 
 I have recently installed LFS 7.4, and I have
 also installed various packages from the BLFS
 book that are identified as compatible with
 LFS 7.4. One of the packages I installed was
 Firefox-23.0.1. I believe I have also installed
 all the required and recommended dependencies
 for it.
 
 When I first start up Firefox I get the following
 message:
 
 (process:1035): GLib-CRITICAL **: g_slice_set_config: assertion 
 `sys_page_size == 0' failed
 

I do see this message too. As Igor says, it's a problem with Glib 2.36+.
But I haven't got any other errors that you got. FF worked fine ever
since I upgraded to Glib 2.36. This is x86_64 though.

 When I go on a news site at:
 www.cbc.ca/thenational/watch/, I get a bunch
 of error messages like:
 
 (plugin-container:1120): Gtk-CRITICAL **: IA__gtk_widget_get_visual: 
 assertion `GTK_IS_WIDGET (widget)' failed
 
 (plugin-container:1120): Gdk-CRITICAL **: IA__gdk_colormap_new: assertion 
 `GDK_IS_VISUAL (visual)' failed
 
 (plugin-container:1120): Gdk-CRITICAL **: IA__gdk_colormap_alloc_colors: 
 assertion `GDK_IS_COLORMAP (colormap)' failed
 
 (plugin-container:1120): Gtk-CRITICAL **: IA__gtk_widget_modify_bg: 
 assertion `GTK_IS_WIDGET (widget)' failed
 
 These errors occur before I try to watch anything.
 When I click on a video to watch it, Firefox hangs
 up and I just have to kill the process. The final
 logs I am able to see on the screen are lines like:
 
 ###!!! [Parent][RPCChannel] Error: Channel error: cannot send/recv
 
 Before starting on LFS 7.4 I have been using
 LFS 7.2 with Firefox-16.0.1, and I did not have
 any problems watching videos on this site.
 
 Does anyone have an idea what the problem(s) might
 be with Firefox-23.0.1?
 
 Richard
 

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Xorg and dbus

2013-11-30 Thread Armin K.
On 30.11.2013 15:48, Dan McGhee wrote:
 There are many packages in BLFS whose purpose and functions I don't
 really understand.  Even when I try to learn about them the descriptions
 are cryptic and I still have questions.  Dbus is one of those.

 I've installed it because it was a dependency for either dhcpcd or
 wpa_supplicant.  But now that I have it, I want to make it earn its
 keep.  I know that it allows one application to talk to another one,
 but that's the extent of my knowledge.

 While looking for something else, I discovered a configure switch in
 xorg-serverenable-config-dbus.  I'm thinking about re-building the
 server with this enabled.  What gain or advantage is there? Would

No. It's obsoleted by udev.

 someone please give me an example?  One thing that I thought of was it
 might be useful when I build network manager.  If my thinking is

That's only true for wpa_supplicant. NM uses DBus to communicate with it.

 correct, then network manager in graphics mode, xorg, my window manager
 and wpa_supplicant could all talk back and forth to one another.  Am I
 on the right track or is this over-simplified? Or is it irrelevant?  :)


XServer and DBus are no-go on Linux anymore. I believe that DBus was 
necessarry for communication with HAL (back in its days), but HAL is 
long obsolete on Linux.

 Thanks,
 Dan


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] The dreaded Cannot open Xorg.o.log

2013-11-30 Thread Armin K.
On 30.11.2013 18:22, Dan McGhee wrote:
 For the first time in my LFS life I got this message.  Just so people
 can roll their eyes, but also to provide info, I use the Package Users
 system.  This error, I thought, came from faulty permissions, ls -alQ
 gives:

 -rwsr-sr-x  1 10118 10118 12630128 Nov 29 15:27 Xorg

 Where user and group 10118 are xorg-server.

 I get a number of other messages when I use startx, but this one is
 the first message and it's the only Fatal server error message.  Since
 I have no log, I don't know where to begin to troubleshoot.  The only
 other obvious thing is something about which I've never thought before.
 There is a link /usr/bin/X --/usr/bin/Xorg that is not suid.  The
 link is executable by all and I've never thought about the need to make
 a link suid.

 Anyway, I just need some suggestions on where to look for the problem.
 I installed everything in Ch. 24 of BLFS-SVN and non-root.  I've never
 encountered this situation before and am stumped.  My only goal right
 now is to get the server up and running even if nothing else works.

 Thanks,
 Dan




XServer executable *needs* to be setuid root (It's important that's also 
owned by root:root).

Also, links can't be setuid. Links have same permissions as the thing 
they are symlink to.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] MesLib Test Failures

2013-11-29 Thread Armin K.
On 11/29/2013 04:22 PM, Dan McGhee wrote:
 make  check-TESTS
 make[4]: Entering directory 
 `/usr/src/MesaLib-9.2.3/Mesa-9.2.3/src/gallium/state_trackers/xvmc'
 make[5]: Entering directory 
 `/usr/src/MesaLib-9.2.3/Mesa-9.2.3/src/gallium/state_trackers/xvmc'
 ../../../../bin/test-driver: line 95: 24915 Segmentation fault  
 $@  $log_file 21
 FAIL: tests/test_subpicture
 ../../../../bin/test-driver: line 95: 24914 Segmentation fault  
 $@  $log_file 21
 FAIL: tests/test_blocks
 ../../../../bin/test-driver: line 95: 24912 Segmentation fault  
 $@  $log_file 21
 FAIL: tests/test_context
 ../../../../bin/test-driver: line 95: 24916 Segmentation fault  
 $@  $log_file 21
 FAIL: tests/test_rendering
 ../../../../bin/test-driver: line 95: 24913 Segmentation fault  
 $@  $log_file 21
 FAIL: tests/test_surface
 make[6]: Entering directory 
 `/usr/src/MesaLib-9.2.3/Mesa-9.2.3/src/gallium/state_trackers/xvmc'
 make[6]: Nothing to be done for `all'.
 This was followed by the summary:
 Testsuite summary for Mesa 9.2.3
 
 # TOTAL: 5
 # PASS:  0
 # SKIP:  0
 # XFAIL: 0
 # FAIL:  5
 # XPASS: 0
 # ERROR: 0
 
 See src/gallium/state_trackers/xvmc/test-suite.log
 Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa

You could just add --disable-xvmc. I believe that nobody uses XvMC these
days, vdpau and vaapi made it more or less obsolete. No distros build it
anymore.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Proprietary Radeon Driver

2013-11-28 Thread Armin K.
On 28.11.2013 15:05, Dan McGhee wrote:

 I'm belaboring this point in case any other LFS'ers get this chip. I'm
 really careful when it comes to recent AMD-Radeon graphics. Not knowing
 the incompatibility between Xorg and the recent chips, I burned up three
 laptops. Apparently, one of the lacks in those drivers is temperature
 sensing or fan management. So, I decided that until I could verify
 beyond a shadow of a doubt that an Xorg driver supported my chip, I was
 going to use the proprietary driver.


Kernels 3.11 and 3.12 include (very good) power management for OSS 
radeon driver. It's not enabled by default though. Use radeon.dpm=1 
kernel parameter. You need whatever_dpm.bin microcode (firmware) for 
your model for dpm to work though.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] error compiling cups-filter-1.0.35 !!

2013-08-23 Thread Armin K.
On 08/23/2013 09:51 PM, Sirsendu Roy wrote:
 Hello All,
 I have installed cups-1.6.3 and then tried to install the
 cups-filter-1.0.35 but I am getting this error while compiling. There
 was no error in configuration only when compiling.
 
 
 
 
 In file included from /usr/include/poppler/Object.h:333:0,
  from filter/pdftoopvp/pdftoopvp.cxx:23:
 /usr/include/poppler/Stream.h:448:3: Anmerkung:
 FileStream::FileStream(GooFile*, Goffset, GBool, Goffset, Object*)
 /usr/include/poppler/Stream.h:448:3: Anmerkung:   keine bekannte
 Umwandlung für Argument 1 von »FILE* {aka _IO_FILE*}« nach »GooFile*«
 /usr/include/poppler/Stream.h:445:7: Anmerkung:
 FileStream::FileStream(const FileStream)
 /usr/include/poppler/Stream.h:445:7: Anmerkung:   Kandidat erwartet 1
 Argument, 5 angegeben
 make[1]: *** [pdftoopvp-pdftoopvp.o] Fehler 1
 make[1]: Leaving directory `/sources/cups-filters-1.0.35'
 make: *** [all] Fehler 2
 
 
 Regards,
 Roy
 
 This is a signature message which indicates that this email is not spam
 
 

1.0.35 instructions included a patch which you needed to apply. It is
included in the current 1.0.36 source which is in the book.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] KDE Print option in System settings

2013-08-22 Thread Armin K.
On 08/22/2013 11:56 AM, Sirsendu Roy wrote:
 Hallo All,
 I do not see any printer setting options in the system  settings in KDE
 desktop.
 I have intalled all the KDE packages successfully.
 What I need to do in order have this option in KDE?
 Thanks,
 Roy
  
 This is a signature message which indicates that this email is not spam
 
 

Install print-manager package from the same location where all KDE
packages are downloaded from. Its version matches kde version. Standard
install instructions apply.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] gnome-power-manager-3.8.2

2013-08-21 Thread Armin K.
On 08/21/2013 04:11 PM, lux-integ wrote:
 Greetings
 
 I am trying to get gnome-power-manager-3.8.2
 ( 
 http://www.linuxfromscratch.org/blfs/view/svn/gnome/gnome-power-manager.html 
 )
 to install and keep running into this:-
 
 make[2]: Leaving directory `/home/linteg/gnome-power-manager-3.8.2/po'
 Making all in man
 make[2]: Entering directory `/home/linteg/gnome-power-manager-3.8.2/man'
 docbook2man gnome-power-statistics.sgml  /dev/null
 make[2]: *** [gnome-power-statistics.1] Error 8
 make[2]: Leaving directory `/home/linteg/gnome-power-manager-3.8.2/man'
 
 
 
 I have docbook-utils-0.6.14 installed and I dont say any switches  in the 
 configure script of  gnome-power-manager-3.8.2
 to disable-manpages or somesuch
 
 advice would be appreciated
 
 sincerely
 luxInteg
 

Rename /usr/bin/sgmlspl.pl to /usr/bin/sgmlspl
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] Hardware accelerated video decoding libraries and drivers

2013-08-20 Thread Armin K.
Hello,

I'd like to add several new packages to BLFS to enable hardware
accelerated video decoding for some packages.

VDPAU [1]: libvdpau and libvdpau-va-gl
VAAPI [2]: libva, libva-intel-driver and libva-vdpau-driver

gstreamer-vaapi, GStreamer backend for libva, currently used by Totem.

gst{,10}-plugins-bad provide GStreamer backend for libvdpau, no known
user yet.

Only Intel cards use libva directly, but there is vdpau backend to make
libva use vdpau drivers for cards that don't support libva.

libvdpau is used by Nvidia (proprietary), nouveau (opensource Nvidia)
and AMD Radeon (r300 (Over 3D engine) and R600 through Southern Islands
(over UVD (universal video decoding))). Open Source vdpau drivers are
provided in Mesa package.

libvdpau-va-gl offers a bridge for vdpau apps to use libva for hardware
decoding (similar to libva-vdpau-driver).

Current app in BLFS that has good VAAPI support is VLC. VDPAU backend is
also present, but in 2.1 which isn't yet released. FFmpeg and xine-lib
are other packages which can enable libva support.

Current app in BLFS which has good VDPAU support is MPlayer. Adobe Flash
also uses VDPAU and from my experience it lowers CPU usage a lot.

Of course, as I mentioned earlier, you can use libva hardware video
decoding with vdpau aware apps and vice versa.

Opinions?

[1] https://en.wikipedia.org/wiki/VDPAU
[2] https://en.wikipedia.org/wiki/Video_Acceleration_API
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Okular- Cannot open Pdf document in Okular

2013-08-18 Thread Armin K.
On 08/18/2013 11:34 AM, Sirsendu Roy wrote:
 Hello All,
 I have built the KDE Desktop successfully and writing this email from
 the compiled firefox browser !
 I have installed poppler with pdf support. But when I now try to open a
 pdf document in Ocular I am getting always the message
   No suitable plugin module to handle the document is available .
 I have tried kbuildsycoca4 as explained in KDE website but with no result.
 Thanks for the help,
 Regards,
 Roy
 
  
 This is a signature message which indicates that this email is not spam
 
 

Have you built Poppler with Qt4 support? ls /usr/lib/libpoppler-qt4.so
- does this give any output?
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Error- Dolphin Could not find mime types

2013-08-16 Thread Armin K.
On 08/16/2013 12:23 PM, Sirsendu Roy wrote:
 
 Hello All,
 When I am starting KDE as normal user I am getting this Dolphin error :
 Could not find mime types inode/directory , inode/blockdevice,
 inode/chardevice and so on.
 I have reinstalled shared-mime info, did update-mime-database /usr/share
 , but with no result .  I have added the /usr/share to XDG_DATA_DIRS
 variable as well but nothing helped.
 my locale is german.
 
 Thanks for the help.
 Regards,
 Roy
 This is a signature message which indicates that this email is not spam
 
 

Try running update-mime-database /usr/share/mime

If you installed KDE into prefix other than /usr, run
update-mime-database $KDE_PREFIX/share/mime

Also, if your prefix is other than /usr, you need to add
KDE_PREFIX/share to XDG_DATA_DIRS
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Error- Dolphin Could not find mime types

2013-08-16 Thread Armin K.
On 16.8.2013 14:31, Sirsendu Roy wrote:

 Ok, Now it works.
 I think this it better these points in the online book when installation
 the shared-mime-info package.
   Can you please tell me why the file /var/run/dbus/pid always exists
 when I shutdown the computer or reboot ?
 When i start the computer everytime the dbus deamon fail to lunch as
 this file exists and I need to manually remove the file and then start
 dbus deamon again.
 What I have to do so that this file is automatically deleted when  I
 shutdown or reboot my computer?
 Thanks,
 Roy


Impossible. /var/run should be symlink to /run, which is on tmpfs, so 
it's cleared on each reboot.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] ant-1.9.2 wont compile

2013-08-16 Thread Armin K.
On 16.8.2013 16:31, lux-integ wrote:
 Greetings

 I am attempting to build ant-1.9.2 on a machine with an amd64 cpu.

 I am using the recipe given here:-


 http://www.linuxfromscratch.org/blfs/view/svn/general/apache-ant.html

 ( I do not hae junit4.11 and I decided to break the junit:ant circular
 dependency by installing ant frst .I  edited  builsxml as per the sed in the
 blfs link namely:-
 sed -i 's/jars,test-jar/jars/' build.xml

 On my first go I had jdk1.7.0 (downloaded fro the sun/oracle) installed   and
 I got this when I run

 ./build.sh -Ddist.dir=/opt/ant-1.9.2 dist


 #-
 ..Bootstrapping Ant Distribution
 ../bootstrap.sh:  line 128:  /opt/jdk1.7/bin/javac no such file ro directory
 --failed compiling of ant classes !
 Bootstrap failed

 #-


 I checked and the /opt/jdk1.7/bin/javac does exist.

 I then tried annther java 'distribution:
 OpenJDK-1.7.0.40-x86_64-bin.tar.xz
 ( http://www.linuxfromscratch.org/blfs/view/svn/general/java.html#java-bin )
 and obtained the same result

 advice would be appreciated

 sincerely
 luxInteg


Is /lib64 symlink to /lib and did you 100% download 64bit OpenJDK binary?

Such error when file is present can only mean one of the two mentioned.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Need help with libass install

2013-08-16 Thread Armin K.
On 08/16/2013 10:25 PM, Dave Wagler wrote:
 I get this error:
 
 checking for FRIBIDI... configure: error: Package requirements (fribidi
= 0.19.0) were not met:
 
 No package 'fribidi' found
 
 you may set the environment variables FRIBIDI_CFLAGS
 and FRIBIDI_LIBS to avoid the need to call pkg-config.
 
 I just can't figure out how to write the configure command to suppress
 this check.
 
 Thanks for any help.
 
 Dave
 
 

Install fribidi, maybe?

You can't avoid required dependencies.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Error installing FAAD2

2013-08-14 Thread Armin K.
On 08/14/2013 05:38 PM, Dave Wagler wrote:
 When installing faad2-2.7 this happens:
 
 $ patch -Np1 -i ../faad2-2.7-mp4ff-1.patch 
  autoreconf -fi
 patching file common/mp4ff/Makefile.am
 aclocal: warning: autoconf input should be named 'configure.ac
 http://configure.ac', not 'configure.in http://configure.in'
 configure.in:28 http://configure.in:28: error: 'AM_CONFIG_HEADER':
 this macro is obsolete.
 You should use the 'AC_CONFIG_HEADERS' macro instead.
 /usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is
 expanded from...
 configure.in:28 http://configure.in:28: the top level
 autom4te: /usr/bin/m4 failed with exit status: 1
 aclocal: error: echo failed with exit status: 1
 autoreconf: aclocal failed with exit status: 1
 
 
 Help?
 
 Thanks,
 Dave
 
 

Try using sed -i s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g configure.in
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] compile problem libmad-0.15.1b

2013-08-14 Thread Armin K.
On 08/14/2013 12:18 PM, Sirsendu Roy wrote:
 Hello All,
 I was trying to compile the  libmad-0.15.1b package but when I run make
 I got the following error :
 
 -
 configure.ac:31: error: 'AM_CONFIG_HEADER': this macro is obsolete.
 You should use the 'AC_CONFIG_HEADERS' macro instead.
 /usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded
 from...
 configure.ac:31: the top level
 autom4te: /usr/bin/m4 failed with exit status: 1
 aclocal: error: echo failed with exit status: 1
 make: *** [aclocal.m4] Fehler 1
 
 
 Then when I have changed the macro to AC_CONFIG_HEADERS and then
 configured and ran make and got this error :
 
 ---
 ./libtool: line 748: *** Future versions of Libtool will require
 -mode=MODE be specified.: command not found
 ./libtool: line 780: : warning: cannot infer operation mode without
 MODE-ARGS: command not found
 ./libtool: line 6590: : you must specify a MODE: command not found
 ./libtool: line 6591: Try ` --help' for more information.: command not found
 ./libtool: line 597: X--mode=compile: command not found
 ./libtool: line 747: *** Warning: inferring the mode of operation is
 deprecated.: command not found
 ./libtool: line 748: *** Future versions of Libtool will require
 -mode=MODE be specified.: command not found
 ./libtool: line 891: Xgcc: command not found
 ./libtool: line 891: X-DHAVE_CONFIG_H: command not found
 ./libtool: line 891: X-I.: command not found
 ./libtool: line 891: X-I.: command not found
 ./libtool: line 891: X-I.: command not found
 ./libtool: line 891: X-DFPM_INTEL: command not found
 ./libtool: line 891: X-DASO_ZEROCHECK: command not found
 ./libtool: line 891: X-Wall: command not found
 ./libtool: line 891: X-g: command not found
 ./libtool: line 891: X-O2: command not found
 ./libtool: line 891: X-MT: command not found
 ./libtool: line 891: Xversion.lo: command not found
 ./libtool: line 891: X-MD: command not found
 ./libtool: line 891: X-MP: command not found
 ./libtool: line 891: X-MF: command not found
 ./libtool: line 891: X.deps/version.Tpo: No such file or directory
 ./libtool: line 891: X-c: command not found
 ./libtool: line 939: Xversion.lo: command not found
 ./libtool: line 944: : compile: cannot determine name of library object
 from `': command not found
 make[2]: *** [version.lo] Fehler 1
 make[2]: Leaving directory `/sources/KDE/libmad-0.15.1b'
 make[1]: *** [all-recursive] Fehler 1
 make[1]: Leaving directory `/sources/KDE/libmad-0.15.1b'
 make: *** [all] Fehler 2
 
 ---
 
 my X11 directory is /usr/X11.
 
 Thanks for the help.
 Regards,
 Roy
 
 
 
  
 
 
 This is a signature message which indicates that this email is not spam
 
 

Try running autoreconf -fi instead of autoconf
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Segmentation fault in dmalloc installation

2013-08-14 Thread Armin K.
On 08/14/2013 07:35 PM, Dave Wagler wrote:
 While installing dmalloc both sh ./configure and make run without
 errors. Then the test command make light finishes like this:
 
 gcc  -o aout dmalloc_fc_t.o dmalloc_argv.o libdmalloc.a
 mv aout dmalloc_fc_t
 ./dmalloc_fc_t -s
 make: *** [light] Segmentation fault
 
 
 Am I right that this is serious and the install should not proceed?
 
 Dave
 
 

The package has been last updated in 2004. I doubt it is worth trying to
make it work when there are better alternatives for it.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Segmentation fault in dmalloc installation

2013-08-14 Thread Armin K.
On 08/14/2013 07:50 PM, Dave Wagler wrote:
 On Wed, Aug 14, 2013 at 12:37 PM, Armin K. kre...@email.com
 mailto:kre...@email.com wrote:
 
 On 08/14/2013 07:35 PM, Dave Wagler wrote:
  While installing dmalloc both sh ./configure and make run without
  errors. Then the test command make light finishes like this:
 
  gcc  -o aout dmalloc_fc_t.o dmalloc_argv.o libdmalloc.a
  mv aout dmalloc_fc_t
  ./dmalloc_fc_t -s
  make: *** [light] Segmentation fault
 
 
  Am I right that this is serious and the install should not proceed?
 
  Dave
 
 
 
 The package has been last updated in 2004. I doubt it is worth trying to
 make it work when there are better alternatives for it.
 
 What are the alternatives?
 
 

Depending for what you use it. For memory leak checking and such there
is Valgrind. For general debugging, there is GDB.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] on curl-7.30.0 and improper behaviour

2013-08-13 Thread Armin K.
On 08/13/2013 08:39 PM, lux-integ wrote:
 Greeetings,
 
 I have a computer wth these:
 
 --curl -70.30.0, cmake-2.8.11, openldap-2.4.35
 
 I notice each tme I call cmake I get  lines like these 
 
 /usr/local/bin/cmake: /usr/local/lib/libldap-2.4.so.2: no version information 
 available (required by /usr/lib/libcurl.so.4)
 /usr/local/bin/cmake: /usr/local/lib/liblber-2.4.so.2: no version information 
 available (required by /usr/lib/libcurl.so.4)
 
 though the cmake build  goes to completion.
 
 I recently tried building poppler-2.24.0.  As far as I know openldap is not a 
 depenfency of poppler but poppler failed to compile ending like  so:-
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_sasl_bind@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_get_dn_ber@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ber_sockbuf_add_io@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_unbind_ext@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_get_attribute_ber@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_parse_result@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_set_option@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_abandon_ext@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to `ldap_msgfree@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to `ldap_result@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_search_ext@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_get_option@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to `ber_memfree@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to `ldap_memfree@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_pvt_url_scheme2proto@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_next_message@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to `ber_free@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_err2string@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to `ldap_init_fd@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to `ldap_msgtype@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_free_urldesc@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_url_parse@OPENLDAP_2.4_2'
 /usr/lib64/libcurl.so.4: undefined reference to 
 `ldap_first_message@OPENLDAP_2.4_2'
 collect2: error: ld returned 1 exit status
 
 I would be grateful   for some advice
 
 a) i.e. whether to upgrade to a new version of cmake or curl or both and if 
 so 
 whether to yank out the old version(s) beforehand or just install over.
 
 Thanks in advnance
 
 sinceely
 luxInteg
 

Did you apply all OpenLDAP patches when you built ldap libraries? I
remember having similar issue, but I added a patch which fixes that
(symbol_versions)
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Don't have sound

2013-08-13 Thread Armin K.
On 13.8.2013 23:55, Dave Wagler wrote:
 My sound hardware is Realtek ACL892. The speakers are in an HDMI
 monitor. I have installed alsa-utils and xfce4-mixer.

 I did find a driver tarball on the Realtek website, but when I tried to
 build it, it quit with this error:

 The include file linux/autoconf.h does not exist.


 The tarball URL is:
 ftp://WebUser:AxPL9s3k@209.222.7.36/pc/audio/LinuxPkg_5.18.tar.bz2

 Can you give me any help?

 Dave


Well, I think HDMI audio is related to graphics driver, not sound card 
driver (mostly). For opensource radeon cards, it is disabled by default. 
For nVidia, you might need to use the proprietary driver. Not sure about 
Intel.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Trouble building LibreOffice-4.1.0

2013-08-11 Thread Armin K.
On 08/11/2013 03:19 PM, Dave Wagler wrote:
 On Mon, Aug 5, 2013 at 10:12 AM, Wayne Blaszczyk
 wblas...@bigpond.net.au mailto:wblas...@bigpond.net.au wrote:
 
 
 I have another issue now, It seems to not like neon-0.30.0.
 The following error occurs:
 .
 .
 .
 Reverting back to neon-0.29.6 overcomes this issue.
 
 Wayne.
 
 
 FYI, I had the same problem and fixed it the same way.
 
 Dave
 
 

Gentoo has a patch for that. If anyone can confirm that this works, I'll
add it to the book.

https://479604.bugs.gentoo.org/attachment.cgi?id=355004
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Question about the yajl installation

2013-08-10 Thread Armin K.
On 08/10/2013 09:43 PM, Dave Wagler wrote:
 These are the instructions for building yajl:
  
 
 Short story (If you already have ruby and cmake):
 
 ./configure  make install
 
 When things go wrong:
 
 attain CMake (http://www.cmake.org) and ruby (http://ruby-lang.org) and
 try again.
 
 OR, attain CMake and build by hand:
 
 1. mkdir build
 2. cd build
 3. cmake ..
 4. make
 5. build output left in yajl-X.Y.Z
 
 NOTE: for 64-bit systems where lib64 is used you can pass the cmake
   variable LIB_SUFFIX to cause installation into the system's
 'lib64'
   directory.
 
 best,
 lloyd
 
 
 I have a 64-bit system. Can someone explain how I accomplish what the
 NOTE says?
 
 Thanks,
 Dave
 
 

You don't need it. /usr/lib is default dir, /usr/lib64 is symlink to it,
so it's the same dir.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Error in installation instructions for unixDOBC-2.3.1

2013-08-10 Thread Armin K.
On 08/10/2013 11:16 PM, Dave Wagler wrote:
 This is the command and error message:
 
 $ sudo find doc -name Makefile* -exec rm {} \;
 find: paths must precede expression: Makefile.am
 Usage: find [-H] [-L] [-P] [-Olevel] [-D
 help|tree|search|stat|rates|opt|exec] [path...] [expression]
 
 
 This is the first command required after the _make install_. I saw no
 errors prior to this.
 
 Can you fix it?
 
 Thanks,
 Dave
 
 

find doc -name Makefile* -exec rm {} \;

It should be like this
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] CUPS on usb-based-printers question:-

2013-08-08 Thread Armin K.
On 08/08/2013 11:38 AM, lux-integ wrote:
 CUPS on usb-based-printers question:-
 
 libusb or in-kernel-usb
 Which is better for such printers?
 
 answers welcomed
 
 sincerely
 luxInteg
 

Both should work, but you may be better with kernel usb as someone
already pointed they use it without any problems.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Where are Xfce error messages

2013-08-08 Thread Armin K.
On 08/08/2013 04:05 PM, Dave Wagler wrote:
 When I close an Xfce session there are messages shown that are not in
 the Xorg log or any where else that I can find. Do you know where they
 should be logged and if there is a switch somewhere that turns the
 logging on and off?
 
 This is in a BLFS installation.
 
 Dave
 
 

If you run startxfce4 from a console, then messages are on stdout/stderr
(the console it's started from).
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Errors shutting down Xfce

2013-08-08 Thread Armin K.
On 08/08/2013 05:28 PM, Dave Wagler wrote:
 Trying to logoff from the Xfce desktop:
 Click on the desktop
 Type Alt-F4
 Click on Log out
 
 Xfce closes, the user session is _not_ logged out, and these errors show:
 
 ** (polkit-gnome-authentication-agent-1:1913): WARNING **: Unable to
 register authentication agent:
 GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine
 user of subject
 Cannot register authentication agent:
 GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine
 user of subject
 
 (xfce4-session:1891): GLib-WARNING **: GError set over the top of a
 previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL
 before it's set.
 The overwriting error message was:
 GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action
 org.freedesktop.login1.power-off is not registered
 
 Is there anything that can be done, either to eliminate the errors or
 have the logout complete properly?
 
 Thanks,
 Dave
 
 

It appears it looks for systemd which isn't installed on your system. At
least the org.freedesktop.login1 is provided by systemd logind.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Errors shutting down Xfce

2013-08-08 Thread Armin K.
On 08/08/2013 10:30 PM, Dave Wagler wrote:
 On Thu, Aug 8, 2013 at 1:34 PM, David B. l...@aba.eclipse.co.uk
 mailto:l...@aba.eclipse.co.uk wrote:
 
 
 You need to build xfce4-session with the switch --disable-systemd
 
 David
 
 
 That got rid of the errors. Thanks.
 
 Now the popup log out dialog has the Restart and Shutdown buttons grayed
 out. Are they only available when logged in as root? I did notice that,
 after the Xfce session is terminated (still logged in as the user), the
 shutdown command is not recognized. I have to 'su - root' or the
 equivalent to shutdown.
 
 Dave
 
 

Is consolekit started and working fine? Check Bruce's post from last night.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Errors shutting down Xfce

2013-08-08 Thread Armin K.
On 08/09/2013 12:39 AM, Dave Wagler wrote:
 
 
 Well, somehow I managed to do only half of the ConsoleKit configuration.
 Shutdown and restart now work fine. Only one more niggling detail in
 this line. Is the logoff button supposed to actually log the user off?
 It's just terminating Xfce, but leaving the terminal section logged in.
 
 

That's what every desktop does when started via console. If you use *dm,
it will get you to the login prompt again. In either case, it just
terminates the session.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Polkit configure doesn't recognize PAM

2013-08-07 Thread Armin K.
On 08/07/2013 01:21 PM, Dave Wagler wrote:
 On Wed, Aug 7, 2013 at 3:53 AM, Wayne Blaszczyk wblas...@bigpond.net.au
 mailto:wblas...@bigpond.net.au wrote:
 
 --with-authfw=shadow: This parameter configures the package to use the
 Shadow rather than the Linux PAM Authentication framework. Remove it if
 you would like to use Linux PAM.
 
 By default, without the --with-authfw paramter, it will build using pam
 authentication (I presume).
 
 From confingure --help:
 
   --with-authfw=nameAuthentication framework (none/pam/shadow)
 
 Regards,
 Wayne.
 
 
 From the Shadow package:
 
 Shadow was indeed installed in LFS and there is no reason to
 reinstall it unless you installed CrackLib or Linux-PAM after your
 LFS system was completed. If you have installed CrackLib after LFS,
 then reinstalling Shadow will enable strong password support. If you
 have installed Linux-PAM, reinstalling Shadow will allow programs
 such as *login* and *su* to utilize PAM.
 
 
 Which is the preferred authorization in polkit? Why?
 
 Dave
 
 

By default, shadow is installed without PAM in LFS. You can use it for
authentication UNLESS you WANT to install PAM in which case you rebuild
shadow with PAM support.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] No icons in thunar dialog

2013-08-07 Thread Armin K.
On 08/07/2013 09:12 PM, Igor Živković wrote:
 On 08/07/2013 08:39 PM, Dave Wagler wrote:
 On Wed, Aug 7, 2013 at 1:04 PM, Igor Živković cont...@igor-zivkovic.from.hr
 wrote:


 What are the contents of your ~/gtkrc-2.0 and/or /etc/gtk-2.0/gtkrc ?

 --
 Igor Živković


 This is all I've got:

 $ ls -l /etc/gtk-2.0
 total 8
 -rw-r--r-- 1 root root 1789 Jul 31 09:51 gtk.immodules
 -rw-r--r-- 1 root root  890 Jul 31 09:51 im-multipress.conf

 What am I missing?
 
 Review the configuration part on GTK+2 page. Download and install some 
 icon theme (you can put it in ~/.icons directory). Then tell GTK+ about 
 it like:
 
 cat  ~/.gtkrc-2.0  EOF
 gtk-icon-theme-name = icon_theme_name
 EOF
 

Or install gnome-icon-theme{,-symbolic} and gnome-themes-standard (don't
let the GNOME name there confuse you, they can be used anywhere) and
select themes through xfce4-settings - Appereance
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-support] configure.ac:44: error: must install xorg-macros 1.8 or later before running autoconf/autogen when building the glamor egl 0.5.0

2013-08-05 Thread Armin K.
On 08/05/2013 08:12 AM, Sirsendu Roy wrote:
 Hi Armin,
 Yes I did. My XORG_PREFIX=/usr/X11
 
 Regards,
 Roy
  

Use export ACLOCAL_FLAGS=-I $XORG_PREFIX/share/aclocal

Also, please don't top post and try to set up your e-mail client not to
auto cc me, I get two mails from you.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Trouble building LibreOffice-4.1.0

2013-08-04 Thread Armin K.
On 08/04/2013 04:34 AM, Wayne Blaszczyk wrote:
 Hi All,
 
 I'm having trouble building LibreOffice-4.1.0. Soon after 'make build'
 after all the src files are downloaded, I get the following error:
 
 /sources/libreoffice-4.1.0.4/bin/unpack-sources
 /sources/libreoffice-4.1.0.4
 /sources/libreoffice-4.1.0.4/src/libreoffice-translations-4.1.0.4.tar.xz
 /sources/libreoffice-4.1.0.4/bin/unpack-sources: Permission denied
  make: *** [get-submodules] Error 126
 
 These are the permissions of
 /sources/libreoffice-4.1.0.4/bin/unpack-sources:
 -rw-r--r-- 1 10003 100 2124 Jul 23 20:40
 /sources/libreoffice-4.1.0.4/bin/unpack-sources
 
 If I chmod 755 this file, I then get the following error:
 /sources/libreoffice-4.1.0.4/bin/unpack-sources
 /sources/libreoffice-4.1.0.4
 /sources/libreoffice-4.1.0.4/src/libreoffice-translations-4.1.0.4.tar.xz
 Error: /sources/libreoffice-4.1.0.4 is not a valid LibreOffice core
 source directory
 make: *** [get-submodules] Error 1
 
 This is all done in a chroot environment.
 Has anyone else had a similar issue?
 
 Thanks,
 Wayne.
 

I've built it on a running system, so I can't be of much help there.
But, did you extract the sources and create the symlinks as instructed
in the book?
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] improper boot behaviour

2013-08-04 Thread Armin K.
On 08/04/2013 07:04 PM, lux-integ wrote:
 greetings
 
 I recently built a clfs setup ( AMD64 cpu, kernel3.10.4  eudev-git).  I tried 
 two baords with radeon GPU's and in  both instances there is  quite a delay 
 in 
 coming to comand prompt after the console fonts change from large to small 
 during bootup.
 
 I later tried systemd(204 and 206 ) there the boot is a little faster to  
 login with the large console fonts  BUT then after several minutes it spews 
 some message to the screen and hangs as it  switches to small console fonts.
 
 Does anyone have any idea whats causing this improper boot behaviour?
 
 
 suggestions welcomed.
 
 luxInteg.
 

Maybe missing firmware? Also, CLFS has its own mailing lists.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] configure.ac:44: error: must install xorg-macros 1.8 or later before running autoconf/autogen when building the glamor egl 0.5.0

2013-08-04 Thread Armin K.
On 4.8.2013 21:32, Sirsendu Roy wrote:
 Hallo All,


   I have successfully build the lfs. and trying to follow the online
   BLFS book to create a complete Linux System.

 Everything went smoothly untill I came across  the build problem in the
 Glamor-egl-0.5.0 package.


   I am getting this following error message when building the Glamor
   EGL0.5.0 package.


   I have installed the patch and then when I tried with autoreconf
   -fi, I am getting this error:


   configure.ac:44: error: must install xorg-macros 1.8 or later
   before running autoconf/autogen


   According to your BLFS online book, xorg-macros 1.17 is installed,
   why it checks for 1.8 ?


 Hope to get a help soon.
 Thanks,
 Roy


 This is a signature message which indicates that this email is not spam



Let me guess, you installed Xorg into prefix other than /usr ?
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Cannot build gjs-1.36.1 with JS-17.0.0

2013-08-03 Thread Armin K.
On 08/03/2013 07:04 AM, Wayne Blaszczyk wrote:
 Hi,
 
 I get the following error:
 
 checking for GOBJECT... yes
 configure: error: Package requirements (gobject-introspection-1.0 libffi
 gmodule-2.0 gthread-2.0 gio-2.0 = 2.36.0 mozjs185) were not met:
 
 No package 'mozjs185' found
 
 Consider adjusting the PKG_CONFIG_PATH environment variable if
 youinstalled software in a non-standard prefix.
 
 Has anyone successfully built this package with JS17?
 
 Wayne.
 

You can't build official one. Book has different url.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Cannot build gjs-1.36.1 with JS-17.0.0

2013-08-03 Thread Armin K.
On 08/03/2013 01:04 PM, Wayne Blaszczyk wrote:
 On 03/08/13 18:18, Armin K. wrote:
 On 08/03/2013 07:04 AM, Wayne Blaszczyk wrote:
 Hi,

 I get the following error:

 checking for GOBJECT... yes
 configure: error: Package requirements (gobject-introspection-1.0 libffi
 gmodule-2.0 gthread-2.0 gio-2.0 = 2.36.0 mozjs185) were not met:

 No package 'mozjs185' found

 Consider adjusting the PKG_CONFIG_PATH environment variable if
 youinstalled software in a non-standard prefix.

 Has anyone successfully built this package with JS17?

 Wayne.


 You can't build official one. Book has different url.

 
 Oh, I didn't notice that.
 I have another package (0AD) that requires mozjs185 as well. It looks
 like I'll have to revert. Can the two versions of JS co-exist?
 
 Wayne.
 

Yes, they aren't compatible at all.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] atd-3.1.13 wont compile

2013-08-02 Thread Armin K.
On 08/02/2013 08:15 PM, lux-integ wrote:
 Greetings,
 
 I am trying to compile atd  (at-3.1.13 )
 http://www.linuxfromscratch.org/blfs/view/svn/general/at.html
 
 (my machine has amd64 cpu, gcc-4.8.2 kernel-3.10.4 )
 and I am using the instructions as in the blfs book.
 
 make ends like so
 
 ##
 atd.c: In function 'run_file':
 atd.c:509:2: error: #error No mail command specified.
  #error  No mail command specified.
   ^
 atd.c: In function 'run_loop':
 atd.c:527:10: warning: variable 'batch_queue' set but not used [-Wunused-but-
 set-variable]
  char batch_queue = '\0';
   ^
 make: *** [atd.o] Error 1
 
 
 
 help/advice would be appreciated
 
 sincerely
 
 luxInteg
 

Try installing mailx
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Fwd: Startx error server found

2013-08-01 Thread Armin K.
On 08/01/2013 09:50 AM, Pierre M.R. wrote:
 Daniela Socas wrote:
 I already have installed nouveau driver but it keeps going on radeon' 
 and i cant see the modules loaded cus the problem with lsmod.
 I deleted xorg.conf
 
 You may check the kernel config, in particular:
 -Device Drivers - Graphics Support
 AGP Support: AGP_NVIDIA=y
 DRI Support: DRM=y
 Nouveau Cards: DRM_NOUVEAU=y
 Framebuffer Support: FB_NVIDIA=y

This is something you DON'T want. Never, ever mix framebuffer drivers
with KMS ones.

 -Files systems - Pseudo filesystems
 PROC_FS=y
 

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] xfce errors and xterm malfunction

2013-08-01 Thread Armin K.
On 1.8.2013 23:13, Dave Wagler wrote:
 When I close an XFCE session the errors shown in the picture are
 displayed. I took a picture because I couldn't find them in a log file.
 The longer the session, the more errors. This is a link to the picture.

 https://www.dropbox.com/s/ydmjnfdoibypu5e/LFS_errors.JPG

 Also xterm isn't working right. When launched, it flashes on the screen
 for maybe 1/10 second, then gone. The weird thing is that it has started
 successfully twice, out of maybe 25 tries over multiple boots.

 Any help is appreciated; let me know what additional information I can
 supply.

 Dave



It appears your dbus isn't running. Check pgrep dbus-daemon output and 
see if its started. Also, do you have consolekit installed? Do you start 
xfce4 with startxfce4 --use-consolekit or whatever (should be documentet 
in the book)?
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] hwclock question

2013-07-31 Thread Armin K.
On 07/31/2013 12:29 PM, lux-integ wrote:
 I would be grateful if someone  could advise is /sbin/hwclock  generates a 
 pid 
 file when started or if  one has to do somethig like
 /bin/pidof /sbin/hwclock  somePIDfile  or some such. 
 
  I am trying to learn systemd on lfs/clfs/  and want to know what to do in   
 a 
 so-called systemd.service file for the hwclock..
 
 thanks in advance
 luxInteg
 

You don't need systemd service for hwclock. Systemd has timedated, a
daemon which handles the clock. man timedatectl or read online manual
page for that one (utc setting, clock setting, etc).
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Startx error server found

2013-07-31 Thread Armin K.
On 07/31/2013 07:25 PM, Daniela Socas wrote:
 I installed all X Packages but when i do startx i get this error (
 /var/log/Xorg.0.log )
   [30.475] (II) LoadModule: dri2
 [30.475] (II) Module dri2 already built-in
 [30.475] (II) LoadModule: glamoregl
 [30.518] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
 [30.727] (II) Module glamoregl: vendor=X.Org Foundation
 [30.727]compiled for 1.14.2, module version = 0.5.0
 [30.727]ABI class: X.Org ANSI C Emulation, version 0.4
 [30.727] (II) LoadModule: glx
 [30.727] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
 [30.786] (II) Module glx: vendor=X.Org Foundation
 [30.786]compiled for 1.14.2, module version = 1.0.0
 [30.786]ABI class: X.Org Server Extension, version 7.0
 [30.786] (==) AIGLX enabled
 [30.786] Loading extension GLX
 [30.786] (II) LoadModule: radeon
 [30.786] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
 [30.841] (II) Module radeon: vendor=X.Org Foundation
 [30.841]compiled for 1.14.2, module version = 7.1.0
 [30.841]Module class: X.Org Video Driver
 [30.841]ABI class: X.Org Video Driver, version 14.1
 [30.841] (II) RADEON: Driver for ATI Radeon chipsets:
 ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
 ATI Radeon Mobility X300 (M24) 3152 (PCIE),
 ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI),
 ATI Radeon X600 (RV380) 3E50 (PCIE),
 ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136,
 ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP),
 ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
 ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP),
 ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
 ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP),
 ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
 ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650,
 ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237,
 ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336,
 ATI Radeon IGP330M/340M/350M (U2) 4337,
 ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI),
 ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP),
 ATI Radeon X800PRO (R420) JI (AGP),
 ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP),
 ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP),
 ...
 ...
 ...  
 ATI FirePro (FireGL) Graphics Adapter,
 ATI FirePro (FireGL) Graphics Adapter,
 ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
 AMD Firestream 9350, ATI Radeon HD 5800 Series,
 ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series,
 ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series,
 ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
 ATI Mobility Radeon HD 5800 Series,
 ATI FirePro (FireGL) Graphics Adapter,
 ATI FirePro (FireGL) Graphics Adapter,
 ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series,
 ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
 ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
 ATI Mobility Radeon HD 5000 Series,
 ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
 ATI FirePro (FireGL) Graphics Adapter,
 ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670,
 ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD,
 ATI Mobility Radeon HD 5000 Series,
 ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics,
 ATI Mobility Radeon Graphics, CEDAR,
 ATI FirePro (FireGL) Graphics Adapter,
 ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR,
 ATI Radeon HD 5450, CEDAR, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
 
 CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
 AMD Radeon HD 6900 Series, AMD Radeon HD 6900 Series, CAYMAN,
 CAYMAN,
 CAYMAN, AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series,
 BARTS, BARTS, Mobility Radeon HD 6000 Series,
 Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS,
 AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series,
 AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
 TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
 TURKS,
 TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
 TURKS,
 CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS,
 CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, ARUBA,
 ARUBA,
 ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
 ARUBA,
 ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
 ARUBA,
 ARUBA, ARUBA, TAHITI, TAHITI, 

Re: [blfs-support] Glamor EGL question

2013-07-31 Thread Armin K.
On 07/31/2013 10:59 PM, Dave Wagler wrote:
 My computer has an Intel Core i5-3550 (Ivy Bridge) CPU with integrated
 graphics. I am building a BLFS system with an XFCE desktop. Is the
 Glamor EGL Xorg module useful in this situation?
 
 

No, it's only referenced on Xorg ATI Driver section.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] XFCE screen fonts

2013-07-31 Thread Armin K.
On 07/31/2013 10:44 PM, Dave Wagler wrote:
 I now have XFCE installed. Almost. It starts,the wallpaper and desktop
 icons are there, the mouse works, the keyboard is recognized. The
 problem is that instead of alphanum characters on the screen, there are
 just a whole lot of little rectangles. What did I miss?
 
 Also what's the best way to autostart XFCE when I login? Thanks.
 Dave
 
 

You might wanna install some truetype fonts as described here

http://www.linuxfromscratch.org/blfs/view/svn/x/xorg-config.html

Scroll down to Xft Font Protocol

If that persists, try redirecting startx output to a file and see if
there are any errors/warnings about Pango or Cairo (which handle the
fonts in GTK+2).
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


  1   2   3   4   5   >