Page 1 of 3

Ultrastar

PostPosted: 31 Dec 2007, 15:56
by Jaycounet
Hello I would like to know if someone has already installed http://ultrastar-ng.sourceforge.net/ on YDL with his PS3 ?

If yes someone can explain to me how to install it

thx in advance

Re: Ultrastar

PostPosted: 31 Dec 2007, 16:33
by billb
Jaycounet wrote:Hello I would like to know if someone has already installed http://ultrastar-ng.sourceforge.net/ on YDL with his PS3 ?


Looks like you'd need to compile it ... have you looked at the README file included with the source code?

PostPosted: 31 Dec 2007, 16:41
by Jaycounet
I'm noob on this ...
I Found an RPM could it be usefull ?

PostPosted: 31 Dec 2007, 16:43
by billb
Jaycounet wrote:I'm noob on this ...
I Found an RPM could it be usefull ?


If it is for PPC and doesn't require any dependencies that are not available ... do you have a link to it?

PostPosted: 31 Dec 2007, 16:45
by Jaycounet
it's in the section dwl http://ultrastar-ng.sourceforge.net/?page=download


OpenSuse
You can found both rpm and rpm source for openSUSE 10.2 here (for both i586 and x86_64).

PostPosted: 02 Jan 2008, 23:03
by Jaycounet
I have try to install the archive and confgire ...

but problem at the end
.....
checking for portAudioV19... no
checking for Pa_Initialize in -lportaudio... no
checking for IMG_LoadPNG_RW in -lSDL_image... no
configure: error: Cannot find SDL_image


any idea ???

PostPosted: 02 Jan 2008, 23:18
by billb
Jaycounet wrote:I have try to install the archive and confgire ...

but problem at the end

<snip>
configure: error: Cannot find SDL_image

[/quote]

It looks like missing one of the required development libraries, which I believe is in fedora-extras ... (if you don't have the fedora-extras repo, follow this guide to set it up.

Code: Select all
su
<root password>

yum install SDL_image-devel


There will probably be more ... good luck! Most of the time they'll include a list of what is required in a INSTALL or README file.

PostPosted: 02 Jan 2008, 23:56
by Jaycounet
checking for zoomSurface in -lSDL_gfx... no
configure: error: Cannot find SDL_gfx


next step ...

PostPosted: 02 Jan 2008, 23:57
by Jaycounet
in the readme :

Dependencies:
- SDL : for window management
- SDL_image SDL_gfx : for image and zoom of SDL surface
- cairo >= 1.2 : for scalable graphical support
- cairo-svg (deprecated) or librsvg : for svg rendering (themes=
- smpeg (optional) : for video playback
- fftw3 : for captured note computation
- libalsa : capturing API used
- xine or gstreamer : for audio playback
- libxml2 : used as librsvg hack for theming

PostPosted: 03 Jan 2008, 02:14
by billb
Jaycounet wrote:in the readme :

Dependencies:
- SDL : for window management
- SDL_image SDL_gfx : for image and zoom of SDL surface
- cairo >= 1.2 : for scalable graphical support
- cairo-svg (deprecated) or librsvg : for svg rendering (themes=
- smpeg (optional) : for video playback
- fftw3 : for captured note computation
- libalsa : capturing API used
- xine or gstreamer : for audio playback
- libxml2 : used as librsvg hack for theming


:shock:

OK ... I'm just guessing here, but:

Code: Select all
yum install librsvg2 cairo-devel fftw-devel alsa-lib-devel gstreamer-devel smpeg-devel libxml2-devel

PostPosted: 03 Jan 2008, 10:00
by Jaycounet
thx a lot I will try when I'm back at home

It will miss something about this :

checking for zoomSurface in -lSDL_gfx... no
configure: error: Cannot find SDL_gfx


I have already install

yum install SDL_image-devel

and I don't have this problem
checking for IMG_LoadPNG_RW in -lSDL_image... no
configure: error: Cannot find SDL_image
anymore

PostPosted: 03 Jan 2008, 19:49
by billb
Jaycounet wrote:thx a lot I will try when I'm back at home

It will miss something about this :

checking for zoomSurface in -lSDL_gfx... no
configure: error: Cannot find SDL_gfx



Whew ... so that's ...

Code: Select all
yum install SDL_gfx-devel SDL_image-devel librsvg2 cairo-devel fftw-devel alsa-lib-devel gstreamer-devel smpeg-devel libxml2-devel


If you already have some of those installed it will just skip over them automatically.

I can't wait to see what happens when it starts compiling ... :lol:

PostPosted: 03 Jan 2008, 23:29
by Jaycounet
stop kiding me :p

so with a [make]

[root@localhost UltraStar-ng-0.2.1]# make
make all-recursive
make[1]: Entering directory `/home/jaycounet/Desktop/UltraStar-ng-0.2.1'
Making all in audio
make[2]: Entering directory `/home/jaycounet/Desktop/UltraStar-ng-0.2.1/audio'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../ -I/usr/include/alsa -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -W -Wall -MT audio_dev_alsa.lo -MD -MP -MF .deps/audio_dev_alsa.Tpo -c -o audio_dev_alsa.lo audio_dev_alsa.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -I../ -I/usr/include/alsa -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -W -Wall -MT audio_dev_alsa.lo -MD -MP -MF .deps/audio_dev_alsa.Tpo -c audio_dev_alsa.cpp -fPIC -DPIC -o .libs/audio_dev_alsa.o
audio_dev_alsa.cpp: In member function 'void<unnamed>::alsa_record::operator()()':
audio_dev_alsa.cpp:89: error: 'snd_pcm_recover' was not declared in this scope
make[2]: *** [audio_dev_alsa.lo] Erreur 1
make[2]: Leaving directory `/home/jaycounet/Desktop/UltraStar-ng-0.2.1/audio'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/jaycounet/Desktop/UltraStar-ng-0.2.1'
make: *** [all] Erreur 2

PostPosted: 04 Jan 2008, 00:34
by billb
And this is where I usually become lost ... :(

The only suggestion I have is looking for a support forum specifically for that program and search for or posting your compile error there.

PostPosted: 04 Jan 2008, 07:10
by ppietro
billb wrote:And this is where I usually become lost ... :(

The only suggestion I have is looking for a support forum specifically for that program and search for or posting your compile error there.


Me too! :)

You know what works for me sometimes? Googling the error. Chances are that somebody on the internet has run into this same error at some time or another, and somebody else had the solution.

Good luck!

Cheers,
Paul