[PHP-users 12509] php4.3.0の表示

php-users@php.gr.jp php-users@php.gr.jp
Fri, 10 Jan 2003 21:12:53 +0900


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2B8A1.9A3CB370
Content-Type: text/plain;
	charset="iso-2022-jp"

はじめまして。

PHPinfoの項目が、php4.3.0をインストールしたとたん
highlight.bg の #FFFFFF が、カラーになっていたのですが、
黒で表示されていることに気づきました。

これによってか、jpgraphで表示していたグラフが
表示できなくなってしまい苦戦しております。

解決策があれば、宜しくお願い申し上げます。

./configure --prefix=/usr/local/php 
--with-config-file-path=/usr/local/lib
--with-apxs=/usr/local/apache/bin/apxs
--with-gd
--with-gd2
--with-pgsql
--with-zend-multibyte
--without-mysql
--with-zlib
--with-mbstring
-----------------------------
--with-jpeg-dir=/usr/local
--with-png-dir=/usr/local
--with-ttf-dir=/usr/local
--enable-gd-native-ttf
 

点線から下の部分は、必要ないと思いましたが、
4.2.2で通常に動いていた時のものを加えて
みましたがだめでした。


以上
-----Original Message-----
From: Yasuo Ohgaki [mailto:yohgaki@ohgaki.net]
Sent: Friday, January 10, 2003 5:01 PM
To: php-users@php.gr.jp
Subject: [PHP-users 12502] Re: PHP4.3.0の GD のインストールについて


大垣です。

多分以下のパッチで動作すると思います。
思い通りに動作したら教えてください。

> ただし、
> % ./configure --with-gd
> で作成されるMakefieを見る限り
>  -DJISX0208
> を付加してないようですので、そのままでは日本語は通らないと思います。
> 

Index: ext/gd/config.m4
===================================================================
RCS file: /repository/php4/ext/gd/config.m4,v
retrieving revision 1.120.2.6
diff -u -r1.120.2.6 config.m4
--- ext/gd/config.m4    14 Dec 2002 09:32:49 -0000      1.120.2.6
+++ ext/gd/config.m4    10 Jan 2003 07:57:50 -0000
@@ -286,7 +286,7 @@
   AC_DEFINE(HAVE_GD_GIF_READ,          1, [ ])

 dnl Make sure the libgd/ is first in the include path
-  GDLIB_CFLAGS="-DHAVE_LIBPNG"
+  GDLIB_CFLAGS="-DHAVE_LIBPNG -DJISX0208"

 dnl Depending which libraries were included to PHP configure,
 dnl enable the support in bundled GD library






_______________________________________________
PHP-users mailing list
PHP-users@php.gr.jp
http://ns1.php.gr.jp/mailman/listinfo/php-users

------_=_NextPart_001_01C2B8A1.9A3CB370
Content-Type: text/html;
	charset="iso-2022-jp"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>php4.3.0の表示</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>はじめまして。</FONT>
</P>

<P><FONT SIZE=2>PHPinfoの項目が、php4.3.0をインストールしたとたん</FONT>
<BR><FONT SIZE=2>highlight.bg の #FFFFFF が、カラーになっていたのですが、</FONT>
<BR><FONT SIZE=2>黒で表示されていることに気づきました。</FONT>
</P>

<P><FONT SIZE=2>これによってか、jpgraphで表示していたグラフが</FONT>
<BR><FONT SIZE=2>表示できなくなってしまい苦戦しております。</FONT>
</P>

<P><FONT SIZE=2>解決策があれば、宜しくお願い申し上げます。</FONT>
</P>

<P><FONT SIZE=2>./configure --prefix=/usr/local/php </FONT>
<BR><FONT SIZE=2>--with-config-file-path=/usr/local/lib</FONT>
<BR><FONT SIZE=2>--with-apxs=/usr/local/apache/bin/apxs</FONT>
<BR><FONT SIZE=2>--with-gd</FONT>
<BR><FONT SIZE=2>--with-gd2</FONT>
<BR><FONT SIZE=2>--with-pgsql</FONT>
<BR><FONT SIZE=2>--with-zend-multibyte</FONT>
<BR><FONT SIZE=2>--without-mysql</FONT>
<BR><FONT SIZE=2>--with-zlib</FONT>
<BR><FONT SIZE=2>--with-mbstring</FONT>
<BR><FONT SIZE=2>-----------------------------</FONT>
<BR><FONT SIZE=2>--with-jpeg-dir=/usr/local</FONT>
<BR><FONT SIZE=2>--with-png-dir=/usr/local</FONT>
<BR><FONT SIZE=2>--with-ttf-dir=/usr/local</FONT>
<BR><FONT SIZE=2>--enable-gd-native-ttf</FONT>
<BR><FONT SIZE=2>&nbsp;</FONT>
</P>

<P><FONT SIZE=2>点線から下の部分は、必要ないと思いましたが、</FONT>
<BR><FONT SIZE=2>4.2.2で通常に動いていた時のものを加えて</FONT>
<BR><FONT SIZE=2>みましたがだめでした。</FONT>
</P>
<BR>

<P><FONT SIZE=2>以上</FONT>
<BR><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Yasuo Ohgaki [<A HREF="mailto:yohgaki@ohgaki.net">mailto:yohgaki@ohgaki.net</A>]</FONT>
<BR><FONT SIZE=2>Sent: Friday, January 10, 2003 5:01 PM</FONT>
<BR><FONT SIZE=2>To: php-users@php.gr.jp</FONT>
<BR><FONT SIZE=2>Subject: [PHP-users 12502] Re: PHP4.3.0の GD のインストールについて</FONT>
</P>
<BR>

<P><FONT SIZE=2>大垣です。</FONT>
</P>

<P><FONT SIZE=2>多分以下のパッチで動作すると思います。</FONT>
<BR><FONT SIZE=2>思い通りに動作したら教えてください。</FONT>
</P>

<P><FONT SIZE=2>&gt; ただし、</FONT>
<BR><FONT SIZE=2>&gt; % ./configure --with-gd</FONT>
<BR><FONT SIZE=2>&gt; で作成されるMakefieを見る限り</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; -DJISX0208</FONT>
<BR><FONT SIZE=2>&gt; を付加してないようですので、そのままでは日本語は通らないと思います。</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

<P><FONT SIZE=2>Index: ext/gd/config.m4</FONT>
<BR><FONT SIZE=2>===================================================================</FONT>
<BR><FONT SIZE=2>RCS file: /repository/php4/ext/gd/config.m4,v</FONT>
<BR><FONT SIZE=2>retrieving revision 1.120.2.6</FONT>
<BR><FONT SIZE=2>diff -u -r1.120.2.6 config.m4</FONT>
<BR><FONT SIZE=2>--- ext/gd/config.m4&nbsp;&nbsp;&nbsp; 14 Dec 2002 09:32:49 -0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.120.2.6</FONT>
<BR><FONT SIZE=2>+++ ext/gd/config.m4&nbsp;&nbsp;&nbsp; 10 Jan 2003 07:57:50 -0000</FONT>
<BR><FONT SIZE=2>@@ -286,7 +286,7 @@</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; AC_DEFINE(HAVE_GD_GIF_READ,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1, [ ])</FONT>
</P>

<P><FONT SIZE=2>&nbsp;dnl Make sure the libgd/ is first in the include path</FONT>
<BR><FONT SIZE=2>-&nbsp; GDLIB_CFLAGS=&quot;-DHAVE_LIBPNG&quot;</FONT>
<BR><FONT SIZE=2>+&nbsp; GDLIB_CFLAGS=&quot;-DHAVE_LIBPNG -DJISX0208&quot;</FONT>
</P>

<P><FONT SIZE=2>&nbsp;dnl Depending which libraries were included to PHP configure,</FONT>
<BR><FONT SIZE=2>&nbsp;dnl enable the support in bundled GD library</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>PHP-users mailing list</FONT>
<BR><FONT SIZE=2>PHP-users@php.gr.jp</FONT>
<BR><FONT SIZE=2><A HREF="http://ns1.php.gr.jp/mailman/listinfo/php-users" TARGET="_blank">http://ns1.php.gr.jp/mailman/listinfo/php-users</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2B8A1.9A3CB370--