[OTR-users] Plugin does not show up in Pidgin

Michael Goerz goerz at physik.fu-berlin.de
Wed Apr 2 22:47:31 EDT 2008


On Wed, 02 Apr 2008, Michael Goerz wrote:
> Hi,
> 
> I tried to install the pidgin-otr-3.1.0 plugin from source on a SuSE
> 10.3 system, by doing
> configure
> make
> make install
> The output from all three commands is in the attachment. However, the
> Plugin does not appear in the Pidgin plugin list. This is Pidgin version
> 2.4.1, compiled from source. I already tried to create a symbolic link
> to
> /usr/local/lib/pidgin/pidgin-otr.so
> /usr/local/lib/pidgin/pidgin-otr.la
> in my ~/.purple/plugins folder, but that had no effect. Any advice?
Naturally, I forgot the attachments.
-------------- next part --------------
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.2.0... yes
checking LIBGCRYPT API version... okay
checking for libotr CFLAGS... 
checking for libotr LIBS...  -lotr
checking for libotr headers version 3.x >= 3.1.0... found.
checking for otrl_message_receiving in -lotr... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for EXTRA... yes
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... msgmerge
checking for xgettext... xgettext
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... no
checking for catalogs to be installed...  es fr nl sk
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
-------------- next part --------------
make  all-recursive
make[1]: Entering directory `/home/goerz/ablage/pidgin-otr-3.1.0'
Making all in po
make[2]: Entering directory `/home/goerz/ablage/pidgin-otr-3.1.0/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/goerz/ablage/pidgin-otr-3.1.0/po'
make[2]: Entering directory `/home/goerz/ablage/pidgin-otr-3.1.0'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include/pidgin -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DUSING_GTK -DPURPLE_PLUGINS -DPIDGIN_OTR_VERSION=\"3.1.0\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT otr-plugin.lo -MD -MP -MF ".deps/otr-plugin.Tpo" -c -o otr-plugin.lo otr-plugin.c; \
	then mv -f ".deps/otr-plugin.Tpo" ".deps/otr-plugin.Plo"; else rm -f ".deps/otr-plugin.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/pidgin -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DUSING_GTK -DPURPLE_PLUGINS -DPIDGIN_OTR_VERSION=\"3.1.0\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT otr-plugin.lo -MD -MP -MF .deps/otr-plugin.Tpo -c otr-plugin.c  -fPIC -DPIC -o .libs/otr-plugin.o
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include/pidgin -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DUSING_GTK -DPURPLE_PLUGINS -DPIDGIN_OTR_VERSION=\"3.1.0\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT ui.lo -MD -MP -MF ".deps/ui.Tpo" -c -o ui.lo ui.c; \
	then mv -f ".deps/ui.Tpo" ".deps/ui.Plo"; else rm -f ".deps/ui.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/pidgin -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DUSING_GTK -DPURPLE_PLUGINS -DPIDGIN_OTR_VERSION=\"3.1.0\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT ui.lo -MD -MP -MF .deps/ui.Tpo -c ui.c  -fPIC -DPIC -o .libs/ui.o
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include/pidgin -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DUSING_GTK -DPURPLE_PLUGINS -DPIDGIN_OTR_VERSION=\"3.1.0\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT dialogs.lo -MD -MP -MF ".deps/dialogs.Tpo" -c -o dialogs.lo dialogs.c; \
	then mv -f ".deps/dialogs.Tpo" ".deps/dialogs.Plo"; else rm -f ".deps/dialogs.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/pidgin -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DUSING_GTK -DPURPLE_PLUGINS -DPIDGIN_OTR_VERSION=\"3.1.0\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT dialogs.lo -MD -MP -MF .deps/dialogs.Tpo -c dialogs.c  -fPIC -DPIC -o .libs/dialogs.o
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include/pidgin -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DUSING_GTK -DPURPLE_PLUGINS -DPIDGIN_OTR_VERSION=\"3.1.0\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT gtk-ui.lo -MD -MP -MF ".deps/gtk-ui.Tpo" -c -o gtk-ui.lo gtk-ui.c; \
	then mv -f ".deps/gtk-ui.Tpo" ".deps/gtk-ui.Plo"; else rm -f ".deps/gtk-ui.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/pidgin -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DUSING_GTK -DPURPLE_PLUGINS -DPIDGIN_OTR_VERSION=\"3.1.0\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT gtk-ui.lo -MD -MP -MF .deps/gtk-ui.Tpo -c gtk-ui.c  -fPIC -DPIC -o .libs/gtk-ui.o
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include/pidgin -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DUSING_GTK -DPURPLE_PLUGINS -DPIDGIN_OTR_VERSION=\"3.1.0\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT gtk-dialog.lo -MD -MP -MF ".deps/gtk-dialog.Tpo" -c -o gtk-dialog.lo gtk-dialog.c; \
	then mv -f ".deps/gtk-dialog.Tpo" ".deps/gtk-dialog.Plo"; else rm -f ".deps/gtk-dialog.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/pidgin -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DUSING_GTK -DPURPLE_PLUGINS -DPIDGIN_OTR_VERSION=\"3.1.0\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT gtk-dialog.lo -MD -MP -MF .deps/gtk-dialog.Tpo -c gtk-dialog.c  -fPIC -DPIC -o .libs/gtk-dialog.o
/bin/sh ./libtool --tag=CC --mode=link gcc -I/usr/local/include/pidgin -I/usr/local/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -DUSING_GTK -DPURPLE_PLUGINS -DPIDGIN_OTR_VERSION=\"3.1.0\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2   -o pidgin-otr.la -rpath /usr/local/lib/pidgin -module -avoid-version  -lgcrypt -lgpg-error -lotr  otr-plugin.lo ui.lo dialogs.lo gtk-ui.lo gtk-dialog.lo  
gcc -shared  .libs/otr-plugin.o .libs/ui.o .libs/dialogs.o .libs/gtk-ui.o .libs/gtk-dialog.o  -lgcrypt -lgpg-error -lotr  -Wl,-soname -Wl,pidgin-otr.so -o .libs/pidgin-otr.so
creating pidgin-otr.la
(cd .libs && rm -f pidgin-otr.la && ln -s ../pidgin-otr.la pidgin-otr.la)
make[2]: Leaving directory `/home/goerz/ablage/pidgin-otr-3.1.0'
make[1]: Leaving directory `/home/goerz/ablage/pidgin-otr-3.1.0'
-------------- next part --------------
Making install in po
make[1]: Entering directory `/home/goerz/ablage/pidgin-otr-3.1.0/po'
/home/goerz/ablage/pidgin-otr-3.1.0/install-sh -d /usr/local/share/locale
if test -n ""; then \
	  linguas=""; \
	else \
	  linguas="es fr nl sk"; \
	fi; \
	for lang in $linguas; do \
	  dir=/usr/local/share/locale/$lang/LC_MESSAGES; \
	  /home/goerz/ablage/pidgin-otr-3.1.0/install-sh -d $dir; \
	  if test -r $lang.gmo; then \
	    /usr/bin/install -c -m 644 $lang.gmo $dir/pidgin-otr.mo; \
	    echo "installing $lang.gmo as $dir/pidgin-otr.mo"; \
	  else \
	    /usr/bin/install -c -m 644 ./$lang.gmo $dir/pidgin-otr.mo; \
	    echo "installing ./$lang.gmo as" \
		 "$dir/pidgin-otr.mo"; \
	  fi; \
	  if test -r $lang.gmo.m; then \
	    /usr/bin/install -c -m 644 $lang.gmo.m $dir/pidgin-otr.mo.m; \
	    echo "installing $lang.gmo.m as $dir/pidgin-otr.mo.m"; \
	  else \
	    if test -r ./$lang.gmo.m ; then \
	      /usr/bin/install -c -m 644 ./$lang.gmo.m \
		$dir/pidgin-otr.mo.m; \
	      echo "installing ./$lang.gmo.m as" \
		   "$dir/pidgin-otr.mo.m"; \
	    else \
	      true; \
	    fi; \
	  fi; \
	done
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/pidgin-otr.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/pidgin-otr.mo
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/pidgin-otr.mo
installing sk.gmo as /usr/local/share/locale/sk/LC_MESSAGES/pidgin-otr.mo
make[1]: Leaving directory `/home/goerz/ablage/pidgin-otr-3.1.0/po'
make[1]: Entering directory `/home/goerz/ablage/pidgin-otr-3.1.0'
make[2]: Entering directory `/home/goerz/ablage/pidgin-otr-3.1.0'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/pidgin" || mkdir -p -- "/usr/local/lib/pidgin"
 /bin/sh ./libtool --mode=install /usr/bin/install -c  'pidgin-otr.la' '/usr/local/lib/pidgin/pidgin-otr.la'
/usr/bin/install -c .libs/pidgin-otr.so /usr/local/lib/pidgin/pidgin-otr.so
/usr/bin/install -c .libs/pidgin-otr.lai /usr/local/lib/pidgin/pidgin-otr.la
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib/pidgin
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/pidgin

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory `/home/goerz/ablage/pidgin-otr-3.1.0'
make[1]: Leaving directory `/home/goerz/ablage/pidgin-otr-3.1.0'


More information about the OTR-users mailing list