Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » gaim 0.46

UBBFriend: Email this page to someone!    
Author Topic: gaim 0.46
jerome
Member
Member # 184

posted October 21, 2001 11:40 PM      Profile for jerome        Edit/Delete Post  Reply With Quote 
I'm wondering if anybody has any ideas or figured out hwo to compile gaim 0.46, i'm getting:

code:
 /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


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

Posts: 18 | From: nowhere | Registered: Oct 2001  |  IP: Logged
apex
Administrator
Member # 1

posted October 22, 2001 01:19 AM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
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


Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
jerome
Member
Member # 184

posted October 22, 2001 10:19 AM      Profile for jerome        Edit/Delete Post  Reply With Quote 
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

Posts: 18 | From: nowhere | Registered: Oct 2001  |  IP: Logged
apex
Administrator
Member # 1

posted October 23, 2001 06:37 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Did you remove your config.cache before runnning configure again?
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
jerome
Member
Member # 184

posted October 23, 2001 09:10 PM      Profile for jerome        Edit/Delete Post  Reply With Quote 
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

Posts: 18 | From: nowhere | Registered: Oct 2001  |  IP: Logged
psyba
Junior Member
Member # 193

posted October 26, 2001 10:01 PM      Profile for psyba   Email psyba   Send New Private Message      Edit/Delete Post  Reply With Quote 
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 syba/Public/gaim-0.46] root#


Posts: 14 | From: Lewiston, Maine | Registered: Oct 2001  |  IP: Logged
psyba
Junior Member
Member # 193

posted October 26, 2001 10:33 PM      Profile for psyba   Email psyba   Send New Private Message      Edit/Delete Post  Reply With Quote 
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?


Posts: 14 | From: Lewiston, Maine | Registered: Oct 2001  |  IP: Logged
psyba
Junior Member
Member # 193

posted October 26, 2001 10:40 PM      Profile for psyba   Email psyba   Send New Private Message      Edit/Delete Post  Reply With Quote 
I just commented out #include <dlfcn.h> on aim.c and buddy.c and it works 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....


Posts: 14 | From: Lewiston, Maine | Registered: Oct 2001  |  IP: Logged
jerome
Member
Member # 184

posted October 27, 2001 09:02 AM      Profile for jerome        Edit/Delete Post  Reply With Quote 
yeah!!!!!! got it compiled, running nicely, ICQ support is updated to work with the ICQ server changes it seems.
-jerome

Posts: 18 | From: nowhere | Registered: Oct 2001  |  IP: Logged
ThePaul
Junior Member
Member # 533

posted October 16, 2002 12:53 PM      Profile for ThePaul     Send New Private Message      Edit/Delete Post  Reply With Quote 
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
Posts: 5 | Registered: Oct 2002  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2