You are not logged in.

#1 2013-05-10 06:16:53

Rukiri
Member
Registered: 2011-11-08
Posts: 45

Compiling source

Hello, I'm looking for a way to recompile arch linux (fresh install) for my hardware and compile a select few applications like xorg-server, my desktop environment which is kde, and a few applications here and there with dependency resolution as kde is pretty large and takes an hr or so on my system to compile at least on gentoo anyway.

But I don't need to compile EVERYTHING from source which is why I'm moving away from gentoo, I find the arch linux core system (before you add on to it) to be pretty sane. 

I am aware of tools like abs and pacbuilder, but I've had some issues with pacbuilder in the past where it get's into a loop and can't move on without me just using pacman (beats the purpose if you want the package and it's dependencies compiled..)
So I'm looking for the best way to go about basically recompiling arch linux after the installation, and managing dependencies.

Is there a tool I maybe missing?

Offline

#2 2013-05-10 06:18:50

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Compiling source

ABS and srcpac

Offline

#3 2013-05-10 06:24:44

Rukiri
Member
Registered: 2011-11-08
Posts: 45

Re: Compiling source

Is srcpac still being developed? The last commits are about 2 years old..  It might not be compatible with the latest upstream arch changes, and gcc 4.8.  I could be wrong though.

Offline

#4 2013-05-10 09:47:10

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,266
Website

Re: Compiling source

Moved to Creating & Modifying Packages

Offline

#5 2013-05-10 13:06:35

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Compiling source

Honestly, I haven't actually tried it for anything more than a package or two.  But it seems to work at the most pasic of levels still.  It is just a bash wrapper, so if it is borked in some way, you could always try to fix it.

Offline

#6 2013-05-23 08:10:59

JohnnyWho
Member
Registered: 2013-03-21
Posts: 20

Re: Compiling source

Yes, srcpac works and is one of the best pacman wrappers available, as far as I am concerned. It is also really well written and easily hackable!

Offline

#7 2013-05-23 09:55:35

WorMzy
Forum Moderator
From: England
Registered: 2010-06-16
Posts: 5,019

Re: Compiling source

Build package in a clean chroot, using devtools. It'll allow you to compile packages (using ABS) just like the devs do -- in a controlled environment, where the only things installed are the base system, the package's dependencies, and the build-time dependencies (including base-devel). It'll stop you running into problems with "greedy" autodetect configure scripts compiling in unwanted features.


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Offline

#8 2013-06-01 23:50:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: Compiling source

JohnnyWho wrote:

Yes, srcpac works and is one of the best pacman wrappers available, as far as I am concerned. It is also really well written and easily hackable!

Although this thread https://bbs.archlinux.org/viewtopic.php … 2#p1279612 has been marked solved by OP, I'd like to know what have I done wrong, because unfortunately srcpac doesn't seem to work for me.

Offline

Board footer

Powered by FluxBB