You are not logged in.

#1 2009-08-17 21:08:13

nathanpc
Member
From: Brazil
Registered: 2009-08-17
Posts: 19
Website

Error When Using makepkg

Hello,
I'm starting in Arch, but not in Linux, because i use Ubuntu and the best thing for me in Linux is because that i'm a C++ developer and i love the free of Linux, but when i was trying to install the atl1e driver with makepkg it gavem an error, here is it:

# makepkg --asroot
==> ERROR: PKGBUILD contains CRTF characters and cannot be sourced.

And here is my PKGBUILD file:

# Contributor: Ryan Stephenson <delcake.rs@gmail.com>
pkgname=atl1e
pkgver=1.0.0.4
pkgrel=5
pkgdesc="Drivers for Atheros based ethernet cards"
arch=('i686' 'x86_64')
url="http://support.asus.com"
license=('GPL')
makedepends=('unrar' 'unzip')
source=(http://dlcdnet.asus.com/pub/ASUS/mb/socket775/P5KPL-CM/LinuxDrivers.zip)
md5sums=('cbea613885e5d29e80138661e941ba55')

build() {
  cd $srcdir/L1e_Lan/
  mkdir l1e && mv l1e-l2e-linux-v$pkgver.rar l1e/
  cd l1e && unrar x l1e-l2e-linux-v$pkgver.rar || return 1
  cd src && KBUILD_NOPEDANTIC=1 make || return 1
  install -D -m 755 atl1e.ko $pkgdir/lib/modules/$(uname -r)/kernel/drivers/net/atl1e/atl1e.ko || return 1
}

Thanks,
Nathan Paulino Campos

Last edited by nathanpc (2009-08-17 21:09:02)

Offline

#2 2009-08-17 21:28:45

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Error When Using makepkg

zgrep -i atl1e /proc/config.gz 
# CONFIG_ATL1E is not set

What's wrong with the driver in the kernel?

Also, why are you running makepkg as root?

Edit: it seems if you do run as root, the option --asroot is needed, so scratch my remark on that.

Last edited by B (2009-08-17 21:39:49)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-08-17 21:32:50

nathanpc
Member
From: Brazil
Registered: 2009-08-17
Posts: 19
Website

Re: Error When Using makepkg

What i this command and what it do?

Offline

#4 2009-08-17 21:57:09

nathanpc
Member
From: Brazil
Registered: 2009-08-17
Posts: 19
Website

Re: Error When Using makepkg

Because when i use it, it shows me this:

# zgrep -i atl1e /proc/config.gz
CONFIG_ATL1E=m

This is that it marked in the kernel the driver atl1e as M?

Offline

#5 2009-08-17 22:33:53

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: Error When Using makepkg

nathanpc wrote:

Because when i use it, it shows me this:

# zgrep -i atl1e /proc/config.gz
CONFIG_ATL1E=m

This is that it marked in the kernel the driver atl1e as M?

The m means it's already built as a module. All you have to do is modprobe atl1e and you're golden.
But first, if lsmod | grep atl1e shows anything, then it's already loaded..

Last edited by tomd123 (2009-08-17 22:35:04)

Offline

Board footer

Powered by FluxBB