Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] running rainlendar
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
DZoom
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2010
Posts: 79

PostPosted: Fri Oct 18, 2013 11:32 am    Post subject: [SOLVED] running rainlendar Reply with quote

Hi,

I want to use rainlendar (http://www.rainlendar.net) as an integrated calendar in my fluxbox environment.
so far no version is available in portage; just a very old version in an overlay.
so i downloaded the latest version from the homepage.
after working around this issue aboutl libwebkitgtk (https://forums.gentoo.org/viewtopic-p-7420122.html#7420122), it still won't start:
Code:
miPC ~ $ rainlendar
/usr/lib/rainlendar2/rainlendar2: /usr/lib64/liblber-2.4.so.2: version `OPENLDAP_2.4_2' not found (required by /usr/lib/rainlendar2/rainlendar2)
/usr/lib/rainlendar2/rainlendar2: /usr/lib64/libldap_r-2.4.so.2: version `OPENLDAP_2.4_2' not found (required by /usr/lib/rainlendar2/rainlendar2)


but openldap is installed in version 2.4.35:
Code:

miPC ~ $ eix -I openldap
[I] net-nds/openldap
     Available versions:  2.3.43-r1 2.3.43-r3 2.3.43-r4 2.4.19-r1 ~2.4.21 2.4.23 2.4.24 ~2.4.25 ~2.4.25-r1 ~2.4.28 2.4.28-r1 2.4.30 ~2.4.31 ~2.4.31-r1 ~2.4.32 ~2.4.33 ~2.4.33-r1 ~2.4.33-r2 2.4.35 ~2.4.35-r1 {(+)berkdb crypt -cxx debug experimental gdbm gnutls icu iodbc ipv6 kerberos minimal odbc overlays perl samba sasl selinux slp smbkrb5passwd ssl +syslog tcpd}
     Installed versions:  2.4.35(11:22:57 AM 09/23/2013)(berkdb crypt gnutls icu kerberos odbc overlays samba sasl slp ssl syslog tcpd -cxx -debug -experimental -iodbc -ipv6 -minimal -perl -selinux -smbkrb5passwd)
     Homepage:            http://www.OpenLDAP.org/
     Description:         LDAP suite of application and development tools


also the mentioned files exist:
Code:
miPC ~ $ ls -l /usr/lib64/libldap_r-2.4.so.2
lrwxrwxrwx 1 root root 22 Sep 23 11:23 /usr/lib64/libldap_r-2.4.so.2 -> libldap_r-2.4.so.2.9.1
jaenicke@miPC ~ $ file /usr/lib64/libldap_r-2.4.so.2
/usr/lib64/libldap_r-2.4.so.2: symbolic link to `libldap_r-2.4.so.2.9.1;
'
miPC ~ $ ls -l /usr/lib64/liblber-2.4.so.2
lrwxrwxrwx 1 root root 20 Sep 23 11:23 /usr/lib64/liblber-2.4.so.2 -> liblber-2.4.so.2.9.1
jaenicke@miPC ~ $ file /usr/lib64/liblber-2.4.so.2
/usr/lib64/liblber-2.4.so.2: symbolic link to `liblber-2.4.so.2.9.1'


after talking to the developer he gave me some hints which cryptographic apis he was using, which led me to recompiling curl, openssl and openldap with ridiculously many use flags, it still won't start.
what am i missing, any ideas why rainlendar won't accept the installed version of openldap?


Last edited by DZoom on Wed Nov 20, 2013 2:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
DZoom
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2010
Posts: 79

PostPosted: Mon Oct 21, 2013 9:29 am    Post subject: Reply with quote

nobody?
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Mon Oct 21, 2013 7:02 pm    Post subject: Reply with quote

Have you download the 64bit tarball?

I've just download the tarball, untar it to my /home, run .rainlendar and it work...

EDIT: I don't have libwebkitgtk
Back to top
View user's profile Send private message
DZoom
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2010
Posts: 79

PostPosted: Tue Oct 22, 2013 8:22 am    Post subject: Reply with quote

just tried it, but it does not work. the latest 64bit version throws even more errors than the latest beta i'm trying to get running; but afaik really does not need webkit-gtk.
did you try the beta or the latest stable release?

which version of openldap do you have installed? with which use-flags? at the moment i guess there's the problem somewhere.
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Tue Oct 22, 2013 4:45 pm    Post subject: Reply with quote

Tested the latest stable http://www.rainlendar.net/download/Rainlendar-Lite-2.11.1-amd64.tar.bz2

Can you post the errors with this version?

net-nds/openldap-2.4.35-r1
Code:
USE="berkdb crypt ipv6 minimal ssl syslog tcpd -cxx -debug -experimental -gnutls -icu -iodbc -kerberos -odbc -overlays -perl -samba -sasl (-selinux) -slp -smbkrb5passwd

The 2 only packages I have too install are libpng-1.2.50 and rtmpdump
Back to top
View user's profile Send private message
DZoom
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2010
Posts: 79

PostPosted: Tue Oct 22, 2013 8:23 pm    Post subject: Reply with quote

latest stable gives me even more errors
Code:
~/rainlendar2 $ ./rainlendar2
./rainlendar2: /usr/lib64/liblber-2.4.so.2: version `OPENLDAP_2.4_2' not found (required by ./rainlendar2)
./rainlendar2: /usr/lib64/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by ./rainlendar2)
./rainlendar2: /usr/lib64/libssl.so.1.0.0: version `OPENSSL_1.0.1' not found (required by ./rainlendar2)
./rainlendar2: /usr/lib64/libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by ./rainlendar2)
./rainlendar2: /usr/lib64/libldap_r-2.4.so.2: version `OPENLDAP_2.4_2' not found (required by ./rainlendar2)


the latest beta gives me less errors, as mentioned in my first post:
Code:
~ $ rainlendar
/usr/lib/rainlendar2/rainlendar2: /usr/lib64/liblber-2.4.so.2: version `OPENLDAP_2.4_2' not found (required by /usr/lib/rainlendar2/rainlendar2)
/usr/lib/rainlendar2/rainlendar2: /usr/lib64/libldap_r-2.4.so.2: version `OPENLDAP_2.4_2' not found (required by /usr/lib/rainlendar2/rainlendar2)


also compiled openldap with the very same useflags you have (only difference were the ipv6 und gnutls use flags), but the error persists
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Tue Oct 22, 2013 9:10 pm    Post subject: Reply with quote

Try to enable the "ldap" USE in your make.conf and update your system

Can you post emerge --info
Back to top
View user's profile Send private message
DZoom
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2010
Posts: 79

PostPosted: Wed Oct 23, 2013 8:14 am    Post subject: Reply with quote

added the ldap use flag to my make.conf, and tried to update my system:
Code:
# emerge -avDNu world

These are the packages that would be merged, in order:

Calculating dependencies       ... done!                             

Total: 0 packages, Size of downloads: 0 kB

Nothing to merge; quitting.


hm ok.

emerge --info wrote:
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.15-r3, 3.10.7-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.10.7-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem: 8057908 total, 1510964 free
KiB Swap: 3999996 total, 3512764 free
Timestamp of tree: Mon, 21 Oct 2013 12:45:01 +0000
ld GNU gold (GNU Binutils 2.23.1) 1.11
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.5-r3, 3.2.5-r3
dev-util/cmake: 2.8.10.2-r2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O3 -pipe -flto=9 -fuse-linker-plugin"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O3 -pipe -flto=9 -fuse-linker-plugin -finline-functions -fwhole-program -floop-parallelize-all"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -O3 -pipe -flto=9 -fuse-linker-plugin"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm avahi bash-completion berkdb bzip2 cairo calendars cdda cddb cdr cli consolekit cracklib crypt css cups curl curlwrappers cxx dbus dri dv dvd dvdr encode exif fam fbcon ffmpeg fftw firefox flac fontconfig fortran ftp gdbm ggl gif gimp gmp gnutls gphoto2 gpm gtk hddtemp iconv icu imagemgick imap isb jabber java java6 jpeg jpeg2k kerberos lame latex lcms ldap libnotify lua lzma lzo mad matroska mime mms mmx mng modules mp3 mp4 mpeg mpi mtp mudflap multilib musepack ncurses nis nls nptl offensive ogg openal openexr opengl openmp oscar pam pango pch pcre pdf png policykit posix qt3support quicktime raw rdesktop readline rtmp samba scanner sdl session sharedmem smp soap sockets socks5 sound speex sse sse2 sse3 ssl startup-notification svg syslog-systemd sysvlpc szip tcpd theora threads tiff tmalloc truetype udev udisks unicode upower usb vcd vdpau videos vnc vorbis wavpack win32codecs wmf wxwidgets x264 xcb xcomposite xfg xine xinetd xml xosd xpm xscreensaver xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Back to top
View user's profile Send private message
DZoom
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2010
Posts: 79

PostPosted: Wed Nov 20, 2013 2:26 pm    Post subject: Reply with quote

seemed the changed compile-flags i was using shredded several packages.
i changed the compile flags to the following:
make.conf wrote:

CFLAGS="-march=corei7 -O3 -pipe"
CXXFLAGS="${CFLAGS} -finline-functions"

and rebuild my whole system
Code:
$ emerge -eq world

afterwards rainlendar started.
also libreoffice-bin is starting again, without any NullPointerExceptions.

problem solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum