On Thu, 29 Jul 2004 13:38:53 -0400 Michael Jennings <[EMAIL PROTECTED]> babbled:

> On Thursday, 29 July 2004, at 01:12:19 (-0700),
> E CVS List wrote:
> 
> > put things in the right dirs....
> > 
> > ===================================================================
> > RCS file:
> > /cvsroot/enlightenment/e17/apps/entrance/config/pam.d/Makefile.am,v
> > retrieving revision 1.3 retrieving revision 1.4
> > diff -u -3 -r1.3 -r1.4
> > --- Makefile.am     20 Jul 2004 18:32:35 -0000      1.3
> > +++ Makefile.am     29 Jul 2004 08:12:19 -0000      1.4
> > @@ -1,3 +1,3 @@
> >  EXTRA_DIST = entrance
> > -pamdir = $(prefix)/../$(sysconfdir)/pam.d
> > +pamdir = $(sysconfdir)/pam.d
> >  pam_DATA = entrance
> 
> > put things in the right dirs....
> > 
> > ===================================================================
> > RCS file:
> > /cvsroot/enlightenment/e17/apps/entrance/config/init.d/Makefile.am,v
> > retrieving revision 1.2 retrieving revision 1.3
> > diff -u -3 -r1.2 -r1.3
> > --- Makefile.am     20 Jul 2004 18:32:35 -0000      1.2
> > +++ Makefile.am     29 Jul 2004 08:12:19 -0000      1.3
> > @@ -1,3 +1,3 @@
> > -initdir = $(prefix)/../$(sysconfdir)/init.d
> > +initdir = $(sysconfdir)/init.d
> >  init_SCRIPTS = entrance
> >  # Install permissions need to be 744
> 
> I changed these for a reason.  "make distcheck" (at least for autoconf
> 2.13/automake 1.4) changes the $(prefix) value instead of properly
> setting $DESTDIR.  Since $(sysconfdir) does not reference $(prefix),
> make distcheck fails trying to write to the real /etc.

indeed it would. the problem here though is - entrance simply doesn't start if
you get the source then:

./configure
make
make install

because the code uses the defines that say the sysconfdir is /etc and looks for
entrans_config.db there
(same for pam.d and init.d stuff so it's accessible) so instead entrance ends up
installing in /usr/etc and /us/pam.d

:(

btw - emotion suffers the same issue in installing a module in xine's plugin
dir. you will find it hard to build in a buildroot too :(

> If someone has a better idea, I'm all ears.

hrrrmmm. how does other software handle it that has to install stuff outside of
its own prefix?

> Michael
> 
> -- 
> Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
> n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
> -----------------------------------------------------------------------
>  "Men are not subtle.  We are obvious.  Women know what men want.  Men
>   know what men want.  What do we want?  We want women!  That's it.
>   It's the only thing we know for sure."             -- Jerry Seinfeld
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> enlightenment-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
熊耳 - 車君 (数田)                  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to