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

Re: problems with cdbs



Hallo Pierre,

* Pierre HABOUZIT <pierre.habouzit@m4x.org> [2004-07-28 18:25]:
> > > please read [1], especialy section called : "Advanced customisation"
> > > 
> > > https://wiki.duckcorp.org/DebianPackagingTutorial_2fCDBS
> > 
> > i read it. it think i read all documentation in the web about cdbs.
> > sebastian said, that the upstream sources are faulty.
> 
>   well, S.  Bacher said :
> 
> >  Apparently it worked because the debian/rules used  make install
> > prefix= instead of DESTDIR=

sorry, maybe i am blind, he wrotes this:
"Your orig.tar.gz has wrong permissions.

BTW it's not a problem. CDBS do its job fine, that's the upstream system
that is faulty:

$ make install DESTDIR=/tmp
..
/usr/bin/install: cannot remove
`/usr/share/locale/fr/LC_MESSAGES/gtksee.mo': Permission denied
installing fr.gmo as /usr/share/locale/fr/LC_MESSAGES/gtksee.mo
/usr/bin/install: cannot remove
`/usr/share/locale/es/LC_MESSAGES/gtksee.mo': Permission denied
installing es.gmo as /usr/share/locale/es/LC_MESSAGES/gtksee.mo
...
etc
"
 
>  so In your debian/rules using cdbs I guess you have to do that :
> DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR) prefix=$(DEB_DESTDIR)

ah thanks.
 
>   (default is : DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR) )
> 
>   it was in the doc, in the section I mentionned to you

i had an offline copy, this was apparent outdated. next time i use the online version.
regards nico
-- 
Nico Golde - 310777820@ICQ
nico@ngolde.de | nion@gmx.net | http://www.ngolde.de
GPG: FF46 E565 5CC1 E2E5 3F69  C739 1D87 E549 7364 7CFF
Is there life after /sbin/halt -p?

Attachment: signature.asc
Description: Digital signature


Reply to: