Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Openbox 2.3.0 compile problems
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
phantasy
n00b
n00b


Joined: 07 Mar 2003
Posts: 17

PostPosted: Fri Mar 07, 2003 9:07 pm    Post subject: Openbox 2.3.0 compile problems Reply with quote

Hello ! I get the following error when i try to emerge openbox-2.3.0 ...

Code:

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0/doc'
make[3]: Entering directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0/doc'
sed -e "s,@defaultmenu@,/usr/share/commonbox/menu," \
        -e "s,@pkgdatadir@,/usr/share/commonbox," \
        -e "s,@version@,2.3.0," \
         ./openbox.1.in > openbox.1
make[3]: Leaving directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0/doc'
make[2]: Leaving directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0/doc'
Making all in nls
make[2]: Entering directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0/nls'
Making all in C
make[3]: Entering directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0/nls/C'
awk -f ./../convert.awk header=../blackbox-nls.hh \
        output=Translation.m ./BaseDisplay.m ./Basemenu.m ./Configmenu.m ./Icon.m ./Image.m ./Screen.m ./Slit.m ./Toolbar.m ./Window.m ./Windowmenu.m ./Workspace.m ./Workspacemenu.m ./blackbox.m ./common.m ./main.m ./bsetroot.m
make[3]: Leaving directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0/nls/C'
Making all in da_DK
make[3]: Entering directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0/nls/da_DK'
Translation.m:8: invalid character: message ignored
...lots of these Translation errors...
Translation.m:190: invalid character: message ignored
make[3]: *** [openbox.cat] Error 1
make[3]: Leaving directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0/nls/da_DK'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0/nls'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0'
make: *** [all] Error 2

!!! ERROR: x11-wm/openbox-2.3.0 failed.
!!! Function commonbox_src_compile, Line 115, Exitcode 2
!!! (no error message)


Any idea what it might be ?
I'm using XFree 4.3.0 and kernel ac-sources-2.4.21-pre5-ac2.. Since I'm too lazy to fiddle with different kernels/xfree versions etc I were hoping someone has an answer :)

Thanks !
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Fri Mar 07, 2003 10:11 pm    Post subject: Reply with quote

The problem lies that the gencat program from glibc can't handle foreign characters the way they are written in the Translation.m file. I guess this is a bug in openbox.

You can work around it though:

When the emerge fails, do the following:
1. cd /var/tmp/portage/openbox-2.3.0/work/openbox-2.3.0

2. vi Makefile
3. Change the following line:
SUBDIRS = doc src nls util
to
SUBDIRS = doc src util
4. Save the file
5. Type 'make' to compile
6. Install with:
ebuild /usr/portage/x11-wm/openbox/openbox-2.3.0.ebuild install/usr/portage/x11-wm/openbox/openbox-2.3.0.ebuild qmerge

I think someone needs to file a bug with OpenBox on this issue.

Erik

ebuild
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
Yinchie
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 179
Location: The Netherlands

PostPosted: Sat Mar 08, 2003 12:08 am    Post subject: Reply with quote

I dont think that those "invalid character: message ignored" are doing any harm

I have tried Blackbox, Fluxbox, Openbox, Hackedbox, Waimea and in all of them I get a big bunch of those "invalid character: message ignored" and still everything goes right.
Using Openbox right now.
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Sat Mar 08, 2003 12:16 am    Post subject: Reply with quote

Yinchie wrote:
I dont think that those "invalid character: message ignored" are doing any harm

I have tried Blackbox, Fluxbox, Openbox, Hackedbox, Waimea and in all of them I get a big bunch of those "invalid character: message ignored" and still everything goes right.
Using Openbox right now.


I know what the problem is, but I don't have time to fix it.
The problem is that the emerge stops beacuse of them. By using my workaround, one will be able to compile and install OpenBox.

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
slickquickyb
n00b
n00b


Joined: 24 Jan 2003
Posts: 20
Location: Houston, Texas

PostPosted: Wed Mar 19, 2003 4:12 am    Post subject: Reply with quote

For some reason your fix is not working, i did everything you said to do and i still get the error. After i get the error my makefile is changed to back to what it was before i edited it. The nls gets back in subdir line. Any idea what this might be from ?
Back to top
View user's profile Send private message
slickquickyb
n00b
n00b


Joined: 24 Jan 2003
Posts: 20
Location: Houston, Texas

PostPosted: Wed Mar 19, 2003 4:15 am    Post subject: Reply with quote

i just thought of this. Could it be that because i have nls in my use flags it is not working ? Thanks for the help in advance
Back to top
View user's profile Send private message
sihker
n00b
n00b


Joined: 16 Sep 2002
Posts: 35

PostPosted: Mon Mar 24, 2003 2:42 pm    Post subject: No luck for me too. Reply with quote

Used this install, qmerge drill, but still got
!!! ERROR: x11-wm/openbox-2.3.0 failed.
!!! Function commonbox_src_compile, Line 115, Exitcode 2
!!! (no error message)

Tried to skip the install part, and qmerge directly, but still no luck. XFree4.3, any more info needed?
_________________
Greetings,
Sihker
Back to top
View user's profile Send private message
slickquickyb
n00b
n00b


Joined: 24 Jan 2003
Posts: 20
Location: Houston, Texas

PostPosted: Mon Mar 24, 2003 5:25 pm    Post subject: Reply with quote

When you emerge it use this command USE="-nls" emerge openbox. This is how i got it to work thanks to a private message from someone on the board
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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