[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] [wiki.pingus] push by - Created wiki page through web user
From: |
pingus |
Subject: |
[Pingus-CVS] [wiki.pingus] push by - Created wiki page through web user interface. on 2011-11-29 03:17 GMT |
Date: |
Tue, 29 Nov 2011 03:18:38 +0000 |
Revision: f351ba0449af
Author: josh.jpenguin <address@hidden>
Date: Mon Nov 28 19:17:44 2011
Log: Created wiki page through web user interface.
http://code.google.com/p/pingus/source/detail?r=f351ba0449af&repo=wiki
Added:
/MacOS_X_Compiling.wiki
=======================================
--- /dev/null
+++ /MacOS_X_Compiling.wiki Mon Nov 28 19:17:44 2011
@@ -0,0 +1,109 @@
+This is how I am building Pingus-0.7.5 om MacOS 10.6. It still has a
couple of bugs but we're working on it...
+
+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)
+ % 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
+This is completely unnecessary, the stock Terminal.app will do just fine;
it is just a matter of taste
+http://www.iterm2.com/
+
+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:
+ % 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
+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
+[http://www.gnu.org/software/autoconf/]
+[http://www.gnu.org/software/automake/]
+
+DYLIBBUNDLER
+[http://macdylibbundler.sourceforge.net/]
+
+LIBXML2
+
+./configure && make && sudo make install
+
+
+SDL
+
+./configure CC=/usr/bin/gcc CXX=/usr/bin/g++ && make && sudo make install
+
+
+LIBOGG
+
+./configure && make && sudo make install
+
+
+LIBVORBIS
+
+./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
+
+
+FLAC
+
+./configure x86_64-apple-darwin10.6.0 && make && sudo make install
+
+
+MIKMOD
+#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
+
+
+LIB_PNG
+
+./configure x86_64-apple-darwin10.6.0 && make && sudo make install
+
+
+LIB_JPEG
+
+./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
+
+
+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.
+There is nothing special needed to compile GCC or its dependencies, just
+
+./configure && make && make install
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] [wiki.pingus] push by - Created wiki page through web user interface. on 2011-11-29 03:17 GMT,
pingus <=