PDA

View Full Version : amaroK released!


Garfunkel
05-18-2006, 07:33 AM
http://amarok.kde.org/

the king returns.

Coded-Dude
05-18-2006, 05:12 PM
Great News! nice find Bill....erm um yeah.
Anywho, +rep for you buddy!

BugenhagenXIII
05-18-2006, 06:08 PM
I've been using amaroK from SVN for a while, and can assure you that 1.4 is amazingly awesome.

Coded-Dude
05-19-2006, 12:54 AM
Well, I am geting some weird g++ error, and thus cannot install.
It would appear someone else has also ran into this error, but there is no solution yet.
I will continue working on it an post my results.

Thus far:

MAKE ERROR
make[5]: Entering directory `/tmp/amaroK/amarok-1.4.0/amarok/src/engine/void'
if /bin/sh ../../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src/engine -I../../../../amarok/src/plugin -I../../../../amarok/src -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT void-engine.lo -MD -MP -MF ".deps/void-engine.Tpo" \
-c -o void-engine.lo `test -f 'void-engine.cpp' || echo './'`void-engine.cpp; \
then mv -f ".deps/void-engine.Tpo" ".deps/void-engine.Plo"; \
else rm -f ".deps/void-engine.Tpo"; exit 1; \
fi
void-engine.cpp:23: error: visibility arg must be one of "default", "hidden", "protected" or "internal"
make[5]: *** [void-engine.lo] Error 1
make[5]: Leaving directory `/tmp/amaroK/amarok-1.4.0/amarok/src/engine/void'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/amaroK/amarok-1.4.0/amarok/src/engine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/amaroK/amarok-1.4.0/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/amaroK/amarok-1.4.0/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/amaroK/amarok-1.4.0'
make: *** [all] Error 2

SOURCE FILE
/************************************************** *************************
void-engine.h - Dummy engine plugin

copyright : (C) 2003 by Max Howell <max.howell@methylblue.com>
copyright : (C) 2004 by Mark Kretschmann <markey@web.de>
************************************************** *************************/

/************************************************** *************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
************************************************** *************************/

#include "void-engine.h"

#include <klocale.h>


AMAROK_EXPORT_PLUGIN( VoidEngine )


bool
VoidEngine::load( const KURL& url, bool stream )
{
Engine::Base::load( url, stream );
emit statusText( i18n( "Error: No engine loaded, cannot start playback." ) );

return false;
}

################################################## ##############################################
I'm not a C++/G++ guru so this might take me a little time to figure out, but and/all help would be appreciated. :worthy:
################################################## ##############################################

BugenhagenXIII
05-19-2006, 04:28 AM
You can always get the amarok-svn script from their site, it does every thing automatically.

This (http://ubuntuforums.org/showthread.php?t=80492) guide is for Ubuntu, but should be very similar for other distros. (And even though it says it's for Breezy, it also works fine with Dapper.)

Garfunkel
05-19-2006, 07:25 AM
dapper is coming out on the 1st right?

that error is...bizzare!

BugenhagenXIII
05-19-2006, 05:14 PM
Yeah, Dapper comes out June first. I started using it when it hit Beta2, about 3-4weeks ago.

EDIT: And yes, that error is weird, especially since
whereis void-engine.cpp

produced nothing for me, and I know I have all the source code.

Coded-Dude
05-19-2006, 06:07 PM
yes indeed, I thought maybe using the -fvisibility=hidden option might be a feesible workaround, but that failed as well, I will try out the scenarios above and see what happens.

btw - running the latest RHEL4 with pretty much every development software installed(libraries/modules/etc)
Anywho, wish me luck.

[edit] is it me or is the amaroK website a little slow right now(it won't load for me)

################################################## ########################################
Okay well, it looks like editing plugin.h and removing KDE_EXPORT
from the following, got me past teh void-engine,cpp error:
#define AMAROK_EXPORT_PLUGIN( classname ) \\
extern \"C\" { \\
KDE_EXPORT amaroK::Plugin* create_plugin() { return new classname; } \\
}

Make is still running, but I am way past the previous error, thanks for all the tips anyways guys....much appreciated!