Compiling PHP-GTK with PHP-5.3.1 with VC9

--001485f8efd40a23c4047d47e10a
Content-Type: multipart/alternative; boundary=001485f8efd40a23b1047d47e108

--001485f8efd40a23b1047d47e108
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello,


I tried to compile PHP-GTK 2.0.1 with PHP 5.3.1 on Windows.
The first errors I was able to fix. The patch file with my fixes you find a=
s
an attachment to this mail.
But now I get following error and I don't know why. VC9 doesn't find the
SG-definition, but SAPI.h is included in php_gtk+.c. So what's going wrong
there?


###

C:\php-sdk\php53\vc9\x86\php-
gtk_build>nmake

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9035 : option 'GX' has been deprecated and will
be removed in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
php_gtk+.c
c:\php-sdk\php53\vc9\x86\php-5.3.1\zend\zend_execute.h(231) : warning C4018=
:
'>' : signed/unsigned mismatch
ext\gtk+\php_gtk+.c(82) : warning C4013: 'SG' undefined; assuming extern
returning int
ext\gtk+\php_gtk+.c(82) : error C2065: 'request_info' : undeclared
identifier
ext\gtk+\php_gtk+.c(82) : error C2224: left of '.path_translated' must have
struct/union type
ext\gtk+\php_gtk+.c(83) : error C2065: 'request_info' : undeclared
identifier
ext\gtk+\php_gtk+.c(83) : error C2224: left of '.path_translated' must have
struct/union type
ext\gtk+\php_gtk+.c(83) : error C2198: 'g_strdup' : too few arguments for
call
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\Bin
\cl.EXE"' : return code '0x2'
Stop.

C:\php-sdk\php53\vc9\x86\php-gtk_build>

###

Do you have a hint what I can do?


Thanks and best regards,
Thomas

--

Mit freundlichen Gr=C3=BC=C3=9Fen,
Thomas Worm

******************************

Thomas Worm
Handel & Dienstleistung
Postfach 2207
D-90009 N=C3=BCrnberg

Hausanschrift:
Hintere Cramergasse 3
D-90478 N=C3=BCrnberg

******************************

Telefon: +49 1803 030505000
Telefax: +49 1803 030505050

Allgemeiner Kontakt:
info [at] thomas-worm.de

Buchhaltung:
buchhaltung [at] thomas-worm.de

******************************

Gesch=C3=A4ftsf=C3=BChrer: Thomas Worm
thomas.worm [at] thomas-worm.de

Kontoverbindung:
Inhaber: Thomas Worm H. u. D.
Kontonummer: 38 56 38
Bankleitzahl: 760 606 18
Kreditinstitut: Volksbank-Raiffeisenbank N=C3=BCrnberg eG

Steuernummer: 240-290-21429
USt-ID: DE250745940
ISBN-Verlagsnummer: 3-86749

******************************

--001485f8efd40a23b1047d47e108
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello,<br><br><br>I tried to compile PHP-GTK 2.0.1 with PHP 5.3.1 on Window=
s.<br>The first errors I was able to fix. The patch file with my fixes you =
find as an attachment to this mail.<br>But
now I get following error and I don't know why. VC9 doesn't find th=
e
SG-definition, but SAPI.h is included in php_gtk+.c. So what's going
wrong there?<br>
<br><br>###<br><br>C:\php-sdk\php53\vc9\x86\php-<div id=3D":e9" class=3D"ii=
gt">gtk_build>nmake<br><br>Microsoft (R) Program Maintenance Utility Ve=
rsion 9.00.21022.08<br>Copyright (C) Microsoft Corporation.=C2=A0 All right=
s reserved.<br>

<br>cl : Command line warning D9035 : option 'GX' has been deprecat=
ed and will be removed in a future release<br>
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'=
;<br>php_gtk+.c<br>c:\php-sdk\php53\vc9\x86\php-5.3.1\zend\zend_execute.h(2=
31) : warning C4018: '>'=C2=A0: signed/unsigned mismatch<br>ext\=
gtk+\php_gtk+.c(82) : warning C4013: 'SG' undefined; assuming exter=
n returning int<br>


ext\gtk+\php_gtk+.c(82) : error C2065: 'request_info' : undeclared =
identifier<br>ext\gtk+\php_gtk+.c(82) : error C2224: left of '.path_tra=
nslated' must have struct/union type<br>ext\gtk+\php_gtk+.c(83) : error=
C2065: 'request_info' : undeclared identifier<br>


ext\gtk+\php_gtk+.c(83) : error C2224: left of '.path_translated' m=
ust have struct/union type<br>ext\gtk+\php_gtk+.c(83) : error C2198: 'g=
_strdup' : too few arguments for call<br>
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Stu=
dio 9.0\VC\Bin<br>\cl.EXE"' : return code '0x2'<br>Stop.<b=
r><br>C:\php-sdk\php53\vc9\x86\php-gtk_build><br><br>###<br><br>Do you h=
ave a hint what I can do?<br>


<br><br>Thanks and best regards,<br>Thomas<br><br>--<br><br></div>Mit freun=
dlichen Gr=C3=BC=C3=9Fen,<br>Thomas Worm<br><br>***************************=
***<br><br>Thomas Worm<br>Handel & Dienstleistung<br>Postfach 2207<br>D=
-90009 N=C3=BCrnberg<br>

<br>Hausanschrift:<br>Hintere Cramergasse 3<br>D-90478 N=C3=BCrnberg<br><br=
>******************************<br><br>Telefon: +49 1803 030505000<br>Telef=
ax: +49 1803 030505050<br><br>Allgemeiner Kontakt:<br><a href=3D"mailto:inf=
o [at] thomas-worm.de">info [at] thomas-worm.de</a><br>

<br>Buchhaltung:<br><a href=3D"mailto:buchhaltung [at] thomas-worm.de">buchhaltu=
ng [at] thomas-worm.de</a><br><br>******************************<br><br>Gesch=C3=
=A4ftsf=C3=BChrer: Thomas Worm<br><a href=3D"mailto:thomas.worm [at] thomas-worm=
..de">thomas.worm [at] thomas-worm.de</a><br>

<br>Kontoverbindung:<br>Inhaber: Thomas Worm H. u. D.<br>Kontonummer: 38 56=
38<br>Bankleitzahl: 760 606 18<br>Kreditinstitut: Volksbank-Raiffeisenbank=
N=C3=BCrnberg eG<br><br>Steuernummer: 240-290-21429<br>USt-ID: DE250745940=
<br>

ISBN-Verlagsnummer: 3-86749<br><br>******************************<br>

--001485f8efd40a23b1047d47e108--

--001485f8efd40a23c4047d47e10a
Content-Type: text/plain; charset=us-ascii

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--001485f8efd40a23c4047d47e10a--
Thomas Worm [ Sa, 16 Januar 2010 14:12 ] [ ID #2028981 ]

Re: Compiling PHP-GTK with PHP-5.3.1

--0016364c79cfe7eb17047d4ce69e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello,

problem is solved. After some fixing of configure.js for MS VS.NET 2008 and
fixing confutils.js it works. Thankts to Elizabeth M Smith for the help!

My fixes have been postet to the php-gtk-dev mailinglist for beeing
published in svn.


Best Regards,
Thomas


--

Mit freundlichen Gr=C3=BC=C3=9Fen,
Thomas Worm

******************************

Thomas Worm
Handel & Dienstleistung
Postfach 2207
D-90009 N=C3=BCrnberg

Hausanschrift:
Hintere Cramergasse 3
D-90478 N=C3=BCrnberg

******************************

Telefon: +49 1803 030505000
Telefax: +49 1803 030505050

Allgemeiner Kontakt:
info [at] thomas-worm.de

Buchhaltung:
buchhaltung [at] thomas-worm.de

******************************

Gesch=C3=A4ftsf=C3=BChrer: Thomas Worm
thomas.worm [at] thomas-worm.de

Kontoverbindung:
Inhaber: Thomas Worm H. u. D.
Kontonummer: 38 56 38
Bankleitzahl: 760 606 18
Kreditinstitut: Volksbank-Raiffeisenbank N=C3=BCrnberg eG

Steuernummer: 240-290-21429
USt-ID: DE250745940
ISBN-Verlagsnummer: 3-86749

******************************

--0016364c79cfe7eb17047d4ce69e--
Thomas Worm [ Sa, 16 Januar 2010 20:12 ] [ ID #2028984 ]
PHP » gmane.comp.php.general » Compiling PHP-GTK with PHP-5.3.1 with VC9

Vorheriges Thema: mysql_real_escape_string(0xffffffff) yields -1
Nächstes Thema: SMTP Local development to Send email in PHP; Windows Platform/ XP