Article View: borland.public.cppbuilder.internet.socket
Article #852Re: Assertion Error while sending email
From: JLoz
Date: Fri, 03 Aug 2007 13:40
Date: Fri, 03 Aug 2007 13:40
344 lines
11943 bytes
11943 bytes
> If you disable the "@echo off" command at the very top of the script, then
> you will see the actual commands output to the screen while they are being
> executed. You can then seen which command is outputting which error.
>
I did the following...
Dissabled the @echo off
Then I got the error : Fatal: File not found: 'Indy50.dpk'
I added the following lines:
copy System\*.pas ..\C5
copy System\*.dpk ..\C5
copy System\*.obj ..\C5
copy System\*.inc ..\C5
copy System\*.res ..\C5
copy System\*.dcr ..\C5
copy Protocols\*.pas ..\C5
copy Protocols\*.dpk ..\C5
copy Protocols\*.obj ..\C5
copy Protocols\*.inc ..\C5
copy Protocols\*.res ..\C5
copy Protocols\*.dcr ..\C5
Then I ran it again and I got errors again doing the IdZlib.pas which I
ignored the same I did when I used FULLC6.bat; it kept running until I got
the following error
C:\Public\indy\C5>C:\PROGRA~1\Borland\CBUILD~3\bin\dcc32.exe
IndyCore50.dpk /O..
\Source\objs /DBCB /M /H /W /JPHN -$d-l-n+p+r-s-t-w-y-
Borland Delphi Version 13.0 Copyright (c) 1983,99 Inprise Corporation
IdObjsBase.pas(27)
IdObjsVCL.pas(30)
IdStruct.pas(199)
IndySystem50.dpk(57)
>>>>>> IndyCore50.dpk(30) Warning: Package 'IndySystem50' will not
be written to disk b
>>>>>> ecause -J option is enabled
IndyCore50.dpk(30) Fatal: Required package 'IndySystem50' not found
C:\Public\indy\C5>if errorlevel 1 goto enderror
C:\Public\indy\C5>call clean
'clean' is not recognized as an internal or external command,
operable program or batch file.
C:\Public\indy\C5>echo Error!
Error!
C:\Public\indy\C5>cd ..\Source
The system cannot find the path specified.
C:\Public\indy\C5>PAUSE
Press any key to continue . . .
It says the IndySystem50 is not written to the disk, but IndiCore50 requires
it.
I removed the J from the /JPHN part in the following command line
C:\Public\indy\C5>C:\PROGRA~1\Borland\CBUILD~3\bin\dcc32.exe
IndyCore50.dpk /O..
\Source\objs /DBCB /M /H /W /JPHN -$d-l-n+p+r-s-t-w-y-
Then one more error...
C:\Public\indy\C5>C:\PROGRA~1\Borland\CBUILD~3\bin\dcc32.exe
IndyCore50.dpk /O..
\Source\objs /DBCB /M /H /W /PHN -$d-l-n+p+r-s-t-w-y-
Borland Delphi Version 13.0 Copyright (c) 1983,99 Inprise Corporation
IndySystem50.dpk(57)
IdYarn.pas(47)
IdTask.pas(119)
IdContext.pas(201)
IdCompilerDefines.inc(190)
IdThreadSafe.pas(719)
IdThread.pas(580)
IdCommandHandlers.pas(649)
IdCmdTCPClient.pas(270)
IdScheduler.pas(154)
IdServerIOHandler.pas(105)
IdServerIOHandlerSocket.pas(153)
IdServerIOHandlerStack.pas(89)
IdCustomTCPServer.pas(389) Fatal: Unit name mismatch: 'IdGlobalCore'
C:\Public\indy\C5>if errorlevel 1 goto enderror
At this point I decided to stop as I did not know what to do...
This is how my modiffied FULLC6.bat that I use to compile the BCB5 packages
looks like... just in case:
@echo off
if (%1)==() goto test_command
if (%1)==(start) goto start
goto endok
:test_command
ECHO ************* TEST COMMAND ***********
PAUSE
if (%COMSPEC%)==() goto no_command
%COMSPEC% /E:9216 /C %0 start %1 %2 %3
goto endok
:no_command
ECHO ************* NO COMMAND ***********
PAUSE
echo No Command Interpreter found
goto endok
:start
REM call clean.bat
ECHO ************* BEFORE CALLING COMPUTIL ***********
PAUSE
computil SetupC5
if exist setenv.bat call setenv.bat
if not exist ..\C5\*.* md ..\C5 >nul
REM if exist ..\C5\*.* call clean.bat ..\C5\
if (%NDC5%)==() goto enderror
REM ***************************************************
REM Compile Runtime Package IndySystem60
REM ***************************************************
ECHO ************* BEFORE COPYING THE FILES ***********
PAUSE
cd System
copy *.pas ..\..\C5
copy *.dpk ..\..\C5
copy *.obj ..\..\C5
copy *.inc ..\..\C5
copy *.res ..\..\C5
copy *.dcr ..\..\C5
copy *.rsp ..\..\C5
if not exist .\objs\*.* md .\objs >nul
cd ..\..\C5
ECHO ************* COMPILING INDYSYSTEM50.DPK ***********
PAUSE
dcc32.exe IndySystem50.dpk /O..\Lib\System\objs /DBCB /M /H /W /JPHN
/N. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
dcc32.exe IndySystem50.dpk /O..\Lib\System\objs /DBCB /M /H /W
/N. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
ECHO ************* CREATING THE LIBRARY ***********
PAUSE
for %%f in (*.obj) do tlib.exe IndySystem50.lib +%%f /P64 > nul
ECHO ************* CLEANING UP FILES ***********
PAUSE
REM ***************************************************
REM Clean-up IndySystem60
REM ***************************************************
del *.dcu > nul
del *.pas > nul
del *.dpk > nul
del *.obj > nul
del *.inc > nul
del *.res > nul
del *.dcr > nul
del *.rsp > nul
REM ***************************************************
REM Compile Runtime Package IndyCore60
REM ***************************************************
cd ..\Lib\Core
ECHO ************* COPYING CORE FILES ***********
PAUSE
copy *.pas ..\..\C5
copy *.dpk ..\..\C5
copy *.obj ..\..\C5
copy *.inc ..\..\C5
copy *.res ..\..\C5
copy *.dcr ..\..\C5
copy *.rsp ..\..\C5
if not exist .\objs\*.* md .\objs >nul
cd ..\..\C5
ECHO ************* COMPILING INDYCORE50.DPK ***********
PAUSE
dcc32.exe IndyCore50.dpk /O..\Lib\Core\objs /DBCB /M /H /W /JPHN /N.
/U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
dcc32.exe IndyCore50.dpk /O..\Lib\Core\objs /DBCB /M /H /W /N.
/U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
ECHO ************* CREATING CORE LIBRARY ***********
PAUSE
for %%f in (*.obj) do tlib.exe IndyCore50.lib +%%f /P64 > nul
del *.obj > nul
REM ***************************************************
REM Compile Designtime Package dclIndyCore60
REM ***************************************************
ECHO ************* COMPILING DCLINDYCORE50.DPK ***********
PAUSE
dcc32.exe dclIndyCore50.dpk /O..\Lib\Core\objs /DBCB /M /H /W /Z /JPHN
/N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
dcc32.exe dclIndyCore50.dpk /O..\Lib\Core\objs /DBCB /M /H /W /Z /N.
/U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
ECHO ************* CREATING DCLCORE LIBRARY ***********
PAUSE
for %%f in (*.obj) do tlib.exe dclIndyCore50.lib +%%f /P64 > nul
ECHO ************* CLEANING UP CORE FILES ***********
PAUSE
REM ***************************************************
REM Clean-up IndyCore60
REM ***************************************************
del *.dcu > nul
del *.pas > nul
del *.dpk > nul
del *.obj > nul
del *.inc > nul
del *.res > nul
del *.dcr > nul
del *.rsp > nul
REM ***************************************************
REM Compile Runtime Package IndyProtocols60
REM ***************************************************
ECHO ************* COPYING PROTOCOL FILES ***********
PAUSE
cd ..\Lib\Protocols
copy *.pas ..\..\C5
copy *.dpk ..\..\C5
copy *.obj ..\..\C5
copy *.inc ..\..\C5
copy *.res ..\..\C5
copy *.dcr ..\..\C5
copy *.rsp ..\..\C5
if not exist .\objs\*.* md .\objs >nul
cd ..\..\C5
ECHO ************* COMPILING PROTOCOLS ***********
PAUSE
ECHO ************* FIRST ***********
PAUSE
dcc32.exe IndyProtocols50.dpk /O..\Lib\Protocols\objs /DBCB /M /H /W
/JPHN /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
ECHO ************* SECOND ***********
PAUSE
dcc32.exe IndyProtocols50.dpk /O..\Lib\Protocols\objs /DBCB /M /H /W /N.
/U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
ECHO ************* DELETING THIRD PARTY FILES ***********
PAUSE
REM ***************************************************
REM Delete third-party .obj files
REM before compiling the .lib file
REM ***************************************************
del adler32.obj > nul
del compress.obj > nul
del crc32.obj > nul
del deflate.obj > nul
del example.obj > nul
del gzio.obj > nul
del infback.obj > nul
del inffast.obj > nul
del inflate.obj > nul
del inftrees.obj > nul
del minigzip.obj > nul
del trees.obj > nul
del uncompr.obj > nul
del zutil.obj > nul
ECHO ************* CREATING PROTOCOLS LIBRARY ***********
PAUSE
for %%f in (*.obj) do tlib.exe IndyProtocols50.lib +%%f /P64 > nul
del *.obj > nul
REM ***************************************************
REM Compile Designtime Package dclIndyProtocols60
REM ***************************************************
ECHO ************* COMPILING dclPROTOCOLS ***********
PAUSE
dcc32.exe dclIndyProtocols50.dpk /O..\Lib\Protocols\objs /DBCB /M /H /W
/JPHN /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
dcc32.exe dclIndyProtocols50.dpk /O..\Lib\Protocols\objs /DBCB /M /H /W
/N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
for %%f in (*.obj) do tlib.exe dclIndyProtocols50.lib +%%f /P64 > nul
ECHO ************* DELETING PROTOCOLS FILES ***********
PAUSE
REM ***************************************************
REM Clean-up IndyProtocols60
REM ***************************************************
del *.dcu > nul
del *.pas > nul
del *.dpk > nul
del *.obj > nul
del *.inc > nul
del *.res > nul
del *.dcr > nul
del *.rsp > nul
cd ..\Lib
goto endok
:enderror
REM call ..\Lib\clean.bat
cd ..\Lib
echo Error!
:endok
pause
Thanks again
JLoz
Technical Details
Message-ID:
<46b33058@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46ae4529$1@newsgroups.borland.com> <46af7382@newsgroups.borland.com> <3mtua39vadcc2de0p2ertm0fl224sevvu7@4ax.com> <46af7f59$1@newsgroups.borland.com> <46af83cc$1@newsgroups.borland.com> <46af86e7@newsgroups.borland.com> <46afa742$1@newsgroups.borland.com> <46afb0f1$1@newsgroups.borland.com> <46afbe00$1@newsgroups.borland.com> <46b110c0$1@newsgroups.borland.com> <46b21762$1@newsgroups.borland.com> <46b225c1$1@newsgroups.borland.com> <46b241f1$1@newsgroups.borland.com> <46b24955@newsgroups.borland.com> <46b260db@newsgroups.borland.com> <46b266b1$1@newsgroups.borland.com> <46b2743c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,da4e10289ba23828 X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "JLoz" <jfsierra@excite.com> From: "JLoz" <jfsierra@excite.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <46ae4529$1@newsgroups.borland.com> <46af7382@newsgroups.borland.com> <3mtua39vadcc2de0p2ertm0fl224sevvu7@4ax.com> <46af7f59$1@newsgroups.borland.com> <46af83cc$1@newsgroups.borland.com> <46af86e7@newsgroups.borland.com> <46afa742$1@newsgroups.borland.com> <46afb0f1$1@newsgroups.borland.com> <46afbe00$1@newsgroups.borland.com> <46b110c0$1@newsgroups.borland.com> <46b21762$1@newsgroups.borland.com> <46b225c1$1@newsgroups.borland.com> <46b241f1$1@newsgroups.borland.com> <46b24955@newsgroups.borland.com> <46b260db@newsgroups.borland.com> <46b266b1$1@newsgroups.borland.com> <46b2743c$1@newsgroups.borland.com> Subject: Re: Assertion Error while sending email Date: Fri, 3 Aug 2007 09:40:39 -0400 Lines: 346 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 NNTP-Posting-Host: 63.163.143.187 Message-ID: <46b33058@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1186148440 63.163.143.187 (3 Aug 2007 06:40:40 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail