Docunext

  • About

Compiling Ming on Linux

May 18th, 2004

August 30, 2005 - Needed to add -fPIC cflag to Makefile.config on AMD64. Generated libming.a, hopefully that is enough. Was able to go inside Makefile.config and add some optimization flags for ming, and set the install directory. AWESOME.

New instructions, as of Spring 2005

# ./autogen.sh : for a fresh CVS checkout# make# make install

THIS IS OLD:

mkdir ming_build

PREFIX="/home/user/ming_new/ming/ming_build" CFLAGS="-L/home/user/php_workshop/php_complete/lib -I/home/user/php_workshop/php_complete/include" make -e static

PREFIX="/home/user/ming_new/ming/ming_build" make -e install-common

cp libming.a ming_build/lib/

So far so good.#Changed --with-ming=/home/user/ming3b_cvs/ming/ming_build in php_build.#Called ./php_build

Making as a php_module:

cd php_ext

Exported path to include php-config file

export PATH="$PATH:/home/user/php_workshop/php_complete/bin"

make command:

PREFIX="/home/user/ming_new/ming/ming_build" CFLAGS="-L/home/user/php_workshop/php_complete/lib -I/home/user/php_workshop/php_complete/include" make -e-e uses environment variables (the prefix and CFLAGS vars)
Yearly Indexes: 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020