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

Re: gEDA: Problems with compiling gaf



On Tue, Aug 07, 2001 at 03:57:21PM +0200, Wojciech Kazubski wrote:
> Hi all!
> I found some problems when tried to make RPMs fom gaf tarballs 20010722 on 
> Redhat 7 Linux box (intel).
> 
> 1) some files compile to /usr/share/gEDA (absolute directory) rather than the 
> proper subdirectory in the installation directory.  I noticed this for:
>   gschem-gtkrc
>   system-gnetlistrc
>   system-gschemrc
>   system-gsymcheckrc
>   share/gEDA/scheme subdirectory
> The error is not critical in standard compilation to /usr but causes missing 
> files when building a RPM package.

Maybe this will help.. I build the Debian packages and I had no problem with
20010722. I use the following commands to build (eg geda-gschem):

        ./configure --prefix=/usr --with-rcdir=/etc/gEDA
        make CFLAGS="-O2 -g -Wall"
        $(MAKE) install DESTDIR=`pwd`/debian/tmp

--with-rcdir specifies the location of those system-*rc files.
The CFLAGS= bit shouldn't be needed but is left over from ages ago.
I don't remember why. Then it installs it into the temporary directory 
`pwd`/debian/tmp so it can build the actual .deb.

Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>