You are not logged in.

#1 2014-01-22 16:52:11

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

[SOLVED] Can't install reiser4progs from AUR

When I try to build reiser4progs, it prompts:

checking for aal_device_open in -laal... yes
checking aal/libaal.h usability... yes
checking aal/libaal.h presence... yes
checking for aal/libaal.h... yes
checking for libaal version = 1.0.5... no
make: *** No targets specified and no makefile found.  Stop.

There is no makefile so configuration step went bad on checking libaal version, right? I've tried both dirty PKGBUILD and rework by @zman0900. Also, I've installed libaal and it's there:

[sms@sms ~]$ ls -a /usr/lib | grep libaal
libaal-1.0.so.5
libaal-1.0.so.5.0.0
libaal-minimal.so
libaal-minimal.so.0
libaal-minimal.so.0.0.0
libaal.so

I was wondering if this "so" breaks the check as it's in the middle of version number but system sees it right:

[sms@sms ~]$ sudo pacman -Qs libaal
local/libaal 1.0.5-5
    Reiser4 filesystem support library

Last comments on AUR seems to point that this package works for others... I just have trouble with understanding why it's not working for me.

Last edited by smsware (2014-01-22 17:56:24)

Offline

#2 2014-01-22 17:34:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Can't install reiser4progs from AUR

The configure script does stupid things to get the version of libaal, looks like it's not compatible with the current version of gcc.

Offline

#3 2014-01-22 17:38:33

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

Re: [SOLVED] Can't install reiser4progs from AUR

Scimmia wrote:

The configure script does stupid things to get the version of libaal, looks like it's not compatible with the current version of gcc.

Is there anything I can do about it? Like... turn off the check somehow?

Offline

#4 2014-01-22 17:45:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Can't install reiser4progs from AUR

Ok, I take that back, the error is that ld can't find -laal, but /usr/lib/libaal.so exists. Hmm...

Offline

#5 2014-01-22 17:50:34

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

Re: [SOLVED] Can't install reiser4progs from AUR

Scimmia wrote:

Ok, I take that back, the error is that ld can't find -laal, but /usr/lib/libaal.so exists. Hmm...

So you actually recreated this error and it's not only for my setup? It's good because someone will have to fix it and bad because it's probably something not trivial... any ideas what to do now? ;-)

Offline

#6 2014-01-22 17:51:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Can't install reiser4progs from AUR

ahhh, I see now. Try rebuilding libaal with options=('staticlibs') added to the PKGBUILD.

Offline

#7 2014-01-22 17:55:57

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

Re: [SOLVED] Can't install reiser4progs from AUR

It worked. Thank you very much, marking as solved. Can I ask what is this solution all about?

Offline

#8 2014-01-22 18:05:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Can't install reiser4progs from AUR

The configure script builds a small C program to get the version information from libaal. This program is being built as statically linked instead of dynamically linked, so it wants the static version of libaal (libaal.a instead of libaal.so). A few months ago, pacman started removing static libs be default, so you have to add that option to tell pacman to leave it.

Offline

#9 2014-01-22 18:37:19

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

Re: [SOLVED] Can't install reiser4progs from AUR

Thanks. smile

Offline

Board footer

Powered by FluxBB