cryptodotis / irssi-otr

LibOTR functionality in Irssi.
GNU General Public License v2.0
183 stars 24 forks source link

"No help for otr" #16

Closed anarcat closed 11 years ago

anarcat commented 11 years ago

So I did a make install on this and help doesn't work, even after restarting irssi. I noticed that it gets installed in the wrong location, compared to the libraries:

anarcat@marcos:irssi-otr$ sudo make install
Making install in help
make[1]: entrant dans le répertoire « /home/anarcat/src/irssi-otr/help »
make[2]: entrant dans le répertoire « /home/anarcat/src/irssi-otr/help »
make[2]: Rien à faire pour « install-exec-am ».
 /bin/mkdir -p '/usr/local/share/irssi/help'
 /usr/bin/install -c -m 644 otr '/usr/local/share/irssi/help'
make[2]: quittant le répertoire « /home/anarcat/src/irssi-otr/help »
make[1]: quittant le répertoire « /home/anarcat/src/irssi-otr/help »
Making install in src
make[1]: entrant dans le répertoire « /home/anarcat/src/irssi-otr/src »
make[2]: entrant dans le répertoire « /home/anarcat/src/irssi-otr/src »
make[2]: Rien à faire pour « install-exec-am ».
 /bin/mkdir -p '/usr/lib/irssi/modules'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   otr.la '/usr/lib/irssi/modules'
libtool: install: /usr/bin/install -c .libs/otr.so /usr/lib/irssi/modules/otr.so
libtool: install: /usr/bin/install -c .libs/otr.lai /usr/lib/irssi/modules/otr.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/lib/irssi/modules
ldconfig: /usr/lib/irssi/modules/otr.so is not a symbolic link

----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/irssi/modules

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  install-data-hook
make[3]: entrant dans le répertoire « /home/anarcat/src/irssi-otr/src »
rm /usr/lib/irssi/modules/otr.la
mv /usr/lib/irssi/modules/otr.so /usr/lib/irssi/modules/libotr.so
chmod 644 /usr/lib/irssi/modules/libotr.so
make[3]: quittant le répertoire « /home/anarcat/src/irssi-otr/src »
make[2]: quittant le répertoire « /home/anarcat/src/irssi-otr/src »
make[1]: quittant le répertoire « /home/anarcat/src/irssi-otr/src »
make[1]: entrant dans le répertoire « /home/anarcat/src/irssi-otr »
make[2]: entrant dans le répertoire « /home/anarcat/src/irssi-otr »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2]: quittant le répertoire « /home/anarcat/src/irssi-otr »
make[1]: quittant le répertoire « /home/anarcat/src/irssi-otr »

pardonnez mon français. ;)

notice:

 /usr/bin/install -c -m 644 otr '/usr/local/share/irssi/help'

vs

mv /usr/lib/irssi/modules/otr.so /usr/lib/irssi/modules/libotr.so
anarcat commented 11 years ago

The obvious workaround:

sudo mv /usr/local/share/irssi/help/otr /usr/share/irssi/help/
DrWhax commented 11 years ago

Hi,

Which distro is this on?

Thanks in advance, Jurre

On 12/04/2012 10:40 PM, anarcat wrote:

The obvious workaround:

sudo mv /usr/local/share/irssi/help/otr /usr/share/irssi/help/

— Reply to this email directly or view it on GitHub https://github.com/cryptodotis/irssi-otr/issues/16#issuecomment-11016912.

Give a man a fish and you feed him for a day; teach a man to fish and you feed him for life.

http://jurrevanbergen.nl/

anarcat commented 11 years ago

Debian Wheezy.

dgoulet commented 11 years ago

Hmmm right.... the help gets installed in /usr/local ...

For some reasons, irssi does NOT look in /usr/local for modules or/and help...