trouble installing irssi 0.8.15 as non-root -- resolved configuring with --with-perl=no

Aleksey Tsalolikhin <[email protected]> Sat, 18 Feb 2012 11:09:18 -0800
Newsgroups gmane.network.irc.irssi.user
Message-ID <CA+jMWofTQOgmEGw9CS5oJGeF3nvR+qA-aFgHyz7d402_Xi1ZmQ@mail.gmail.com>
Hi.  I was trying to install irssi 0.8.15 on a shared VPS account as a
non-root user.

I configured irssi with:

    ./configure --prefix=/home/atsaloli/opt/irssi-0.8.15

But "make" died:

make[3]: Entering directory `/home/atsaloli/irssi-0.8.15/src/perl'
for dir in common irc ui textui; do \
          cd $dir && \
          if [ ! -f Makefile ]; then \
            /usr/local/bin/perl Makefile.PL INSTALLDIRS=perl
PREFIX=/home/atsaloli/opt/irssi-0.8.15; \
          fi && \
          (make CC="gcc" CCFLAGS="-D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm
-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE  -g -O2 -Wall
-I/usr/kerberos/include  "  || \
           make CC="gcc" CCFLAGS="-D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm
-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE  -g -O2 -Wall
-I/usr/kerberos/include  " ) && \
          cd ..; \
        done
Only one of PREFIX or INSTALL_BASE can be given.  Not both.
/bin/sh: line 1: cd: irc: No such file or directory
/bin/sh: line 1: cd: ui: No such file or directory
/bin/sh: line 1: cd: textui: No such file or directory
make[3]: *** [all-local] Error 1
make[3]: Leaving directory `/home/atsaloli/irssi-0.8.15/src/perl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/atsaloli/irssi-0.8.15/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/atsaloli/irssi-0.8.15'
make: *** [all] Error 2

Since it was having trouble with perl, I reconfigured with
"--with-perl=no" and it installed just fine.  Thanks!  (Great tool.)

Anyway, just thought I'd mention it, in case somebody has similar
trouble or has time and interest to fix this issue.

Thanks again for a great tool.

Best,
-at