Peter, Thank you, but it does not work with `--with-ns'. On Mar 21, 2009, at 5:34 PM, Peter Dyballa wrote: > > Am 21.03.2009 um 04:20 schrieb an0: > >> Have anyone made it on Mac OS X with MacPorts? > > It's always useful to invoke > > ./configure --help > > One big bug is that the configure script has hardcoded /sw (Fink) > related paths. You could substitute that with /opt ... > > I am using: > > env PATH=/opt/local/bin:$PATH CPPFLAGS="" ./configure --without- > sound --without-pop --with-dbus --with-libotf --with-xpm --with-jpeg > --with-tiff --with-gif --with-png --x-includes=/opt/local/include -- > x-libraries=/opt/local/lib --enable-locallisppath=/Library/ > Application\ Support/Emacs/calendar23:/Library/Application\ Support/ > Emacs PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/ > pkgconfig:/usr/lib/pkgconfig CFLAGS="-Wno-pointer-sign -H -pipe - > fPIC -mcpu=7450 -mtune=7450 -fast -mpim-altivec -ftree-vectorize - > foptimize-register-move -freorder-blocks -freorder-blocks-and- > partition -fthread-jumps -fpeephole -fno-crossjumping" LDFLAGS="- > dead_strip -multiply_defined suppress -L/opt/local/lib" > > The important things are: not using + (this does not seem > to work, I've seen this fail in a handful of situations) and > particularly: > > --x-includes=/opt/local/include --x-libraries=/opt/local/lib > > (the many --with- are probably superfluous, CPPFLAGS="" > cancels my Fink based environment) I am not sure whether the final - > L/opt/local/lib is necessary. I am testing (on PPC, Tiger 10.4.11) > since a few weeks and could not check yet all possible > variations ... (MacPorts offers for Tiger an X11R7.3 based X server, > quartz-wm, and libraries) > > > To build Emacs.app, the native Aqua client, I am using: > > env PATH=/opt/local/bin:$PATH ./configure --without-sound --without- > pop --with-dbus --with-libotf --with-ns --disable-ns-self-contained > --x-includes=/opt/local/include --x-libraries=/opt/local/lib -- > enable-locallisppath=/Library/Application\ Support/Emacs/calendar23:/ > Library/Application\ Support/Emacs PKG_CONFIG_PATH=/opt/local/lib/ > pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig CFLAGS="-Wno- > pointer-sign -H -pipe -fPIC -mcpu=7450 -mtune=7450 -fast -mpim- > altivec -ftree-vectorize -foptimize-register-move -freorder-blocks - > freorder-blocks-and-partition -fthread-jumps -fpeephole -fno- > crossjumping" LDFLAGS="-dead_strip -multiply_defined suppress -L/opt/ > local/lib" > > > And don't forget to run a final 'sudo make install'! Otherwise > Emacs.app won't launch. > > -- > Greetings > > Pete > > Bake pizza not war! > > > Welcome to drink some Cocoa, play with my Python pet, and sing Lisp songs, together with a nut, @ http://an00na.blogspot.com/.