You are not logged in.
Pages: 1
hi there!
tried archlinux 0.7 and its very impressive!!
but ive got a little problem here, lemme explain:
1) downloaded kmusicmanager from http://kmusicmanager.sf.net/
2) extracted it with "tar zxvf kmusicmanager-1.2.tar.gz"
3) cd into the folder and typed:
./configure --prefix=/usr
make
make finishes then with this error message:
s/musiclistview.Tpo"; exit 1; fi
musiclistview.cpp: In function `unsigned int random_num(unsigned int)':
musiclistview.cpp:227: error: `floor' undeclared (first use this function)
musiclistview.cpp:227: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[3]: *** [musiclistview.lo] Error 1
make[3]: Leaving directory `/home/eye/kmusicmanager-1.2/libkmusicmanager/view'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/eye/kmusicmanager-1.2/libkmusicmanager'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eye/kmusicmanager-1.2'
make: *** [all] Error 2
[eye@myhost kmusicmanager-1.2]$
i then tried to "make" some other programs, but it always fails. tried to leave the prefix-option but didnt help.
ive no idea what's wrong, please help me!!, or i can only use atm programs from pacman. and that would also induce me to use a nother distro, but I WON'T! 8)
so, anyone does have a little help here?
thx,
greetings,
-eye
Offline
Required packages
In order to compile and work with KMusicManager, you need to have the following stuff installed :
* KDE
* TaglibTo compile KMusicManager, you need to have the proper headers installed. Some distros put these in seperate packages (devel packages).
do you have those installed? make sure they're installed and try again.
If you're looking for extra packages, I'd suggest checking out the AUR - you'll need to do some minor reading on the wiki in order to use these PKGBUILD files....
Offline
hi phrakture,
thx 4ya reply,
In order to compile and work with KMusicManager, you need to have the following stuff installed :
* KDE
* Taglib
ive installed KDE with "pacman -Sy kdebase kde-i18n-de"
and Taglib with "pacman -Sy taglib"
so everything should just go fine, but it does not! :?
edit: saw THIS on the homepage:
To compile KMusicManager, you need to have the proper headers installed. Some distros put these in seperate packages (devel packages).
mh, dev packages is sth i also searched for "cedega cvs compiling" but current and extra dont have these.
btw: WHICH dev packages do i need?
thx,
eye
Offline
Arch does not have seperate "dev" packages - you have everything you need... I looked at the package and tried to compile it myself....
turns out they never included "math.h" in the offending file.... so, either go ahead and add it in (I can provide a patch if you want but it's one line) or contact the devs...
Offline
thx phrakture!
im gonna try this asap (now ),
"but go ahead and add it in"
... but please tell me what ive got do add where.
ive got to put "math.h" in ..?
Offline
add
#include <math.h>
at begining of file
musiclistview.cpp
Offline
PS I posted a bug report to the project page on sourceforge.... should be fixed going forward
Offline
you guys are nice, thx 4 your help!
i dunno WHY, but adding the line to the file finall made it thx!
but @ snowman/phrakture: how did you find this out?
because ive got another prog which ends up with an error after typing "make" and want to find out myself, my "wanting" to learn
Offline
s/musiclistview.Tpo"; exit 1; fi musiclistview.cpp: In function `unsigned int random_num(unsigned int)': musiclistview.cpp:227: error: `floor' undeclared (first use this function) musiclistview.cpp:227: error: (Each undeclared identifier is reported only once for each function it appears in.) make[3]: *** [musiclistview.lo] Error 1 make[3]: Leaving directory `/home/eye/kmusicmanager-1.2/libkmusicmanager/view' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/eye/kmusicmanager-1.2/libkmusicmanager' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/eye/kmusicmanager-1.2' make: *** [all] Error 2 [eye@myhost kmusicmanager-1.2]$
Notice that the error comes from the fact that "floor is undeclared" .
Floor is a function in the math library, so by adding the #include <math.h> at the beginning of the file, you are telling it what file to look in for the function. What is the other program giving you errors? Maybe we can help you out.
Offline
hey jftaylor21!
the other error shows something like this:
convertgp3.cpp: In member function `virtual bool ConvertGp3::load(QString)':
convertgp3.cpp:87: error: `malloc' undeclared (first use this function)
convertgp3.cpp:87: error: (Each undeclared identifier is reported only once for each function it appears in.)
convertgp3.cpp:98: error: `free' undeclared (first use this function)
convertgp3.cpp:427: warning: format not a string literal and no format arguments
convertgp3.cpp:440: warning: format not a string literal and no format arguments
convertgp3.cpp:458: warning: format not a string literal and no format arguments
make[3]: *** [convertgp3.lo] Error 1
make[3]: Leaving directory `/home/eye/kguitar-0.5/kguitar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/eye/kguitar-0.5/kguitar'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eye/kguitar-0.5'
make: *** [all] Error 2
so "malloc is undecleared"
you guys probably know already what to do 8)
.. me not :?
Offline
woah... malloc is undeclared... is this made by the same people? who misses this many header files?
what project is that from?
edit ah kguitar... there's a PKGBUILD in the AUR for this (aur.archlinux.org)
http://aur.archlinux.org/packages.php?K=kguitar
here's the header file patch
http://aur.archlinux.org/packages/kguit … rfix.patch
Offline
malloc and free are from the standard library, you should be able to place #include <stdlib.h> at the top of convertgp3.cpp and it should work. Also, it looks like you are compiling kguitar? You should be able to find an Arch package here which would make things even easier:
http://aur.archlinux.org/packages.php?d … _Orphans=0
It's kind of weird that they use malloc and free with a cpp program. I always thought you were supposed to use new and delete...
Offline
many regards to you guys, i finally made it :shock: ...
cant imagine that i only picked 2 progs to install, and both of them have such problems and are "wrong pre-configured" (my english is sooo bad, i know )
btw: are there any good sites i could look for apps?
looked through kde-apps.org already, but thers isnt as much as i need it ^^
thx & regards,
eye
Offline
Did you looked in the AUR ( http://aur.archlinux.org/ ) ? Or in the current/extra repos? What kind of apps are you looking for?
Offline
hi snowman,
nothing special, but im only looking for progs, comparing them and then trying to install one. (but linux its a bit difficult as you can see on the basis of kmusicmanager or kguitar.)
so, my question reformulated: where to find apps for linux else then in the AUR .. or: with a bigger choice/range.
maybe s.o. knows a page like that.
edit: (IE: for windows i looked through pages like snapfiles.com or sth like that)
Offline
There is http://sourceforge.net/ and http://developer.berlios.de/ that host open sources projects. You can search there. Some of them are for the Windows/Mac platforms but a majority of them are for Linux.
There is always google. Just include linux in the search terms like: http://www.google.ca/search?hl=en&q=music+player+linux for example.
Offline
Or simpler: search on http://freshmeat.net/
Offline
Pages: 1