Solaris problem of the day

djberg96 on 2002-08-29T17:06:00

I admit it - I'm a tinker-a-holic.

Today I decided I wanted to add some sound for gaim. So, I went out installed the latest esound lib. No problem.

Then I figured I should rebuild gaim. First time around - weird errors. I remembered that I had screwed around with some plugins that modified the gaim source, so I start with fresh gaim source.

The next time around I get build errors. I thought I built gaim with gcc 2.95.3 last time (as opposed to 3.1), so I try again with the older compiler. Same problem. Then, I noticed the errors and realized that they had something to do with Perl. Then I remembered that I had Perl 5.8 installed.

In file included from gaim.h:29, from perl.c:61: core.h:133: redefinition of `struct group' perl.c: In function `xs_init': perl.c:114: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type perl.c: In function `perl_init': perl.c:221: warning: passing arg 2 of `perl_parse' from incompatible pointer type *** Error code 1 make: Fatal error: Command failed for target `perl.o' Current working directory /usr/local/gaim-0.59/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/gaim-0.59/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/gaim-0.59 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' Uh, oh. Looks like gaim uses Perl for configuration and something got hosed. I try issuing an 'autoconf' command to see if that will solve the problem. However, I was foiled again with this error:

configure.in:62: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS'

I've done some google searching and it doesn't look good.

Update: I rebuilt with Perl 5.6.1 successfully. Something about 5.8 (or the way it interacts with gaim) is definitely the culprit.