Hi All, I am trying to build vdrplugin-softdevice from the gentoo-de ebuilds on gentoo 2005.
I am getting the following error because the path for the directfb & dfb ++ headers etc are wrong, everything is actually under /usr/include, but the install is looking for the headers under /usr/local/include.
I am new to Gentoo and was wondering how I can deal with this nicely. How can I override the paths to get a successful build?
Thanks for all your help
Anthony
Emerge output ************** root@mmc > emerge vdrplugin-softdevice Calculating dependencies ...done!
emerge (1 of 1) media-video/vdrplugin-softdevice-0.1.0 to / md5 files ;-) ChangeLog md5 files ;-) vdrplugin-softdevice-0.0.7_pre1-r1.ebuild md5 files ;-) vdrplugin-softdevice-0.0.7_pre1.ebuild md5 files ;-) vdrplugin-softdevice-0.0.7_pre2.ebuild md5 files ;-) vdrplugin-softdevice-0.0.7_pre3.ebuild md5 files ;-) vdrplugin-softdevice-0.0.8.ebuild md5 files ;-) vdrplugin-softdevice-0.0.8_pre1.ebuild md5 files ;-) vdrplugin-softdevice-0.1.0.ebuild md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre1-r1 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre1 md5 files ;-) files/vdr.softdevice md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre2 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre3 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.8 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.8_pre1 md5 files ;-) files/digest-vdrplugin-softdevice-0.1.0 md5 files ;-) files/softdevice-0.0.7_pre1.diff md5 files ;-) files/softdevice-0.0.8_pre1-vdr-1.3.18.diff md5 src_uri ;-) vdr-softdevice-0.1.0.tgz
* Found DVB-Driver Includes: * /usr/include/ (API 3) * Found Includes for vdr version: * 1.3.22
* * softdevice-plugin for Video Disk Recorder * ----------------------------------------- * * You can use some VDR-SOFTDEVICE-USE-Flags to build your special plugin * Only add * VDR_SOFTDEVICE_OPTS="..." * to /etc/make.conf * * * Here is a list of all possible VDR_SOFTDEVICE_OPTS: * * xv -> enable XV-Support * vidix -> enable vidix-Support * dfb -> enable DFB-Support * fb -> enable FB-Support * * Your VDR_SOFTDEVICE_OPTS: dfb *
Unpacking source... Unpacking vdr-softdevice-0.1.0.tgz to /var/tmp/portage/vdrplugin-
softdevice-0.1.0/work * disable XV-Support * disable Vidix-Support * enable DFB-Support * disable FB-Support
Source unpacked.
* Patching Makefiles for new path to dvb-driver * Adding -fPIC to CXXFLAGS... [ ok ]g++ -O2 -march=athlon-xp -fomit-frame-pointer -fPIC -c -DUSE_MMX - DUSE_MMX2 -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE - DPLUGINLIBDIR='"./PLUGINS/lib"' -DDFB_SUPPORT -DSUSPEND_BY_KEY - I/usr/include/ -I/usr/include -I/usr/include/ffmpeg - I/usr/local/include/dfb++ -I/usr/local/include/directfb softdevice.c In file included from softdevice.c:57: video-dfb.h:13:19: dfb++.h: No such file or directory video-dfb.h:14:22: directfb.h: No such file or directory video-dfb.h:15:31: directfb_keynames.h: No such file or directory In file included from softdevice.c:57: video-dfb.h:26: error: syntax error before `*' token video-dfb.h:27: error: parse error before `,' token video-dfb.h:28: error: syntax error before `*' token video-dfb.h:30: error: 'DFBSurfacePixelFormat' is used as a type, but is not defined as a type. video-dfb.h:33: error: syntax error before `*' token video-dfb.h:45: error: syntax error before `*' token video-dfb.h:79: error: `DFBInputDeviceKeySymbol' was not declared in this scope video-dfb.h:79: error: parse error before `)' token make: *** [softdevice.o] Error 1
!!! ERROR: media-video/vdrplugin-softdevice-0.1.0 failed. !!! Function vdrplugin_make, Line 184, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message.
mmc vdrplugin-softdevice-0.1.0 # ls -la /usr/include/dfb++/ total 92 drwxr-xr-x 2 root root 4096 May 14 19:35 . drwxr-xr-x 190 root root 12288 May 17 06:29 .. -rw-r--r-- 1 root root 3607 May 17 19:16 dfb++.h -rw-r--r-- 1 root root 4829 May 17 19:16 idirectfb.h -rw-r--r-- 1 root root 2765 May 17 19:16 idirectfbdatabuffer.h -rw-r--r-- 1 root root 6502 May 17 19:16 idirectfbdisplaylayer.h -rw-r--r-- 1 root root 2302 May 17 19:16 idirectfbeventbuffer.h -rw-r--r-- 1 root root 2556 May 17 19:16 idirectfbfont.h -rw-r--r-- 1 root root 2075 May 17 19:16 idirectfbimageprovider.h -rw-r--r-- 1 root root 2577 May 17 19:16 idirectfbinputdevice.h -rw-r--r-- 1 root root 2486 May 17 19:16 idirectfbpalette.h -rw-r--r-- 1 root root 4209 May 17 19:16 idirectfbscreen.h -rw-r--r-- 1 root root 10687 May 17 19:16 idirectfbsurface.h -rw-r--r-- 1 root root 2504 May 17 19:16 idirectfbvideoprovider.h -rw-r--r-- 1 root root 4792 May 17 19:16 idirectfbwindow.h
mmc vdrplugin-softdevice-0.1.0 # ls -la /usr/include/directfb/ total 248 drwxr-xr-x 4 root root 4096 May 14 15:16 . drwxr-xr-x 190 root root 12288 May 17 06:29 .. -rw-r--r-- 1 root root 264 May 15 10:55 dfb_types.h drwxr-xr-x 2 root root 4096 May 14 15:16 direct -rw-r--r-- 1 root root 165732 May 15 10:55 directfb.h -rw-r--r-- 1 root root 24295 May 15 10:55 directfb_keyboard.h -rw-r--r-- 1 root root 13260 May 15 10:55 directfb_keynames.h -rw-r--r-- 1 root root 7847 May 15 10:55 directfb_strings.h -rw-r--r-- 1 root root 1318 May 15 10:55 directfb_version.h drwxr-xr-x 2 root root 4096 May 14 15:16 fusion
mmc vdrplugin-softdevice-0.1.0 # ls -la /usr/include/ffmpeg/ total 152 drwxr-xr-x 2 root root 4096 May 15 14:18 . drwxr-xr-x 190 root root 12288 May 17 06:29 .. -rw-r--r-- 1 root root 71067 May 15 14:18 avcodec.h -rw-r--r-- 1 root root 21534 May 15 14:18 avformat.h -rw-r--r-- 1 root root 6235 May 15 14:18 avio.h -rw-r--r-- 1 root root 11610 May 15 14:18 common.h -rw-r--r-- 1 root root 1736 May 15 14:18 rational.h -rw-r--r-- 1 root root 2003 May 15 14:18 rtp.h -rw-r--r-- 1 root root 2906 May 15 14:18 rtsp.h -rw-r--r-- 1 root root 617 May 15 14:18 rtspcodes.h
On Tuesday 17 May 2005 12:35, anthony hornby wrote:
Hi All, I am trying to build vdrplugin-softdevice from the gentoo-de ebuilds on gentoo 2005.
I am getting the following error because the path for the directfb & dfb ++ headers etc are wrong, everything is actually under /usr/include, but the install is looking for the headers under /usr/local/include.
I am new to Gentoo and was wondering how I can deal with this nicely. How can I override the paths to get a successful build?
Thanks for all your help
Anthony
Could you please resync and try vdrplugin-softdevice-0.1.0-r1
Matthias
Hi Matthias, thanks for your help. I have done a gensync gentoo-de and can now see the new version. However when I do an emerge vdrplugin-softdevice I get the old version trying to be applied. See output below "please try vdrplugin-softdevice-0.1.0-r1".
I am very new to Gentoo - so sorry if this is a very dumb question, but how do I get it to apply the specific version. How does it work out which the new revision is (0.1.0-r1) so it knows to try to install that?
Thanks again for your help.
mmc root # emerge vdrplugin-softdevice Calculating dependencies ...done!
emerge (1 of 1) media-video/vdrplugin-softdevice-0.1.0 to / md5 files ;-) ChangeLog md5 files ;-) vdrplugin-softdevice-0.0.7_pre1-r1.ebuild md5 files ;-) vdrplugin-softdevice-0.0.7_pre1.ebuild md5 files ;-) vdrplugin-softdevice-0.0.7_pre2.ebuild md5 files ;-) vdrplugin-softdevice-0.0.7_pre3.ebuild md5 files ;-) vdrplugin-softdevice-0.0.8.ebuild md5 files ;-) vdrplugin-softdevice-0.0.8_pre1.ebuild md5 files ;-) vdrplugin-softdevice-0.1.0.ebuild md5 files ;-) vdrplugin-softdevice-0.1.0-r1.ebuild md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre1-r1 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre1 md5 files ;-) files/vdr.softdevice md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre2 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre3 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.8 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.8_pre1 md5 files ;-) files/digest-vdrplugin-softdevice-0.1.0 md5 files ;-) files/softdevice-0.0.7_pre1.diff md5 files ;-) files/softdevice-0.0.8_pre1-vdr-1.3.18.diff md5 files ;-) files/digest-vdrplugin-softdevice-0.1.0-r1 md5 src_uri ;-) vdr-softdevice-0.1.0.tgz
* Found DVB-Driver Includes: * /usr/include/ (API 3) * Found Includes for vdr version: * 1.3.22
* * softdevice-plugin for Video Disk Recorder * ----------------------------------------- * * You can use some VDR-SOFTDEVICE-USE-Flags to build your special plugin * Only add * VDR_SOFTDEVICE_OPTS="..." * to /etc/make.conf * * * Here is a list of all possible VDR_SOFTDEVICE_OPTS: * * xv -> enable XV-Support * vidix -> enable vidix-Support * dfb -> enable DFB-Support * fb -> enable FB-Support * * Your VDR_SOFTDEVICE_OPTS: dfb *
Unpacking source... Unpacking vdr-softdevice-0.1.0.tgz to /var/tmp/portage/vdrplugin-
softdevice-0.1.0/work * disable XV-Support * disable Vidix-Support * DFB-Support is broken * please try vdrplugin-softdevice-0.1.0-r1
On Tue, 2005-05-17 at 14:36 +0200, Matthias Schwarzott wrote:
On Tuesday 17 May 2005 12:35, anthony hornby wrote:
Hi All, I am trying to build vdrplugin-softdevice from the gentoo-de ebuilds on gentoo 2005.
I am getting the following error because the path for the directfb & dfb ++ headers etc are wrong, everything is actually under /usr/include, but the install is looking for the headers under /usr/local/include.
I am new to Gentoo and was wondering how I can deal with this nicely. How can I override the paths to get a successful build?
Thanks for all your help
Anthony
Could you please resync and try vdrplugin-softdevice-0.1.0-r1
Matthias
Hi Matthias,
Some more stuff ....
I worked out how to get to the next step. Now when I run emerge vdrplugin-softdevice I get the following errors.
mmc root # emerge vdrplugin-softdevice Calculating dependencies - !!! All ebuilds that could satisfy "media-video/vidix-cvs" have been masked. !!! One of the following masked packages is required to complete your request: - media-video/vidix-cvs-0.0.1 (masked by: ~x86 keyword)
For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!! (dependency required by "media-video/vdrplugin-softdevice-0.1.0- r1" [ebuild])
***** Note to get to the next step I added media-video/vidix-cvs ~x86 and media-video/vdrplugin-softdevice ~x86 to /etc/portage/packages. ******
mmc root # vim /etc/portage/package.keywords mmc root # emerge vdrplugin-softdevice Calculating dependencies ...done!
emerge (1 of 2) media-video/vidix-cvs-0.0.1 to / md5 files ;-) ChangeLog md5 files ;-) vidix-cvs-0.0.1.ebuild md5 files ;-) files/digest-vidix-cvs-0.0.1 Unpacking source...
* Fetching CVS module vidix into /usr/portage/distfiles/cvs-src ... * Running cvs -d ":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/vidix" login Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/vidix * Running cvs -d ":pserver:anonymous@cvs.sourceforge.net:/cvsroot/vidix" update -dP vidix cvs update: Updating vidix cvs update: Updating vidix/libdha cvs update: Updating vidix/libdha/bin cvs update: Updating vidix/libdha/kernelhelper cvs update: Updating vidix/libdha/oth cvs update: Updating vidix/libdha/sysdep cvs update: Updating vidix/vidix cvs update: Updating vidix/vidix/drivers * Copying vidix from /usr/portage/distfiles/cvs-src ... * CVS module vidix is now in /var/tmp/portage/vidix-cvs-0.0.1/work
!!! ERROR: media-video/vidix-cvs-0.0.1 failed. !!! Function unpack, Line 352, Exitcode 0 !!! Nothing passed to the 'unpack' command !!! If you need support, post the topmost build error, NOT this status message.
Any tips on what I do next?
Thanks for your help.
Regards Anthony
On Tue, 2005-05-17 at 22:48 +0930, anthony hornby wrote:
Hi Matthias, thanks for your help. I have done a gensync gentoo-de and can now see the new version. However when I do an emerge vdrplugin-softdevice I get the old version trying to be applied. See output below "please try vdrplugin-softdevice-0.1.0-r1".
I am very new to Gentoo - so sorry if this is a very dumb question, but how do I get it to apply the specific version. How does it work out which the new revision is (0.1.0-r1) so it knows to try to install that?
Thanks again for your help.
mmc root # emerge vdrplugin-softdevice Calculating dependencies ...done!
emerge (1 of 1) media-video/vdrplugin-softdevice-0.1.0 to / md5 files ;-) ChangeLog md5 files ;-) vdrplugin-softdevice-0.0.7_pre1-r1.ebuild md5 files ;-) vdrplugin-softdevice-0.0.7_pre1.ebuild md5 files ;-) vdrplugin-softdevice-0.0.7_pre2.ebuild md5 files ;-) vdrplugin-softdevice-0.0.7_pre3.ebuild md5 files ;-) vdrplugin-softdevice-0.0.8.ebuild md5 files ;-) vdrplugin-softdevice-0.0.8_pre1.ebuild md5 files ;-) vdrplugin-softdevice-0.1.0.ebuild md5 files ;-) vdrplugin-softdevice-0.1.0-r1.ebuild md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre1-r1 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre1 md5 files ;-) files/vdr.softdevice md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre2 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.7_pre3 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.8 md5 files ;-) files/digest-vdrplugin-softdevice-0.0.8_pre1 md5 files ;-) files/digest-vdrplugin-softdevice-0.1.0 md5 files ;-) files/softdevice-0.0.7_pre1.diff md5 files ;-) files/softdevice-0.0.8_pre1-vdr-1.3.18.diff md5 files ;-) files/digest-vdrplugin-softdevice-0.1.0-r1 md5 src_uri ;-) vdr-softdevice-0.1.0.tgz
Found DVB-Driver Includes:
/usr/include/ (API 3)
Found Includes for vdr version:
1.3.22
softdevice-plugin for Video Disk Recorder
You can use some VDR-SOFTDEVICE-USE-Flags to build your special
plugin
- Only add
- VDR_SOFTDEVICE_OPTS="..."
- to /etc/make.conf
- Here is a list of all possible VDR_SOFTDEVICE_OPTS:
- xv -> enable XV-Support
- vidix -> enable vidix-Support
- dfb -> enable DFB-Support
- fb -> enable FB-Support
- Your VDR_SOFTDEVICE_OPTS: dfb
Unpacking source... Unpacking vdr-softdevice-0.1.0.tgz to /var/tmp/portage/vdrplugin-
softdevice-0.1.0/work
- disable XV-Support
- disable Vidix-Support
- DFB-Support is broken
- please try vdrplugin-softdevice-0.1.0-r1
On Tue, 2005-05-17 at 14:36 +0200, Matthias Schwarzott wrote:
On Tuesday 17 May 2005 12:35, anthony hornby wrote:
Hi All, I am trying to build vdrplugin-softdevice from the gentoo-de ebuilds on gentoo 2005.
I am getting the following error because the path for the directfb & dfb ++ headers etc are wrong, everything is actually under /usr/include, but the install is looking for the headers under /usr/local/include.
I am new to Gentoo and was wondering how I can deal with this nicely. How can I override the paths to get a successful build?
Thanks for all your help
Anthony
Could you please resync and try vdrplugin-softdevice-0.1.0-r1
Matthias
On Tuesday 17 May 2005 17:07, anthony hornby wrote:
Hi Matthias,
Some more stuff ....
I worked out how to get to the next step. Now when I run emerge vdrplugin-softdevice I get the following errors.
mmc root # emerge vdrplugin-softdevice Calculating dependencies - !!! All ebuilds that could satisfy "media-video/vidix-cvs" have been masked. !!! One of the following masked packages is required to complete your request:
- media-video/vidix-cvs-0.0.1 (masked by: ~x86 keyword)
For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!! (dependency required by "media-video/vdrplugin-softdevice-0.1.0- r1" [ebuild])
hello!
I fixed the vidix-cvs ebuild. You should also think wheather you need vidix or xv or dfb and change your use-flags according.
Please go to vdr-portal.de to report further problems with the gentoo.de ebuilds. Or file a bug under bugs.gentoo.de.
Matthias
Hallo Matthias,
u wrote on 17.05.2005, 18:55:
On Tuesday 17 May 2005 17:07, anthony hornby wrote:
Hi Matthias,
Some more stuff ....
I worked out how to get to the next step. Now when I run emerge vdrplugin-softdevice I get the following errors.
mmc root # emerge vdrplugin-softdevice Calculating dependencies - !!! All ebuilds that could satisfy "media-video/vidix-cvs" have been masked. !!! One of the following masked packages is required to complete your request:
- media-video/vidix-cvs-0.0.1 (masked by: ~x86 keyword)
For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!! (dependency required by "media-video/vdrplugin-softdevice-0.1.0- r1" [ebuild])
Wat is the Problem (masked by: ~x86 keyword) is not an error its a feature.
To emerge this ebuild, yust add a line in /etc/portage/package.keywords i.e.
<snipp> media-video/vidix-cvs ~x86 </snapp>
Do the same with other ~x86 marked ebuilds.
Note: all (most) ebuilds on gentoo.de tree are marked as testing, ~x86. In near Future goes any ebuilds to x86, its better 4 the Developer to handel the ebuilds in stable and testing modus.
It's diffrend by ebuilds, yust test it by your self. Hope i cut a little bit help.
Thanks Matthias :-)
All works now.
I had VDR_SOFTDEVICE_OPTS=dfb in my make.conf so it built the right support in.
Thanks for the tips about reporting bugs - I'll use those tools instead of this forum for Gentoo specific stuff next time.
If nothing else the VDR portal should find babelfish translations of bug reports from English into German pretty funny ...
Thanks again for all your help - I wish there was some way to send you beer/s electronically !!
Regards Anthony.
On Tue, 2005-05-17 at 18:55 +0200, Matthias Schwarzott wrote:
On Tuesday 17 May 2005 17:07, anthony hornby wrote:
Hi Matthias,
Some more stuff ....
I worked out how to get to the next step. Now when I run emerge vdrplugin-softdevice I get the following errors.
mmc root # emerge vdrplugin-softdevice Calculating dependencies - !!! All ebuilds that could satisfy "media-video/vidix-cvs" have been masked. !!! One of the following masked packages is required to complete your request:
- media-video/vidix-cvs-0.0.1 (masked by: ~x86 keyword)
For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!! (dependency required by "media-video/vdrplugin-softdevice-0.1.0- r1" [ebuild])
hello!
I fixed the vidix-cvs ebuild. You should also think wheather you need vidix or xv or dfb and change your use-flags according.
Please go to vdr-portal.de to report further problems with the gentoo.de ebuilds. Or file a bug under bugs.gentoo.de.
Matthias
Hi Jorg, the problem was that the package vidix-cvs wouldn't unpack and build. Matthias kindly fixed the vidix-cvs package so it now builds.
Thanks Matthias :-)
And thanks for the tips Jorg, I am getting a little more familiar with how Gentoo 'works' - so far I think its great.
It is very fast - seems noticeably faster at everything on the same hardware then Fedora 3 was.
I should have done some pre and post benchmarking to get some comparisions.
I think Gentoo will prove to be a good choice for the VDR box.
Regards Anthony.
On Tue, 2005-05-17 at 19:18 +0200, Jörg aka hd.brummy wrote:
Hallo Matthias,
u wrote on 17.05.2005, 18:55:
On Tuesday 17 May 2005 17:07, anthony hornby wrote:
Hi Matthias,
Some more stuff ....
I worked out how to get to the next step. Now when I run emerge vdrplugin-softdevice I get the following errors.
mmc root # emerge vdrplugin-softdevice Calculating dependencies - !!! All ebuilds that could satisfy "media-video/vidix-cvs" have been masked. !!! One of the following masked packages is required to complete your request:
- media-video/vidix-cvs-0.0.1 (masked by: ~x86 keyword)
For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!! (dependency required by "media-video/vdrplugin-softdevice-0.1.0- r1" [ebuild])
Wat is the Problem (masked by: ~x86 keyword) is not an error its a feature.
To emerge this ebuild, yust add a line in /etc/portage/package.keywords i.e.
<snipp> media-video/vidix-cvs ~x86 </snapp>
Do the same with other ~x86 marked ebuilds.
Note: all (most) ebuilds on gentoo.de tree are marked as testing, ~x86. In near Future goes any ebuilds to x86, its better 4 the Developer to handel the ebuilds in stable and testing modus.
It's diffrend by ebuilds, yust test it by your self. Hope i cut a little bit help.