LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   error during make of KDE 3.4.1 (https://www.linuxquestions.org/questions/linux-software-2/error-during-make-of-kde-3-4-1-a-337367/)

crontab 06-26-2005 02:05 PM

error during make of KDE 3.4.1
 
Here's the error (shortened for easier reading):

favicons.cpp:269: error: visibility arg must be one of "default", "hidden",
"protected" or "internal"
make[3]: *** [favicons.lo] Error 1
make[3]: Leaving directory `/home/crontab/kdebase-3.4.1/libkonq/favicons'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/crontab/kdebase-3.4.1/libkonq'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/crontab/kdebase-3.4.1'
make: *** [all] Error 2

So I look at ~/kdebase-3.4.1/libkonq/favicons/favicons.cpp to try and find the error, but I can't find any instance of the word "visibility" or "arg"

Anyone have an idea of how I can fix this? Your help is greatly appreciated. :)

exvor 06-27-2005 02:00 PM

You gotta love gcc tells you exactly the issue here.

Looks like a bit of programming messup

the error is in line 269 of favicons.cpp

use vi to find the 269 line and check for the visablity <-- function

check its aguments and make sure its one of the recommended ones
"default", "hidden","protected" or "internal"


Im running slackware as well so if you want let me know what version you are running and ill see if i can compile kde on it. if nothing else i can download source and check that line and make sure it looks correct.

crontab 06-27-2005 11:17 PM

{

That's line 269 right there. No instance of 'visibility' either. :(

and I'm running Slackware 10.

smirko 06-28-2005 01:35 AM

HI, same problem here, but this time on Fedora 3.
Details: I tried to install KDE 3.4.1 on a computer with a previous installation of KDE removed manually (rpm -e ...). All of the above happened. However, when I did the same on a machine with a fresh installation (just fully up2dated), everything went perfectly. I wonder if I removed too much... ;)
Eeee... Help? Please? Pretty please? Reinstallation makes me think of Windows... and I don't like it.

smirko 06-29-2005 01:00 PM

SOLVED (for me at least)!!!
 
ok, stupid enough not to install in the same order as before, I left old arts version. now, having installed the arts version supplied with KDE 3.4.1 along with kdelibs BEFORE trying to compile kdebase - everything works fine. i'd kicked my own butt if I could for wasting so much time on this...

crontab 06-29-2005 01:08 PM

I tried using that Konstruct program, but I've been having some trouble with that too. When it gets to glib, this happens:

In file included from /usr/include/signal.h:313,
from gerror.c:36:
/usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or directory
make[10]: *** [gerror.lo] Error 1
make[10]: Leaving directory `/home/crontab/konstruct/misc/pkgconfig/work/pkgconfig-0.17.2/glib-1.2.8'

I don't even use KDE, but I'm trying to fix this anyway just as a learning experience.

detpenguin 07-03-2005 12:08 AM

use the packages from slackware-current on the slackware.com site, i installed them last night, they installed and work perfectly :)


All times are GMT -5. The time now is 10:40 AM.