Hi,

I am getting the same issue when redefining the prefix directory.  It
was working fine on 1.3 however upgrading the 1.4 the module directory
string changed.

In Jose's case the configuration file is setting the MODULEDIR to
{sysroot}/{libdir} ->
"/usr/home/jrcmilanez/piapara-livecd-0.133/initrd/usr/lib" and dfb is
searching for that directory when he boots off the livecd (which is no
longer correct).

I have tried changing the exec-prefix option to empty so that libdir
does not pull my hosts path and instead is set to my targets, however
the install option now no longer works.  It tries to install to /lib
instead of /target/lib.

I am not sure if this effects the data directory as well since I have
not booted that far into directfb.

I think what will help us both is an option to specify where to install
the libraries/modules on the host and an option to specify where the
directfb libraries will search for modules/data.

Should sysroot work where the module search path is now
{sysroot}/lib/directfb?

Thanks,
Matt Spinder



On Fri, 2009-07-24 at 07:32 -0700, Suresh Tanjore wrote:
> Hi,
> 
>  
> 
> You are missing either the complete file .directfbrc  with appropriate
> entries or you are missing the system line in that file.
> 
>  
> 
> Please read more about directfbrc semantics.
> 
>  
> 
> Hope this helps
> 
> sureshtk
> 
>  
> 
> From: directfb-dev-boun...@directfb.org
> [mailto:directfb-dev-boun...@directfb.org] On Behalf Of josé renato cm
> Sent: Thursday, July 23, 2009 8:32 PM
> To: directfb-...@directfb.net
> Subject: [directfb-dev] Error with
> direct_modules_explore_directory( 'systems' )
> 
> 
>  
> 
> Hello people!
> 
> I'm having problems when testing my DirectFB. I'm compiling for a
> livecd, so I'm using this to point the install to my initrd tree:
> 
> USRDIR=/home/jrcmilanez/piapara-livecd-0.133/initrd/usr
> ./configure --prefix=$USRDIR --with-sysroot=/usr
> --enable-debug-support --enable-debug --disable-x11
> CFLAGS="-mtune=i586 -march=i586"
> 
> After install, I just tested with the dfbinfo. I got the same error
> inside the USRDIR and using the livecd too:
> 
> [r...@notebook piapara-livecd-0.133]# initrd/usr/bin/dfbinfo
> --dfb:debug
> (-) [  NO NAME         0.000] (28366) Direct/Main:
> direct_initialize() called...
> (-) [  NO NAME         0.000] (28366) Direct/Thread:
> direct_thread_set_name( 'Main Thread' )
> (-) [  NO NAME         0.000] (28366) Direct/Thread:        ->
> attaching unknown thread 28366
> (-) [  NO NAME         0.000] (28366) Direct/Mem:           +   112
> bytes [thread.c:369 in direct_thread_set_name()]
> (-) [  NO NAME         0.000] (28366) Direct/Mem:           +    12
> bytes [thread.c:386 in direct_thread_set_name()] -> 0x95666a8 "
> Main Thread"
> (-) [Main Thread       0.000] (28366)
> Direct/Main:        ...initializing now.
> (-) [Main Thread       0.000] (28366) Direct/Signals:
> Initializing...
> 
>    ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.1 |
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
>         (c) 2001-2009  The world wide DirectFB Open Source Community
>         (c) 2000-2004  Convergence (integrated media) GmbH
>       ----------------------------------------------------------------
> 
> (-) [Main Thread       0.000] (28366) DirectFB/Core:
> dfb_core_create...
> (-) [Main Thread       0.000] (28366) Direct/Main:
> direct_initialize() called...
> (-) [Main Thread       0.000] (28366) Direct/Main:        ...2
> references now.
> (*) DirectFB/Core: Single Application Core. (2009-07-24 02:57)
> [ DEBUG ]
> (-) [Main Thread       0.000] (28366) Direct/Modules:
> direct_modules_explore_directory( 'systems' )
> (-) [Main Thread       0.000] (28366) Direct/Modules:       -> ERROR
> opening directory: No such file or directory!
> (!) DirectFB/core/system: No system found!
> (-) [Main Thread       0.000] (28366) Direct/Main:
> direct_shutdown() called...
> (-) [Main Thread       0.000] (28366) Direct/Main:        ...1
> references left.
> (#) DirectFBError [DirectFBCreate() failed]: No (suitable)
> implementation found!
> 
> At my livecd, the systems directory is at /usr/lib/directfb-1.4-0.
> It's a directory problem? Please I need some help!
> 
> Att.
> 
> 
> _______________________________________________
> directfb-dev mailing list
> directfb-dev@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to