LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   blackbox Help (https://www.linuxquestions.org/questions/linux-software-2/blackbox-help-77103/)

SnowSurfAir 07-29-2003 06:05 PM

blackbox Help
 
I was running ./configure but when it was almost doen it said configure: error: Blackbox requires the X Window System libraries and headers. What do I need to do to make it work?

Mega Man X 07-29-2003 06:13 PM

I think you need XFree86-devel installed. Using RedHat, I believe the easiest way would be using apt-get install blackbox though...

SnowSurfAir 07-29-2003 06:51 PM

And where could I get that?

Mega Man X 07-29-2003 06:57 PM

Get what? apt-get or blackbox?

apt-get:

http://freshrpms.net/

blackbox:
http://blackboxwm.sourceforge.net/

XFree86-Devel?

http://www.xfree86.org/

The best place to get anything though, is searching here:

www.google.com/linux

SnowSurfAir 07-29-2003 07:00 PM

wut is the difference between apt-get and XFree86-Devel?

Mega Man X 07-29-2003 07:04 PM

If you go to apt-get homepage and actually *read* what is there, you will understand. XFree86-devel is a package that possible is missing in your system, required to compile blackbox...

SnowSurfAir 07-29-2003 08:19 PM

For the XFree86-devel which of these should I get?:
Code:

Linux-axp-glibc22/     
Linux-ix86-glibc21/   
Linux-ix86-glibc22/   
Linux-ix86-glibc23/


SnowSurfAir 07-29-2003 10:27 PM

Ok I got the right one but it saus I should back up the directory /usr/X11R6 and it says not to rename it how can I back it up differently? and is it that risky-the installation for XFree86? how can I reinstall it if I have to?

SnowSurfAir 07-30-2003 12:18 AM

+ what did u mean -devel after XF86Config? and what is the diff between the normal one?

SnowSurfAir 08-07-2003 12:09 AM

Ok I finally got XFree86Config-devel installed but when I ran make it said:

make
make all-recursive
make[1]: Entering directory `/usr/blackbox-0.65.0'
Making all in data
make[2]: Entering directory `/usr/blackbox-0.65.0/data'
Making all in styles
make[3]: Entering directory `/usr/blackbox-0.65.0/data/styles'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/blackbox-0.65.0/data/styles'
make[3]: Entering directory `/usr/blackbox-0.65.0/data'
sed -e "s,@pkgdatadir@,/usr/local/share/blackbox," ./menu.in > menu
make[3]: Leaving directory `/usr/blackbox-0.65.0/data'
make[2]: Leaving directory `/usr/blackbox-0.65.0/data'
Making all in doc
make[2]: Entering directory `/usr/blackbox-0.65.0/doc'
sed -e "s,@defaultmenu@,/usr/local/share/blackbox/menu," \
-e "s,@pkgdatadir@,/usr/local/share/blackbox," \
-e "s,@version@,0.65.0," \
./blackbox.1.in > blackbox.1
make[2]: Leaving directory `/usr/blackbox-0.65.0/doc'
Making all in nls
make[2]: Entering directory `/usr/blackbox-0.65.0/nls'
Making all in C
make[3]: Entering directory `/usr/blackbox-0.65.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 `/usr/blackbox-0.65.0/nls/C'
Making all in da_DK
make[3]: Entering directory `/usr/blackbox-0.65.0/nls/da_DK'
Translation.m:8: invalid character: message ignored
Translation.m:9: invalid character: message ignored
Translation.m:24: invalid character: message ignored
Translation.m:28: invalid character: message ignored
Translation.m:29: invalid character: message ignored
Translation.m:30: invalid character: message ignored
Translation.m:31: invalid character: message ignored
Translation.m:33: invalid character: message ignored
Translation.m:34: invalid character: message ignored
Translation.m:48: invalid character: message ignored
Translation.m:58: invalid character: message ignored
Translation.m:60: invalid character: message ignored
Translation.m:101: invalid character: message ignored
Translation.m:103: invalid character: message ignored
Translation.m:110: invalid character: message ignored
Translation.m:114: invalid character: message ignored
Translation.m:122: invalid character: message ignored
Translation.m:123: invalid character: message ignored
Translation.m:124: invalid character: message ignored
Translation.m:125: invalid character: message ignored
Translation.m:140: invalid character: message ignored
Translation.m:152: invalid character: message ignored
Translation.m:155: invalid character: message ignored
Translation.m:160: invalid character: message ignored
Translation.m:161: invalid character: message ignored
Translation.m:162: invalid character: message ignored
Translation.m:168: invalid character: message ignored
Translation.m:169: invalid character: message ignored
Translation.m:170: invalid character: message ignored
Translation.m:171: invalid character: message ignored
Translation.m:184: invalid character: message ignored
Translation.m:185: invalid character: message ignored
make[3]: *** [blackbox.cat] Error 1
make[3]: Leaving directory `/usr/blackbox-0.65.0/nls/da_DK'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/blackbox-0.65.0/nls'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/blackbox-0.65.0'
make: *** [all-recursive-am] Error 2

What could the prob be now?

DrOzz 08-07-2003 12:20 AM

ok d00d you may not believe me, but i actually could not find a work around for that other than this:
notice how it errors at ..../nls/da_DK...
Code:

Translation.m:184: invalid character: message ignored
Translation.m:185: invalid character: message ignored
make[3]: *** [blackbox.cat] Error 1
make[3]: Leaving directory `/usr/blackbox-0.65.0/nls/da_DK'
make[2]: *** [all-recursive] Error 1

now continuously type make every time it errors out, and you will notcie that it will change each time and what i mean by that is that the part that says da_DK will contain a different name, progressivly getting further and further until it finishes in the /blackbox/nls directory then it will go about compiling normally, and then you can continue with the make install....
you may think your getting no wheres, but believe me, once its done going through all entries in the .../nls directory it will then continue to compile normally and blackbox will run fine....

i had the same error a while ago and i was looking for a fix, and i actually found a post on this board with a guy having the same error, but he wasn't given a fix...but as i was looking for fixes and kept on type make to see if what i tried worked, it just clicked in that the directory that it was getting errors wasn't the same everytime, so i just kept on type make until it started compiling normally until it finished without errors...and that was that :D

SnowSurfAir 08-07-2003 12:24 AM

so keep typin make till it works?

DrOzz 08-07-2003 12:33 AM

yes sir...

SnowSurfAir 08-07-2003 12:34 AM

ok how many times should I do It? I have done it like 7 or 8 times

DrOzz 08-07-2003 12:35 AM

but i want you to note that this doesn't work for all programs that crap out in the make...this is just something i figured out when i was trying to install blackbox, and this will not be the case with other programs....so in the future if you have a problem with make and can't figure it out, i'd advise you to post your problem here again, and not sit there and type make all day :D


All times are GMT -5. The time now is 01:50 AM.