[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: gschem's mkinstalldirs problem



Ales Hvezda wrote:
> Hi Carlos,
> 
> [snip]
> 
>>/bin/sh @MKINSTALLDIRS@ /home/cnieves/geda/share
>>/bin/sh: @MKINSTALLDIRS@: File or directory doesn't exist
> 
> 
> 	Ack! Another report of this.
> 
> 
>>then it works ok. Did anyone change something in the configure or
>>automake stuff recently?
> 
> 
> 	Not that I'm aware of.	Hmmm.  What linux distribution are you
> running?  Have you made any upgrades/changes to your system, maybe we
> are dealing with something breakage due to a new version of something
> (gettext?).
> 

I started to look into this, but I don't seem to have the problem.

At the very end of your configure output, what do you have for this:

checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... no
checking whether to use NLS... yes
checking where the gettext function comes from... included intl directory
configure: creating ./config.status


What does "gettext --version" give?  I have 0.14.5.


In poking through the generated gschem/aclocal.m4 I see early on in 
AM_GNU_GETTEXT a call to AM_PO_SUBDIRS and in that macro there is a call 
to   AC_REQUIRE([AM_MKINSTALLDIRS]).  In AM_MKINSTALLDIRS I see:


AC_DEFUN([AM_MKINSTALLDIRS],
[
   dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
   dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
   dnl Try to locate it.
   MKINSTALLDIRS=
   if test -n "$ac_aux_dir"; then
     case "$ac_aux_dir" in
       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
     esac
   fi
   if test -z "$MKINSTALLDIRS"; then
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   fi
   AC_SUBST(MKINSTALLDIRS)
])

which certainly should end up defining MKINSTALLDIRS to something.  And 
in fact on my system, it ends up being

MKINSTALLDIRS=$(top_srcdir)/mkinstalldirs


Is there any chance you had ACLOCAL_FLAGS set to something which caused 
a messed up aclocal directory to be used by automake/autoconf/aclocal 
when the configure script and the Makefile.in's were created?  For 
example do you have both an old version and a new version of gettext around?

-Dan





_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev