Ok. I would like to preface this by saying: I’m really ok if you make me look stupid, I’m just hell bent on getting it to work. I dunno. Meds aren’t working yet.
So here’s where I am:
pacman -S nano
wget https://aur.archlinux.org/packages/dk/dkms-8192cu/dkms-8192cu.tar.gz
tar -xvf dkms-8192cu.tar.gz
cd dkms-8192cu
makepkg --asroot -Acs
Here’s the first problem,
==> Making package: dkms-8192cu v3.4.4_4749-6 (Tue Jun 25 20:49:33 CDT 2013)
==> Checking runtime dependencies…
==> Installing missing dependencies…
resolving dependencies…
looking for inter-conflicts…
Packages (8): cloog-0.18.0-1 gcc-4.7.2-4 isl-0.11.1-1 libmpc-1.0.1-1 make-3.82-5 patch-2.7.1-2 ppl-1.0-1 dkms-2.2.0.3-14
Total Download Size: 17.77 MiB
Total Installed Size: 85.99 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages …
libmpc-1.0.1-1-armv7h 64.8 KiB 304K/s 00:00
isl-0.11.1-1-armv7h 472.8 KiB 1347K/s 00:00
error: failed retrieving file ‘cloog-0.18.0-1-armv7h.pkg.tar.xz’ from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files
ppl-1.0-1-armv7h 2.2 MiB 1395K/s 00:02
gcc-4.7.2-4-armv7h 14.6 MiB 2.39M/s 00:06
make-3.82-5-armv7h 336.3 KiB 3.91M/s 00:00
patch-2.7.1-2-armv7h 67.7 KiB 5.09M/s 00:00
dkms-2.2.0.3-14-any 48.2 KiB 5.88M/s 00:00
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
==> ERROR: ‘pacman’ failed to install missing dependencies.
I located the missing package http://mirror.lug.udel.edu/pub/archlinuxarm/armv7h/core/cloog-0.18.0-2-armv7h.pkg.tar.xz
I remembered I forgot to update fist.
pacman -Syu
Solved, it was now looking for clog-0.18.0.2 instead of cloog-0.18.0.1
makepkg --asroot -Acs
==> Making package: dkms-8192cu v3.4.4_4749-6 (Tue Jun 25 21:06:13 CDT 2013)
==> Checking runtime dependencies…
==> Installing missing dependencies…
resolving dependencies…
looking for inter-conflicts…
Packages (8): cloog-0.18.0-2 gcc-4.7.2-4 isl-0.11.1-1 libmpc-1.0.1-1 make-3.82-5 patch-2.7.1-2 ppl-1.0-1 dkms-2.2.0.3-14
Total Download Size: 0.08 MiB
Total Installed Size: 85.93 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages …
cloog-0.18.0-2-armv7h 79.5 KiB 12.9K/s 00:06
(8/8) checking keys in keyring
(8/8) checking package integrity
(8/8) loading package files
(8/8) checking for file conflicts
(8/8) checking available disk space
(1/8) installing libmpc
(2/8) installing isl
(3/8) installing cloog
(4/8) installing ppl
(5/8) installing gcc
(6/8) installing make
(7/8) installing patch
Optional dependencies for patched: for patch -e functionality
(8/8) installing dkms
Optional dependencies for dkms
linux-headers: build modules against Arch kernel
linux-lts-headers: build modules against LTS Arch kernel
==> Checking buildtime dependencies…
==> Retrieving sources…
→ Downloading 8192cu-v3.4.4_4749.tar.bz2…
→ Found dkms.conf
→ Found blacklist-dkms-8192cu.conf
→ Found use_kthread_run.patch
→ Found use_kthread_run_v2.patch
==> Validating source files with md5sums…
8192cu-v3.4.4_4749.tar.bz2 … Passed
dkms.conf … Passed
blacklist-dkms-8192cu.conf … Passed
use_kthread_run.patch … Passed
use_kthread_run_v2.patch … Passed
==> Extracting sources…
→ Extracting 8192cu-v3.4.4_4749.tar.bz2 with bsdtar
==> Starting package()…
patching file core/rtw_mp.c
patching file include/osdep_service.h
patching file include/rtw_recv.h
patching file os_dep/linux/os_intfs.c
patching file os_dep/osdep_service.c
==> Tidying install…
→ Purging unwanted files…
→ Compressing man and info pages…
==> Creating package “dkms-8192cu”…
→ Generating .PKGINFO file…
→ Adding install file…
→ Generating .MTREE file…
→ Compressing package…
==> Finished making: dkms-8192cu v
Everything seemed ok?
pacman -U /root/dkms-8192cu/dkms-8192cu-v3.4.4_4749-6-armv7h.pkg.tar.xz
loading packages…
resolving dependencies…
looking for inter-conflicts…
Packages (1): dkms-8192cu-v3.4.4_4749-6
Total Installed Size: 5.28 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring
(1/1) checking package integrity
(1/1) loading package files
(1/1) checking for file conflicts
(1/1) checking available disk space
(1/1) installing dkms-8192cu
Creating symlink /var/lib/dkms/8192cu/v3.4.4_4749/source →
/usr/src/8192cu-v3.4.4_4749
DKMS: add completed.
Error! echo
Your kernel headers for kernel 3.8.13-1-ARCH cannot be found at
/usr/lib/modules/3.8.13-1-ARCH/build or /usr/lib/modules/3.8.13-1-ARCH/source.
Error! echo
Your kernel headers for kernel 3.8.13-1-ARCH cannot be found at
/usr/lib/modules/3.8.13-1-ARCH/build or /usr/lib/modules/3.8.13-1-ARCH/source.
error: command failed to execute correctly
And that’s where I am.
Let me know, I’ll post the PKGBUILD
Again, I’ll be the fool; as long as I can get this damned thing working.
Thank you,
–Thomas