I figured this out.  It's my bad.  I'm posting this more for any poor  
soul who's google searching on this issue:

Clearly the developer page states:

It is pretty important to have all of the above programs (especially  
automake, autoconf, libtool, gtk, and guile) installed in the same  
prefix (like /usr or /usr/local). If you do not have them all  
installed in the same prefix, then building and installing gEDA/gaf is  
much harder.

I'm doing this on a mac, and macports and fink run in their own  
sandbox (i.e. all of fink is under /sw and all of macports is under / 
opt).  The path environment variable was set to pickup osx binaries  
first then macports.  Some of the tools are installed under OSX, and  
they were ran from that location while others aren't unstalled in OSX  
and are ran from the macports installation.  This violates the line  
above from the developer page.

I created a script in .bash_profile to prefix my path with either  
macports or fink sandbox directories (before osx) thereby favoring  
those applications.  Also got to learn about shell programming.

I've pasted the script in below if it's of value to anyone.

PS3="Which port?:"
echo "Choose from the list below."
select NAME in macports fink mac
do
        break
done
echo "Setting path to prefer $NAME."
case $NAME in
macports) export PATH=/opt/local/bin:${PATH} PS1="opt-\s-\v\$" ;;
fink) test -r /sw/bin/init.sh && . /sw/bin/init.sh PS1="sw-\s-\v\$" ;;
*) PS1="osx-\s-\v\$" ;;
esac

echo "Path set to " $PATH

echo "Setting gEDA variables."
export LD_LIBRARY_PATH=/Users/Pete/geda/lib:$LD_LIBRARY_PATH
export PATH=/Users/Pete/geda/bin:${PATH}
export PKG_CONFIG_PATH=/Users/Pete/geda/lib/pkgconfig:$PKG_CONFIG_PATH

Pete

On Dec 11, 2008, at 9:49 PM, Peter Wiley-Cordone wrote:

> All,
>
> I'm trying to build from the sources on Mac OSX.  I've installed
> everything as the directions say online (I'm using macports) and when
> I try the top level makefile (or to build libgeda) I get the following
> error:
>
>
> configure.ac:19: warning: macro `AM_GNU_GETTEXT' not found in library
> configure.ac:70: warning: macro `AM_NLS' not found in library
> configure.ac:81: warning: macro `AM_GNU_GETTEXT' not found in library
> configure.ac:82: warning: macro `AM_GNU_GETTEXT_VERSION' not found in
> library
> configure.ac:74: error: m4 macro `AM_NLS' is not defined.  Ensure that
> `nls.m4' is installed in your aclocal search path.  Maybe you are
> missing a -dev package?
>
> I searched online, but can't find an answer to this.  Does this sound
> immediately familiar to anyone?
>
> Peter Wiley-Cordone
> pcord...@ieee.org
>
>
>
>
>
>
> _______________________________________________
> geda-dev mailing list
> geda-dev@moria.seul.org
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Peter Wiley-Cordone
pcord...@ieee.org






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

Reply via email to