gEDA-dev: Building gEDA

Cesar Strauss cstrauss at cea.inpe.br
Fri Jul 28 10:32:51 EDT 2006


Peter Clifton wrote:
> Hi,
>
> I'm tearing my hair out at the moment trying to build gEDA for
> distributing to our students..
>
> What I want to do, is to build the entire CVS source, into a prefix, say
> "/home/build/geda"
>
> (Which is OK),
>
> but then to relocate all this under /usr/.. on the final system.
> Unfortunatly, during the build process, many paths are hard-coded to
> match /home/build/geda/...
>
> Is there an easy way to persuede the configure script to hard-code one
> path, and install under another?
>
> (I realise I may have to "seed" a libgeda install under /usr/... to
> start with).
>
> Regards
>
> Peter Clifton
>
>
>
>   
Try this:
make clean
path-to/configure --prefix=/usr
make

then:
make install DESTDIR=/home/build/geda

The paths will be hardcoded to /usr, but the files will end up on
/home/build/geda/usr, where they can be archived.

Hope this helps,

Cesar



More information about the geda-dev mailing list