gaim 0.46

Find out how to get that @*&^$&@ thing to compile!

gaim 0.46

Postby jerome » Mon Oct 22, 2001 6:40 am

I'm wondering if anybody has any ideas or figured out hwo to compile gaim 0.46, i'm getting:

<BLOCKQUOTE><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><HR><pre> /bin/sh ../libtool --silent --mode=link cc -g -O2 -I/usr/local/include -I/opt/include -I.. -I/sw/include -DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I/sw/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/local/include -I/usr/ports/include -I\.. -I\../src -DVERSION=\"0.46\" -o libtmpautorecon.so.la -rpath /usr/local/lib/gaim tmpautorecon.so.lo -avoid-version
../libtool: parse error: condition expected: xno = [3183]
~/gaim-0.46/plugins/.libs
cp: .libs/libtmpautorecon.so.so*: No such file or directory
make[2]: *** [autorecon.so] Error 1 </pre>[/quote]
now i basically see that the file it's looking for quite possibly might be the so.dylib since OS X produces dylib instead of .so
any ideas?
-jerome
jerome
 
Posts: 18
Joined: Sun Oct 21, 2001 7:00 pm
Location: nowhere

Re: gaim 0.46

Postby apex » Mon Oct 22, 2001 8:19 am

jerome, I've never gotten gaim to compile with dynamic support for the plugins. Use --with-static-prpls=all to build statically.

Good luck. let me know if the new version has anything neat in it [img]images/icons/smile.gif"%20border="0[/img]
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

Re: gaim 0.46

Postby jerome » Mon Oct 22, 2001 5:19 pm

well rats, that didn't help at all, i did the configure with that flag you mentioned and it still produces a .dylib for the libautorecon thing... :-/
-jerome
jerome
 
Posts: 18
Joined: Sun Oct 21, 2001 7:00 pm
Location: nowhere

Re: gaim 0.46

Postby apex » Wed Oct 24, 2001 1:37 am

Did you remove your config.cache before runnning configure again?
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

Re: gaim 0.46

Postby jerome » Wed Oct 24, 2001 4:10 am

yeah, well, there is no config.cache, i ran configure agian, still no cache. odd =) i tried that flag a couple times and then make but no go.
-jerome
jerome
 
Posts: 18
Joined: Sun Oct 21, 2001 7:00 pm
Location: nowhere

Re: gaim 0.46

Postby psyba » Sat Oct 27, 2001 5:01 am

in the plugins folder, open up the 'Makefile' and change the line:

@cp .libs/libtmp$@so* $@

to

@cp .libs/libtmp$@.dylib* $@

It is near the bottom. I get this error after it compiles and moves all the libs:

libgg.c:215: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[4]: *** [libgg.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[localhost [img]images/icons/tongue.gif"%20border="0[/img]syba/Public/gaim-0.46] root#
psyba
 
Posts: 14
Joined: Fri Oct 26, 2001 7:00 pm
Location: Lewiston, Maine

Re: gaim 0.46

Postby psyba » Sat Oct 27, 2001 5:33 am

fixed that problem by adding -no-cpp-precomp to CFLAGS of /src/Makefile and /src/portocals/gg/Makefile. Don't ask me why both, but it works..... Now this is the error I get:

aim.c:34: dlfcn.h: No such file or directory
make[3]: *** [aim.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

It's declared as #include <dlfcn.h> in the aim.c file. Is apple leaving out a standard header?
psyba
 
Posts: 14
Joined: Fri Oct 26, 2001 7:00 pm
Location: Lewiston, Maine

Re: gaim 0.46

Postby psyba » Sat Oct 27, 2001 5:40 am

I just commented out #include <dlfcn.h> on aim.c and buddy.c and it works [img]images/icons/grin.gif"%20border="0[/img] my first slef darwin port, yay! with help of apex of course.... I used this as well

./configure --disable-perl --with-static-prpls=al

didn't try with out it....
psyba
 
Posts: 14
Joined: Fri Oct 26, 2001 7:00 pm
Location: Lewiston, Maine

Re: gaim 0.46

Postby jerome » Sat Oct 27, 2001 4:02 pm

yeah!!!!!! got it compiled, running nicely, ICQ support is updated to work with the ICQ server changes it seems. [img]images/icons/smile.gif"%20border="0[/img]
-jerome
jerome
 
Posts: 18
Joined: Sun Oct 21, 2001 7:00 pm
Location: nowhere

Re: gaim 0.46

Postby ThePaul » Thu Oct 17, 2002 7:53 am

trying everything here with .46, and .59.. but im getting a missing separator error after changing the plugins makefile for dylib.. checked the line it said and didn't see why it was giving me this error.. only thing i can think im doing differently is running os 10.2... you guys mind just posting the binary? im too tired at this point [img]images/icons/tongue.gif"%20border="0[/img]
ThePaul
 
Posts: 5
Joined: Wed Oct 16, 2002 7:00 pm


Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 27 guests

cron