aMule Forum
English => Multiplatform => Mac OSX => Topic started by: DJ Nibu Aguiar on July 30, 2005, 05:02:03 PM
-
Please, someone knows where I can find an easily way to compile... or an how to for beginners...? and before it, can amule be compiled for os x 10.2.8?
thankx
-
DJ Nibu Aguiar, the HowTo linked at the beginning of this thread is about as easy as we can make it. It looks intimidating, but it's really not that hard.
I don't know for sure if it will compile on 10.2.8. I did a test here. Apple provides tools so that people on 10.4.x can cross-compile for 10.2.8. I couldn't get it to work -- there were problems compiling wxMac. However, those problems might be because the cross-compile environment is imperfect. In other words, you may get different results actually compiling on 10.2.8 than I did compiling on 10.4.2 for 10.2.8.
-
thankx Ken. I had problems when I tryed to download the wxWidgets , and I don't know what is this and what I have to download. I was traveling on link to link on the how to, and didn't understanding what I was doing...
I have some experence on compile programs to windows (not big experience, u can see, lol), but for unix based os's I don't have. please, if u can post here an explain about what I have to download (wxWidgets) I will be glad. the all problem is becouse the page where we download wxWidgets, have many links to download and I don't know who of this ones I should get.
thankx
sorry about my english... hehehehehe
-
you want to download wxMac 2.6.1.
so click on "Mac OS" in the "2.6.1 stable release" section, then download "wxMac-2.6.1.tar.gz". :)
-
Thankx lionel77, I download wxmac 2.6.1, but I have other problem... lol.... I don't have xcode, I had search at mac os x cd (that came with ibook) and did not find the xcode there... I have tryed to download from apple (ADC downloads) but the only tool that have there is the Developer_Tools. I read the "About_Developer_Tools.pdf", but didn't find nothing about xcode. Do u know if the Developer_Tools have xcode?
note: all xcode that have in ADC require at least os x 10.3, my os x is 10.2.8
thankx
-
xcode is part of the developer tools, it used to be called 'project builder' iirc. so you want to get the developer tools that are compatible with your version of mac os x.
i have a feeling that if you are struggling with these preliminary steps the actual compiling etc. is gonna be even more difficult. not that i want to discourage you, but have you thought about just getting 10.3? it's a great operating system and it's gonna make your old ibook run a bit faster. i'm still using 10.3 on my old g4 867 at home.
-
lionel77
I have the dvd installer of os x 10.3, but my ibook doesn´t have dvd drive... I aredy tryed to copy the files (on dvd installer) from an dvd drive running in windows, but windows "can´t see" the files...
From my knowlegd, I can´t upgrade to panther without pay (talking about get an update on os x page), and I don´t want pay couse I aredy have the system (panther).
So, I can download the developer tools? it have xcode? (sorry, I didn´t understand what u said). could u explain why it´s gonna be harder to me?
thanks
-
before this...
do u know some alternative for copy the installer files from dvd to a cd, so I can read the files on my ibook.
-
The developer tools you need for 10.2.8 are the ones called "December 2002 Mac OS X Developer Tools". To find this download, go to http://connect.apple.com, login, then click "Downloads" and "Developer Tools", and scroll to the bottom.
The Integrated Development Environment (IDE) that comes with those tools is called Project Builder. Xcode is the name of the new IDE that comes with the tools for Mac OS X 10.3 and later. But this doesn't matter -- you don't actually use the IDE to build wxWidgets or aMule, just the compiler: gcc.
If instead you want to upgrade to Panther, your best option may be to buy or borrow an external DVD drive. I don't know which version of the iBook you have, but hopefully it supports Firewire or USB 2. You might want to take your iBook and your Panther DVD into an Apple Store or other computer store and see if they will help you do the install. An authorized Apple reseller may even be able to exchange your DVD for CDs. (I assume it is a legitimate copy. If not, I don't want to hear about it.)
If your iBook has Firewire and you have access to another Mac with a DVD drive, another possibility is to boot the iBook into Firewire Target Disk Mode (http://docs.info.apple.com/article.html?artnum=58583), mount it as an external drive from the other Mac, and then use that Mac to install Panther onto the iBook's drive.
-
Thankx ken.
U know i'ts not too common people with macingtosh, here in Brasil it's more dificult. So maybe the way u said about go on an apple store works (I will should have to pay, but...), or trye to borrow an external dvd drive.
Don't get worried, my copy of panther is legitimate.
First I will try to compile for 10.2.8
-
In fink name bar appear this occurrences: gettext; gettext-bin;
gettext-dev; gettext-tools. Should I install all of then or which one should I install? and through binary or source?
Sorry about buging you all with my newbil questions
thanks
-
I believe you just need "gettext". As to binary vs. source, it doesn't matter since they are at the same version. The binary package should be faster to install and should have fewer dependencies (less other stuff to clutter your system).
-
I had installed the develloper tools, it's had going ok... but I don't know where did the installer put the programs on MACINTOSH HD.
Someone know where the installer put the files by default?
I find a folder named developer, but I can't see GCC on it. On Dec2002DevTools have GCC? if not on this pakage tools what should I use to compile amule?
-
The Dec2002DevTools installed gcc. It is installed in a directory that the Finder hides from you. Don't worry about it.
To verify that it is present, open Terminal.app and type:
which gcc
That command will show you where the gcc executable is located. You can also type:
gcc --version
to have gcc tell you its version information.
-
Thanks ken about find gcc. My gcc version is 3.1. I took a problem while I was compiling amule-cvs. take a look:
[GRUPO:/Arquivos/amule-cvs] avaz% ./configure --disable-systray --disable-gtk \ --with-wx-prefix=../wxMac-2.6.1/build/lib/ \ --with-wx-config=../wxMac-2.6.1/build/wx-config
configure: error: invalid variable name: --with-wx-prefix
I aredy compile wxMac-2.6.1, like says on how to, and it seens all ok. but when I try to compile amule (I was on amule-cvs folder, don't know if it's correct) I took this "configure: error: invalid variable name: --with-wx-prefix"
Before it I made some wrong thing:
[GRUPO:/Arquivos/amule-cvs] avaz% ./configure --disable-systray --disable-gtk \
--with-wx-prefix=../wxMac-2.6.0/build/lib/ \
--with-wx-config=../wxMac-2.6.0/build/wx-confi? --with-wx-prefix=../wxMac-2.6.0/build/lib/ \
? (here had some line instruction like "--with-wx-config=../wxMac-2.6.0/build/wx-confi?" (I don't know if was this but look like it), I delete this instruction and press ENTER, so I took this:)
checking build system type... powerpc-apple-darwin6.8
checking host system type... powerpc-apple-darwin6.8
checking target system type... powerpc-apple-darwin6.8
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking whether ln -s works... yes
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for zlib >= 1.1.4... no
configure: error: zlib >= 1.1.4 not found
Do u know what is my problem (forget the user problem, lol)?
-
OK, I'm not entirely sure what happened there. I can think of two things.
First, when the wiki shows the configure command and it uses the backslash ('\'), that is done so that what is presented as multiple lines in the wiki are interpreted by the shell as one single line. If you are combining the parts of the line into one yourself, then you don't need and shouldn't use the backslashes. In other words, you can write the command in one of two ways: either 1) with backslashes and newlines, or 2) with no backslashes and no newlines.
Second, the wiki page includes the "--with-wx-prefix" switch to configure, but it is unnecessary. Because you are providing the "--with-wx-config" switch, configure will learn everything it needs know from the wx-config program and doesn't need to be told the wx prefix. I'll correct the wiki now.
So, to sum up, I would recommend that you just use the following configure command:./configure --disable-systray --disable-gtk --with-wx-config=../wxMac-2.6.1/build/wx-config
I hope that works. Oh, and congrats on compiling wxMac! I'm glad that worked for you. :)
-
thanks ken, the command line works but happends the same error: "configure: error: zlib >= 1.1.4 not found". I think I should download this "zlib", but for what is it for? and where I can find it?
I had download this days the NS program (network simulator), and in description of contents says that have the zlib 1.1.4, but I don't know how can I use this lib (it should be a lib, no? lol)and how can I get it...
If u, or some one else know, please say it to me...
thanks
-
http://www.zlib.net/
-
thanks Kry.