You are not logged in.

#1 2007-10-06 19:00:41

braver
Member
Registered: 2007-01-22
Posts: 7

pacman outside archlinux?

Greetings -- as a long-time rpm-distro linux and mac osx user, I like to use source-based packages next to the main system.  I use macports and prefix (alt) portage on my mac, with the macports being easy and alt portage being hard.  With alt portage, I find myself in the famous Gentoo "make the simple thing even harder" pattern.  E.g. making GHC (the Glorious Haskell Compiler) work in prefix portage is a <female dog>. 

So I wonder whether I can use pacman outside Arch, on mac osx, with Arch's caches?  I see the home of pacman,

http://physics.bu.edu/~youssef/pacman/

-- mentioning MacOS.  How can I point it at Arch's caches to see what works, and what would the tune-up procedure be for what doesn't work?

Offline

#2 2007-10-06 19:14:44

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: pacman outside archlinux?

Whatever that pacman is, it's not Arch's pacman. Nor the Frugalware's one.

Offline

#3 2007-10-06 19:20:39

braver
Member
Registered: 2007-01-22
Posts: 7

Re: pacman outside archlinux?

In any case, what about taking pacman source, compiling it on mac osx, and pointing it at Arch caches?  Has it been done?  In Gentoo, the thing is called prefixed, or alt, portage:

http://www.gentoo.org/proj/en/gentoo-al … /index.xml

Offline

#4 2007-10-06 20:05:18

jb
Member
From: Florida
Registered: 2006-06-22
Posts: 466

Re: pacman outside archlinux?

By caches, do you mean the package repositories?  If so, that would be a no-go because those contain i686 and x86-64 linux platform binaries.  Gentoo can get away with using the same repos since those just contain scripts to build the binaries.

Last edited by jb (2007-10-06 20:06:52)


...

Offline

#5 2007-10-06 21:06:11

braver
Member
Registered: 2007-01-22
Posts: 7

Re: pacman outside archlinux?

Um, I thought pacman can build from source?  Can't one download just the build scripts?

Offline

#6 2007-10-06 22:33:34

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: pacman outside archlinux?

Use FaunOS


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2007-10-06 23:05:42

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: pacman outside archlinux?

braver wrote:

Um, I thought pacman can build from source?  Can't one download just the build scripts?

pacman itself doesn't, but makepkg (which comes with pacman) can. So you could potentially use the PKGBUILDs from Archlinux, run makepkg on them on your Mac and then install the created packages using pacman.

This should work pretty well for any app that will run on your Mac if you compiled it from scratch without making a package, but your PKGBUILD may need tweaking.

Dusty

Offline

Board footer

Powered by FluxBB