Package: aap
Version: 1.072-1
Severity: important

Hi,

When trying to install AGIDE as per the instructions in the tutorial,
I've experienced a problem.  Steps to reproduce it:

    [EMAIL PROTECTED]:~$ aap --install agide
    [...]
    Aap: Error in recipe "/home/roktas/.aap/packages/agide/boot.aap"
    line 35: Cannot determine installation directory of Aap.

And here is the relevant excerpt from boot.aap:

    @dir = var2list(_no.AAP)
    @if len(dir) < 2 or string.find(dir[1], "Exec") < 0:
    :error Cannot determine installation directory of Aap.

(Probably, it searches the AAP directory under the PREFIX which was set
while building the package, e.g. /build/directory/debian/app/usr.)

I guess this problem is related to AAP's own recipe.  The recipe should
accept a DESTDIR to separate the actual installation directory and the
_real_ PREFIX, so that in the debian/rules we can use something like
this:

    $(MAKE) install DESTDIR=$(CURDIR)/debian/aap PREFIX=/usr SKIP_COMPILEALL=yes

instead of the current case which read as follows:

    $(MAKE) install PREFIX=$(CURDIR)/debian/aap/usr SKIP_COMPILEALL=yes

These are just wild guesses, so please ignore them if wrong.  I'm going
to investigate it in depth later.

Regards,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'testing'), (450, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=tr_TR, LC_CTYPE=tr_TR

Versions of packages aap depends on:
ii  python                        2.3.4-5    An interactive high-level object-o

-- no debconf information

-- 
roktas

Attachment: signature.asc
Description: Digital signature

Reply via email to