You are not logged in.

#1 2009-09-06 17:57:03

Mzg
Member
From: Norway
Registered: 2009-09-06
Posts: 43

[SOLVED] Building from source?

I'm new - quite new to Linux, totally new to Arch - thus this newbie question.

I can't seem to understand how to properly compile from source in Arch.

And before you ask, I have read the Wiki. A lot. neutral

The way I understand it, normally one would use pacman and rely on it to find, download and install the package. I have not yet got a proper internet connection set up, and will therefore have to download the package(s) from my Win XP computer I'm sitting at.

I want to download wvdial - for getting dialup up and running. wvdial seems to depend on ppp, wvstreams and xplc, so I have to download those as well.

After searching, I found them all, but only the source code, as gzipped tarballs.

I understood that one was then supposed to use makepkg to make a package from the source code, and then install the resulting package using pacman.

Sounds OK, but it looks like I need a so-called PKGBUILD file for each package, a script used by makepkg to build the package correctly.

Did those tarballs contain any PKBUILD files? No. There were makefiles, but no such thing as a PKGBUILD file.

What am I supposed to do, then? Did I get the wrong tarballs?

I got wvdial from this page: http://www.archlinux.org/packages/extra/i686/wvdial/ which took me here: http://alumnit.ca/wiki/index.php?page=WvDial which again lead me here: http://alumnit.ca/wiki/index.php?page=DownloadReleases

This last page also included wvstreams.

For ppp: http://www.archlinux.org/packages/core/i686/ppp/

For xplc: http://www.archlinux.org/packages/extra/i686/xplc/

Last edited by Mzg (2009-09-06 18:13:28)


Archer.

Offline

#2 2009-09-06 18:05:02

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: [SOLVED] Building from source?

ppp is in core, and wvstreams and xplc are in extra. No need to compile. Just download the packages and transfer them to your Arch system, then install with pacman -U

Offline

#3 2009-09-06 18:09:16

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Building from source?

the binary package have to be downloaded from a mirror. here is a list with them: http://wiki.archlinux.org/index.php/Mirrors

note: http://www.archlinux.org/packages/extra/i686/wvdial
looking at the link you can find out where to look. is in extra repository, i686
http://linkmirror/extra/os/i686/


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2009-09-06 18:13:31

Mzg
Member
From: Norway
Registered: 2009-09-06
Posts: 43

Re: [SOLVED] Building from source?

Aah, that makes lots of sense! Thank you guys - extremely fast reply big_smile You saved my night wink I'll mark the thread as solved.


Archer.

Offline

Board footer

Powered by FluxBB