[blfs-support] Xorg and dbus

2013-11-30 Thread Dan McGhee
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 
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 
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?  :)

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] 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] Xorg and dbus

2013-11-30 Thread Dan McGhee
On 11/30/2013 09:08 AM, Armin K. wrote:
 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

As usual, Armin, you have been quite helpful. Thanks.
Dan

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


[blfs-support] Missing old patches (xserver-1.13.2)

2013-11-30 Thread Thomas Trepl
Hi,

I'm running an experiment to get my old Matrox G550 dri accelerated 
again. Since the MGA support seems to be dropped after MesaLib 
7.11.2 and xserver 1.13.2, I try to downgrade but I miss following 
patches:

xorg-server-1.13.2-use_pixman_glyph_cache-1.patch
xorg-server-1.13.2-add_prime_support-1.patch

In the svn tree where the patches are collected i can find only

xorg-server-1.13.1-add_prime_support-1.patch

but this is only one of two patches and for a previous release.

Does someone have the two patches flying around?

Thanks,

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

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

2013-11-30 Thread Dan McGhee
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



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


[blfs-support] problem using BS or DEL key

2013-11-30 Thread Alexey Orishko
Hi folks,

I wonder if anyone could guess what's wrong with my text terminal.
I've recently built LFS-7.4 (32bit) and most of BLFS (I'm not using X
Windows, just text terminals only) on Atom D2550 motherboard, VGA display
resolution.

When I logged in if I try to edit bash command line by deleting symbol with
BS rest of the text line became solid white blocks.
The same happens if I edit in mcedit (editing in midnight commander). If I
scroll text garbage symbols scroll as well).
Same happens if I use DEL key, but not every time.
I also use loadkeys with no-latin1 (dunno if it might cause any trouble or
not).

Any hint, what might be wrong?

Regards,
Alexey
-- 
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] The dreaded Cannot open Xorg.o.log

2013-11-30 Thread akhiezer
 Date: Sat, 30 Nov 2013 11:22:01 -0600
 From: Dan McGhee beesn...@grm.net
 To: BLFS Support List blfs-support@linuxfromscratch.org
 Subject: [blfs-support] The dreaded Cannot open Xorg.o.log


Are you seeing literally the string 'Xorg.o.log' : shouldn't that be 
'Xorg.0.log' - i.e. the digit '0' (zero) and not a lowercase letter 
'o' ('oh').


 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.



One would normally see user/group names instead of numerical values: but 
depends 
on e.g. how your ls command is aliased. Have you got that 'xorg-server' user 
defined OK in /etc/{password,shadow,group,...} ? Iirc the hyphen may be being 
not 
liked.


 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.



It's quite normal for such links to have perms 777 - e.g.:
$ ll  /usr/bin/X
lrwxrwxrwx 1 [ ... ] /usr/bin/X - Xorg*
$
It's - broadly speaking - the perms/c on the pointed-to object that are what 
essentially controls access; you can experiment yourself with e.g. links to 
a simple script that echoes 'ola' or whatever - mess around with the 
perms/owners 
of link/script.



rgds,
akh



 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




--
-- 
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 old patches (xserver-1.13.2)

2013-11-30 Thread akhiezer
 From: Thomas Trepl tho...@linuxfromscratch.org
 To: blfs-support@linuxfromscratch.org
 Date: Sat, 30 Nov 2013 18:22:31 +0100
 Subject: [blfs-support] Missing old patches (xserver-1.13.2)

 Hi,

 I'm running an experiment to get my old Matrox G550 dri accelerated 
 again. Since the MGA support seems to be dropped after MesaLib 
 7.11.2 and xserver 1.13.2, I try to downgrade but I miss following 
 patches:



Quick google search:


 xorg-server-1.13.2-use_pixman_glyph_cache-1.patch
 xorg-server-1.13.2-add_prime_support-1.patch


http://www.mail-archive.com/patches@linuxfromscratch.org/msg02783.html

So you can lift from there, /or can likely trac(k) it/them down via wiki-trac.


rgds,
akh




 In the svn tree where the patches are collected i can find only

 xorg-server-1.13.1-add_prime_support-1.patch

 but this is only one of two patches and for a previous release.

 Does someone have the two patches flying around?

 Thanks,

 Thomas


--
-- 
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 old patches (xserver-1.13.2)

2013-11-30 Thread akhiezer
 Date: Sat, 30 Nov 2013 18:38:21 +
 From: lf...@cruziero.com (akhiezer)
 To: BLFS Support List blfs-support@linuxfromscratch.org
 Subject: Re: [blfs-support] Missing old patches (xserver-1.13.2)

  From: Thomas Trepl tho...@linuxfromscratch.org
  To: blfs-support@linuxfromscratch.org
  Date: Sat, 30 Nov 2013 18:22:31 +0100
  Subject: [blfs-support] Missing old patches (xserver-1.13.2)
 
  Hi,
 
  I'm running an experiment to get my old Matrox G550 dri accelerated 
  again. Since the MGA support seems to be dropped after MesaLib 
  7.11.2 and xserver 1.13.2, I try to downgrade but I miss following 
  patches:
 


 Quick google search:


  xorg-server-1.13.2-use_pixman_glyph_cache-1.patch
  xorg-server-1.13.2-add_prime_support-1.patch


 http://www.mail-archive.com/patches@linuxfromscratch.org/msg02783.html

 So you can lift from there, /or can likely trac(k) it/them down via 
 wiki-trac.


 rgds,
 akh



 
  In the svn tree where the patches are collected i can find only
 
  xorg-server-1.13.1-add_prime_support-1.patch
 
  but this is only one of two patches and for a previous release.


Just to perhaps clarify: the above url indicates that 
'xorg-server-1.13.2-add_prime_support-1.patch' is just linking-in 
'xorg-server-1.13.1-add_prime_support-1.patch':
--
+link xorg-server-1.13.1-add_prime_support-1.patch
--
 - i.e. (AIUI) is just re-using the '1.13.1' patch for the '1.13.2' case.


If this understanding is incorrect or incomplete then I'm sure someone'll 
holler and help better.


rgds,
akh



 
  Does someone have the two patches flying around?
 
  Thanks,
 
  Thomas


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



--
-- 
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 old patches (xserver-1.13.2)

2013-11-30 Thread akhiezer
 Date: Sat, 30 Nov 2013 18:46:16 +
 From: lf...@cruziero.com (akhiezer)
 To: BLFS Support List blfs-support@linuxfromscratch.org
 Subject: Re: [blfs-support] Missing old patches (xserver-1.13.2)

  Date: Sat, 30 Nov 2013 18:38:21 +
  From: lf...@cruziero.com (akhiezer)
  To: BLFS Support List blfs-support@linuxfromscratch.org
  Subject: Re: [blfs-support] Missing old patches (xserver-1.13.2)
 
   From: Thomas Trepl tho...@linuxfromscratch.org
   To: blfs-support@linuxfromscratch.org
   Date: Sat, 30 Nov 2013 18:22:31 +0100
   Subject: [blfs-support] Missing old patches (xserver-1.13.2)
  
   Hi,
  
   I'm running an experiment to get my old Matrox G550 dri accelerated 
   again. Since the MGA support seems to be dropped after MesaLib 
   7.11.2 and xserver 1.13.2, I try to downgrade but I miss following 
   patches:
  
 
 
  Quick google search:
 
 
   xorg-server-1.13.2-use_pixman_glyph_cache-1.patch
   xorg-server-1.13.2-add_prime_support-1.patch
 
 
  http://www.mail-archive.com/patches@linuxfromscratch.org/msg02783.html
 
  So you can lift from there, /or can likely trac(k) it/them down via 
  wiki-trac.
 
 
  rgds,
  akh
 
 
 
  
   In the svn tree where the patches are collected i can find only
  
   xorg-server-1.13.1-add_prime_support-1.patch
  
   but this is only one of two patches and for a previous release.


 Just to perhaps clarify: the above url indicates that 
 'xorg-server-1.13.2-add_prime_support-1.patch' is just linking-in 
 'xorg-server-1.13.1-add_prime_support-1.patch':
 --
 +link xorg-server-1.13.1-add_prime_support-1.patch
 --
  - i.e. (AIUI) is just re-using the '1.13.1' patch for the '1.13.2' case.


 If this understanding is incorrect or incomplete then I'm sure someone'll 
 holler and help better.


 rgds,
 akh



  
   Does someone have the two patches flying around?
  
   Thanks,
  
   Thomas
 


 - sorry for the, er, patchy responses: here's a more direct answer:

http://www.linuxfromscratch.org/patches/downloads/xorg-server/

(Yeah, I shoulda checked there first but kinda guessed you might've done so 
(not being sarc) and hit a site-down/unavail area since re-orgs c).


akh





--
-- 
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 old patches (xserver-1.13.2) [solved]

2013-11-30 Thread Thomas Trepl
Am Samstag, 30. November 2013, 18:50:34 schrieb akhiezer:
  Date: Sat, 30 Nov 2013 18:46:16 +
  From: lf...@cruziero.com (akhiezer)
  To: BLFS Support List blfs-support@linuxfromscratch.org
  Subject: Re: [blfs-support] Missing old patches (xserver-1.13.2)
  
   Date: Sat, 30 Nov 2013 18:38:21 +
   From: lf...@cruziero.com (akhiezer)
   To: BLFS Support List blfs-support@linuxfromscratch.org
   Subject: Re: [blfs-support] Missing old patches (xserver-1.13.2)
   
From: Thomas Trepl tho...@linuxfromscratch.org
To: blfs-support@linuxfromscratch.org
Date: Sat, 30 Nov 2013 18:22:31 +0100
Subject: [blfs-support] Missing old patches (xserver-1.13.2)

Hi,

I'm running an experiment to get my old Matrox G550 dri accelerated
again. Since the MGA support seems to be dropped after MesaLib
7.11.2 and xserver 1.13.2, I try to downgrade but I miss following
   
patches:
   Quick google search:
xorg-server-1.13.2-use_pixman_glyph_cache-1.patch
xorg-server-1.13.2-add_prime_support-1.patch
   
   http://www.mail-archive.com/patches@linuxfromscratch.org/msg02783.html
   
   So you can lift from there, /or can likely trac(k) it/them down via
   wiki-trac.
   
   
   rgds,
   akh
   
In the svn tree where the patches are collected i can find only

xorg-server-1.13.1-add_prime_support-1.patch

but this is only one of two patches and for a previous release.
  
  Just to perhaps clarify: the above url indicates that
  'xorg-server-1.13.2-add_prime_support-1.patch' is just linking-in
  'xorg-server-1.13.1-add_prime_support-1.patch':
  --
  +link xorg-server-1.13.1-add_prime_support-1.patch
  --
  
   - i.e. (AIUI) is just re-using the '1.13.1' patch for the '1.13.2' case.
  
  If this understanding is incorrect or incomplete then I'm sure someone'll
  holler and help better.
  
  
  rgds,
  akh
  
Does someone have the two patches flying around?

Thanks,

Thomas
 
  - sorry for the, er, patchy responses: here's a more direct answer:
 
 http://www.linuxfromscratch.org/patches/downloads/xorg-server/
 
 (Yeah, I shoulda checked there first but kinda guessed you might've done so
 (not being sarc) and hit a site-down/unavail area since re-orgs c).
 
 
 akh
 
 
 
 
 
 --

aaargh, why didn't I find that location?  Seems so that I have to check my 
looking-glasses...

Thanks akh!!

--
Thomas

-- 
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 Dan McGhee
On 11/30/2013 12:23 PM, Armin K. wrote:
 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
 XServer executable *needs* to be setuid root (It's important that's also
 owned by root:root).
I discovered that quite by accident when I ran chown root:root 
/usr/bin/Xorg. I had thought previously that Xorg needed to be only 
suid. I learned something.

Now X starts as root, but not as me. I get:

 Fatal server error:
 [ 700.680] (EE) xf86OpenConsole: Cannot open virtual console 7 
 (Permission denied)

This occurs, as I said, when I'm logged in as me and not root. I do not 
know what generates the xf86OpenConsole messages. Again it appears to 
be permissions, but I don't know where to look unless, perhaps, I need 
to change the ownership and/or permissions of the xf86 drivers that I 
installed--evdev, synaptics, fbdev and vesa.

I added myself to the tty group to get as far as the above error 
message. As me, the Xorg server couldn't access /dev/tty until I did.

 Also, links can't be setuid. Links have same permissions as the thing
 they are symlink to.
I thought that the symlink question might have been a crazy one when I 
asked it. At the time, my finding was cycling through all possible and 
obvious permission options.

Thanks again, Armin.

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 Dan McGhee
On 11/30/2013 12:32 PM, akhiezer wrote:
 Date: Sat, 30 Nov 2013 11:22:01 -0600
 From: Dan McGhee beesn...@grm.net
 To: BLFS Support List blfs-support@linuxfromscratch.org
 Subject: [blfs-support] The dreaded Cannot open Xorg.o.log

 Are you seeing literally the string 'Xorg.o.log' : shouldn't that be
 'Xorg.0.log' - i.e. the digit '0' (zero) and not a lowercase letter
 'o' ('oh').
I'm sorry, that was a type-o. (Notice not type-0. :) )
 Where user and group 10118 are xorg-server.

 One would normally see user/group names instead of numerical values: but 
 depends
 on e.g. how your ls command is aliased. Have you got that 'xorg-server' user
 defined OK in /etc/{password,shadow,group,...} ? Iirc the hyphen may be being 
 not
 liked.
I was copying and pasting from a terminal in my Ubuntu system. Right 
now that's where my e-mail is.

Thanks,
Dan

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


[blfs-support] OpenJDK-1.7.0.45/IcedTea-2.4.3 : /usr/bin/ld: cannot find -lX11

2013-11-30 Thread Magnus Larsson

Dear blfs-support@linuxfromscratch.org
 
I get an error when executing make, truing to build 
OpenJDK-1.7.0.45/IcedTea-2.4.3 as per  Beyond Linux® From Scratch - Version 
2013-11-29. http://www.linuxfromscratch.org/blfs/view/svn/general/openjdk.html
 
.../usr/bin/ld: cannot find -lX11 
 
I have an LFS/BLFS system with X11, Qt and KDE. I have X11 in /usr/X11. 
 
uname -a 
Linux lfs 3.10.1 #6 SMP Sat Sep 14 18:20:45 CEST 2013 x86_64 GNU/Linux
 
...
unset JAVA_HOME   
./autogen.sh  
./configure --with-jdk-home=/opt/OpenJDK-1.7.0.45-bin \
--with-version-suffix=blfs\
--enable-nss  \
--enable-pulse-java   \
--disable-system-kerberos \
--with-parallel-jobs=$(getconf _NPROCESSORS_ONLN) 
make

...
make[7]: Entering directory `/source/icedtea-2.4.3/openjdk-
boot/jdk/make/launchers'
=
LAUNCHER:policytool
MAIN_CLASS:  sun.security.tools.policytool.PolicyTool
ALL_ARGS:-J-ms8m  sun.security.tools.policytool.PolicyTool 
=
Rebuilding /source/icedtea-2.4.3/openjdk.build-boot/bin/policytool because of 
/source/icedtea-2.4.3/openjdk.build-
boot/tmp/sun/launcher/policytool/obj64/main.o
gcc -o /source/icedtea-2.4.3/openjdk.build-boot/bin/policytool -Xlinker -O1 -
Xlinker -version-script=../java/main/java/mapfile-amd64   -Xlinker -z -Xlinker 
defs -L/source/icedtea-2.4.3/openjdk.build-boot/lib/amd64 -Wl,-soname=lib.so  
-L /source/icedtea-2.4.3/openjdk.build-boot/lib/amd64/jli  -Wl,--allow-shlib-
undefined -Wl,-rpath -Wl,\$ORIGIN/../lib/amd64/jli -Wl,-rpath -Wl,
\$ORIGIN/../lib/amd64 -Wl,-rpath -Wl,\$ORIGIN/../jre/lib/amd64 \
/source/icedtea-2.4.3/openjdk.build-
boot/tmp/sun/launcher/policytool/obj64/main.o -lpthread  -L/usr/X11R6//lib64 -
lX11 -ljli  -ldl -lc
/usr/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status
make[7]: *** [/source/icedtea-2.4.3/openjdk.build-boot/bin/policytool] Error 1
make[7]: Leaving directory `/source/icedtea-2.4.3/openjdk-
boot/jdk/make/launchers'
make[6]: *** [build] Error 2
make[6]: Leaving directory `/source/icedtea-2.4.3/openjdk-
boot/jdk/make/sun/security/tools'
make[5]: *** [all] Error 1
make[5]: Leaving directory `/source/icedtea-2.4.3/openjdk-
boot/jdk/make/sun/security'
make[4]: *** [all] Error 1
make[4]: Leaving directory `/source/icedtea-2.4.3/openjdk-boot/jdk/make/sun'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/source/icedtea-2.4.3/openjdk-boot/jdk/make'
make[2]: *** [jdk-build] Error 2
make[2]: Leaving directory `/source/icedtea-2.4.3/openjdk-boot'
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory `/source/icedtea-2.4.3/openjdk-boot'
make: *** [stamps/icedtea-boot.stamp] Error 2
root@lfs /source/icedtea-2.4.3# 
 
I also notice the -L/usr/X11R6//lib64 statement in the output above, before 
/usr/bin/ld: cannot find -lX11  

Best regards,

Magnus Larsson
-- 
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 Dan McGhee
On 11/30/2013 02:44 PM, Armin K. wrote:
 On 30.11.2013 20:34, Dan McGhee wrote:
 On 11/30/2013 12:23 PM, Armin K. wrote:
 XServer executable *needs* to be setuid root (It's important that's also
 owned by root:root).
 I discovered that quite by accident when I ran chown root:root
 /usr/bin/Xorg. I had thought previously that Xorg needed to be only
 suid. I learned something.

 Now X starts as root, but not as me. I get:

 Fatal server error:
 [ 700.680] (EE) xf86OpenConsole: Cannot open virtual console 7
 (Permission denied)
 All what you mentioned should be fixed when you run chown root:root
 /usr/bin/Xorg and chmod 4755 /usr/bin/Xorg. Please note that if you run
 chown on a setuid executable, it loses its setuid bit, so it might be
 necessarry to set it again.
Oh, Armin, I had completely forgotten about that! Xorg thanks you. root 
thanks you. And I thank you. I can't believe how much I have forgotten 
in three years. Everything works well now--even the red, green and blue 
turning gears. :)

Now I'm ready to tackle the radeon proprietary driver.

Thanks again.

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] OpenJDK-1.7.0.45/IcedTea-2.4.3 : /usr/bin/ld: cannot find -lX11

2013-11-30 Thread Bruce Dubbs
Magnus Larsson wrote:

 Dear blfs-support@linuxfromscratch.org

 I get an error when executing make, truing to build
 OpenJDK-1.7.0.45/IcedTea-2.4.3 as per  Beyond Linux® From Scratch - Version
 2013-11-29. http://www.linuxfromscratch.org/blfs/view/svn/general/openjdk.html

 .../usr/bin/ld: cannot find -lX11

 I have an LFS/BLFS system with X11, Qt and KDE. I have X11 in /usr/X11.

The linker doesn't search there automatically.  You need to specify the 
location.  Try:

export LIBRARY_PATH=/usr/X11/lib


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