You are not logged in.

#1 2003-06-15 04:12:40

hApy
Member
From: Victoria, BC
Registered: 2003-04-13
Posts: 194
Website

alsa-driver

the PKGBUILD fails for me, the alsa-driver-0.9.4/utils/convert_isapnp_ids script tries to use /usr/bin/awk but on my system (and I assume other arch systems) awk is in /bin/awk.

I've heard other people have problems with the build too. For those of course the temporary solution is "ln -s /bin/awk /usr/bin/awk"

Hapy.

Offline

#2 2003-07-30 10:20:41

orelien
Forum Fellow
From: France
Registered: 2002-12-05
Posts: 220
Website

Re: alsa-driver

A workaround is also to use gawk instead of mawk (gawk uses a /usr/bin/awk symlink)
My 2 cents

Offline

#3 2003-07-30 12:25:27

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: alsa-driver

Hi,

orelien wrote:

A workaround is also to use gawk instead of mawk (gawk uses a /usr/bin/awk symlink)
My 2 cents

as a preference there is no symlink to /usr/bin/awk. Some other PKGBUILD's
(self roasted) fail on similar things (eg. install is in /bin/install some makefiles
want it /usr/bin/install)

Shouldn't be such symlinks created in PKGBUILD itself (and deleted
afterwards)?

bye neri

Offline

#4 2003-07-30 18:13:13

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: alsa-driver

Well, it's kind of a kludge either way.  The reason we leave awk in /bin/awk is so the rc scripts can use it during boot-up, even if /usr isn't mounted yet.

If some dumber Makefiles assume a /usr/bin location for a program, you can usually fix them pretty easily with some sed lovin'

# sed -i 's|/usr/bin/awk|/bin/awk|g' Makefile

It's a little cleaner than creating/removing symlinks during the build, since this method doesn't touch the builder's host system.

Offline

#5 2003-07-31 05:19:12

hApy
Member
From: Victoria, BC
Registered: 2003-04-13
Posts: 194
Website

Re: alsa-driver

oooOh.. Shiny! wink

good point judd.

Hapy.

Offline

Board footer

Powered by FluxBB