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