| View previous topic :: View next topic |
| Author |
Message |
IanBallantyne n00b

Joined: 04 Jan 2005 Posts: 52 Location: Austria
|
Posted: Tue Jan 04, 2005 10:29 am Post subject: problem and solution to updating x11-libs/libxklavier-1.04 |
|
|
Hi all,
I'm new to the forums and hope my post is in order here.
I've been running an update deep world on my gentoo 2004.2 system and ran into a problem updating libxklavier from 1.03 to 1.04-r1. The configure script stopped at the following lines:
checking for setlocale... yes
checking for X... libraries , headers /usr/X11R6/include
configure: error: The path /usr/X11R6/lib/X11/xkb does not denote the directory
!!! ERROR: x11-libs/libxklavier-1.04-r1 failed.
!!! Function econf, Line 447, Exitcode 1
Upon looking into this problem, I found that /usr/X11R6/lib/X11/xkb doesn't exist, and that xkb was not inside /usr/X11R6 at all, but was instead located at /usr/lib/X11/xkb. Further, examing the configure script, I found that it was looking for xkb in "$x_libraries/X11/xkb", where the $X_libraries translated to /usr/X11R6/lib/, so of course there was no xkb to be found.
The solution I used was to create a link in /usr/X11R6/lib, that being X11 -> /usr/lib/X11. While this did solve the problem and enable the build of libxklavier, I'm certain this is not really desirable.
Has any one else stumbled across this problem? Perhaps more importantly, is this a bug in Gentoo or x.org, or something else all together???
Ian |
|
| Back to top |
|
 |
HydroSan l33t


Joined: 04 Mar 2004 Posts: 764 Location: The Kremlin (aka Canada)
|
Posted: Sat Jan 08, 2005 12:15 am Post subject: |
|
|
Same issue for me. This is certainly reproducable on ~amd64.
Edit: BugZilla'd _________________ I was a Gangster for Capitalism, by Major General Smedley Butler.
Server status: Currently down, being replaced with fresh install - 20% completed. |
|
| Back to top |
|
 |
hjnenc Veteran


Joined: 15 Aug 2004 Posts: 1599 Location: Vienna, Austria
|
Posted: Sat Jan 08, 2005 6:02 am Post subject: |
|
|
| On my system (x86) the files are installed in /usr/X11R6/lib/X11 and /usr/lib/X11 is a symlink to /usr/X11R6/lib/X11. |
|
| Back to top |
|
 |
benow Tux's lil' helper


Joined: 02 Jun 2003 Posts: 84
|
Posted: Mon Jan 10, 2005 8:23 pm Post subject: fix |
|
|
| Code: | | ln -s /usr/lib/X11/ /usr/X11R6/lib |
to be concise... |
|
| Back to top |
|
 |
opopanax Apprentice

Joined: 30 Aug 2004 Posts: 244
|
Posted: Sun Jan 30, 2005 2:01 am Post subject: more reliable solution, I think: |
|
|
Change this line in /usr/portage/x11-libs/libxklavier/libxklavier-1.xx-r1.ebuild
| Code: |
src_compile() {
econf --with-xkb_base=/usr/X11R6/lib/X11/xkb \
$(use_enable doc doxygen) || die
emake || die "emake failed"
}
|
To this:
| Code: |
src_compile() {
econf --with-xkb_base=/usr/lib/X11/xkb \
$(use_enable doc doxygen) || die
emake || die "emake failed"
}
|
Worked like a charm for me...kinda cool, never "hacked" an ebuild before! |
|
| Back to top |
|
 |
toxicated n00b

Joined: 28 Mar 2003 Posts: 27 Location: Sweden
|
Posted: Fri Feb 25, 2005 1:57 pm Post subject: |
|
|
This worked for me (editing the ebuild):
| Code: |
src_compile() {
econf --with-xkb_base=/usr/lib64/X11/xkb \
$(use_enable doc doxygen) || die
emake || die "emake failed"
}
|
|
|
| Back to top |
|
 |
opopanax Apprentice

Joined: 30 Aug 2004 Posts: 244
|
Posted: Fri Feb 25, 2005 2:37 pm Post subject: |
|
|
| toxicated wrote: | This worked for me (editing the ebuild):
| Code: |
src_compile() {
econf --with-xkb_base=/usr/lib64/X11/xkb \
$(use_enable doc doxygen) || die
emake || die "emake failed"
}
|
|
...If you're on amd64, right? |
|
| Back to top |
|
 |
|