aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Someone know where I can find a easier way to compile for os x 10.2.8  (Read 7433 times)

DJ Nibu Aguiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11

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
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825

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.
Logged

DJ Nibu Aguiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
thankx ken
« Reply #2 on: August 04, 2005, 01:50:05 AM »

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
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: Someone know where I can find a easier way to compile for os x 10.2.8
« Reply #3 on: August 04, 2005, 02:34:13 AM »

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". :)
Logged
Current aMule CVS builds for OS X can be found here.

DJ Nibu Aguiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
I don't have Xcode...
« Reply #4 on: August 06, 2005, 10:40:07 PM »

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
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: Someone know where I can find a easier way to compile for os x 10.2.8
« Reply #5 on: August 06, 2005, 11:34:41 PM »

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.
Logged
Current aMule CVS builds for OS X can be found here.

DJ Nibu Aguiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
I have the dvd installer, but...
« Reply #6 on: August 07, 2005, 01:32:42 AM »

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
Logged

DJ Nibu Aguiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
...litle more...
« Reply #7 on: August 07, 2005, 01:36:54 AM »

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.
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Someone know where I can find a easier way to compile for os x 10.2.8
« Reply #8 on: August 07, 2005, 05:36:54 AM »

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, mount it as an external drive from the other Mac, and then use that Mac to install Panther onto the iBook's drive.
Logged

DJ Nibu Aguiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
ok... thankx ken.
« Reply #9 on: August 07, 2005, 05:15:39 PM »

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
Logged

DJ Nibu Aguiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
gettext - which of the gettext occurrence should I install?
« Reply #10 on: August 07, 2005, 07:56:31 PM »

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
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Someone know where I can find a easier way to compile for os x 10.2.8
« Reply #11 on: August 08, 2005, 09:23:40 PM »

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).
Logged

DJ Nibu Aguiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
other problem...
« Reply #12 on: August 09, 2005, 01:47:18 PM »

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?
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
RE: other problem...
« Reply #13 on: August 09, 2005, 04:16:01 PM »

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.
Logged

DJ Nibu Aguiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
thanks ken. compiling amule-cvs... error
« Reply #14 on: August 10, 2005, 04:02:34 PM »

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)?
Logged
Pages: [1] 2