[SunStudio 12]で64bit
CC="/opt/SUNWspro/bin/cc -fast -m64" \ CXX="/opt/SUNWspro/bin/CC -fast -m64" \ CPPFLAGS="-I/usr/local/include -I/usr/local/ssl/include \ -I/usr/sfw/include -I/usr/local/mysql/include/mysql -I/usr/openwin/include" \ LDFLAGS="-L/usr/local/lib -L/usr/local/ssl/lib -L/usr/sfw/lib/64 \ -L/usr/local/mysql/lib/mysql -R/usr/local/lib -R/usr/local/ssl/lib \ -R/usr/sfw/lib/64 -R/usr/local/mysql/lib/mysql" \ ./configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql=/usr/local/mysql \ --enable-zend-multibyte \ --enable-mbstring \ --enable-mbregex \ --with-openssl-dir=/usr/local/ssl \ --with-gd \ --enable-gd-jis-conv \ --enable-gd-native-ttf \ --with-zlib-dir=/usr/lib/64 \ --with-gettext=/usr/lib/64 \ --with-jpeg-dir=/usr/lib/64 \ --with-png-dir=/usr/lib/64 \ --with-xpm-dir=/usr/openwin/lib/64 \ --with-pear \ --with-freetype-dir=/usr/local/lib \ --enable-sockets $ make $ su # make install

コメントする