This forum has been archived. All content is frozen. Please use KDE Discuss instead.

RHEL Compliation Problem

Tags: None
(comma "," separated)
Data
Registered Member
Posts
2
Karma
0

RHEL Compliation Problem

Fri Mar 09, 2007 1:39 pm
I'm trying to install Amarok 1.4.5 from the source code on a RHEL machine on which I'm not root.  I previously have installed Amarok 1.4.1 and that worked. 
OS: Red Hat Enterprise Linux WS release 4 (Nahant Update 4)

When I do a 'make' I get the following:
magnatuneredownloaddialogbase.cpp: In constructor `magnatuneReDownloadDialogBase::magnatuneReDownloadDialogBase(QWidget*, const char*, bool, uint)':
magnatuneredownloaddialogbase.cpp:53: error: 'class KListView' has no member named 'setShadeSortColumn'
make[4]: *** [magnatuneredownloaddialogbase.lo] Error 1

I noticed that when I ran 'configure' it included the following which I do not know if it is significant:
configure: creating ./config.status
wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1500.
config.status: creating Makefile

However 'configure' ended with:
Good - your configure finished. Start make now

Any ideas how to fix the compile issue?

Thanks.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: RHEL Compliation Problem

Fri Mar 09, 2007 3:43 pm
Sorry, it's because you only have KDE 3.3. Amarok 1.4.5 was supposed to work with 3.3, but that's very hard to do as we have no testing machines with 3.3.

If you absolutely can't upgrade KDE, you can simply delete magnatuneredownloaddialogbase.cpp line 53 after you got the error, and then type "make" again.


--
Mark Kretschmann - Amarok Developer
Data
Registered Member
Posts
2
Karma
0

Re: RHEL Compliation Problem

Fri Mar 09, 2007 8:42 pm
Thanks for your quick response, deleting line 53 and then running make again resolved that problem.

Now I get the following error:
void-engine.cpp:22: error: visibility arg must be one of "default",
"hidden", "protected" or"internal"
make[5]: *** [void-engine.lo] Error 1

I edited plugin\plugin.h as noted elsewhere on the web:
Add:
#define PLUGIN_VIZ __attribute__ ((visibility("default")))

Replace:
KDE_EXPORT Amarok::Plugin* create_plugin() { return new classname; } \
with:
PLUGIN_VIZ Amarok::Plugin* create_plugin() { return new classname; } \

This resolves this error but I now get still another error:
make[3]: Entering directory
`/tmp/amarok-1.4.5/doc/amarok'
/usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
/bin/sh: line 1:  5876 Segmentation fault      /usr/bin/meinproc --check
--cache index.cache.bz2 ./index.docbook
make[3]: *** [index.cache.bz2] Error 139
make[3]: Leaving directory
`/tmp/amarok-1.4.5/doc/amarok'
make[2]: *** [all-recursive] Error 1

Since it seems like it might just be a problem in documentation, I ignored this error and ran 'make install' anyway.  This results in a similar error but I can now run Amarok and play music without a problem.  So my problem is resolved, but I thought I'd post this so it'd be available for others that might also have this issue.

Thanks for your help!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]