synaptic-devel
[Top][All Lists]
Advanced

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

Re: [Synaptic-devel] Build problems....


From: Richard Bos
Subject: Re: [Synaptic-devel] Build problems....
Date: Sat, 28 Feb 2004 23:47:09 +0100
User-agent: KMail/1.5.4

Op zaterdag 28 februari 2004 00:01, schreef Michael Vogt:
> > I use the same version... I'm getting the error with 0.48test2 as well.
> >  So I assume you get those too??
>
> No, I don't get these errors. I guess it's because debian uses the
> DESTDIR variable to tell the build process where to put the files. It
> looks like the relevant makefile part does honor this.
>
> My install lines looks like this:
> $(MAKE) install DESTDIR=$(CURDIR)/debian/synaptic

mine is:
%install
make DESTDIR=%{buildroot} install

> I hope adding this does solve your problem
No as it was already there :)

From the help/C/Makefile:
install-data-hook-omf:
        $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
        for file in $(omffile); do \
                $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
        done
        -scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o 
$(DESTDIR)$(omf_dest_dir)


You can see that scrollkeeper_localstate_dir is not prefixed with $(DESTDIR).
I assume that may fix the problem?

Hmm, maybe not.  Closer look at the build output:
make[4]: Entering directory `/home/richard/packages/BUILD/synaptic-0.48/help/C'
/bin/sh ../../mkinstalldirs 
/tmp/making_of_synaptic-0.47.91/opt/gnome/share/omf/synaptic
mkdir /tmp/making_of_synaptic-0.47.91/opt/gnome/share/omf
mkdir /tmp/making_of_synaptic-0.47.91/opt/gnome/share/omf/synaptic
for file in synaptic-C.omf; do \
        /usr/bin/install -c -m 644 $file.out /tmp/making_of_synaptic-0.47.91/opt
/gnome/share/omf/synaptic/$file; \
done
scrollkeeper-update -p /usr/var/scrollkeeper -o 
/tmp/making_of_synaptic-0.47.91/opt/gnome/share/omf/synaptic
Cannot write to log file: /var/log/scrollkeeper.log : Permission denied
Cannot write to log file: /var/log/scrollkeeper.log : Permission denied
-----------------

You can see that the DESTDIR is be honoured (/tmp/making_of_synaptic-0.47.91) 
and
that scrollkeeper-update failes to write to the log.  I wunder should this part 
actually be
run during the build??  I would suspect it is only necessary during the 
installation of the
package?

I'm puzzled...!

-- 
Richard Bos
Without a home the journey is endless





reply via email to

[Prev in Thread] Current Thread [Next in Thread]