You are not logged in.

#1 2011-05-12 14:10:17

turekpolski
Member
From: Poland
Registered: 2011-05-11
Posts: 28

[SOLVED] Unable to install cloog-ppl and thus pdftk

Hi dear Archers!

I'm trying to get pdftk woriking and I'm stuck. After looking it up on AUR I've tried yaourt to install it, but it turned out I don't have gcc-gcj and cloog-ppl installed. But there is no  source for cloog-ppl. Since it's not in repos/AUR I've googled it and found the cloog-parma package on http://www.cloog.org, which is described as "alternative ppl-based version". I have the basic cloog 0.16.2-1 installed

So I downloaded it, used standart "$ ./configure -> $ make -> # make install" commands and ended up with a few libraries installed in /usr/local/lib.

$ ls /usr/local/lib
libcloog-ppl.a   libcloog-ppl.so    libcloog-ppl.so.1.0.1
libcloog-ppl.la  libcloog-ppl.so.1  pkgconfig

I just guess, that they're supposed to get into /lib or something. What should I do to get it working? Should I move them? And if so.. How can I explain to pacman, that those are installed? I really need this pdftk to work.

Hope that you'll be able to help me.
Regards
TurekPolski

Last edited by turekpolski (2011-05-16 16:00:41)


Registered Linux User #511180

Offline

#2 2011-05-12 23:25:29

turekpolski
Member
From: Poland
Registered: 2011-05-11
Posts: 28

Re: [SOLVED] Unable to install cloog-ppl and thus pdftk

Hi again...

So isn't there any way of getting gcc-gcj on Arch?

Regards
TP


Registered Linux User #511180

Offline

#3 2011-05-12 23:27:35

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

Re: [SOLVED] Unable to install cloog-ppl and thus pdftk

Umm...  the AUR has a gcc-gcj PKGBUILD that does not need cloog-ppl....

Offline

#4 2011-05-13 09:36:15

turekpolski
Member
From: Poland
Registered: 2011-05-11
Posts: 28

Re: [SOLVED] Unable to install cloog-ppl and thus pdftk

Well I'm afraid it does need cloog-ppl.:

$ makepkg
==> Tworzę pakiet: gcc-gcj 4.6.0-1 (pią, 13 maj 2011, 11:28:23 CEST)
==> Sprawdzanie zależności potrzebnych do uruchomienia...
==> Sprawdzanie zależności potrzebnych do budowy...
==> Brakujące zależności:
  -> cloog-ppl>=0.15.9-2
==> BŁĄD: Nie udało się rozwiązać wszystkich zależności.

Last line means ERROR: Unable to solve all dependencies.
And after peeking in the PGKBUILD i've seen is this line inside:

makedepends=('binutils>=2.20.1' 'mpfr>=2.4.2-2' 'cloog-ppl>=0.15.9-2' 'elfutils'
             'libmpc>=0.8.2-2' 'jack')

BTW. I know that might have been a desperate act, but I've tried removing the 'cloog-ppl>=0.15.2-2' from this line and then after typing "$ makepkg" it started compiling it. But I'm not sure if everything went well, because it was compiling for about two hours, used up >1GB of space and I have no idea whether it would finish because my battery died. And now I'm not sure if I should try to build it again this way.

I'm surprised that it can be so difficult to get such a simple program as pdftk - for which all this trouble takes place - to work. But I've tried googling it and found out.. nothing.

Any ideas?


Registered Linux User #511180

Offline

#5 2011-05-16 15:59:06

turekpolski
Member
From: Poland
Registered: 2011-05-11
Posts: 28

Re: [SOLVED] Unable to install cloog-ppl and thus pdftk

I've been talking to a friend of mine about this and it all turned out to be a much simpler problem. I had AUR repo (archlinuxfr) disabled. When I unlocked it a simple 'pacman -S pdftk' installed everything. Sorry for that problem, looks like I still have a looong road of learning this stuff ahead ;-)

Thanks for help! Marking topic as solved.

Regards!
TP


Registered Linux User #511180

Offline

Board footer

Powered by FluxBB