Why do I get an error when I try to compile amaroK? or any software for that matter.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
amaroK's README file told me to use ./configure with some added parameters, like this:
Code:
./configure --prefix=`kde-config --prefix`
I did that and I didn't notice any errors when it went through it's process. I didn't notice any errors but after reviewing the configure log I tried CTRL+F and searched for "error" and came up with this:
Code:
conftest.c:2: error: parse error before "me"
Code:
conftest.cc:15: error: `exit' undeclared (first use this function)
conftest.cc:15: error: (Each undeclared identifier is reported only once for
each function it appears in.)
Code:
conftest.cc:38: error: `strlcat' undeclared (first use this function)
conftest.cc:38: error: (Each undeclared identifier is reported only once for
each function it appears in.)
And in addition to these it appears I have some "-pedantic-errors" errors.
They aren't many though, considering how large that config log file is, but they may be the errors that make the count.
kde-config is a program that gives you info about your kde installation.
typing kde-config --prefix will give the config directory, on Slack this is /opt/kde.
Try your configure with ./configure --prefix=/opt/kde
After using ./configure with the prefix amaroK told me to use and/or using it with the prefix you told me to use I get this after configure is finished:
Code:
=======================================================
==== amaroK will be built with the aRts-engine ====
=======================================================
==== amaroK will be built with the GST-engine ====
=======================================================
Good - your configure finished. Start make now
Then I run "checkinstall" and I get this error:
Code:
*** Warning: Linking the shared library libamarok_artsengine_plugin.la against the loadable module
*** libamarokarts.so is not portable!
grep: /usr/X11R6/lib/libfontconfig.la: No such file or directory
/bin/sed: can't read /usr/X11R6/lib/libfontconfig.la: No such file or directory
libtool: link: `/usr/X11R6/lib/libfontconfig.la' is not a valid libtool archive
make[4]: *** [libamarok_artsengine_plugin.la] Error 1
make[4]: Leaving directory `/home/Erik/Downloads/amaroK/amarok-1.0-beta4/amarok/src/engine/arts'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/Erik/Downloads/amaroK/amarok-1.0-beta4/amarok/src/engine'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/Erik/Downloads/amaroK/amarok-1.0-beta4/amarok/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/Erik/Downloads/amaroK/amarok-1.0-beta4/amarok'
make: *** [install-recursive] Error 1
**** Installation failed. Aborting package creation.
Restoring overwritten files from backup...OK
Cleaning up...OK
Bye.
I wish there was a pre-made package for amaroK so I could at least install it. I still would like to learn how to build from source though, b/c it is something that would help me with ohter programs as well.
I see some QT programs, in Development I see QT Designer UI which is for creating a GUI for QT programs. I don't know if I have QT devel though, if it comes with Slackware 9.1 (current) then I have it.
Hmm no I don't have that file. I wonder why I don't have that file, you appear to have Slackware 9.1 as well, do you have /usr/X11R6/lib/libfontconfig.la ??? Also, earlier I tried running kde-config and I can tell that it's a program I have but the program didn't actually start.
typing kde-config --prefix in a terminal will simply say /opt/kde (in Slack)
As far as libfontconfig I think it should have been provided by Xfree.
I'm sure you have it, the directory is /usr/X11R6/include/fontconfig.
Maybe you got screwed when you went to Kde3.2.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.