View previous topic :: View next topic |
Author |
Message |
dom974 n00b
Joined: 04 Feb 2003 Posts: 9 Location: FRANCE
|
Posted: Fri May 30, 2003 4:44 am Post subject: Quick FREEVO installation guide |
|
|
Ok, I managed to find a quite good ebuild for freevo.
You can find it at the CVS folder of freevo sourceforge page : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/freevo/freevo/contrib/gentoo/
1/ Download the file "rsync-freevo.sh"
2/ su and chmod the file to 744
2/ Configure your PORTDIR_OVERLAY (usually /usr/local/portage) in your /etc/make.conf file
3/ launch the script.
4/ Once it's done, go to /usr/local/portage/media-video/freevo and emerge the latest ebuild !!
Normally, it should be allright
bye !
dom. |
|
Back to top |
|
|
Tobi 2.4.20 n00b
Joined: 27 Mar 2003 Posts: 11 Location: Düsseldorf, Germany, Earth
|
Posted: Sat May 31, 2003 12:13 pm Post subject: |
|
|
Hi!
Thanks, your guide works, but I'm running into errors when it compiles freevo_runtime:
Code: |
SDL_DirectFB_video.c: In function `DirectFB_VideoInit':
SDL_DirectFB_video.c:397: warning: passing arg 2 of pointer to function makes pointer from integer without a cast
SDL_DirectFB_video.c:397: too many arguments to function
gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.5\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -mcpu=athlon -O3 -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DARTSC_SUPPORT -I/usr/kde/3.1/include/artsc -DESD_SUPPORT -DNAS_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_FBCON -DENABLE_DIRECTFB -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX -I../../../include -I../../../include/SDL -I../../../src -I../../../src/linux -I../../../src/main -I../../../src/audio -I../../../src/video -I../../../src/video/XFree86/extensions -I../../../src/events -I../../../src/joystick -I../../../src/cdrom -I../../../src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -D_REENTRANT -I/usr/include/directfb -c SDL_DirectFB_events.c -o SDL_DirectFB_events.o >/dev/null 2>&1
make[3]: *** [SDL_DirectFB_video.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .libs/SDL_DirectFB_events.lo SDL_DirectFB_events.lo
make[3]: Leaving directory `/var/tmp/portage/freevo_runtime-1.3.2_pre2/work/SDL-1.2.5/src/video/directfb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/freevo_runtime-1.3.2_pre2/work/SDL-1.2.5/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/freevo_runtime-1.3.2_pre2/work/SDL-1.2.5/src'
make: *** [all-recursive] Error 1
!!! ERROR: media-video/freevo_runtime-1.3.2_pre2 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! (no error message)
|
Kernel: 2.4.20 (vanilla)
Gcc: 3.2.3-r1
It's compiling some minutes and then: hasta la vista, baby! Any hints?
Greets Tobi _________________ Scientists tell us that the fastest animal on earth, with a top speed of 120 feet/second, is a cow that has been dropped out of a helicopter.
-Dave Barry |
|
Back to top |
|
|
dom974 n00b
Joined: 04 Feb 2003 Posts: 9 Location: FRANCE
|
Posted: Sun Jun 01, 2003 7:28 am Post subject: |
|
|
Apparently, your problem has something in common with SDL libraries.... Maybe you should just take a look at the freevo forums and do a quicks search, I'm sure someone had already the same issue !
www.freevo.org --> Mailing Lists --> User list.
If you still don't manage to solve it, just let me know !
bye
dom. |
|
Back to top |
|
|
smokeslikeapoet Tux's lil' helper
Joined: 03 Apr 2003 Posts: 96 Location: Cordova, TN USA
|
Posted: Wed Jun 11, 2003 6:19 am Post subject: |
|
|
I'm getting the exact same errors trying to run the ebuild. I didn't find anything on the sf forums that would help. I tried turning down my cflags and that didn't help.
Code: | #/etc/make.conf
USE="acpi acpi4linux apache2 curl dga dvd fbcon gnomedb gtk2 imap maildir mozaccess mozcalendar mozinterfaceinfo mozp3p mozsvg mozxmlterm odbc pic samba sse tiff usb Xaw3d xml -arts -kde -qt"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -finline-functions -falign-jumps=4 -falign-loops=4 -falign-functions=64 -funroll-loops -fprefetch-loop-arrays -mfpmath=sse -msse -mmmx -m3dnow -fforce-addr"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
|
_________________ -SmokesLikeaPoet
Folding@Home |
|
Back to top |
|
|
skarji n00b
Joined: 30 Apr 2003 Posts: 19
|
Posted: Wed Jun 11, 2003 7:38 am Post subject: |
|
|
I used to get the same error but it went away when i rebuild my system. My current flags are:
Code: | USE="X xml2 3dnow mmx gtk gnome alsa gtk2 quicktime nls oss svga opengl truetype gif jpeg sdl -kde -dga -dvd"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86" |
Iam now getting a new one though..this is when it tries to compile Imaging.
Code: | Traceback (most recent call last):
File "setup.py", line 287, in ?
extra_compile_args=EXTRA_COMPILE_ARGS,
NameError: name 'EXTRA_COMPILE_ARGS' is not defined
!!! ERROR: dev-python/Imaging-1.1.4 failed.
!!! Function distutils_src_compile, Line 36, Exitcode 1
!!! compilation failed
|
Any ideas on fixing the error above? _________________ Switch to Linux
http://www.ubergeek.tv/switchlinux/ |
|
Back to top |
|
|
skarji n00b
Joined: 30 Apr 2003 Posts: 19
|
Posted: Fri Jun 13, 2003 9:02 am Post subject: |
|
|
Finally got around to looking at this issue again and have managed to resolve it. The culprit was obviously in the setup.py file so to fix it i first did
Code: | #cd /usr/portage/distfiles
#tar zxvf Imaging-1.1.4*.gz
| This extracted the gz file into Imaging-1.1.4 folder. After that..did a nano -w on the setup.py file and located the following code:
Code: | if have_freetype:
MODULES.append(
Extension(
"_imagingft",
["_imagingft.c"] + FILES,
include_dirs=INCLUDE_DIRS,
library_dirs=LIBRARY_DIRS,
libraries=LIBRARIES,
extra_compile_args=EXTRA_COMPILE_ARGS,
extra_link_args=EXTRA_LINK_ARGS
)
)
|
The above code was changed to:
Code: | if have_freetype:
MODULES.append(
Extension(
"_imagingft",
["_imagingft.c"] + FILES,
include_dirs=INCLUDE_DIRS,
library_dirs=LIBRARY_DIRS,
libraries=LIBRARIES,
extra_compile_args=None,
extra_link_args=None
)
)
|
Once that was done..the file was saved and the following commands executed to gz the files.
Code: | #cd ..
#tar cvf - Imaging-1.1.4 |gzip >Imaging-1.1.4.tar.gz
|
This done...i tried to emerge Imaging and it came up with an error that there was a MD5 string mismatch. To fix this i did Code: | # cd /usr/portage/dev-python/Imaging/files
| and opened the digest-Imaging-1.1.4 file. This file contains the MD5 hash for Imaging-1.1.4.tar.gz file. In above..when the error about the MD5 mismatch first comes up..it gave the MD5 string for the new Imaging-1.1.4.tar.gz file. I copied that string and placed it into the digest file. After saving it, i did a emerge Imaging again with successfull results.
The rest of the installation went pretty smoothly. I did a Code: | #cd /usr/local/portage/media-video/freevo
#emerge freevo-1.3.2_pre4.ebuild
| and everything got installed. Maybe there was an easier way of fixing this but this way worked soz iam happy. Now to configure the beast _________________ Switch to Linux
http://www.ubergeek.tv/switchlinux/ |
|
Back to top |
|
|
smokeslikeapoet Tux's lil' helper
Joined: 03 Apr 2003 Posts: 96 Location: Cordova, TN USA
|
Posted: Mon Jun 16, 2003 3:43 am Post subject: |
|
|
I tried the fix and I'm still getting nowhere. Same error occurs. It's a bit frustrating. _________________ -SmokesLikeaPoet
Folding@Home |
|
Back to top |
|
|
daemonb Apprentice
Joined: 24 Jul 2002 Posts: 242
|
Posted: Wed Jun 25, 2003 9:15 am Post subject: |
|
|
What means this error?
Code: |
Cfg file data: "version = 1.0"
Loading cfg: ./freevo_config.py
Using MPlayer: /usr/bin/mplayer
No overrides loaded
ROM_DRIVES: Auto-detected and added "('/mnt/cdrom', '/dev/cdroms/cdrom0', 'CD-1')"
WARNING: PyLirc not found, lirc remote control disabled!
Imported skin skins/main1/skin_main1.py
Skin: Loading XML file blue_round1
ERROR: XML file corrupt
Traceback (most recent call last):
File "skins/main1/xml_skin.py", line 779, in load
font[f].prepare(self._color)
File "skins/main1/xml_skin.py", line 558, in prepare
self.h = osd.stringsize('Ajg', self.name, self.size)[1]
File "src/util.py", line 492, in __call__
return self.__method(self.__obj, *args, **kwargs)
File "src/osd.py", line 1166, in stringsize
size_w_tmp, size_h_tmp = self.charsize(string[i], font, ptsize)
File "src/osd.py", line 1153, in charsize
self.stringsize_cache[font][ptsize][char] = self._stringsize(char,font,ptsize)
File "src/osd.py", line 1185, in _stringsize
f = self._getfont(font, ptsize)
File "src/osd.py", line 1334, in _getfont
font = pygame.font.Font(filename, ptsize)
IOError: unable to read font filename
skin not found, using fallback skin
ERROR: XML file corrupt
Traceback (most recent call last):
File "skins/main1/xml_skin.py", line 779, in load
font[f].prepare(self._color)
File "skins/main1/xml_skin.py", line 558, in prepare
self.h = osd.stringsize('Ajg', self.name, self.size)[1]
File "src/util.py", line 492, in __call__
return self.__method(self.__obj, *args, **kwargs)
File "src/osd.py", line 1166, in stringsize
size_w_tmp, size_h_tmp = self.charsize(string[i], font, ptsize)
File "src/osd.py", line 1149, in charsize
self.stringsize_cache[font][ptsize][char] = self._stringsize(char,font,ptsize)
File "src/osd.py", line 1185, in _stringsize
f = self._getfont(font, ptsize)
File "src/osd.py", line 1334, in _getfont
font = pygame.font.Font(filename, ptsize)
IOError: unable to read font filename
Traceback (most recent call last):
File "src/main.py", line 101, in ?
menuwidget = menu.get_singleton()
File "src/menu.py", line 91, in get_singleton
_singleton = MenuWidget()
File "src/menu.py", line 199, in __init__
GUIObject.__init__(self)
File "src/gui/GUIObject.py", line 116, in __init__
self.skin_info = self.skin.GetPopupBoxStyle(self)
File "skins/main1/skin_main1.py", line 365, in GetPopupBoxStyle
layout = settings.popup
AttributeError: XMLSkin instance has no attribute 'popup'
|
|
|
Back to top |
|
|
marrs n00b
Joined: 08 Apr 2003 Posts: 10
|
Posted: Fri Jun 27, 2003 4:03 pm Post subject: |
|
|
Same error here. Solution, install the Arial Bold font:
Quote: | At startup you are probably seeing this.
Couldnt load font "skins/fonts/Arial_Bold.TTF"
trying alternate: ./skins/fonts/kimberly_alt.ttf
Arial is hardcoded in your theme.fxd and the newer pre- 4 5 runtimes
doesn't load the alternate font. When i added the Arial_Bold.TTF
in skins/fonts everything loaded fine. Discussed this already with Rob
Shortt on IRC. Not sure if Rob or others already found a solution for this. |
Source:
http://sourceforge.net/mailarchive/message.php?msg_id=5326639 |
|
Back to top |
|
|
quadbox Tux's lil' helper
Joined: 11 Jun 2002 Posts: 94 Location: Brisbane, Australia
|
Posted: Sat Jun 28, 2003 5:10 am Post subject: |
|
|
Great! Now all I have to do is work out how the hell to get the tv features to work with australian free-to-air :p (no xml-tv here, our television stations are owned by nazis) |
|
Back to top |
|
|
mickfromperth n00b
Joined: 26 May 2003 Posts: 62
|
Posted: Wed Dec 31, 2003 2:32 am Post subject: |
|
|
Just incase your sitll around quadbox, there is an xmltv for aus, just search in google for it. It was re-realeased a few months back..
Thankou ebroadcast! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|