pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] [wiki.pingus] push by - Edited wiki page MacOS_X_Compiling


From: pingus
Subject: [Pingus-CVS] [wiki.pingus] push by - Edited wiki page MacOS_X_Compiling through web user interface. on 2012-07-20 19:54 GMT
Date: Fri, 20 Jul 2012 19:55:17 +0000

Revision: 075f4fd8ad85
Author:   josh.jpenguin <address@hidden>
Date:     Fri Jul 20 12:54:55 2012
Log:      Edited wiki page MacOS_X_Compiling through web user interface.
http://code.google.com/p/pingus/source/detail?r=075f4fd8ad85&repo=wiki

Modified:
 /MacOS_X_Compiling.wiki

=======================================
--- /MacOS_X_Compiling.wiki     Thu Dec 29 12:38:31 2011
+++ /MacOS_X_Compiling.wiki     Fri Jul 20 12:54:55 2012
@@ -6,32 +6,35 @@

 Getting Started

-Install developer tools, either from the OS X Install DVD or from Apple's website -symlink include folder of OpenGL framework to /usr/local/include/GL (Unix programs have an easier time finding it this way)
+Alt: Install RUDIX http://code.google.com/p/rudix/
+
+All: Install developer tools, either from the OS X Install DVD or from Apple's website +All: symlink include folder of OpenGL framework to /usr/local/include/GL (Unix programs have an easier time finding it this way) % sudo ln -s /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/ /usr/local/include/GL (you might need to create /usr/local/include/ first if you never built and installed anything from source! sudo mkdir -p /usr/local/include/)

-iTerm2
+All: iTerm2
This is completely unnecessary, the stock Terminal.app will do just fine; it is just a matter of taste
 http://www.iterm2.com/

-Environment
+All: Environment
Add /usr/local/bin to your PATH, *before* /usr/bin so that the new versions of stuff you install are picked over the older ones installed by default (this might not be necessary if you don't install autotools below)
 In a terminal : sudo nano /etc/profile (enter your password as prompted)
 add the line export PATH=/usr/local/bin:$PATH at the bottom of the file
 Hit Ctrl+O then press enter to save changes.
 Hit Ctrl-X to exit.
-Download pkg-config sources from [http://pkgconfig.freedesktop.org/releases/] and build it:
+
+Alt: sudo rudix install pkg-config
+
+Orig: Download pkg-config sources from [http://pkgconfig.freedesktop.org/releases/] and build it:
     % cd /path/to/pkg-config-0.22
     % ./configure
     % make
     % sudo make install
-All the following programs can be built and installed with the following commands on the terminal :
-    % cd /path/to/source_file
-    % ./configure
-    % make
-    % sudo make install
-get M4 from [http://ftp.gnu.org/gnu/m4/] and install it
+
+Alt: sudo rudix install m4; sudo rudix install automake; sudo rudix install autoconf
+
+Orig: get M4 from [http://ftp.gnu.org/gnu/m4/] and install it
 symlink m4 to gm4 since that's how some programs refer to it.
         % sudo ln -s /usr/local/bin/m4 /usr/local/bin/gm4
Then, build and install autoconf and automake from GNU the same way as described above
@@ -39,83 +42,72 @@
 [http://www.gnu.org/software/automake/]

 SCONS
-http://www.scons.org/
+Alt: sudo rudix install scons
+
+Orig: http://www.scons.org/

 BOOST
-{http://www.boost.org/}
-Needs apple's gcc to build
+Alr: sudo rudix install boost
+
+Orig: {http://www.boost.org/}  Needs apple's gcc to build

 DYLIBBUNDLER
-[http://macdylibbundler.sourceforge.net/]
-need apple's gcc to build
+All: [http://macdylibbundler.sourceforge.net/]  need apple's gcc to build

 LIBXML2
-
-./configure && make && sudo make install
-
+All: ./configure && make && sudo make install

 SDL
-
-./configure CC=/usr/bin/gcc CXX=/usr/bin/g++ && make && sudo make install
-
+Alt: sudo rudix install sdl
+
+Orig: ./configure CC=/usr/bin/gcc CXX=/usr/bin/g++ && make && sudo make install

 LIBOGG
-
-./configure && make && sudo make install
-
+Alt: sudo rudix install static-libogg
+
+Orig: ./configure && make && sudo make install

 LIBVORBIS
-
-./configure && make && sudo make install
-
+Alt: sudo rudix install static-libvorbis
+
+Orig: ./configure && make && sudo make install

 LIBMAD
-
-./configure x86_64-apple-darwin10.6.0 CC=/usr/bin/gcc CXX=/usr/bin/g++ && make && sudo make install
-
+All: ./configure x86_64-apple-darwin10.6.0 CC=/usr/bin/gcc CXX=/usr/bin/g++ && make && sudo make install

 FLAC
-
-./configure x86_64-apple-darwin10.6.0 && make && sudo make install
-
+All: ./configure x86_64-apple-darwin10.6.0 && make && sudo make install

 MIKMOD
-#We must us a patched version of libmikmod
+All: #We must us a patched version of libmikmod

cd ~; curl -o libmikmod.tbz dl.dropbox.com/u/3252883/Libs/libmikmod-3.2.0-beta2.tbz -#; tar -xjf libmikmod.tbz; cd ~/libmikmod-3.2.0-beta2; ./configure; make; sudo make install

 SDL_MIXER
-
-./configure -enable-music-mp3-shared=false --enable-music-ogg-shared=false --enable-music-flac-shared=false --enable-music-mod-shared=false --enable-music-mp3-mad-gpl && make && sudo make install
-
+All: ./configure -enable-music-mp3-shared=false --enable-music-ogg-shared=false --enable-music-flac-shared=false --enable-music-mod-shared=false --enable-music-mp3-mad-gpl && make && sudo make install

 LIB_PNG
-
-./configure x86_64-apple-darwin10.6.0 && make && sudo make install
-
+Alt: sudo rudix install static-libpng
+
+Orig: ./configure x86_64-apple-darwin10.6.0 && make && sudo make install

 LIB_JPEG
-
-./configure x86_64-apple-darwin10.6.0 && make && sudo make install'
+Alt: sudo rudix install static-libjpeg
+
+Orig: ./configure x86_64-apple-darwin10.6.0 && make && sudo make install'

 You may need to manually copy libjpeg.a to /usr/local/lib/
 You may need to manually copy all the *.h files to /usr/local/include/

 LIB_TIFF
-
-./configure x86_64-apple-darwin10.6.0 --with-apple-opengl-framework && make && sudo make install +All: ./configure x86_64-apple-darwin10.6.0 --with-apple-opengl-framework && make && sudo make install


 SDL_IMAGE
-
-./configure -enable-jpg-shared=false --enable-png-shared=false --enable-tif-shared=false && make && sudo make install
-
-
-GCC-4.6
-
-Pingus uses functions not present in Apples version of GCC (4.2.1) Luckily GCC compiles cleanly on MacOS X. To save time, there is also a binary package of GCC 4.6 I compiled my own, so I can only say that I think this will work; it is available from http://hpc.sourceforge.net/
-
-If you do choose to compile GCC; remember to intall the dependencies: gmp, mpc & mpfr. +All: ./configure -enable-jpg-shared=false --enable-png-shared=false --enable-tif-shared=false && make && sudo make install
+
+GCC-4.6+
+All: Pingus uses functions not present in Apples version of GCC (4.2.1) Luckily GCC compiles cleanly on MacOS X. Remember to intall the dependencies: gmp, mpc & mpfr.
 There is nothing special needed to compile GCC or its dependencies, just

 ./configure && make && make install



reply via email to

[Prev in Thread] Current Thread [Next in Thread]