[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Building from sources



> 
> I pulled in the sources from CVS, made sure I had all of the packages listed 
> here: http://geda.seul.org/developer.html and I am trying to build gEDA from 
> the sources for the first time.
> 
> Running make all seems to go through the configure stage just fine, but make 
> fails in libgeda/src after building a few source files with this error:
> 
> no -L -R'f_print.c : *' ../noweb/f_print.nw > ../src/f_print.c
> /bin/sh: no: command not found
> 
> What is the no command?  Or is that just an indication that I don't have 
> something I need?  Grepping for ' no' in the libgeda/src/Makefile gives this:
> 
> GINDENT = no
> LIBGDGEDACONFIG = no
> NOTANGLE = no
> 
> (comments omitted).
> 
> Is it noweb that I need?

Yes.  However, I belive that if you lack noweb the configure script
will detect this, and use a substitute guile script which does the
same thing.  Therefore, you may have configured something wrong.

Did you follow the instructions contained in the Makefile?  Building
from CVS is different from building a distribution.  The way I do it
is this:

1.  In the base directory, I edit the Makefile to set the "prefix" to
point to the directory into which I want to install gEDA.  (I believe
you can now set this variable exteranlly by saying 
"make install --prefix=/foo/bar" but I haven't tested it myself, and I
may have screwed up the syntax slightly ... )

2.  make reconfig

3.  make config

4.  setenv LD_LIBRARY_PATH {prefix}/lib:\$$LD_LIBRARY_PATH
    setenv PATH ${prefix}/bin:\$$PATH
    setenv PKG_CONFIG_PATH ${prefix}/lib/pkgconfig:\$$PKG_CONFIG_PATH

5.  make install

Read the top-level Makefile.  There are some explanatory comments
inside it.

Stuart