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

Re: gEDA-user: Building from sources



On Sunday 12 February 2006 06:44, Daniel Wisehart wrote:
> On Sunday 12 February 2006 05:23, Stuart Brorson wrote:
> > 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.
>
> Thanks, Stuart.   Unfortunately, that did not work.

If you reverse steps 3 and 4, make config does work, but 'make install' still 
fails in the same place:

no -L -R'f_basic.c : *' ../noweb/f_basic.nw > ../src/f_basic.c
/bin/sh: no: command not found

Regards,
Daniel