For entrance, autogen.sh is failing to fill in the PACKAGE_CFG_DIR
properly. That is, after executing "./autogen.sh --prefix=/opt/e17"
the variable definition has not been substituted correctly:
$ grep PACKAGE_CFG_DIR src/config.h
#define PACKAGE_CFG_DIR "${prefix}/etc"
Note that entrance will still work but will not find a configuration
DB. Entrance will also handily create a ~/${prefix} hierarchy owned by
root.
I found a fix for this by patching configure.in and passed it by Tilman:
he doesn't see this issue on his distro without my patch so I am not
sure what is up. I've attached the patch in the off chance there are
developers who are encountering the problem but it is clear this is not
a pure fix.
Some particulars:
$ uname -rmpio
2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD
GNU/Linux
autoconf (GNU Autoconf) 2.61
automake (GNU automake) 1.9.6
Suggestions welcome.
-glen
Index: configure.in
===================================================================
RCS file: /var/cvs/e/e17/apps/entrance/configure.in,v
retrieving revision 1.68
diff -u -u -r1.68 configure.in
--- configure.in 22 Mar 2007 02:17:28 -0000 1.68
+++ configure.in 28 Mar 2007 06:46:52 -0000
@@ -34,7 +34,8 @@
fi
test $localstatedir = '${prefix}/var' && localstatedir="/var/run/${PACKAGE}"
-AC_DEFINE_UNQUOTED(PACKAGE_CFG_DIR, "${sysconfdir}", [Config data directory])
+AC_EXPAND_DIR(PACKAGE_CFG_DIR, "$sysconfdir")
+AC_DEFINE_UNQUOTED(PACKAGE_CFG_DIR, "$PACKAGE_CFG_DIR", [Config data directory])
AC_DEFINE_UNQUOTED(PACKAGE_STATE_DIR, "${localstatedir}", [State data directory])
dnl Set PACKAGE_SOURCE_DIR in config.h.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel