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

Re: gEDA-dev: Building gEDA




> I think I got it.
> Try this, using an unmodified version of the top-level Makefile of gEDA/gaf:
> 
> export DESTDIR=/home/build/geda
> export PKG_CONFIG_PATH=${DESTDIR}/usr/lib/pkgconfig
> export CPPFLAGS="-I${DESTDIR}/usr/include"
> export LDFLAGS="-L${DESTDIR}/usr/lib"
> make config prefix=/usr
> make install
> cd $DESTDIR
> tar -zcvf geda.tar.gz usr
> 
> This way, it appears you don't have to install libgeda first. It
> wouldn't even matter if you have a different version already installed.

That looks really good. I'm heading home for the weekend, so haven't yet
tested it, but that equates to my desired behaviour.

Does the Linker still get past the normal -L/usr/lib stuff on its
command line? If so, how do we gaurantee that it links against the new
libgeda in ${DESTDIR}/usr/lib. Is it an order-of command line precidence
thing?

> I am assuming you want to make a binary tarball of the CVS version of
> gEDA/gaf, which you could distribute without having to compile from
> source on every computer.
> Out of curiosity, what operating system these computers run?

They are knoppix based workstations, so basically they are debian. I've
tried to contact Hamish to discover how he builds the debaian packages,
but have had no response yet.

I gave up trying to do the debian packages myself earlier today, as I'm
not familiar with the build system. Instead, I'm just producing
a .tar.gz from "/" of the majority of a gEDA build, and quoting run-time
deps as per Hamish's packages.

Thanks for your help on the build commands.. no doubt will have plenty
of chance to try them over the next few weeks as we push out patched
versions of gschem etc.. for local testing.

Peter




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