Irssi on OS X 10.4
Tim Wojtulewicz <[email protected]> Sun, 17 Apr 2005 22:01:10 -0700
| Newsgroups | gmane.network.irc.irssi.devel |
|---|---|
| Message-ID | <[email protected]> |
I've been doing a bit of testing with OS X 10.4 (tiger), and I have
some issues with irssi compiling and running. This is with both
0.8.9 and 0.8.10-rc5, so it seems OS-specific, not irssi version-
specific. The compilation issues follow. This is with a configure
line of './configure --enable-ssl --with-proxy --with-perl=yes --
without-file-offset-size'. Everything goes ok, until it gets to the
perl portions. Then you get this:
In file included from module.h:19,
from perl-core.c:22:
../../src/common.h:66:4: error: #error uoff_t size not set
In file included from perl-core.c:26:
../../src/core/misc.h:79: error: parse error before "str_to_uofft"
../../src/core/misc.h:79: warning: type defaults to 'int' in
declaration of 'str_to_uofft'
../../src/core/misc.h:79: warning: data definition has no type or
storage class
In file included from perl-core.c:31:
perl-common.h:31:1: warning: "PL_sv_undef" redefined
In file included from /System/Library/Perl/5.8.6/darwin-thread-
multi-2level/CORE/perl.h:3565,
from module.h:6,
from perl-core.c:22:
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/embedvar.h:
753:1: warning: this is the location of the previous definition
In file included from perl-core.c:31:
perl-common.h:32: error: parse error before '->' token
perl-core.c:40:1: warning: "PL_perl_destruct_level" redefined
In file included from /System/Library/Perl/5.8.6/darwin-thread-
multi-2level/CORE/XSUB.h:320,
from perl-core.c:35:
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/perlapi.h:
476:1: warning: this is the location of the previous definition
JOY. I managed to hack it so it compiles by adding "#define
UOFF_T_LONG_LONG 1" to src/common.h (which is what's set in config.h,
but not being included for some reason), and adding "#define
HAVE_PL_PERL 1" to src/perl/perl-common.h (also in config.h, but
still not being included correctly).
Like I said, it compiles now. But when it runs, it hangs trying to
DNS look up the servers. I've taken out all of my scripts, and
disabled loading proxy at startup. That just got me the same
results. Oh, and when I start it up, it draws the topic bar at the
top, and then one of the status bars (I have two at the bottom). It
stays like this until I hit the return key, and which point it
actually fills in the status bar, and then hangs looking up the server.
Anyone have any ideas?
Tim