You are not logged in.
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
Offline
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
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
Thanks a lot, falconindy, I got it done!
Have a nice day!
Offline
Edit: you posted at the same time as me
Last edited by mcmillan (2011-09-24 15:33:03)
Offline