Bug #1485
-- Warning: Unable to find Squish!
Status: | Closed | Start date: | 07/22/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | Build | |||
Target version: | - |
Description
I got this error every time I compile ryzom. I'm using the kervala's mirror of squish, packaged for my distro, as a dependence for Ryzom. but IDK why I'm getting that warning...
jorge@Abril:~$ pacman -Ql kervala_libsquish-hg kervala_libsquish-hg /usr/ kervala_libsquish-hg /usr/local/ kervala_libsquish-hg /usr/local/include/ kervala_libsquish-hg /usr/local/include/squish.h kervala_libsquish-hg /usr/local/lib/ kervala_libsquish-hg /usr/local/lib/libsquish.so.0.0 jorge@Abril:~$
Is some sort of cmake's rules error?
History
#1 Updated by kervala about 6 years ago
Strange you don't have libsquish.so.1 and libsquish.so symbolic links and libsquish.so.1.13.44.
You should have :
lrwxrwxrwx 1 root root 14 2012-07-22 10:53 libsquish.so -> libsquish.so.1* lrwxrwxrwx 1 root root 20 2012-07-22 10:53 libsquish.so.1 -> libsquish.so.1.13.44* -rwxr-xr-x 1 root root 59680 2012-07-22 10:53 libsquish.so.1.13.44*
#2 Updated by shackra about 6 years ago
kervala wrote:
Strange you don't have libsquish.so.1 and libsquish.so symbolic links and libsquish.so.1.13.44.
You should have :
[...]
yes, is quite estrange though, since I'm building them from your source code!
#3 Updated by kervala about 6 years ago
Did you use CMake to generate makefiles ?
#4 Updated by shackra about 6 years ago
Nop!
Just make https://projects.parabolagnulinux.org/abslibre.git/tree/pcr/kervala_libsquish/PKGBUILD#n36
and make install
Because this:
jorge@Abril:/tmp/packaging/squish/build$ cmake .. CMake Error at CMakeLists.txt:19 (MESSAGE): Unable to find common.cmake! Please place it in CMakeModules subdirectory, set CMAKE_MODULE_PATH environement variable or set CMAKE_MODULES_DIR or CMAKE_MODULE_PATH parameter to CMake. -- Configuring incomplete, errors occurred! jorge@Abril:/tmp/packaging/squish/build$
#5 Updated by kervala about 6 years ago
Sorry, you can get my CMake modules with :
hg clone http://hg.kervala.net/cmake/
And after, you have choice between copying modules directory to CMakeModules directory in squish sources directory or setting the CMAKE_MODULE_PATH environment variable to the <your path where you cloned the cmake repository>/modules
In fact, I created this repository because all my projects are using the same modules and it was a pain to maintain when duplicated :(
#6 Updated by shackra about 6 years ago
ok, fixed! :D
jorge@Abril:~$ pacman -Ql kervalasquish-hg kervalasquish-hg /usr/ kervalasquish-hg /usr/include/ kervalasquish-hg /usr/include/squish.h kervalasquish-hg /usr/lib/ kervalasquish-hg /usr/lib/libsquish.so kervalasquish-hg /usr/lib/libsquish.so.1 kervalasquish-hg /usr/lib/libsquish.so.1.13.44 jorge@Abril:~$
#7 Updated by shackra about 6 years ago
shackra wrote:
ok, fixed! :D
[...]
Keep being awesome, Kervala! \o/ :D