thanks for the commit and the explanation mail below...
I think what you're asking for is fairly easy... maybe not easily but at least doable... If something comes up again, Tom will either ask or we'll figure it out and we'll be able to fix the makefiles for everyone...
p.s.: be "dépendant" to me => be dependant on me.. OR depend on me..
Compiling aMSN on Mac OS X is a real disaster, Phil and/or Youness,
can you make a small effort to improve it. That would HELP a lot to
compile aMSN on Mac OS X-Intel. That's not normal that I'm the only
one able to compile that. No one can guess theses steps without being
a real expert in makefile.
Theses are the instructions for Tom Hennigan to compile Webcamsn and
TkCximage
Move all aMSN CVS stuff inside a TCL-TK package(the TCL-TK package
should be a package with TCL-TK frameworks included (embedded)).
Right Click
Show Packet Contents
Contents
Resources
Scripts
After, use the terminal and change directory to this "Scripts" directory
Example:
cd /Users/gagnonje/aMSN-build.app/Contents/Resources/Scripts/
Type that:
./configure
you put # in front of theses 2 lines
#compile_c = $(CC) $(CFLAGS) -c -o $@ $<
#compile_cc = $(CXX) $(CXXFLAGS) -c -o $@ $<
replace them by
compile_c = $(CC) $(CFLAGS) -fno-common -c -o $@ $<
compile_cc = $(CXX) $(CXXFLAGS) -fno-common -c -o $@ $<
Inside the makefile
Replice the lines TCL_INC_SPEC, TCL_STUB_LIB_SPEC TK_INC_SPEC and
TK_STUB_LIB_SPEC by theses lines
# Directories in which the Tcl core can be found
TCL_INC_SPEC = -I../../Frameworks/Tcl.framework/Headers
TCL_STUB_LIB_SPEC = -L../../Frameworks/Tcl.framework -ltcl8.4
# Directories in which the Tk core can be found
TK_INC_SPEC = -I../../Frameworks/Tk.framework/Headers
TK_STUB_LIB_SPEC = -L../../Frameworks/Tk.framework -ltk8.4
make
---If something doesn't work or you forget something. Start over
again with: Make clean
go to
utils/webcamsn
rename webcamsn.so to webcamsn.dylib
move it to
utils/macosx/webcamsn
go to
utils/tkcximage
rename TkCximage.so to TkCximage.dylib
move it to
utils/macosx/TkCximage
Youness and Phil: the steps to improve are the lines I have to change
inside
compile.mk and makefile. Would be good also to not have to
rename tkcximage.so. Would be good to move the file automatically to
the right place but I don't know if it's possible so it's not necessary.
To compile aMSN on Mac OS X intel you probably need a TCL-TK Package
in Universal version to put the stuff inside. After you need to
compile webcamsn and tkcximage in universal. And you probably need an
Intel mac, in theory you can do that on a Mac PPC too but I already
tried and it doesn't work very well (at all).
The first time you ./configure inside amsn, you will probably need
some package on your computer that you don't have by default. I don't
remember witch one but the .configure script will tell you. I got
them with Fink and DarwinPorts. Of course you need the Developer
Tools installed.
So now all my knowledge about compiling aMSN is there, that shoudn't
be difficult like that so please try to improve that, that's not
normal that i'm the only one being able to compile it. I don't like
having a big project be "dépendant" to me, anybody should be able to
do that so if i'm not here anymore, it can continue to work.