You are not logged in.

#1 2008-09-05 23:49:33

Crows
Member
From: Wales
Registered: 2008-09-05
Posts: 92

[SOLVED] New to ABS - having some trouble

I've been using ubuntu for a while now and recently decided to install Arch on my new laptop. So far, I've had a great time working out things for myself and getting to 'know' my machine. Now, after getting the basic stuff up and running, I've hit a bit of a snag regarding ABS.

I want to compile blender, but the versions in the repo and AUR are outdated. What would be the best way to install 2.47, the latest version? I tried getting the repo PKGBUILD using ABS and changing the version and md5sum, but now my system is having problems with freetype. It seems to need "libfreetype.a", but I can't find this anywhere. (Tried downloading freetype1, didn't change anything.) Can anyone help me with this missing lib? Or is there a better way to go about doing this?

 make[1]: *** No rule to make target `/usr/lib/libfreetype.a', needed by `/home/xenon/builds/blender/src/blender-2.47/obj/linux-glibc2.8-i386/bin/blender'.

Thanks in advance.

Last edited by Crows (2008-09-06 09:44:44)

Offline

#2 2008-09-05 23:57:16

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] New to ABS - having some trouble

Remove the --disable-static line from the PKGBUILD of freetype2 and rebuild. I don't know if it works, but it's worth a try.

Welcome to the forums.

--EDIT--

Wait! It doesn't work. I'm trying --enable-static now to see if it helps.

It does. Change --disable-static to --enable-static. That will give you the *.a library.

Last edited by skottish (2008-09-06 00:03:23)

Offline

#3 2008-09-06 00:04:24

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: [SOLVED] New to ABS - having some trouble

Remove the !libtool option from the PKGBUILD.

Offline

#4 2008-09-06 00:11:25

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] New to ABS - having some trouble

peart wrote:

Remove the !libtool option from the PKGBUILD.

In this case it's not there. Of course if the PKGBUILD wasn't a complete friggin' mess it would be more clear.

Offline

#5 2008-09-06 00:14:12

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: [SOLVED] New to ABS - having some trouble

skottish wrote:
peart wrote:

Remove the !libtool option from the PKGBUILD.

In this case it's not there. Of course if the PKGBUILD wasn't a complete friggin' mess it would be more clear.

Woops!  I thought he was using the freetype pkg from [extra].  I tested removing !libtool with that package, and it gave the expected result.  Sorry for the mixup.

Offline

#6 2008-09-06 00:15:56

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] New to ABS - having some trouble

peart wrote:
skottish wrote:
peart wrote:

Remove the !libtool option from the PKGBUILD.

In this case it's not there. Of course if the PKGBUILD wasn't a complete friggin' mess it would be more clear.

Woops!  I thought he was using the freetype pkg from [extra].  I tested removing !libtool with that package, and it gave the expected result.  Sorry for the mixup.

No, it's my whoops. I thought that you were referring to the Blender PKGBUILD. I was worng.

--Yet another edit--

Holy crap! Blender actually compiled with the static object compiled into freetype2.

Last edited by skottish (2008-09-06 00:23:35)

Offline

#7 2008-09-06 09:43:44

Crows
Member
From: Wales
Registered: 2008-09-05
Posts: 92

Re: [SOLVED] New to ABS - having some trouble

Ah, that --enable-static line did the trick.

Thanks for the quick and clear help. I don't know what I like more abou Arch so far - the OS or the community. smile

Offline

Board footer

Powered by FluxBB