You are not logged in.

#1 2012-06-02 08:30:32

Nesrail
Member
Registered: 2011-10-25
Posts: 51

[SOLVED]Can't build perl-text-glob

Hello.
I'm trying to install Clamtk and perl-text-glob is a dependency. Everything works fine until perl-text-glob is trying to build, then I get this error:

Starting build()...
/tmp/yaourt-tmp-root/aur-perl-text-glob/./PKGBUILD: line 27: cd: /tmp/yaourt-tmp-root/aur-perl-text-glob/src/perl-text-glob-0.09: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build perl-text-glob.

I checked the pkgbuild file and line 27 is

cd "$_distdir"
    /usr/bin/perl Build.PL
    /usr/bin/perl Build

As in perl is not installed, but it is. And the file and directory of perl-text-glob is existing.

What am I missing?

Last edited by Nesrail (2012-06-02 09:07:59)

Offline

#2 2012-06-02 08:35:52

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,410
Website

Re: [SOLVED]Can't build perl-text-glob

cd "$_distdir"

and then you get....

cd: /tmp/yaourt-tmp-root/aur-perl-text-glob/src/perl-text-glob-0.09

So maybe...  _distdir is wrong...

Offline

#3 2012-06-02 09:02:22

Nesrail
Member
Registered: 2011-10-25
Posts: 51

Re: [SOLVED]Can't build perl-text-glob

Allan wrote:
cd "$_distdir"

and then you get....

cd: /tmp/yaourt-tmp-root/aur-perl-text-glob/src/perl-text-glob-0.09

So maybe...  _distdir is wrong...

*facepalm* I got it. I changed distdir to /tmp/yaourt-tmp-root/aur-perl-text-glob. Got some errors with Build.PL but got it.

Sorry for filling the forum with dumb questions :-D

Offline

Board footer

Powered by FluxBB