You are not logged in.

#1 2010-06-12 20:37:36

pobre_incaut
Member
Registered: 2009-12-03
Posts: 12

Package missing installing widget?

I've tried to install this email plasmoid but I get stuck while triying make, maybe it's missing any package?

[vestigio@shikaka build]$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
-- Found Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.4.2
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vestigio/plasma-mail/build
[vestigio@Empireo build]$ make
[  0%] Built target plasma_applet_mail_plasmoid_automoc
[ 14%] Building CXX object CMakeFiles/plasma_applet_mail_plasmoid.dir/base_io.o
/home/vestigio/plasma-mail/base_io.cpp: En el constructor 'base_io::base_io(const std::string&, const std::string&, const std::string&, int, bool)':                               
/home/vestigio/plasma-mail/base_io.cpp:65:16: error: 'stderr' no se declaró en este ámbito
/home/vestigio/plasma-mail/base_io.cpp:65:52: error: 'fprintf' no se declaró en este ámbito
make[2]: *** [CMakeFiles/plasma_applet_mail_plasmoid.dir/base_io.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_mail_plasmoid.dir/all] Error 2
make: *** [all] Error 2

Thanks

Offline

#2 2010-06-12 21:39:23

masterkoppa
Member
Registered: 2009-04-14
Posts: 92

Re: Package missing installing widget?

What is the name of the plamoid so I can test it to see whats going on?

Offline

#3 2010-06-12 22:20:59

pobre_incaut
Member
Registered: 2009-12-03
Posts: 12

Re: Package missing installing widget?

masterkoppa wrote:

What is the name of the plamoid so I can test it to see whats going on?

It's mail_plasmoid -> http://kde-look.org/content/show.php/ma … tent=98952

Offline

#4 2010-06-13 09:41:24

PirateJonno
Forum Fellow
From: New Zealand
Registered: 2009-04-13
Posts: 372

Re: Package missing installing widget?

you might just need to find a file called "base_io.c" and add the line

#include <cstdio>

or possibly

#include <stdio.h>

near the top (there should be some similar-looking lines to show you where to put it).


"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page

Offline

#5 2010-06-16 13:38:05

pobre_incaut
Member
Registered: 2009-12-03
Posts: 12

Re: Package missing installing widget?

Thanks for the help

Why this includes are not inside the file? I mean, I supose there are other users who installed in this way but didn't get the error right?

Offline

#6 2010-06-17 04:59:08

PirateJonno
Forum Fellow
From: New Zealand
Registered: 2009-04-13
Posts: 372

Re: Package missing installing widget?

maybe they used an older version of gcc? stdio.h is one of the 3 most common headers as far as i'm concerned


"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page

Offline

Board footer

Powered by FluxBB