473,836 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Issue with building PHP 5.2.2 from source on Windows XP

I need to build PHP from source with the pdo_ibm extension and I am
having an issue with it. Firstly, I am using Visual Studio .NET 2003
and I am building PHP from source through the Visual Studio Command
Prompt. When I get to the nmake step, it gets through everything until
it hits the zend_language_s canner.l file. Then I get these errors:

zend_language_s canner.l(24) : warning C4005: 'yyleng' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(12) : see
previous defini
tion of 'yyleng'
zend_language_s canner.l(25) : warning C4005: 'yytext' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(16) : see
previous defini
tion of 'yytext'
zend_language_s canner.l(26) : warning C4005: 'yytext_ptr' : macro
redefinition
zend_language_s canner.c(289) : see previous definition of
'yytext_ptr'
zend_language_s canner.l(27) : warning C4005: 'yyin' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(11) : see
previous defini
tion of 'yyin'
zend_language_s canner.l(28) : warning C4005: 'yyout' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(14) : see
previous defini
tion of 'yyout'
zend_language_s canner.c(3607) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_language_s canner.c(3610) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_language_s canner.c(5309) : warning C4133: '=' : incompatible
types - from '
zend_file_handl e *' to 'FILE *'
zend_language_s canner.c(5429) : error C2065: 'tsrm_ls' : undeclared
identifier
zend_language_s canner.c(5522) : warning C4133: 'function' :
incompatible types -
from 'zend_file_hand le *' to 'FILE *'
zend_language_s canner.c(5522) : error C2039: '_flag' : is not a member
of '_zend
_file_handle'
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_language_s canner.c(5522) : warning C4133: 'function' :
incompatible types -
from 'zend_file_hand le *' to 'FILE *'
zend_language_s canner.c(5522) : error C2039: '_flag' : is not a member
of '_zend
_file_handle'
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_language_s canner.c(5794) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'
Stop.

If you have any suggestions, I would very much appreciate it. The only
option for me right now is to build it from source. If anyone knows
that it cannot be done using the Visual Studio .NET 2003 Command
Prompt, please let me know. It is my understanding that it can be
built using this environment but you never know. Thanks in advance for
any help you all can provide.

For reference, I am going by the instructions listed here:
http://us2.php.net/manual/en/install...s.building.new

and I am using this command to configure the configure.js file:
cscript configure.js --with-extra-includes=c:\win 32build\include ; --
with-extra-libs=c:\win32bu ild\lib; --enable-debug --disable-cgi --
enable-cli --with-pdo-ibm="C:\SQLLIB" ,shared
-- treble54

Jun 4 '07 #1
13 3126
On Jun 4, 10:35 am, treble54 <trebl...@gmail .comwrote:
I need to build PHP from source with the pdo_ibm extension and I am
having an issue with it. Firstly, I am using Visual Studio .NET 2003
and I am building PHP from source through the Visual Studio Command
Prompt. When I get to the nmake step, it gets through everything until
it hits the zend_language_s canner.l file. Then I get these errors:

zend_language_s canner.l(24) : warning C4005: 'yyleng' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(12) : see
previous defini
tion of 'yyleng'
zend_language_s canner.l(25) : warning C4005: 'yytext' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(16) : see
previous defini
tion of 'yytext'
zend_language_s canner.l(26) : warning C4005: 'yytext_ptr' : macro
redefinition
zend_language_s canner.c(289) : see previous definition of
'yytext_ptr'
zend_language_s canner.l(27) : warning C4005: 'yyin' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(11) : see
previous defini
tion of 'yyin'
zend_language_s canner.l(28) : warning C4005: 'yyout' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(14) : see
previous defini
tion of 'yyout'
zend_language_s canner.c(3607) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_language_s canner.c(3610) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_language_s canner.c(5309) : warning C4133: '=' : incompatible
types - from '
zend_file_handl e *' to 'FILE *'
zend_language_s canner.c(5429) : error C2065: 'tsrm_ls' : undeclared
identifier
zend_language_s canner.c(5522) : warning C4133: 'function' :
incompatible types -
from 'zend_file_hand le *' to 'FILE *'
zend_language_s canner.c(5522) : error C2039: '_flag' : is not a member
of '_zend
_file_handle'
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_language_s canner.c(5522) : warning C4133: 'function' :
incompatible types -
from 'zend_file_hand le *' to 'FILE *'
zend_language_s canner.c(5522) : error C2039: '_flag' : is not a member
of '_zend
_file_handle'
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_language_s canner.c(5794) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'
Stop.

If you have any suggestions, I would very much appreciate it. The only
option for me right now is to build it from source. If anyone knows
that it cannot be done using the Visual Studio .NET 2003 Command
Prompt, please let me know. It is my understanding that it can be
built using this environment but you never know. Thanks in advance for
any help you all can provide.

For reference, I am going by the instructions listed here:http://us2.php.net/manual/en/install...hp#install.win...

and I am using this command to configure the configure.js file:
cscript configure.js --with-extra-includes=c:\win 32build\include ; --
with-extra-libs=c:\win32bu ild\lib; --enable-debug --disable-cgi --
enable-cli --with-pdo-ibm="C:\SQLLIB" ,shared

-- treble54
I thought I would add some information on what I have done. I have
been able to progress past the three errors listed above by type in
this command at the Visual Studio Command Prompt:
flex.exe -i -SZend/flex.skl -Pzend -oZend/zend_language_s canner.c Zend/
zend_language_s canner.l

I found this line in the makefile but it had $(FLEX) (FLEX = flex.exe)
instead of flex.exe.

The next thing I had to do was add libxml2 and iconv to the \ext
directory. Now I am getting this as output:

php_xmlwriter.c
rc /fo Debug_TS\php5ts _debug.dll.res /d
FILE_DESCRIPTIO N="\"PHP Script I
nterpreter\"" /d FILE_NAME="\"ph p5ts_debug.dll\ "" /d
PRODUCT_NAME="\ "PHP Script
Interpreter\"" /IDebug_TS /d MC_INCLUDE="\"D ebug_TS\wsyslog .rc\""
win32\build
\template.rc
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
_libiconv_versi
on
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
compressBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflateBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflatePrime
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzclearerr
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzungetc
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBack
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackEnd
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackInit
_
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateCopy
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
zlibCompileFlag
s
Debug_TS\php5ts _debug.lib : fatal error LNK1120: 11 unresolved
externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio .NET 2003\
VC7\BIN\cl.exe" ' : return code '0x2'
Stop.

I have never dealt with what external symbols before and I was hoping
someone might have some information they could provide me with. My
first thought is that it may be an issue with the Makefile since I am
reminded of linking issues with I see unresolved external symbol but I
am not certain.

Thanks again for any help any of you can provide. Feel free to email
me as well at tr******@gmail. com if you'd rather not post on here.

-- treble54

Jun 4 '07 #2
treble54 wrote:
On Jun 4, 10:35 am, treble54 <trebl...@gmail .comwrote:
>I need to build PHP from source with the pdo_ibm extension and I am
having an issue with it. Firstly, I am using Visual Studio .NET 2003
and I am building PHP from source through the Visual Studio Command
Prompt. When I get to the nmake step, it gets through everything until
it hits the zend_language_s canner.l file. Then I get these errors:

zend_language_ scanner.l(24) : warning C4005: 'yyleng' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(12) : see
previous defini
tion of 'yyleng'
zend_language_ scanner.l(25) : warning C4005: 'yytext' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(16) : see
previous defini
tion of 'yytext'
zend_language_ scanner.l(26) : warning C4005: 'yytext_ptr' : macro
redefinition
zend_language_s canner.c(289) : see previous definition of
'yytext_ptr'
zend_language_ scanner.l(27) : warning C4005: 'yyin' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(11) : see
previous defini
tion of 'yyin'
zend_language_ scanner.l(28) : warning C4005: 'yyout' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(14) : see
previous defini
tion of 'yyout'
zend_language_ scanner.c(3607) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_language_ scanner.c(3610) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_language_ scanner.c(5309) : warning C4133: '=' : incompatible
types - from '
zend_file_hand le *' to 'FILE *'
zend_language_ scanner.c(5429) : error C2065: 'tsrm_ls' : undeclared
identifier
zend_language_ scanner.c(5522) : warning C4133: 'function' :
incompatible types -
from 'zend_file_hand le *' to 'FILE *'
zend_language_ scanner.c(5522) : error C2039: '_flag' : is not a member
of '_zend
_file_handle '
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_language_ scanner.c(5522) : warning C4133: 'function' :
incompatible types -
from 'zend_file_hand le *' to 'FILE *'
zend_language_ scanner.c(5522) : error C2039: '_flag' : is not a member
of '_zend
_file_handle '
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_language_ scanner.c(5794) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'
Stop.

If you have any suggestions, I would very much appreciate it. The only
option for me right now is to build it from source. If anyone knows
that it cannot be done using the Visual Studio .NET 2003 Command
Prompt, please let me know. It is my understanding that it can be
built using this environment but you never know. Thanks in advance for
any help you all can provide.

For reference, I am going by the instructions listed here:http://us2.php.net/manual/en/install...hp#install.win...

and I am using this command to configure the configure.js file:
cscript configure.js --with-extra-includes=c:\win 32build\include ; --
with-extra-libs=c:\win32bu ild\lib; --enable-debug --disable-cgi --
enable-cli --with-pdo-ibm="C:\SQLLIB" ,shared

-- treble54

I thought I would add some information on what I have done. I have
been able to progress past the three errors listed above by type in
this command at the Visual Studio Command Prompt:
flex.exe -i -SZend/flex.skl -Pzend -oZend/zend_language_s canner.c Zend/
zend_language_s canner.l

I found this line in the makefile but it had $(FLEX) (FLEX = flex.exe)
instead of flex.exe.

The next thing I had to do was add libxml2 and iconv to the \ext
directory. Now I am getting this as output:

php_xmlwriter.c
rc /fo Debug_TS\php5ts _debug.dll.res /d
FILE_DESCRIPTIO N="\"PHP Script I
nterpreter\"" /d FILE_NAME="\"ph p5ts_debug.dll\ "" /d
PRODUCT_NAME="\ "PHP Script
Interpreter\"" /IDebug_TS /d MC_INCLUDE="\"D ebug_TS\wsyslog .rc\""
win32\build
\template.rc
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
_libiconv_versi
on
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
compressBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflateBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflatePrime
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzclearerr
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzungetc
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBack
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackEnd
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackInit
_
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateCopy
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
zlibCompileFlag
s
Debug_TS\php5ts _debug.lib : fatal error LNK1120: 11 unresolved
externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio .NET 2003\
VC7\BIN\cl.exe" ' : return code '0x2'
Stop.

I have never dealt with what external symbols before and I was hoping
someone might have some information they could provide me with. My
first thought is that it may be an issue with the Makefile since I am
reminded of linking issues with I see unresolved external symbol but I
am not certain.

Thanks again for any help any of you can provide. Feel free to email
me as well at tr******@gmail. com if you'd rather not post on here.

-- treble54
Unresolved externals typically means you're missing one or more
libraries. Unfortunately, I have no idea what they would be in this
case. But from the looks of it they might be gzip libraries.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jun 5 '07 #3
On Jun 4, 7:21 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
treble54 wrote:
On Jun 4, 10:35 am, treble54 <trebl...@gmail .comwrote:
I need to build PHP from source with the pdo_ibm extension and I am
having an issue with it. Firstly, I am using Visual Studio .NET 2003
and I am building PHP from source through the Visual Studio Command
Prompt. When I get to the nmake step, it gets through everything until
it hits the zend_language_s canner.l file. Then I get these errors:
zend_language_s canner.l(24) : warning C4005: 'yyleng' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(12) : see
previous defini
tion of 'yyleng'
zend_language_s canner.l(25) : warning C4005: 'yytext' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(16) : see
previous defini
tion of 'yytext'
zend_language_s canner.l(26) : warning C4005: 'yytext_ptr' : macro
redefinition
zend_language_s canner.c(289) : see previous definition of
'yytext_ptr'
zend_language_s canner.l(27) : warning C4005: 'yyin' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(11) : see
previous defini
tion of 'yyin'
zend_language_s canner.l(28) : warning C4005: 'yyout' : macro
redefinition
c:\work\php-5.2.2\Zend\zend _language_scann er.c(14) : see
previous defini
tion of 'yyout'
zend_language_s canner.c(3607) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_language_s canner.c(3610) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_language_s canner.c(5309) : warning C4133: '=' : incompatible
types - from '
zend_file_handl e *' to 'FILE *'
zend_language_s canner.c(5429) : error C2065: 'tsrm_ls' : undeclared
identifier
zend_language_s canner.c(5522) : warning C4133: 'function' :
incompatible types -
from 'zend_file_hand le *' to 'FILE *'
zend_language_s canner.c(5522) : error C2039: '_flag' : is not a member
of '_zend
_file_handle'
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_language_s canner.c(5522) : warning C4133: 'function' :
incompatible types -
from 'zend_file_hand le *' to 'FILE *'
zend_language_s canner.c(5522) : error C2039: '_flag' : is not a member
of '_zend
_file_handle'
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_language_s canner.c(5794) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'
Stop.
If you have any suggestions, I would very much appreciate it. The only
option for me right now is to build it from source. If anyone knows
that it cannot be done using the Visual Studio .NET 2003 Command
Prompt, please let me know. It is my understanding that it can be
built using this environment but you never know. Thanks in advance for
any help you all can provide.
For reference, I am going by the instructions listed here:http://us2.php.net/manual/en/install...hp#install.win...
and I am using this command to configure the configure.js file:
cscript configure.js --with-extra-includes=c:\win 32build\include ; --
with-extra-libs=c:\win32bu ild\lib; --enable-debug --disable-cgi --
enable-cli --with-pdo-ibm="C:\SQLLIB" ,shared
-- treble54
I thought I would add some information on what I have done. I have
been able to progress past the three errors listed above by type in
this command at the Visual Studio Command Prompt:
flex.exe -i -SZend/flex.skl -Pzend -oZend/zend_language_s canner.c Zend/
zend_language_s canner.l
I found this line in the makefile but it had $(FLEX) (FLEX = flex.exe)
instead of flex.exe.
The next thing I had to do was add libxml2 and iconv to the \ext
directory. Now I am getting this as output:
php_xmlwriter.c
rc /fo Debug_TS\php5ts _debug.dll.res /d
FILE_DESCRIPTIO N="\"PHP Script I
nterpreter\"" /d FILE_NAME="\"ph p5ts_debug.dll\ "" /d
PRODUCT_NAME="\ "PHP Script
Interpreter\"" /IDebug_TS /d MC_INCLUDE="\"D ebug_TS\wsyslog .rc\""
win32\build
\template.rc
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
_libiconv_versi
on
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
compressBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflateBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflatePrime
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzclearerr
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzungetc
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBack
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackEnd
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackInit
_
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateCopy
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
zlibCompileFlag
s
Debug_TS\php5ts _debug.lib : fatal error LNK1120: 11 unresolved
externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio .NET 2003\
VC7\BIN\cl.exe" ' : return code '0x2'
Stop.
I have never dealt with what external symbols before and I was hoping
someone might have some information they could provide me with. My
first thought is that it may be an issue with the Makefile since I am
reminded of linking issues with I see unresolved external symbol but I
am not certain.
Thanks again for any help any of you can provide. Feel free to email
me as well at trebl...@gmail. com if you'd rather not post on here.
-- treble54

Unresolved externals typically means you're missing one or more
libraries. Unfortunately, I have no idea what they would be in this
case. But from the looks of it they might be gzip libraries.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
I figured it was something along those lines. It all seems like it
boils down to having the correct configuration set up before doing
nmake (i.e. the correct "cscript /nologo configure.js" command
issued), followed by having the correct libraries / ext's in the
correct places. The current result I am getting when I run nmake is
the following:

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

php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
_libiconv_versi
on
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
compressBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflateBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflatePrime
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzclearerr
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzungetc
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBack
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackEnd
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackInit
_
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateCopy
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv_close
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv_open
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv_set_re
location_prefix
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
zlibCompileFlag
s
Debug_TS\php5ts _debug.lib : fatal error LNK1120: 15 unresolved
externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio .NET 2003\
VC7\BIN\cl.exe" ' : return code '0x2'
Stop.

My cscript is as follows:

cscript /nologo configure.js --with-extra-includes="C:\wo rk\win32build
\include;C:\wor k\php-5.2.2\ext\iconv-1.9.1\include" --with-extra-
libs="C:\work\w in32build\lib;C :\work\php-5.2.2\ext\iconv-1.9.1\lib" --
enable-debug --disable-cgi --enable-cli --with-pdo-ibm="C:
\SQLLIB",shared --with-dom --with-libxml="C:\work \php-5.2.2\ext
\libxml2\bin" --with-iconv="C:\work\ php-5.2.2\ext\iconv-1.9.1\bin" --
without-gd --enable-zlib

I tried adding the include/lib folders of libxml and libcurl to the
extra-includes and extra-libs flag but that so far hasn't changed
anything. If anyone has any suggestions, that would be wonderful!

-- treble54

Jun 5 '07 #4
treble54 wrote:
On Jun 4, 7:21 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>treble54 wrote:
>>On Jun 4, 10:35 am, treble54 <trebl...@gmail .comwrote:
I need to build PHP from source with the pdo_ibm extension and I am
having an issue with it. Firstly, I am using Visual Studio .NET 2003
and I am building PHP from source through the Visual Studio Command
Prompt. When I get to the nmake step, it gets through everything until
it hits the zend_language_s canner.l file. Then I get these errors:
zend_languag e_scanner.l(24) : warning C4005: 'yyleng' : macro
redefiniti on
c:\work\php-5.2.2\Zend\zend _language_scann er.c(12) : see
previous defini
tion of 'yyleng'
zend_languag e_scanner.l(25) : warning C4005: 'yytext' : macro
redefiniti on
c:\work\php-5.2.2\Zend\zend _language_scann er.c(16) : see
previous defini
tion of 'yytext'
zend_languag e_scanner.l(26) : warning C4005: 'yytext_ptr' : macro
redefiniti on
zend_language_s canner.c(289) : see previous definition of
'yytext_pt r'
zend_languag e_scanner.l(27) : warning C4005: 'yyin' : macro
redefiniti on
c:\work\php-5.2.2\Zend\zend _language_scann er.c(11) : see
previous defini
tion of 'yyin'
zend_languag e_scanner.l(28) : warning C4005: 'yyout' : macro
redefiniti on
c:\work\php-5.2.2\Zend\zend _language_scann er.c(14) : see
previous defini
tion of 'yyout'
zend_languag e_scanner.c(360 7) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_languag e_scanner.c(361 0) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_languag e_scanner.c(530 9) : warning C4133: '=' : incompatible
types - from '
zend_file_ha ndle *' to 'FILE *'
zend_languag e_scanner.c(542 9) : error C2065: 'tsrm_ls' : undeclared
identifier
zend_languag e_scanner.c(552 2) : warning C4133: 'function' :
incompatib le types -
from 'zend_file_hand le *' to 'FILE *'
zend_languag e_scanner.c(552 2) : error C2039: '_flag' : is not a member
of '_zend
_file_handle '
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_languag e_scanner.c(552 2) : warning C4133: 'function' :
incompatib le types -
from 'zend_file_hand le *' to 'FILE *'
zend_languag e_scanner.c(552 2) : error C2039: '_flag' : is not a member
of '_zend
_file_handle '
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_languag e_scanner.c(579 4) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'
Stop.
If you have any suggestions, I would very much appreciate it. The only
option for me right now is to build it from source. If anyone knows
that it cannot be done using the Visual Studio .NET 2003 Command
Prompt, please let me know. It is my understanding that it can be
built using this environment but you never know. Thanks in advance for
any help you all can provide.
For reference, I am going by the instructions listed here:http://us2.php.net/manual/en/install...hp#install.win...
and I am using this command to configure the configure.js file:
cscript configure.js --with-extra-includes=c:\win 32build\include ; --
with-extra-libs=c:\win32bu ild\lib; --enable-debug --disable-cgi --
enable-cli --with-pdo-ibm="C:\SQLLIB" ,shared
-- treble54
I thought I would add some information on what I have done. I have
been able to progress past the three errors listed above by type in
this command at the Visual Studio Command Prompt:
flex.exe -i -SZend/flex.skl -Pzend -oZend/zend_language_s canner.c Zend/
zend_language _scanner.l
I found this line in the makefile but it had $(FLEX) (FLEX = flex.exe)
instead of flex.exe.
The next thing I had to do was add libxml2 and iconv to the \ext
directory. Now I am getting this as output:
php_xmlwriter .c
rc /fo Debug_TS\php5ts _debug.dll.res /d
FILE_DESCRIPT ION="\"PHP Script I
nterpreter\ "" /d FILE_NAME="\"ph p5ts_debug.dll\ "" /d
PRODUCT_NAME= "\"PHP Script
Interpreter\"" /IDebug_TS /d MC_INCLUDE="\"D ebug_TS\wsyslog .rc\""
win32\build
\template.r c
php5ts_debug. dll.def : error LNK2001: unresolved external symbol
_libiconv_ver si
on
php5ts_debug. dll.def : error LNK2001: unresolved external symbol
compressBou nd
php5ts_debug. dll.def : error LNK2001: unresolved external symbol
deflateBoun d
php5ts_debug. dll.def : error LNK2001: unresolved external symbol
deflatePrim e
php5ts_debug. dll.def : error LNK2001: unresolved external symbol
gzclearerr
php5ts_debug. dll.def : error LNK2001: unresolved external symbol
gzungetc
php5ts_debug. dll.def : error LNK2001: unresolved external symbol
inflateBack
php5ts_debug. dll.def : error LNK2001: unresolved external symbol
inflateBackEn d
php5ts_debug. dll.def : error LNK2001: unresolved external symbol
inflateBackIn it
_
php5ts_debug. dll.def : error LNK2001: unresolved external symbol
inflateCopy
php5ts_debug. dll.def : error LNK2001: unresolved external symbol
zlibCompileFl ag
s
Debug_TS\php5 ts_debug.lib : fatal error LNK1120: 11 unresolved
externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio .NET 2003\
VC7\BIN\cl.ex e"' : return code '0x2'
Stop.
I have never dealt with what external symbols before and I was hoping
someone might have some information they could provide me with. My
first thought is that it may be an issue with the Makefile since I am
reminded of linking issues with I see unresolved external symbol but I
am not certain.
Thanks again for any help any of you can provide. Feel free to email
me as well at trebl...@gmail. com if you'd rather not post on here.
-- treble54
Unresolved externals typically means you're missing one or more
libraries. Unfortunately, I have no idea what they would be in this
case. But from the looks of it they might be gzip libraries.

--
============== ====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attg lobal.net
============== ====

I figured it was something along those lines. It all seems like it
boils down to having the correct configuration set up before doing
nmake (i.e. the correct "cscript /nologo configure.js" command
issued), followed by having the correct libraries / ext's in the
correct places. The current result I am getting when I run nmake is
the following:

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

php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
_libiconv_versi
on
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
compressBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflateBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflatePrime
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzclearerr
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzungetc
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBack
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackEnd
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackInit
_
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateCopy
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv_close
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv_open
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv_set_re
location_prefix
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
zlibCompileFlag
s
Debug_TS\php5ts _debug.lib : fatal error LNK1120: 15 unresolved
externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio .NET 2003\
VC7\BIN\cl.exe" ' : return code '0x2'
Stop.

My cscript is as follows:

cscript /nologo configure.js --with-extra-includes="C:\wo rk\win32build
\include;C:\wor k\php-5.2.2\ext\iconv-1.9.1\include" --with-extra-
libs="C:\work\w in32build\lib;C :\work\php-5.2.2\ext\iconv-1.9.1\lib" --
enable-debug --disable-cgi --enable-cli --with-pdo-ibm="C:
\SQLLIB",shared --with-dom --with-libxml="C:\work \php-5.2.2\ext
\libxml2\bin" --with-iconv="C:\work\ php-5.2.2\ext\iconv-1.9.1\bin" --
without-gd --enable-zlib

I tried adding the include/lib folders of libxml and libcurl to the
extra-includes and extra-libs flag but that so far hasn't changed
anything. If anyone has any suggestions, that would be wonderful!

-- treble54
Well, googling for the unresolved externs indicates you are missing (at
least) libiconv.lib. Or maybe it's iconv.lib. Not sure which.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jun 6 '07 #5
On Jun 5, 7:31 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
treble54 wrote:
On Jun 4, 7:21 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
treble54 wrote:
On Jun 4, 10:35 am, treble54 <trebl...@gmail .comwrote:
I need to build PHP from source with the pdo_ibm extension and I am
having an issue with it. Firstly, I am using Visual Studio .NET 2003
and I am building PHP from source through the Visual Studio Command
Prompt. When I get to the nmake step, it gets through everything until
it hits the zend_language_s canner.l file. Then I get these errors:
zend_language _scanner.l(24) : warning C4005: 'yyleng' : macro
redefinitio n
c:\work\php-5.2.2\Zend\zend _language_scann er.c(12) : see
previous defini
tion of 'yyleng'
zend_language _scanner.l(25) : warning C4005: 'yytext' : macro
redefinitio n
c:\work\php-5.2.2\Zend\zend _language_scann er.c(16) : see
previous defini
tion of 'yytext'
zend_language _scanner.l(26) : warning C4005: 'yytext_ptr' : macro
redefinitio n
zend_language_s canner.c(289) : see previous definition of
'yytext_ptr '
zend_language _scanner.l(27) : warning C4005: 'yyin' : macro
redefinitio n
c:\work\php-5.2.2\Zend\zend _language_scann er.c(11) : see
previous defini
tion of 'yyin'
zend_language _scanner.l(28) : warning C4005: 'yyout' : macro
redefinitio n
c:\work\php-5.2.2\Zend\zend _language_scann er.c(14) : see
previous defini
tion of 'yyout'
zend_language _scanner.c(3607 ) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_language _scanner.c(3610 ) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
zend_language _scanner.c(5309 ) : warning C4133: '=' : incompatible
types - from '
zend_file_han dle *' to 'FILE *'
zend_language _scanner.c(5429 ) : error C2065: 'tsrm_ls' : undeclared
identifier
zend_language _scanner.c(5522 ) : warning C4133: 'function' :
incompatibl e types -
from 'zend_file_hand le *' to 'FILE *'
zend_language _scanner.c(5522 ) : error C2039: '_flag' : is not a member
of '_zend
_file_handl e'
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_language _scanner.c(5522 ) : warning C4133: 'function' :
incompatibl e types -
from 'zend_file_hand le *' to 'FILE *'
zend_language _scanner.c(5522 ) : error C2039: '_flag' : is not a member
of '_zend
_file_handl e'
c:\work\php-5.2.2\Zend\zend _stream.h(40) : see declaration of
'_zend_fil
e_handle'
zend_language _scanner.c(5794 ) : warning C4133: '=' : incompatible
types - from '
FILE *' to 'zend_file_hand le *'
NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'
Stop.
If you have any suggestions, I would very much appreciate it. The only
option for me right now is to build it from source. If anyone knows
that it cannot be done using the Visual Studio .NET 2003 Command
Prompt, please let me know. It is my understanding that it can be
built using this environment but you never know. Thanks in advance for
any help you all can provide.
For reference, I am going by the instructions listed here:http://us2.php.net/manual/en/install...hp#install.win...
and I am using this command to configure the configure.js file:
cscript configure.js --with-extra-includes=c:\win 32build\include ; --
with-extra-libs=c:\win32bu ild\lib; --enable-debug --disable-cgi --
enable-cli --with-pdo-ibm="C:\SQLLIB" ,shared
-- treble54
I thought I would add some information on what I have done. I have
been able to progress past the three errors listed above by type in
this command at the Visual Studio Command Prompt:
flex.exe -i -SZend/flex.skl -Pzend -oZend/zend_language_s canner.c Zend/
zend_language_ scanner.l
I found this line in the makefile but it had $(FLEX) (FLEX = flex.exe)
instead of flex.exe.
The next thing I had to do was add libxml2 and iconv to the \ext
directory. Now I am getting this as output:
php_xmlwriter. c
rc /fo Debug_TS\php5ts _debug.dll.res /d
FILE_DESCRIPTI ON="\"PHP Script I
nterpreter\" " /d FILE_NAME="\"ph p5ts_debug.dll\ "" /d
PRODUCT_NAME=" \"PHP Script
Interpreter\"" /IDebug_TS /d MC_INCLUDE="\"D ebug_TS\wsyslog .rc\""
win32\build
\template.rc
php5ts_debug.d ll.def : error LNK2001: unresolved external symbol
_libiconv_vers i
on
php5ts_debug.d ll.def : error LNK2001: unresolved external symbol
compressBoun d
php5ts_debug.d ll.def : error LNK2001: unresolved external symbol
deflateBound
php5ts_debug.d ll.def : error LNK2001: unresolved external symbol
deflatePrime
php5ts_debug.d ll.def : error LNK2001: unresolved external symbol
gzclearerr
php5ts_debug.d ll.def : error LNK2001: unresolved external symbol
gzungetc
php5ts_debug.d ll.def : error LNK2001: unresolved external symbol
inflateBack
php5ts_debug.d ll.def : error LNK2001: unresolved external symbol
inflateBackE nd
php5ts_debug.d ll.def : error LNK2001: unresolved external symbol
inflateBackIni t
_
php5ts_debug.d ll.def : error LNK2001: unresolved external symbol
inflateCopy
php5ts_debug.d ll.def : error LNK2001: unresolved external symbol
zlibCompileFla g
s
Debug_TS\php5t s_debug.lib : fatal error LNK1120: 11 unresolved
externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio .NET 2003\
VC7\BIN\cl.exe "' : return code '0x2'
Stop.
I have never dealt with what external symbols before and I was hoping
someone might have some information they could provide me with. My
first thought is that it may be an issue with the Makefile since I am
reminded of linking issues with I see unresolved external symbol but I
am not certain.
Thanks again for any help any of you can provide. Feel free to email
me as well at trebl...@gmail. com if you'd rather not post on here.
-- treble54
Unresolved externals typically means you're missing one or more
libraries. Unfortunately, I have no idea what they would be in this
case. But from the looks of it they might be gzip libraries.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
I figured it was something along those lines. It all seems like it
boils down to having the correct configuration set up before doing
nmake (i.e. the correct "cscript /nologo configure.js" command
issued), followed by having the correct libraries / ext's in the
correct places. The current result I am getting when I run nmake is
the following:
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
_libiconv_versi
on
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
compressBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflateBound
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
deflatePrime
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzclearerr
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
gzungetc
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBack
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackEnd
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateBackInit
_
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
inflateCopy
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv_close
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv_open
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
libiconv_set_re
location_prefix
php5ts_debug.dl l.def : error LNK2001: unresolved external symbol
zlibCompileFlag
s
Debug_TS\php5ts _debug.lib : fatal error LNK1120: 15 unresolved
externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio .NET 2003\
VC7\BIN\cl.exe" ' : return code '0x2'
Stop.
My cscript is as follows:
cscript /nologo configure.js --with-extra-includes="C:\wo rk\win32build
\include;C:\wor k\php-5.2.2\ext\iconv-1.9.1\include" --with-extra-
libs="C:\work\w in32build\lib;C :\work\php-5.2.2\ext\iconv-1.9.1\lib" --
enable-debug --disable-cgi --enable-cli --with-pdo-ibm="C:
\SQLLIB",shared --with-dom --with-libxml="C:\work \php-5.2.2\ext
\libxml2\bin" --with-iconv="C:\work\ php-5.2.2\ext\iconv-1.9.1\bin" --
without-gd --enable-zlib
I tried adding the include/lib folders of libxml and libcurl to the
extra-includes and extra-libs flag but that so far hasn't changed
anything. If anyone has any suggestions, that would be wonderful!
-- treble54

Well, googling for the unresolved externs indicates you are missing (at
least) libiconv.lib. Or maybe it's iconv.lib. Not sure which.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
I have solved the zlib issues which was awesome. However, now, I am
having issues with iconv.lib. I see that iconv is listed in the
correct lib path I supply in the --extra-libs flag but for some
reasons, they are still unresolved external symbols. Do I need to get
iconv source and build it on my machine to get it to work? I am asking
because that is what I had to do for zlib to get it to work.

-- treble54

Jun 6 '07 #6
Sorry, I didn't realize my last message went up as blank.

I have fixed mostly all of the unresolved external symbols except for
the iconv ones. I have added the correct lib and include path for
iconv to the --extra-libs/--extra-includes flags. Do I need to build
iconv on the machine I am using (Windows)? Or does it need to be in a
different directory, maybe?

-- treble54

Jun 6 '07 #7
treble54 wrote:
Sorry, I didn't realize my last message went up as blank.

I have fixed mostly all of the unresolved external symbols except for
the iconv ones. I have added the correct lib and include path for
iconv to the --extra-libs/--extra-includes flags. Do I need to build
iconv on the machine I am using (Windows)? Or does it need to be in a
different directory, maybe?

-- treble54
Actually, it wasn't blank - must be something Google Groups (one of the
reasons I don't use it - I run straight from usenet - it's much better).

I don't know about having to build it. Not knowing what it was built
with in the first place, it's hard to say. Compilers don't always
generate compatible lib files. I know it's a pain - but that seems to
be how it is.

However, you might try adding iconv to your lib list. Just having it in
the lib path may not be enough.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jun 6 '07 #8
On Jun 6, 12:03 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
treble54 wrote:
Sorry, I didn't realize my last message went up as blank.
I have fixed mostly all of the unresolved external symbols except for
the iconv ones. I have added the correct lib and include path for
iconv to the --extra-libs/--extra-includes flags. Do I need to build
iconv on the machine I am using (Windows)? Or does it need to be in a
different directory, maybe?
-- treble54

Actually, it wasn't blank - must be something Google Groups (one of the
reasons I don't use it - I run straight from usenet - it's much better).

I don't know about having to build it. Not knowing what it was built
with in the first place, it's hard to say. Compilers don't always
generate compatible lib files. I know it's a pain - but that seems to
be how it is.

However, you might try adding iconv to your lib list. Just having it in
the lib path may not be enough.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
I'm new to developing on Windows, and I am not sure what you mean by
Lib List. If its not Windows-specific, then I guess I mean in general,
what is a lib list.

Thanks again for communicating back and forth with me. I really
appreciate it.

-- treble54

Jun 6 '07 #9
treble54 wrote:
On Jun 6, 12:03 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>treble54 wrote:
>>Sorry, I didn't realize my last message went up as blank.
I have fixed mostly all of the unresolved external symbols except for
the iconv ones. I have added the correct lib and include path for
iconv to the --extra-libs/--extra-includes flags. Do I need to build
iconv on the machine I am using (Windows)? Or does it need to be in a
different directory, maybe?
-- treble54
Actually, it wasn't blank - must be something Google Groups (one of the
reasons I don't use it - I run straight from usenet - it's much better).

I don't know about having to build it. Not knowing what it was built
with in the first place, it's hard to say. Compilers don't always
generate compatible lib files. I know it's a pain - but that seems to
be how it is.

However, you might try adding iconv to your lib list. Just having it in
the lib path may not be enough.

--
============== ====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attg lobal.net
============== ====

I'm new to developing on Windows, and I am not sure what you mean by
Lib List. If its not Windows-specific, then I guess I mean in general,
what is a lib list.

Thanks again for communicating back and forth with me. I really
appreciate it.

-- treble54
I don't use .NET, but every linker I'm familiar with has an option
somewhere to list the specific libraries you want included. For
instance, you might have 150 libraries in a directory, some with
conflicting definitions for various reasons. You can pick the one(s)
you want.

For command line linkers it's a "-something" option; for GUI's it's
typically an entry box. You may need to look at your documentation for
your IDE.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jun 7 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2687
by: Kylotan | last post by:
I need to be able to build Py2Exe from the source code as I am making a Windows executable where I wish to preprocess the modules before importing them.It looks like I can do this by adding lines to Load_Module() in py2exe's start.c. However problem I have is that I can't build Py2Exe using the instructions provided. Using the designated command of "python setup.py install" I get this error: Traceback (most recent call last): File...
2
1392
by: Jon Slaughter | last post by:
<I previously posted this in comp.os.misc, but no one answered and its been 3 days... actually no one has posted any messages at all(atleast they are not showing up), so, while it might not be completely on-topic, and I know how this news group is very bitchy about off topic messages, it is none-the-less close enough(IMO)> is there a C++ out there that I can use to build code for the intel architecture that is non-os specific. By that, I...
2
1742
by: George Durzi | last post by:
I have a dll that I use in several projects, that I placed in the Global Assembly Cache. This dll is references in each of my projects. This Dll is referenced by a type= declaration in my web.config as follows. <configSections> <section name="exceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectio nHandler,Microsoft.ApplicationBlocks.ExceptionManagement" /> </configSections>
0
1762
by: Stephen Walther | last post by:
Microsoft has released the final version of the ASP.NET Issue Tracker Starter Kit. The Issue Tracker Starter Kit is a free application produced by Microsoft which illustrates best-practices when building ASP.NET 1.1 applications. Both VB.NET and C# source code is available for download. The Issue Tracker works with both Microsoft SQL Server and Microsoft Access. You can download the Issue Tracker Starter Kit (including all source code)...
7
2397
by: Hal Vaughan | last post by:
I have a problem with port forwarding and I have been working on it for over 2 weeks with no luck. I have found C programs that almost work and Java programs that almost work, but nothing that does what I need. I've even tried writing a port forwarder in Java and found problems that nobody seems to have the answer to in forums. I need to make it work essentially the same on both Windows and Linux. There is one program, in C, that...
0
2121
by: Rich | last post by:
I am trying to obtain more debugging information for an issue I reported (ref. Bug #37185 <http://bugs.php.net/bug.php?id=37185&edit=2>). Unfortunately, I do not have access to the now-ancient Microsoft Visual C++ 6.0, which is why I cannot use the pre-built debug sysbol files for debugging. So it appears I must build PHP. I grabbed build php5.1-200605011630 earlier today, but am having build problems. My environment is Windows XP SP2,...
4
2280
by: JDJMSon | last post by:
I was wondering if someone here could help me with a problem I'm having building Python extensions with the Boost.Python library. Basically, if I have a wrapper class with something like this: string TestFunc() { return "Hello World"; } BOOST_PYTHON_MODULE(TestClass)
3
6813
by: Bev in TX | last post by:
I am a complete newbie at building Python. I am trying to build it under MS Windows Vista (64-bit AMD) with MS VS2005. I'm doing that because I need debug libraries, which I did not see in the standard distribution. I downloaded the source and found the MSVS8 solution/project files. However, when I tried to build it I got the following error: ....\python-2.5.2\modules\_sqlite\connection.h(33) : fatal error C1083: Cannot open include...
0
1311
by: Chris | last post by:
Hi, I'm trying to build Python on Windows using Visual Studio 2005. I have no trouble compiling tcl/tk 8.5, but when I subsequently build Python it doesn't find tcl/tk (I get a message about being unable to find tcl.h). I'm using the source distribution of Python 2.5.2, not the svn version. I'm trying to follow the instructions in PCbuild8/readme.txt, but I'm not sure I understand them correctly. Here is the part of the
0
10854
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10558
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10257
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7794
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6981
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5829
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4459
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4022
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.