* Blake Barnett wrote on Wed, May 24, 2006 at 07:53:57PM CEST:
> 
> I don't believe EET actually installs anything as data.  So it's not  
> using ${datadir}.  Things that do, such as embryo and/or edje, appear  
> to install things correctly but the binaries actually reference  
> (literally) ${datarootdir}/data  instead of the correctly replaced / 
> usr/share/embryo/data.
> 
> I used embryo as an example because it has this problem.  Edje  
> attempts to compile it's themes, it uses the program edje_cc which in  
> turn calls embryo_cc for compiling the code snippets within the  
> theme.  When it does this it fails because it can't find $ 
> {datarootdir}/include/edje.inc.

Yes.  The problem is not the exact snippet that Ben pointed out, but
code like this which is simply broken:

| dnl Set PACKAGE_DATA_DIR in config.h.
| if test "x${datadir}" = 'x${prefix}/share'; then
|   if test "x${prefix}" = "xNONE"; then
|     AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
"${ac_default_prefix}/share/${PACKAGE}", [Shared Data Directory] )
|   else
|     AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${prefix}/share/${PACKAGE}", 
[Shared Data Directory])
|   fi
| else
|   AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}", [Shared Data 
Directory])
| fi

I already pointed out that this will simply break, and is even a FAQ:
  info Autoconf "Defining Directories"

Please read that section fully (if you don't have the manual installed,
install it!  I think it's in the non-free section now); try to
understand it and the node referenced therein.  And then select one of
the four solutions or hacks pointed out therein.

If you're not familiar with Autoconf, please ask someone else to fix
this.  (I can do it, but then it will take a while.)

Cheers,
Ralf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to