Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Ulli Ivens
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 102
Location: Germany

PostPosted: Sat Mar 22, 2003 5:41 pm    Post subject: ebuild problem Reply with quote

so.... wollte ein ebuild script für den kmp3indexer schreiben. Das sieht so aus:

Code:

DESCRIPTION="A tool that generate and manage an index of you mp3 or ogg vorbis files"
SRC_URI="http://osdn.dl.sourceforge.net/sourceforge/kmp3indexer/${P}.tar.bz2"
HOMEPAGE="http://kmp3indexer.sourcefore.net"
KEYWORDS="~x86"
SLOT="0"
LICENSE="GPL"
 
DEPEND=">=media-libs/id3lib-3.8.3
        >=media-libs/libvorbis-1.0
        >=kde-base/kde-3.0.0"
 
src_compile() {
    econf || die "./configure failed"
    emake || die
}
 
src_install () {
    make DESTDIR=${D} \
    sysconfdir=${D}/etc \
    install || die
    dodoc AUTHORS COPYING ChangeLog INSTALL README TODO
}


ACHTUNG: Die Abhängigkeiten sind noch nicht verifiziert !!

Leider schlägt emergen des scriptes immer fehl beim Kompilieren.

Wenn ich hingegen mit ./configure && make && make install die Sache kompiliere und installiere klappt alles OHNE Fehler.

Hat jemand eine Idee woran das liegen kann ??
_________________
Notebook: Toshiba Satellite 3000-514|1 GHz PIII mobile, 512 MB PC133 RAM|Nvidia GeForce 2 go 16 MB DDR (1.0-3123)
Software: Gentoo 1.4|Gnome 2.2|KDE 3.1.1|Kernel 2.4.20+pcmcia-cs+alsa+tosh3k for doing speedsteping
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Sat Mar 22, 2003 6:31 pm    Post subject: Reply with quote

Das liegt daran, daß portage immer nach der neuesten verfügbaren Version von KDE sucht und deren Bibliothekpfad auswählt; Also momentan KDE 3.1.x. KMp3Indexer benötigt aber die von KDE 3.0.x.


Carlo
Back to top
View user's profile Send private message
Ulli Ivens
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 102
Location: Germany

PostPosted: Sat Mar 22, 2003 6:43 pm    Post subject: Reply with quote

Hhm... kde 3.0.x ist auf meinem System gar nicht mehr vorhanden... ich habe nur noch KDE 3.1.1.

Also müsste ja eigentlich auch das normale GNU-autoconf-konforme Installieren (./configure && make && make install) fehlschlagen, tut es aber nicht.

Wie kann ich diesen "Fehler" denn jetzt abstellen ?
_________________
Notebook: Toshiba Satellite 3000-514|1 GHz PIII mobile, 512 MB PC133 RAM|Nvidia GeForce 2 go 16 MB DDR (1.0-3123)
Software: Gentoo 1.4|Gnome 2.2|KDE 3.1.1|Kernel 2.4.20+pcmcia-cs+alsa+tosh3k for doing speedsteping
Back to top
View user's profile Send private message
Headhunter123
Guru
Guru


Joined: 19 Oct 2002
Posts: 509

PostPosted: Sat Mar 22, 2003 6:52 pm    Post subject: Reply with quote

Poste mal den Fehler ;)
Back to top
View user's profile Send private message
Headhunter123
Guru
Guru


Joined: 19 Oct 2002
Posts: 509

PostPosted: Sat Mar 22, 2003 6:57 pm    Post subject: Reply with quote

HOMEPAGE="http://kmp3indexer.sourcefore.net"
muss heißen
HOMEPAGE="http://kmp3indexer.sourceforge.net"

sonst gehts net ;)
Back to top
View user's profile Send private message
Ulli Ivens
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 102
Location: Germany

PostPosted: Sat Mar 22, 2003 7:52 pm    Post subject: Reply with quote

Code:


g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -march=pentium3 -O3 -pipe -fno-exceptions -fno-check-new  -c -o MainDialog.o `test -f 'MainDialog.cpp' || echo './'`MainDialog.cpp
UnifyArtistDialog.cpp: In constructor
   `UnifyArtistDialog::UnifyArtistDialog(QWidget*, const char*, bool, unsigned
   int)':
UnifyArtistDialog.cpp:36: invalid use of undefined type `struct KListBox'
UnifyArtistDialog.h:18: forward declaration of `struct KListBox'
UnifyArtistDialog.cpp:37: invalid use of undefined type `struct KListBox'
UnifyArtistDialog.h:18: forward declaration of `struct KListBox'
UnifyArtistDialog.cpp:64: no matching function for call to `UnifyArtistDialog::
   connect(KListBox*&, const char[24], UnifyArtistDialog* const, const char[34]
   )'
/usr/qt/3/include/qobject.h:116: candidates are: static bool
   QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227:                 bool QObject::connect(const
   QObject*, const char*, const char*) const
make[2]: *** [UnifyArtistDialog.o] Error 1
make[2]: *** Waiting for unfinished jobs....
MainDialog.cpp: In constructor `MainDialog::MainDialog(QWidget*, const char*,
   unsigned int)':
MainDialog.cpp:36: invalid use of undefined type `struct KListBox'
MainDialog.h:19: forward declaration of `struct KListBox'
MainDialog.cpp:37: incomplete type `KListBox' does not have member `Extended'
MainDialog.cpp:38: no matching function for call to `QHBoxLayout::addWidget(
   KListBox*&)'
/usr/qt/3/include/qlayout.h:378: candidates are: void
   QBoxLayout::addWidget(QWidget*, int = 0, int = 0)
MainDialog.cpp:43: invalid use of undefined type `struct KListBox'
MainDialog.h:19: forward declaration of `struct KListBox'
MainDialog.cpp:44: incomplete type `KListBox' does not have member `Extended'
MainDialog.cpp:45: no matching function for call to `QVBoxLayout::addWidget(
   KListBox*&)'
/usr/qt/3/include/qlayout.h:378: candidates are: void
   QBoxLayout::addWidget(QWidget*, int = 0, int = 0)
MainDialog.cpp:47: invalid use of undefined type `struct KLineEdit'
MainDialog.h:18: forward declaration of `struct KLineEdit'
MainDialog.cpp:48: invalid use of undefined type `struct KLineEdit'
MainDialog.h:18: forward declaration of `struct KLineEdit'
MainDialog.cpp:49: invalid use of undefined type `struct KLineEdit'
MainDialog.h:18: forward declaration of `struct KLineEdit'
MainDialog.cpp:50: invalid use of undefined type `struct KLineEdit'
MainDialog.h:18: forward declaration of `struct KLineEdit'
MainDialog.cpp:51: incomplete type `KLineEdit' does not have member `
   ToolBarPanel'
MainDialog.cpp:52: no matching function for call to `QVBoxLayout::addWidget(
   KLineEdit*&)'
/usr/qt/3/include/qlayout.h:378: candidates are: void
   QBoxLayout::addWidget(QWidget*, int = 0, int = 0)
MainDialog.cpp:59: no matching function for call to `MainDialog::connect(
   KListBox*&, const char[30], MainDialog* const, const char[32])'
/usr/qt/3/include/qobject.h:116: candidates are: static bool
   QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227:                 bool QObject::connect(const
   QObject*, const char*, const char*) const
MainDialog.cpp:60: no matching function for call to `MainDialog::connect(
   KListBox*&, const char[49], MainDialog* const, const char[48])'
/usr/qt/3/include/qobject.h:116: candidates are: static bool
   QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227:                 bool QObject::connect(const
   QObject*, const char*, const char*) const
MainDialog.cpp:61: no matching function for call to `MainDialog::connect(
   KListBox*&, const char[30], MainDialog* const, const char[34])'
/usr/qt/3/include/qobject.h:116: candidates are: static bool
   QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227:                 bool QObject::connect(const
   QObject*, const char*, const char*) const
MainDialog.cpp:62: no matching function for call to `MainDialog::connect(
   KListBox*&, const char[49], MainDialog* const, const char[51])'
/usr/qt/3/include/qobject.h:116: candidates are: static bool
   QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227:                 bool QObject::connect(const
   QObject*, const char*, const char*) const
MainDialog.cpp: In member function `virtual void MainDialog::languageChange()':
MainDialog.cpp:80: no matching function for call to `QToolTip::add(KListBox*&,
   QString)'
/usr/qt/3/include/qtooltip.h:90: candidates are: static void
   QToolTip::add(QWidget*, const QString&)
/usr/qt/3/include/qtooltip.h:92:                 static void
   QToolTip::add(QWidget*, const QString&, QToolTipGroup*, const QString&)
/usr/qt/3/include/qtooltip.h:95:                 static void
   QToolTip::add(QWidget*, const QRect&, const QString&)
/usr/qt/3/include/qtooltip.h:97:                 static void
   QToolTip::add(QWidget*, const QRect&, const QString&, QToolTipGroup*, const
   QString&)
MainDialog.cpp:82: no matching function for call to `QWhatsThis::add(
   KListBox*&, QString)'
/usr/qt/3/include/qwhatsthis.h:63: candidates are: static void
   QWhatsThis::add(QWidget*, const QString&)
MainDialog.cpp:83: no matching function for call to `QToolTip::add(KListBox*&,
   QString)'
/usr/qt/3/include/qtooltip.h:90: candidates are: static void
   QToolTip::add(QWidget*, const QString&)
/usr/qt/3/include/qtooltip.h:92:                 static void
   QToolTip::add(QWidget*, const QString&, QToolTipGroup*, const QString&)
/usr/qt/3/include/qtooltip.h:95:                 static void
   QToolTip::add(QWidget*, const QRect&, const QString&)
/usr/qt/3/include/qtooltip.h:97:                 static void
   QToolTip::add(QWidget*, const QRect&, const QString&, QToolTipGroup*, const
   QString&)
MainDialog.cpp:85: no matching function for call to `QWhatsThis::add(
   KListBox*&, QString)'
/usr/qt/3/include/qwhatsthis.h:63: candidates are: static void
   QWhatsThis::add(QWidget*, const QString&)
MainDialog.cpp:86: no matching function for call to `QToolTip::add(KLineEdit*&,
   QString)'
/usr/qt/3/include/qtooltip.h:90: candidates are: static void
   QToolTip::add(QWidget*, const QString&)
/usr/qt/3/include/qtooltip.h:92:                 static void
   QToolTip::add(QWidget*, const QString&, QToolTipGroup*, const QString&)
/usr/qt/3/include/qtooltip.h:95:                 static void
   QToolTip::add(QWidget*, const QRect&, const QString&)
/usr/qt/3/include/qtooltip.h:97:                 static void
   QToolTip::add(QWidget*, const QRect&, const QString&, QToolTipGroup*, const
   QString&)
make[2]: *** [MainDialog.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/kmp3indexer-1.3/work/kmp3indexer-1.3/kmp3indexer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kmp3indexer-1.3/work/kmp3indexer-1.3'
make: *** [all] Error 2
 
!!! ERROR: kde-apps/kmp3indexer-1.3 failed.
!!! Function src_compile, Line 14, Exitcode 2
!!! (no error message)



So.... das ist der Fehler der Passiert...

Das ebuild script habe ich geändert. Nützt aber nichts :)
_________________
Notebook: Toshiba Satellite 3000-514|1 GHz PIII mobile, 512 MB PC133 RAM|Nvidia GeForce 2 go 16 MB DDR (1.0-3123)
Software: Gentoo 1.4|Gnome 2.2|KDE 3.1.1|Kernel 2.4.20+pcmcia-cs+alsa+tosh3k for doing speedsteping
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum