You are not logged in.

#1 2008-12-13 20:53:19

markp1989
Member
Registered: 2008-10-05
Posts: 431

noob needs help with PKGBUILD and aurbuild

                                 foldingathome

              ---------------------------------------------------
                1) View/Edit PKGBUILD
                2) View/Edit archpatch_foldingathome.diff
                3) View/Edit foldingathome.install
              ---------------------------------------------------
              * b)  Build and install with makepkg and pacman.
                s)  Skip this package.
                q)  Quit without building.
              ---------------------------------------------------

              Enter a selection: [b] 
==> Checking Buildtime Dependencies... 

==> Checking Runtime Dependencies... 

   - bash: ok [D]
==> ERROR: foldingathome is not available for the '' architecture.
    Note that many packages may need a line added to their PKGBUILD
    such as arch=('').
aurbuild: could not build foldingathome with makepkg.
Build directory retained at /var/tmp/aurbuild/build/foldingathome
You can visit the directory, fix the problem, and run makepkg.
bash-3.2#

trying to install  FAH , and im kinda stuck, where is the file i can set my arch?

thanks markp1989


Desktop: E8400@4ghz - DFI Lanparty JR P45-T2RS - 4gb ddr2 800 - 30gb OCZ Vertex - Geforce 8800 GTS - 2*19" LCD
Server/Media Zotac GeForce 9300-ITX I-E - E5200 - 4gb Ram - 2* ecogreen F2 1.5tb - 1* wd green 500gb - PicoPSU 150xt - rtorrent - xbmc - ipazzport remote - 42" LCD

Offline

#2 2008-12-13 21:03:34

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: noob needs help with PKGBUILD and aurbuild

Just edit the PKGBUILD, and you will see an entry like this arch=(), if not, just add it youself and set your architecture like this:

arch=('i686')

If you run a 64bit machine, I'm not sure F@H is available for that architecture...


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#3 2008-12-13 22:15:55

markp1989
Member
Registered: 2008-10-05
Posts: 431

Re: noob needs help with PKGBUILD and aurbuild

pkgname=foldingathome
pkgver=6.02
pkgrel=1
pkgdesc="Folding@Home is a distributed computing project which studies protein folding, misfolding, aggregation, and related diseases."
arch=('x86_64')
url="http://folding.stanford.edu/"
license=('custom')
depends=('bash')
backup=('etc/conf.d/foldingathome')
install=foldingathome.install
source=(http://www.stanford.edu/group/pandegroup/folding/release/FAH$pkgver-Linux.tgz
        archpatch_foldingathome.diff)
md5sums=('112b3d66909050f1bb990993a1464cb9'
         '02f4ca64d552b442d484c51fa5f4228a')

build() {
  cd $startdir/src/
  patch -p1 <archpatch_foldingathome.diff
  install -D -c -m755 fah6 $startdir/pkg/opt/fah/fah6 || return 1
  install -D -c -m755 $startdir/src/foldingathome.rc.d $startdir/pkg/etc/rc.d/foldingathome || return 1
  install -D -c -m644 $startdir/src/foldingathome.conf.d $startdir/pkg/etc/conf.d/foldingathome || return 1
  install -D -m644 foldingathome.license $startdir/pkg/usr/share/licenses/$pkgname/COPYING

}

i added arch=('x86_46') to the PKGBUILD, but i still get the same error mesage



  ==> Checking Buildtime Dependencies... 

==> Checking Runtime Dependencies... 

   - bash: ok [D]
==> ERROR: foldingathome is not available for the '' architecture.
    Note that many packages may need a line added to their PKGBUILD
    such as arch=('').
aurbuild: could not build foldingathome with makepkg.
Build directory retained at /var/tmp/aurbuild/build/foldingathome
You can visit the directory, fix the problem, and run makepkg.
bash-3.2#

Desktop: E8400@4ghz - DFI Lanparty JR P45-T2RS - 4gb ddr2 800 - 30gb OCZ Vertex - Geforce 8800 GTS - 2*19" LCD
Server/Media Zotac GeForce 9300-ITX I-E - E5200 - 4gb Ram - 2* ecogreen F2 1.5tb - 1* wd green 500gb - PicoPSU 150xt - rtorrent - xbmc - ipazzport remote - 42" LCD

Offline

#4 2008-12-14 00:37:31

windtalker
Member
Registered: 2008-03-17
Posts: 220

Re: noob needs help with PKGBUILD and aurbuild

Have you tried using yaourt?
If not,,   pacman -S yaourt.
After it's installed make sure you have sudo set up.
as user:
yaourt -S fahmon

Offline

Board footer

Powered by FluxBB