On 01/03/2013 04:05 AM, [email protected] wrote:
Hello,
I'm trying to compile SOGo 2.0.3 on Slackware 14.0.
dependencies for GNUstep I have installed in Slackware:
make-3.82
binutils-2.22.52.0.2
gccgcc-4.7.1
gcc-objc-4.7.1
libffi-3.0.11
gmp-5.0.5
guile-1.8.8
openssll-1.0.1c
openssl-solibs-1.0.1c
libtiff-3.9.6
libpng-1.4.12
libjpeg-v8a
libxml2-2.8.0
audiofile-0.2.7
windowmaker-0.95.3
missing, but (I hope) not required:
iconv
ffcall (probably automaticaly installed with GNUstep Startup in next step)
libobjce
I've then installed:
GNUstep Startup 0.28.0
libmemcached 1.0
apache and mySQL are up and running (but not configured for SOGo yet)
I've installed SOPE 2.0.3a with:
./configure --with-gnustep --enable-debug --disable-strip
make
make install
I've configured SOGo-2.0.3 with:
./configure --enable-debug --disable-strip
and when I run make I get this error:
Making all in Main ...
Making all for tool sogod...
Linking tool sogod ...
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld:
warning: libSBJson.so.2, needed by ../SoObjects/SOGo/SOGo.framework/libSOGo.so,
not found (try using -rpath or -rpath-link)
../SoObjects/SOGo/SOGo.framework/libSOGo.so: undefined reference to
`__objc_class_name_SBJsonParser'
collect2: error: ld returned 1 exit status
make[4]: *** [obj/sogod] Error 1
make[3]: *** [internal-tool-all_] Error 2
make[2]: *** [sogod.all.tool.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2
but libSBJson.so.2 is installed in /usr/GNUstep/System/Library/Libraries/
I'm not very experienced in compiling, :) but I can post any logs, directories
and files content, etc. as needed to provide you more information. Please let
me know how to solve this error.
Thank you.
Lukas
I am running SOGo on slackware 14 as well, so take heart that it can be
done! The libSBJson library is part of SOPE. However, mine is installed
in /usr/lib. It may be that /usr/GNUstep/System/Library/Libraries/ is
not in the search path for the linker to find, but I'm afraid I don't
know how to fix that. When I compiled SOPE I used this for configure:
./configure --prefix=/usr --disable-strip --enable-debug
This put the most of the libraries in /usr/lib and some in
/usr/local/lib (no idea why).
Looking at your list of dependencies, I see you have libmemcached, but
you will also need memcached itself and I ended up needing libevent
somewhere along the line.
I have created a set of slackbuild scripts that will generate packages
for gnustep, sope, sogo, memcached and libmemcached that I am willing to
share if you would like them. It might help get things started and it
will generate nice packages that you can installpkg, upgradepkg and
removepkg in the future if you need to.
-Dave
--
[email protected]
https://inverse.ca/sogo/lists