Portaal Portaal Pingviini veeb foorumi pealeht
  Viki  |  IRC  |  Otsing  |  Küsimused ja vastused  |  Profiil  |  Privaatsõnumite vaatamiseks logi sisse  | Logi sisse või Registreeru
<empty>
Vaata järgmist teemat
Vaata eelmist teemat

Postita uus teemaVasta teemale
Autor Sõnum
neto
Pingviini külastaja
Pingviini külastaja



Liitunud: 11.03.2006
Postitused: 15


postituspostitatud: 11.03.2006, 23:44  postituse pealkiri:  powersave  

mkei. üritan siin tööle saada kpowersave, mille jaoks on vaja powersave't...
proovisin kõiki rpmidelt tööle saada, aga siis ei läind kpowersave tööle, kirjutasin konsolesse kpowersave ja tuli mingi error seoses dbusi ja dbus_connection_close'ga. ei mäleta täpselt...
võtsin siis ette tar.gz pakid ja asusin kompileerima. kõikse uuemad versioonid(kahjuks kõik unstable, mis minu distributsioonile võimalikud vist on... fedora core 4)(ps.proovisin kõiki erinevaid stable ja unstable variante)

./configure käib kenasti ära ilma erroriteta, kuid make viskab säänse errori mulle, mis on samuti seoses selle dbusi ja connectioniga.

Tsitaat:
[root@terminator2 powersave-0.12.2]# make
make all-recursive
make[1]: Entering directory `/home/margus/powersave-0.12.2'
Making all in libpower
make[2]: Entering directory `/home/margus/powersave-0.12.2/libpower'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/margus/powersave-0.12.2/libpower'
Making all in daemon
make[2]: Entering directory `/home/margus/powersave-0.12.2/daemon'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libpower -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -DPOWERSAVE_DEBUG -DUSE_SYSLOG -g -O2 -MT dbus_server.o -MD -MP -MF ".deps/dbus_server.Tpo" -c -o dbus_server.o dbus_server.cpp; \
then mv -f ".deps/dbus_server.Tpo" ".deps/dbus_server.Po"; else rm -f ".deps/dbus_server.Tpo"; exit 1; fi
dbus_server.cpp: In destructor ‘DBus_Server::~DBus_Server()’:
dbus_server.cpp:43: error: ‘dbus_connection_close’ was not declared in this scope
dbus_server.cpp: In static member function ‘static DBusConnection* DBus_Server::openSystemConnection()’:
dbus_server.cpp:281: error: ‘dbus_connection_close’ was not declared in this scope
make[2]: *** [dbus_server.o] Error 1
make[2]: Leaving directory `/home/margus/powersave-0.12.2/daemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/margus/powersave-0.12.2'
make: *** [all] Error 2
[root@terminator2 powersave-0.12.2]#

omal mõistus otsas ja ei oska nagu midagi tehagi. dbus versioon on 0.33-3 ja siis need develid ja asjad ka samast august vist. proovisin ka mingi tar.gz, mis oli 0.60 vms, aga sellest polnud kasu. kõik sujus kenasti, aga ma saan nagu aru, et mul endiselt dbus 0.60

ok, suur tänu need, kes aitavad.
ps.laptop dell latitude d500 on isend, kui sellest peaks midagi kasu olema(teadlikult ei tõstnud seda laptopide foorumile, siin ehk rohkem abistajaid)


spott
Admin
Admin


Vanus: 43
Liitunud: 04.06.2005
Postitused: 8857

Distributsioon: Ubuntu
estonia.gif
postituspostitatud: 12.03.2006, 09:37  postituse pealkiri:  (teema puudub)  

miks sa Fedora enda repodest seda ei kasuta? Kas ikka vanad versioonid?

Kas ikka KDE kasutusel?


neto
Pingviini külastaja
Pingviini külastaja



Liitunud: 11.03.2006
Postitused: 15


postituspostitatud: 12.03.2006, 10:12  postituse pealkiri:  (teema puudub)  

spott kirjutas:
miks sa Fedora enda repodest seda ei kasuta? Kas ikka vanad versioonid?

Kas ikka KDE kasutusel?

fedora enda repodes ongi vana dbus. noh, kõikse uuem ongi nendest see, mis mul peal on. seal kpowersave ja sellised asjad üldse puuduvad. powersave.sourceforge.net saab aind neid asju. see fedora peal suht uus asi, aga siiski ei tohiks mul ju selliseid probleeme tekkida

kde jah


spott
Admin
Admin


Vanus: 43
Liitunud: 04.06.2005
Postitused: 8857

Distributsioon: Ubuntu
estonia.gif
postituspostitatud: 12.03.2006, 10:39  postituse pealkiri:  (teema puudub)  

mis reposid üldse kasutad?


neto
Pingviini külastaja
Pingviini külastaja



Liitunud: 11.03.2006
Postitused: 15


postituspostitatud: 12.03.2006, 18:59  postituse pealkiri:  (teema puudub)  

nii, hetkel on selline yum.conf. eile kuskilt kellegi oma tõmbasin
Tsitaat:

# yum.conf - Fedora. Mirrors. Stable packages. GPG keys and package examples.
# (c) 2004 Tero Karvinen http://iki.fi/karvinen
# http://iki.fi/karvinen/yum.conf
# Some Scandinavian mirrors from Matti Niinikoski 2004
# Some foreign mirrors from Maxwell Kanat-Alexander 2004 and "Web Augur"
# Free software under the GNU General Public License GPL

# Changelog:
# 2004-09-28 Funet protocol to http, commented out gpgchecks, fedora.us
# 2004-09-19 Change funet.fi primary protocol to http (proxies, timeout)

# To use Tero's yum.conf
# su -
# cd /etc/
# mv yum.conf old-yum.conf
# wget http://iki.fi/karvinen/yum.conf
# rpm --import http://fedora.redhat.com/about/security/4F2A6FD2.txt
# rpm --import http://www.fedora.us/FEDORA-GPG-KEY
# rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
# yum -y update
# Have some coffee while your system is being updated. (30 min - hours)

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=0
# commands= # default commands if non given on command line
# http keepalive, disable if you have problems with a proxy:
keepalive=1
retries=6
#exclude=kernel # RPMs that are not updated. Space separated list, globs *?
# Manually compiled kernel modules usually work with one kernel version only

# Yum repositories.
# Put gpgcheck=1 to each to verify package authenticity.
# failovermethod=priority # tries first baseurl, then second...
# failovermethod=roundrobin # default, tries baseurls in random order
# $releasever # defined by distroverpkg in [main], eg. "1"
# $arch # processor, eg. "i686"
# $basearch # base type for processor, eg. "i386" (if your $arch is i686)

### Official Fedora Core / Fedora Project RPMs - http://fedora.redhat.com

[base]
name=Fedora Core $releasever - $basearch - Base - Official RPMs, the same ones that are in installer cd-roms
baseurl=
http://ftp.funet.fi/pub/linux/mirrors/fedora/linux/core/$releasever/$basearch/os/
http://mirrors.kernel.org/fedora/core/$releasever/$basearch/os/
ftp://ftp.sunet.se/pub/Linux/distributions/fedora/core/$releasever/$basearch/os/
ftp://ftp.surfnet.nl/pub/os/Linux/distr/fedora/$releasever/$basearch/os/
ftp://ftp.uio.no/pub/Linux/Fedora/core/$releasever/$basearch/os/
http://ftp.dulug.duke.edu/pub/fedora/linux/core/$releasever/$basearch/os
ftp://linux.stanford.edu/pub/mirrors/fedora/linux/core/$releasever/$basearch/os
http://fedora.redhat.com/releases/fedora-core-$releasever
ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/redhat/$releasever/$basearch/yum/os/
http://mirrors.usc.edu/pub/linux/fedora/redhat/$releasever/$basearch/yum/os/
http://download.fr.fedora.us/fedora/redhat/$releasever/$basearch/yum/os/
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/redhat/$releasever/$basearch/yum/os/
http://wftp.tu-chemnitz.de/pub/linux/fedora/redhat/$releasever/$basearch/yum/os/
ftp://ftp.g-int.net/apt/redhat/$releasever/$basearch/yum/os/
http://fedora.quicknet.nl/fedora/redhat/$releasever/$basearch/yum/os/
http://ftp.iasi.roedu.net/mirrors/fedora.us/fedora/redhat/$releasever/$basearch/yum/os/
ftp://ftp.funet.fi/pub/linux/mirrors/fedora/linux/core/$releasever/$basearch/os/
failovermethod=priority
#gpgcheck=1
# Has eg. ethereal ethereal-gnome nmap nmap-frontend gcc httpd squirrelmail imap php gaim
# rpm --import http://fedora.redhat.com/about/security/4F2A6FD2.txt

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates - Official update RPMs from Fedora Project
baseurl=
http://ftp.funet.fi/pub/linux/mirrors/fedora/linux/core/updates/$releasever/$basearch/
http://mirrors.kernel.org/fedora/core/updates/$releasever/$basearch
ftp://ftp.uio.no/pub/Linux/Fedora/core/updates/1/
ftp://ftp.sunet.se/pub/Linux/distributions/fedora/core/updates/$releasever/$basearch/
ftp://ftp.surfnet.nl/pub/os/Linux/distr/fedora/updates/$releasever/$basearch/
http://speakeasy.rpmfind.net/linux/fedora/core/updates/$releasever/$basearch
http://ftp.dulug.duke.edu/pub/fedora/linux/core/updates/$releasever/$basearch
ftp://linux.stanford.edu/pub/mirrors/fedora/linux/core/updates/$releasever/$basearch
http://fedora.redhat.com/updates/released/fedora-core-$releasever
ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/redhat/$releasever/$basearch/yum/updates/
http://mirrors.usc.edu/pub/linux/fedora/redhat/$releasever/$basearch/yum/updates/
http://download.fr.fedora.us/fedora/redhat/$releasever/$basearch/yum/updates/
http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/redhat/$releasever/$basearch/yum/updates/
http://wftp.tu-chemnitz.de/pub/linux/fedora/redhat/$releasever/$basearch/yum/updates/
ftp://ftp.g-int.net/apt/redhat/$releasever/$basearch/yum/updates/
http://fedora.quicknet.nl/fedora/redhat/$releasever/$basearch/yum/updates/
http://ftp.iasi.roedu.net/mirrors/fedora.us/fedora/redhat/$releasever/$basearch/yum/updates/
ftp://ftp.funet.fi/pub/linux/mirrors/fedora/linux/core/updates/$releasever/$basearch/
failovermethod=priority
#gpgcheck=1
# Has eg. lftp openssh openssh-server wget curl postfix
### Third party RPMs, various projects and packagers
# rpm --import http://fedora.redhat.com/about/security/4F2A6FD2.txt

# Fedora Core test/development packages have other keys, see
# http://fedora.redhat.com/about/security/

#[fedora-us-stable]
#name=Fedora.us Extras (Stable) - Third party RPMs by many authors
#baseurl=
# http://mirrors.kernel.org/fedora.us/fedora/fedora/$releasever/$basearch/yum/stable
# http://fedora.quicknet.nl/fedora/fedora/$releasever/$basearch/yum/stable
# http://download.fedora.us/fedora/fedora/$releasever/$basearch/yum/stable
#failovermethod=priority
#gpgcheck=1
# Has eg. thunderbird MozillaFirebird nethack-falconseye neverball xmule
# rpm --import http://www.fedora.us/FEDORA-GPG-KEY

[freshrpms]
name=FreshRPMs - Stable - Third party RPMs by Mathias Saou
baseurl=
http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
http://ftp.us2.freshrpms.net/linux/freshrpms/ayo/fedora/linux/$releasever/$basearch/freshrpms/
failovermethod=priority
gpgcheck=1
#retries=1
# Has eg. sylpheed ogle ogle_gui mplayer-mencoder ltris neverball
# xmms-mp3 gstreamer-plugins-extras gstreamer-plugins-mp3
# rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt

#[livna-stable]
#name=Livna.org - Fedora Compatible Packages (stable) - Third party RPMs with non-Free licenses, patents...
#baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable
#failovermethod=priority
#retries=0
#gpgcheck=1
# Has eg. xmms-mp3 mplayer mplayer-mencoder ogle ogle_gui gstreamer-plugins-mp3
# rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY

#[atrpms-stable]
#name=ATrpms - Stable
#baseurl=
# http://apt.physik.fu-berlin.de/fedora/$releasever/en/$basearch/at-stable
# http://ftp-stud.fht-esslingen.de/atrpms/download.atrpms.net/fedora/$releasever/en/$basearch/at-stable
# http://wftp.tu-chemnitz.de/pub/linux/ATrpms/fedora/$releasever/en/$basearch/at-stable
#gpgcheck=1
# rpm --import http://atrpms.physik.fu-berlin.de/RPM-GPG-KEY.atrpms

#[macromedia]
#name=macromedia.mplug.org - Flash Plugin - Closed source plugin for web embedded interactive animations
#baseurl=http://macromedia.mplug.org/apt/fedora/$releasever
# http://sluglug.ucsc.edu/macromedia/apt/fedora/$releasever
# http://ruslug.rutgers.edu/macromedia/apt/fedora/$releasever
# http://macromedia.rediris.es/apt/fedora/$releasever
#gpgcheck=1
# Has flash-plugin

### Local repository, copy RPMs to baseurl, cd baseurl and yum-arch .
#[my-rpms]
#name=myrpms-local
#baseurl=file:///root/myrpms/
#gpgcheck=1

### Notes
# Using yum:
# yum -y install sylpheed # Install a program, -y answers "yes" to all questions
# yum list "*ssh*" # lists packages that have "ssh" in the name
# find /var/cache/yum -iname "*ssh*" # other way to find ssh
# chkconfig yum on # make yum update all programs every night
# yum remove up2date # remove a program, dependencies handled
# Upgrading between major versions (Red Hat 9 to Fedora Core 1):
# rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/Fedora/RPMS/yum-2.0.4-2.noarch.rpm
# rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/Fedora/RPMS/fedora-release-1-3.i386.rpm
# yum upgrade
# Fix some conflicts/requires dependences like: yum remove pine
# About yum: man yum ; man yum.conf ; http://linux.duke.edu/projects/yum/
# Lists of repositories (places to add to yum.conf):
# http://fedora.artoo.net/faq/samples/yum.conf
# http://www.kolumbus.fi/matti.niinikoski/yum.conf (link currently down)
# http://www.webaugur.com/bibliotheca/linux/yum.conf
# Notes:
# Baseurl is url to the the directory where you can see "headers" directory.
# If you are behind a proxy: export http_proxy="http://www-cache.helia.fi:8000"
# Packages that are not found in these mirrors yet:
# catdoc soffice2html zoo calc lufs httrack psi icewm vobcopy
# rhl-ig rhl-rg rhl-cg rhl-sap rhl-sg soikko soikko-oo tmispell
# TODO:
# Yum repository of missing packages.
# GPG keys checking with a computer that has none installed. (Fedora base / updates?)
# Mirros listed in fastest first order. (automate speed test with bash and curl)
# done: Use $arch, $releasever... in all baseurls.
# This yum.conf and many other linux articles http://iki.fi/karvinen/

enne seda oli selline
Tsitaat:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[core]
name=FreshRPMS-Core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core
http://ayo.us5.freshrpms.net/fedora/linux/$releasever/$basearch/core
failovermethod=priority
enabled=1
gpgcheck=1
[updates]
name=FreshRPMS-Updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates
http://ayo.us5.freshrpms.net/fedora/linux/$releasever/$basearch/updates
failovermethod=priority
enabled=1
gpgcheck=1
[freshrpms]
name=FreshRPMS-Fresh
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
http://ayo.us5.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
failovermethod=priority
enabled=1
gpgcheck=1

ja siis enne seda veel selline, vist originaal, millele ma ise midagi juurde jebisin
Tsitaat:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=0
gpgcheck=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[loncapa-updates]
name=Fedora Core $releasever LON-CAPA i386 Updates
baseurl=http://install.loncapa.org/fedora/linux/loncapa/$releasever/$basearch
gpgcheck=0

[loncapa-updates-noarch]
name=Fedora Core $releasever LON-CAPA noarch Updates
baseurl=http://install.loncapa.org/fedora/linux/loncapa/$releasever/noarch
gpgcheck=0

kõikide nendega olen proovinud ja ma olen üsna kindel, et mul on viimased updeidid ja asjad peal. lisaks veel avastasin, et powersave vajadustest on veel hal0.5.4, aga mul on ainult 0.5.2, viimne saadaolev siis fc4'le.

okei, ei saa, siis ei saa, aga palun, keegi seletaks ära, kuidas saab nii olla, et mul dbus0.61-l ./configure, make ja make install sujuvad ilma erroriteta, aga arvutis on ikka dbus 0.33(mingi powersave ./configure näitab mulle seda.

tuleks vist sõnastada üsna lihtsalt, sest tegelikult ma alles õpin windowsi pealt linuxi peale minemist veel. kuigi, nüüd, pärast paari kuud sujub enamik asjade tööleajamine lihtsamalt

ps. vaatsin, et praegusel yum confil on # asju palju. peaks mõned ära võtma, kuigi ma olen kindel, et sellest pole abi. kuskilt lugesin ka, et fc4 on praegu dbus0.33 peal ja ei planeerigi liikuda edasi

vahearuanne.. proovisin järgi, võtsin niipalju # märke ära, kui võimalik. 404, enamik neist on maas või neid pole ja uut dbusi ikka ei saanud


neto
Pingviini külastaja
Pingviini külastaja



Liitunud: 11.03.2006
Postitused: 15


postituspostitatud: 12.03.2006, 19:33  postituse pealkiri:  (teema puudub)  

kui keegi palun õpetaks mulle, kuidas *.so.10 filede sees midagi ära muuta, siis ma saaksin oma probleemi ehk lahendatud. lasin rpmidelt vajaliku pahna peale, ja kpowersave käsureal annab sellise errori

kpowersave: symbol lookup error: /usr/lib/libpowersave_dbus.so.10: undefined symbol: dbus_connection_close

tean, et see dbus_connection_close on vaja ära vahetada dbus_connection_disconnect vastu


imre
Vana Pingviin
Vana Pingviin



Liitunud: 16.08.2005
Postitused: 2648
Asukoht: Saku kant
Distributsioon: Ubuntu
estonia.gif
postituspostitatud: 12.03.2006, 19:56  postituse pealkiri:  (teema puudub)  

*.so on ju binaarfailid.
Seda ei saa muuta lihtsalt niisama.

_________________
Enne teema püstitamist kasutage OTSINGUT
Küsi targalt: Infot siit!
Kui aru ei saa, siis küsi.

neto
Pingviini külastaja
Pingviini külastaja



Liitunud: 11.03.2006
Postitused: 15


postituspostitatud: 12.03.2006, 20:07  postituse pealkiri:  (teema puudub)  

eks peab ise end aitama. vastus vähemasti mõnele probleemile oli otse nina all.
ainukesed kohad, kust ma sain fc4'le uuema dbusi ja hali - väikene õpetuslik uudis - https://sourceforge.net/forum/forum.php?forum_id=531105 (sealt saab repo, kust saab uuema dbusi ja hali)
Tsitaat:
[utopia]
name=Utopia updates for $releasever - $basearch
baseurl=http://gnome-power.sourceforge.net/data/yum/
enabled=1
gpgcheck=0

[utopia-experimental]
name=Utopia (Experimental Stuff) for $releasever - $basearch
baseurl=http://gnome-power.sourceforge.net/data/yum-experimental/
enabled=0
gpgcheck=0


eks paistab, mis nüüd edasi saab. postitasin selle igaks juhkuks, kui ma ei juhtu olema viimane inimene sellise probleemiga

kpowersave läks nüüd tööle, hurrey. aga tast pole sittagi kasu, sest uus hal ei käivitu aga kogu inffi saab kpowersave vist sealt. eelmine variant, mis tuleb kdeutils'ga kaasa - klaptop hali mu meelest ei kasuta niiet tema ei saa ka seda segada. selle panin ma kinni ja keelasin tal uuesti käima minna.

[root@terminator2 ~]# service haldaemon restart
HAL deemoni seiskamine: [EBAÕNNESTUS]
HAL deemoni käivitamine: [EBAÕNNESTUS]

probleem selline siis nüüd. kui keegi oskaks mulle öelda, kuidas ma näeksin seda startup logi siin fedora core 4's(äkki on kuskil kirjas, miks haldaemon ei käivitu). ma kas ei leia vastavat asja menüüs või mul pole seda või ma lihtsalt ei oska


obundra
Vana Pingviin
Vana Pingviin


Vanus: 49
Liitunud: 04.08.2005
Postitused: 1213
Asukoht: 127.0.0.1
Distributsioon: RHEL, Solaris, Debian, Gentoo
estonia.gif
postituspostitatud: 13.03.2006, 18:08  postituse pealkiri:  (teema puudub)  

/var/log katalooma all peaks olema boot.log ja ka dmesg.Mõlemad sisaldavad huvitavat infi selle kohta mis käivitumisel toimunud.Ka messages ja syslog ning kerneli logid vaata üle.

_________________
IT teenused

neto
Pingviini külastaja
Pingviini külastaja



Liitunud: 11.03.2006
Postitused: 15


postituspostitatud: 14.03.2006, 02:23  postituse pealkiri:  (teema puudub)  

aga kuidas teha sellist asja, et mingi service jookseks kohe alguses käima.
ntx on mul vaja panna selline asi sinna startupi, et ta kohe käima jookseks seal koos hal daemoni ja nende asjadega. /etc/init.d/powersaved.


Näita (aja järgi):      
Postita uus teemaVasta teemale


Vaata järgmist teemat
Vaata eelmist teemat
Powered by phpBB2 Plus based on phpBB © 2001/7 phpBB Group