You are not logged in.

#1 2011-09-24 14:03:46

Ariya
Member
Registered: 2011-09-24
Posts: 10

[Solved] How to install yajl 2.0 and reinstall yaourt?

I had yaourt with yajl 1.0, but somehow got deleted. My fault.
I had used yaourt, even if it asked for yajl>=2.0 and installed packages from AUR.

Now I cannot install yaourt, as it asks for yajl>=2.0
I can only install yajl 1.0.11-3, as pacman/kpackagekit won't find yajl 2.0.1-0, so I downloaded the tar.gz file, but don't know how to install it.

This is the zip file; lloyd-yajl-2.0.1-0-gf4b2b1a.tar.gz and its in the Home directory.
What should I do to install this, so I can install yaourt again?

Thanks!

Last edited by Ariya (2011-09-24 15:31:54)

Offline

#2 2011-09-24 14:30:09

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 456

Re: [Solved] How to install yajl 2.0 and reinstall yaourt?

Offline

#3 2011-09-24 15:01:58

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] How to install yajl 2.0 and reinstall yaourt?

yajl 2.0 has been in [community] since the end of april:

http://www.archlinux.org/packages/community/i686/yajl/

Fix your mirrorlist and/or pacman config:

http://www.archlinux.org/mirrors/status/

What you downloaded is a source tarball, not a package.

Offline

#4 2011-09-24 15:22:27

Ariya
Member
Registered: 2011-09-24
Posts: 10

Re: [Solved] How to install yajl 2.0 and reinstall yaourt?

There is no PKBUILD.

Once extracted, went into the directory
$ cd lloyd-yajl-f4b2b1a, then
$ ./configure && make install

finally,

58/58 tests successful, but;

Install the project...
-- Install configuration: "Release"                                                                                                         
-- Installing: /usr/local/lib/libyajl.so.2.0.1
CMake Error at src/cmake_install.cmake:48 (FILE):
  file INSTALL cannot copy file
  "/home/ariya/builds/lloyd-yajl-f4b2b1a/build/yajl-2.0.1/lib/libyajl.so.2.0.1"
  to "/usr/local/lib/libyajl.so.2.0.1".
Call Stack (most recent call first):
  cmake_install.cmake:37 (INCLUDE)


make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/ariya/builds/lloyd-yajl-f4b2b1a/build'
make: *** [install] Error 2

So, I copied /home/ariya/builds/lloyd-yajl-f4b2b1a/build/yajl-2.0.1/lib/libyajl.so.2.0.1"  to "/usr/local/lib/libyajl.so.2.0.1

But, there is no yajl-2.0.1 installed.

The build directory containst the following; CMakeCache.txt  CMakeFiles  cmake_install.cmake  example  Makefile  perf  reformatter  src  test  verify  yajl-2.0.1

What have I done wrong?

Thanks!

Offline

#5 2011-09-24 15:31:14

Ariya
Member
Registered: 2011-09-24
Posts: 10

Re: [Solved] How to install yajl 2.0 and reinstall yaourt?

Thanks a lot, falconindy, I got it done!
Have a nice day!

Offline

#6 2011-09-24 15:32:02

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [Solved] How to install yajl 2.0 and reinstall yaourt?

Edit: you posted at the same time as me

Last edited by mcmillan (2011-09-24 15:33:03)

Offline

Board footer

Powered by FluxBB