Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem and solution to updating x11-libs/libxklavier-1.04
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
IanBallantyne
n00b
n00b


Joined: 04 Jan 2005
Posts: 52
Location: Austria

PostPosted: Tue Jan 04, 2005 10:29 am    Post subject: problem and solution to updating x11-libs/libxklavier-1.04 Reply with quote

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
View user's profile Send private message
HydroSan
l33t
l33t


Joined: 04 Mar 2004
Posts: 764
Location: The Kremlin (aka Canada)

PostPosted: Sat Jan 08, 2005 12:15 am    Post subject: Reply with quote

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
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Sat Jan 08, 2005 6:02 am    Post subject: Reply with quote

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
View user's profile Send private message
benow
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 84

PostPosted: Mon Jan 10, 2005 8:23 pm    Post subject: fix Reply with quote

Code:
ln -s /usr/lib/X11/ /usr/X11R6/lib

to be concise...
Back to top
View user's profile Send private message
opopanax
Apprentice
Apprentice


Joined: 30 Aug 2004
Posts: 244

PostPosted: Sun Jan 30, 2005 2:01 am    Post subject: more reliable solution, I think: Reply with quote

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
View user's profile Send private message
toxicated
n00b
n00b


Joined: 28 Mar 2003
Posts: 27
Location: Sweden

PostPosted: Fri Feb 25, 2005 1:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
opopanax
Apprentice
Apprentice


Joined: 30 Aug 2004
Posts: 244

PostPosted: Fri Feb 25, 2005 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum