Posts: 4.504
Threads: 14
Joined: Jul 2009
Reputation:
89
(11-22-2012, 03:28 PM)Jenia Wrote: I tried running build script with the latest source, but it fails with the following message:
Code:
[ 13%] Building CXX object pcsx2/CMakeFiles/pcsx2-dev.dir/gui/MemoryCardFile.cpp.o
make[2]: *** No rule to make target `/usr/lib/libcairo.so', needed by `pcsx2/pcsx2-dev'. Stop.
make[1]: *** [pcsx2/CMakeFiles/pcsx2-dev.dir/all] Error 2
make: *** [all] Error 2
Synaptic shows I have "libcairo2" installed...
You may need to update your cairo package to the last version.
Sometimes I ticle installing Linux again to get myself out that marasm and stupidity Windows puts us :/ ... nah, let's forget it, I could be tempted to ever code again, heavens forbid
Imagination is where we are truly real
Posts: 1.821
Threads: 13
Joined: Mar 2011
Reputation:
55
Location: Florida, USA
assuming you are using debian or ubuntu type of distro, you could try using the ppa. if that does not suit you then at least add the ppa to your repository, do an update, type sudo apt-get build-dep pcsx2-unstable, then try to rebuild from source...sent via cell phone
Posts: 6.069
Threads: 68
Joined: May 2010
Reputation:
167
Location: Grenoble, France
You need to install the dev package. What is your OS? 32bits or 64bits? Normally cmake mustn't start the build if you miss some libraries.
Posts: 21
Threads: 4
Joined: Aug 2012
Reputation:
0
I've got Linux Mint Debian Edition, 32bit (UpdatePack 5 if that helps any).
I have a package called "libcairo2" both the standard one and the -dev one.
Posts: 1.821
Threads: 13
Joined: Mar 2011
Reputation:
55
Location: Florida, USA
then why not try the idea i mentioned a couple posts earlier. you dont have to install the ppa if you dont want to but at least you can pull the dependencies from the ppa before trying to build again.
Posts: 6.069
Threads: 68
Joined: May 2010
Reputation:
167
Location: Grenoble, France
11-23-2012, 08:26 PM
(This post was last modified: 11-24-2012, 12:15 AM by gregory.)
can you do a:
find /usr/lib -iname "libcairo.so*"
Do you have some of the following directory
/usr/lib32
/usr/lib64
/usr/lib/i386-linux-gnu
Edit: what is your cmake version?