You are not logged in.

#1 2010-07-16 02:55:58

Snippa
Member
Registered: 2010-06-08
Posts: 6

Pacman on LFS

So I just finished installing LFS 6.6 on my laptop and am in need of a package manager. My personal choices are either apt or pacman... After checking out apt, it seems there are far too many dependencies to search for and set up. Pacman's dependencies appear to be few and very easy (for the most part) to find.

I've located and downloaded all of the packages required for pacman, and pacman itself. All but 2 of these packages have been successfully installed. Obviously pacman is one that I haven't been able to install yet, that is because one of it's dependencies (libdownload or libfetch - I've tried both) fail to install.

I haven't mastered the Linux universe (but am obviously well on my way after installing LFS lol), so I'm really not sure how to deal with this.

When I run "make" in the source directory for libfetch I get the error: makefile:13: *** missing separator. Stop.

I'm not sure exactly is going on with this... I checked line 13

.include <bsd.own.mk>

and have searched google for hours trying to figure out how to fix this problem but have been unable to find a solution.

Also, removing or commenting out line 13 generates an error on the next line that starts with a .
Which is:

.if !empty(FETCH_WITH_INET6:M[yY][eE][eE])

and again at:

.if !empty(FETCH_WITH_OPENSSL:M[yY][eE][sS])

and finally:

.include <bsd.lib.mk>

I read something somewhere that said normally adding a tab at the beginning of the line will fix it, it didn't. A friend suggested adding a space at the beginning of the line, that didn't work either.

I'm not sure if I need a different source, different Makefile, or just a very minor change in file.
I would appreciate any help that is given.

Offline

#2 2010-07-16 03:05:07

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Pacman on LFS

That is looking for BSD make.   

We use NetBSDs libfetch.   See the PKGBUILD: http://repos.archlinux.org/wsvn/package … k/PKGBUILD

And really you should have sorted package management out in a LFS install before doing the final build...

Offline

#3 2010-07-16 03:26:24

Snippa
Member
Registered: 2010-06-08
Posts: 6

Re: Pacman on LFS

This is true, I should have, but even then, I would have been stuck where I am now.
Looking at that page just confuses me even more than I already am after searching all over google and looking at all sorts of code trying to figure this out.

I was made aware after looking at the Makefile that it was BSD...
However, I cannot find a version of libfetch with a "normal" source...

So the question now is, where do I go from here to get this working?
Basically, I don't know how to go about installing libfetch at the moment.
I ran across a post on these forums earlier with someone trying to do the same thing. They figured out how to do it but didn't post what they did.

Offline

#4 2010-07-16 03:36:45

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Pacman on LFS

I repeat...  see the PKGBUILD: http://repos.archlinux.org/wsvn/package … k/PKGBUILD . You are going to need to understand them to use pacman as your package manager.

As a hint, the Makefile is beside it in our SVN: http://repos.archlinux.org/wsvn/package … k/Makefile .

Offline

#5 2010-07-16 04:34:23

Snippa
Member
Registered: 2010-06-08
Posts: 6

Re: Pacman on LFS

got it, thank you. smile

Offline

#6 2010-07-16 09:21:53

Spacenick
Member
From: Germany
Registered: 2010-04-02
Posts: 168

Re: Pacman on LFS

Ok, why the hell are you trying LFS instead of Arch if THIS is hard to figure out for you even after the first hint by Allan?
And please don't be one of those guys trying LFS as their first linux and then leaving because Linux is to complicated!

Offline

#7 2010-07-16 09:59:00

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Pacman on LFS

Spacenick wrote:

Ok, why the hell are you trying LFS instead of Arch if THIS is hard to figure out for you even after the first hint by Allan?
And please don't be one of those guys trying LFS as their first linux and then leaving because Linux is to complicated!

Perhaps as a learning experience? Give him a bit of slack, he's not complained about anything so far tongue

Besides, I know I feel tired just thinking about doing LFS, so I tip my hat to those with the guts (and free time) to try it.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#8 2010-07-21 07:50:56

Snippa
Member
Registered: 2010-06-08
Posts: 6

Re: Pacman on LFS

ngoonee wrote:
Spacenick wrote:

Ok, why the hell are you trying LFS instead of Arch if THIS is hard to figure out for you even after the first hint by Allan?
And please don't be one of those guys trying LFS as their first linux and then leaving because Linux is to complicated!

Perhaps as a learning experience? Give him a bit of slack, he's not complained about anything so far tongue

Besides, I know I feel tired just thinking about doing LFS, so I tip my hat to those with the guts (and free time) to try it.

ngoonee is correct. This is a learning experience for me.
Also, LFS is not my first linux. Ubuntu is my first and I still use it as my main system currently.
I installed Arch Linux on my brother's computer, and that was a great learning experience.
I also have Debian on another system in my home, but I haven't used that one much at all.

I was challenged by a friend of mine to attempt LFS. I like challenges.
I completed LFS successfully on my laptop, I tried at first on the system I put Debian on but that computer is far too slow and I ran into errors compiling GCC that I could not find a solution to.
...After completing LFS on my laptop, I can tell you that I would be working on LFS on that computer possibly for the next 2 or 3 months, since it is 8 times slower than my laptop.

Anyways...
At the time that I had asked the question I had my head stuck in all sorts of instructions, lines generated from packages installed by LFS, and searches on the internet that returned no results.
My mind was clouded and I was frustrated.

But, this is going off topic, so lets just leave it at this.

Offline

#9 2010-07-21 07:56:17

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Pacman on LFS

Advise - don't try LFS or anything that requires compilation on slower machines. Watching grass grow would be a more enjoyable and better use of your time.

Learning doesn't need to involve endless waiting smile


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#10 2010-07-21 08:00:17

Snippa
Member
Registered: 2010-06-08
Posts: 6

Re: Pacman on LFS

Tell me about it... the GCC build that failed was pass #2 (44 SBUs)... 44 SBUs for that pc = 20 hours.

Offline

#11 2010-07-21 12:58:07

yejun
Member
Registered: 2009-10-21
Posts: 66

Re: Pacman on LFS

I think you should try gentoo from stage1 instead of LFS.

Offline

#12 2010-07-21 13:00:04

gtklocker
Member
Registered: 2009-09-01
Posts: 462

Re: Pacman on LFS

yejun wrote:

I think you should try gentoo from stage1 instead of LFS.

You can't imagine how much I want this !!

I just can't find any stage1 tarball available hmm

Offline

Board footer

Powered by FluxBB