widgets 2010

18 posts / 0 new
Last post
meandrey
widgets 2010

salutare
am  problema cu instalarea widgeturilor...am incercat sa instalez un widget pe nume STDIN cu ajutorul scriptului UPI dar imi da urmatoarea eroare:

Quote:
[meandrey@localhost 0.2-beta1]$ /home/meandrey/Desktop/downloads/stdin/st/0.2-beta1/upi --su
Executing installations with su...
Password:
-- The C compiler identification is GNU
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.  Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /root/.kde4/share/apps;/var/lib/mandriva/kde4-profiles/free/share/apps;/var/lib/mandriva/kde4-profiles/common/share/apps;/usr/share/apps
Call Stack (most recent call first):
  CMakeLists.txt:1 (find_package)

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8 )

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
Don't forget to restart plasma
[meandrey@localhost 0.2-beta1]$

aa inca ceva, la inceput imi zicea ca nu gaseste comanda  cmake asa ca am instalat din "INSTALL & REMOVE PROGRAMS"  cmake- cross platform... versiunea 2.80

ce ar trebui sa fac? pe mandriva 2009.1 am mai instalat widgeturi cu UPI si mergeau perfect ...

PS: mai ar fi o problema cu un widget de sms la care cand il pun pe desktop imi zice "could not create a ruby-script SCRIPTENGINE for the sms widget ...
multumesc :D

symbianflo
symbianflo's picture
Re: widgets 2010

No cmake_minimum_required command is present. 
........................................
 A line of code such as CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. 

mai clar decit asa ceva nu stiu cum ar fi  ;D

instaleaza cmake
urpmi - a cmake

99% di kde se compileaza cu

%build
%cmake_kde4 
%make

daca instalezi din sursa trebuie sa iti instalezi toate dependentele , in cazul tau ceva de ruby iti lipseste
ori chiar ruby ori careva dintre bindigs
Citeste bine documentatia sin pachetul sursa


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

meandrey
Re: widgets 2010

am instalat cmake si cu #urpmi -a cmake si tot acelasi lucru imi da cand dau sa il instaleze :|

symbianflo
symbianflo's picture
Re: widgets 2010

atunci ai instalat cmake-ul gresit
lipeste aici raspunsul la asta :
cat /etc/*release ; uname -r ; rpm -q -i cmake


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

symbianflo
symbianflo's picture
Re: widgets 2010

chiar si raspunsul la .
rpm -q cmake --provides


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

meandrey
Re: widgets 2010

Quote:
[root@localhost Tux_Eyes]# cat /etc/*release ; uname -r ; rpm -q -i cmake
LSB_VERSION=lsb-4.0-ia32:lsb-4.0-noarch
DISTRIB_ID=MandrivaLinux
DISTRIB_RELEASE=2010.0
DISTRIB_CODENAME=adelie
DISTRIB_DESCRIPTION="Mandriva Linux 2010.0"
Mandriva Linux release 2010.0 (Official) for i586
Mandriva Linux release 2010.0 (Official) for i586
Mandriva Linux release 2010.0 (Official) for i586
Mandriva Linux release 2010.0 (Official) for i586
Mandriva Linux release 2010.0 (Official) for i586
2.6.31.12-desktop-1mnb
Name        : cmake                        Relocations: (not relocatable)
Version    : 2.8.0                            Vendor: Mandriva
Release    : 5mdv2010.0                    Build Date: Sat 10 Oct 2009 01:46:36 PM EEST
Install Date: Tue 23 Feb 2010 07:28:05 PM EET      Build Host: n4.mandriva.com
Group      : Development/Other            Source RPM: cmake-2.8.0-5mdv2010.0.src.rpm
Size        : 20759404                        License: BSD
Signature  : DSA/SHA1, Thu 29 Oct 2009 11:52:25 PM EET, Key ID e7898ae070771ff3
Packager    : Funda Wang
URL        : http://www.cmake.org/HTML/index.html
Summary    : Cross-platform, open-source make system
Description :
CMake is used to control the software compilation process using
simple platform and compiler independent configuration files.
CMake generates native makefiles and workspaces that can be
used in the compiler environment of your choice. CMake is quite
sophisticated: it is possible to support complex environments
requiring system configuration, pre-processor generation, code
generation, and template instantiation.
[root@localhost Tux_Eyes]#

Quote:
[root@localhost Tux_Eyes]# rpm -q cmake --provides
cmake = 1:2.8.0-5mdv2010.0
cmake(x86-32) = 1:2.8.0-5mdv2010.0
[root@localhost Tux_Eyes]#

multumesc pt ajutor :D

symbianflo
symbianflo's picture
Re: widgets 2010

Mi se pare ok , hmm as  fi curios sa vad ce vrei sa macini  da si tu un link
de unde ai descarcat plasmoidul asta .
Incearca cu cmake direct

cd /pacurs/folder_cu_cmake.txt ; cmake&&make ; sudo make install

daca nu ai setat sudo  atunci logheaza-te ca root numai dupa ce ai compilat , ceea ce faci tu
e foarte gresit .NUMAI INSTALEZI CA SI ROOT SAU ADMIN , DA COMPILAT SE COMPILEAZA
DIN UTILIZATOR


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

meandrey
Re: widgets 2010

aici este link'ul http://www.kde-look.org/content/show.php/STDIN%20Plasmoid?content=92309

am incercat si direct cu mkdir build, cmake -dkms .......
am incercat cu mai multe plasmoide binary si la toate apare aceasi problema

am mai instalat plasmoide pe mandriva 2009.1 cu scriptul UPI si direct... si mergeau bine...

Cmake nu ar trebui sa se instaleze la o data cu mandriva? nu tin minte sa il fi instalat eu la 2009

symbianflo
symbianflo's picture
Re: widgets 2010

ok  am incercat si eu deci copilu mere de rupe nu am idee ce vrea sa fie UPI asta al tau
si nici nu vreau sa stiu , daca instalezi di sursa tre sa stii ce faci , sorry da uita si tu
Build:

[symbianflo@symbianflo 0.2-beta1]$ mkdir build ; cd build ; cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
-- The C compiler identification is GNU                                                                           
-- The CXX compiler identification is GNU                                                                         
-- Check for working C compiler: /usr/lib64/ccache/bin/gcc                                                        
-- Check for working C compiler: /usr/lib64/ccache/bin/gcc -- works                                               
-- Detecting C compiler ABI info                                                                                  
-- Detecting C compiler ABI info - done                                                                           
-- Check for working CXX compiler: /usr/lib64/ccache/bin/c++                                                      
-- Check for working CXX compiler: /usr/lib64/ccache/bin/c++ -- works                                             
-- Detecting CXX compiler ABI info                                                                                
-- Detecting CXX compiler ABI info - done                                                                         
-- Looking for Q_WS_X11                                                                                           
-- Looking for Q_WS_X11 - found                                                                                   
-- Looking for Q_WS_WIN                                                                                           
-- Looking for Q_WS_WIN - not found.                                                                              
-- Looking for Q_WS_QWS                                                                                           
-- Looking for Q_WS_QWS - not found.                                                                              
-- Looking for Q_WS_MAC                                                                                           
-- Looking for Q_WS_MAC - not found.                                                                              
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)                                                                  
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so                                                                                           
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Phonon Version: 4.3.50
-- Found Phonon: /usr/lib64/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/symbianflo/Scaricati/0.2-beta1/build
[symbianflo@symbianflo build]$

make:

[symbianflo@symbianflo build]$ make
Scanning dependencies of target plasma_applet_stdin_automoc
Generating label.moc
Generating stdin.moc
Generating moc_config.cpp
[  0%] Built target plasma_applet_stdin_automoc
[ 11%] Generating ui_theme.h
[ 22%] Generating ui_settings.h
Scanning dependencies of target plasma_applet_stdin
[ 33%] Building CXX object 0.2/CMakeFiles/plasma_applet_stdin.dir/plasma_applet_stdin_automoc.o
[ 44%] Building CXX object 0.2/CMakeFiles/plasma_applet_stdin.dir/stdin.o
[ 55%] Building CXX object 0.2/CMakeFiles/plasma_applet_stdin.dir/config.o
[ 66%] Building CXX object 0.2/CMakeFiles/plasma_applet_stdin.dir/label.o
Linking CXX shared module ../lib/plasma_applet_stdin.so
[ 66%] Built target plasma_applet_stdin
Scanning dependencies of target pofiles
[ 66%] Generating es.gmo
[ 66%] Generating pt_BR.gmo
[ 66%] Generating cs.gmo
[100%] Built target pofiles
[symbianflo@symbianflo build]$

de instalat nu-l instalez , io mai prefer sal buildez in rpm ca sa pot sa-l dezinstalez usor .
in locul tau as face o cerere pe MIB , ( aici la noi ti l-as putea face eu dar nu 32 de biti , chesti d'astea nu am , sorry )


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

meandrey
Re: widgets 2010

multumesc pentru raspunsuri :D
o sa mai incerc eu pe aici sa instalez, dezinstalez cmake'u asta poate reusesc ceva, ca din cate vad ala ii problema

Universal Plasmoid Installer (upi) este un "script" cred, facut de domnul Patkos Csaba http://www.kde-look.org/content/show.php/Universal+Plasmoid+Installer?content=99974  (acuma l-am pus chiar daca nu ai vrut sa stii :D)

din cate am vazut are exact comenzile care le-am dat eu manual doar ca imi era mai comod cu el :)

ing. Patkos Csaba
ing. Patkos Csaba's picture
Re: widgets 2010

UPI este un script scris de mine acu' foarte multa vreme, postat si pe kde-look.org ... care practic ruleaza comenzile de compilare.

Sincer nu l-am mai incercat/folosit pe KDE 4.3.x sau mai nou, s-ar putea sa se fi schimbat ceva pe parcurs, dar in mod normal nu are nici o treaba cu eroarea respectiva. Totusi, incearca sa-l instalezi cu comenzile clasice de compilare/instalare, fara UPI...

Ma bucur ca cineva mai foloseste jucaria aia ... hahaha

Csabi's BLOG

Linux registered user # 457717

meandrey
Re: widgets 2010

a da o ultima problema :D
dupa ce am i-am dat cmake si a dat erorile alea a bagat in folderul respectiv cateva fisiere si nu ma lase sa le sterg ...
am incercat sa intru in krusader ca root dar nu ma lasa, defapt nu ma lasa sa intru in nici un program ca root(inainte stiu ca am reusit)

Quote:
[root@localhost meandrey]# krusader
Error: "/root/.kde4/tmp-localhost.localdomain" points to "/tmp/kde-root" instead of "/root/tmp/kde-root".
Cannot connect to the D-BUS session bus.
To start it, run:
        eval `dbus-launch --auto-syntax`
krusader(8856) UserAction::UserAction: Initialisising useractions...
krusader(8856) UserAction::UserAction: 10  useractions read.
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: Communication error with launcher. Exiting!
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: Communication error with launcher. Exiting!
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: Communication error with launcher. Exiting!
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: Communication error with launcher. Exiting!
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: Communication error with launcher. Exiting!
DBus Error: org.freedesktop.DBus.Error.Disconnected, Not connected to D-Bus server
DBus Error: org.freedesktop.DBus.Error.Disconnected, Not connected to D-Bus server
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: Communication error with launcher. Exiting!
KCrash: Application 'krusader' crashing...
sock_file=/root/.kde4/socket-localhost.localdomain/kdeinit4__0
Warning: connect() failed: : Connection refused
KCrash cannot reach kdeinit, launching directly.

[1]+  Stopped                krusader
[root@localhost meandrey]#

symbianflo
symbianflo's picture
Re: widgets 2010

Quote:
[root@localhost meandrey]#

vezi chestia aia "#"  mai sus ziceam o chestie , da tot degeaba  vorbesc ..... ;D
Ar trebui ca toate distributiile linux sa acorde acces ca si root numai daca respectii anumite criterii
linux nu are dusmani .....din afara.....da inauntru toti utilizatori ...

ok decomprima  sursa , sterge folderul care nu-ti trebuie ( daca vrei 2-beta sterge 1, daca nu invers)
si copiaza linia mea din mesajul anterior , si nu mai fa NIMIC DIN ROOT te rog io , tu ca si root poate ajunga sa intri o data la saptamina .
Eu v-as taia unghiile pina la cot la toti care intrati pe root fara motiv   ;D ;D ;D

@Csaba
sorry nu stiam de chestia aia cu UPI, cu atit mai mult daca l-ai facut
ar trebui sa-l intretii , sa-ti fie rusine  ;D


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

symbianflo
symbianflo's picture
Re: widgets 2010

l-am incercat , un fel de yasp scripted  care trebuie sa-l configurezi , adica sa-ti creezi tu scripturi sa sa-i dai comenzi ca in consola ,
acuma fara suparare, da daca tu nu esti capabil sa-l instalezi ce te poate face sa crezi ca tu esti in stare sa-l configurezi ?
Fara sa-i dai scripturi de shell output ai o pata neagra pe desktop si gata .....
Io l-as lasa balta in locul tau ...


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

meandrey
Re: widgets 2010

o sa vad daca o sa reusesc sa il instalez, defapt daca o sa reusesc sa instalez vreun plasmoid binary pentru ca nici unul nu merge, nu ii vorba doar de asta...
asta l-am folosit pe 2009 si am gasit mai multe comenzi pe net care afisau diverse chestii care mi-au placut :D
trebuie sa reusesc cumva

symbianflo
symbianflo's picture
Re: widgets 2010

ceea ce pot sa fac e sa-ti construiesc src.rpm-urile si tu le dai o mina de rebuild pe pc la tine si le instalezi ,
fa o cerere cu linkuri si detalii aici :
http://www.mandrivausers.ro/forum>


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

meandrey
Re: widgets 2010

am scapat de problema cu cmake_cxx_compiler cand zicea ca nu il gaseste dar am dat de alta

Quote:
[meandrey@localhost Tux_Eyes]$ /home/meandrey/Desktop/downloads/Tux_Eyes/upi --su
Executing installations with su...
Password:
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /root/.kde4/share/apps;/var/lib/mandriva/kde4-profiles/free/share/apps;/var/lib/mandriva/kde4-profiles/common/share/apps;/usr/share/apps
Call Stack (most recent call first):
  CMakeLists.txt:6 (find_package)

-- Configuring incomplete, errors occurred!
Don't forget to restart plasma

trebuie sa mai instalez ceva pachete?

LE : am reusit  :D:D dupa ce am bagat kdelibs4-devel vad ca merge brici :D
LLE: multumesc frumos pt indicatii :)

symbianflo
symbianflo's picture
Re: widgets 2010

urpmi kdelibs4-devel
cre' ca nu le ai sefule
fara  headerul  kdelib4 nu poti macina pe kde4  nimic.


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are