Menu Content/Inhalt
Home arrow Forum

Articles

Poker Tips

Login






Lost Password?
No account yet? Register
PokerTH - Forum
Welcome, Guest
Please Login or Register.    Lost Password?
New to PokerTH and not sure where to begin. (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: New to PokerTH and not sure where to begin.
#2024
Highwayman (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: New York Birthdate: 1951-07-25
Re:New to PokerTH and not sure where to begin. 4 Months, 1 Week ago Karma: 0  
I used the normal Windows cmd prompt.

I will delete everything and start from scratch later. Will using the dos pipe ">" to redirect all output into a file affect either of the scripts or compilation.

This would be the only effective way to detect any errors.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2025
Highwayman (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: New York Birthdate: 1951-07-25
Re:New to PokerTH and not sure where to begin. 4 Months, 1 Week ago Karma: 0  
I redid the library build. This time I removed Cygwin/MinGw then all of Cygwin.

I also deleted my original pokerth root dir (pokerth) and created a new one and named it pokerth_root as in the example in the readme file.

I cut and pasted the various warnings and errors into a file that is 23K and I did find an error during the curl compile. I have listed the error here, if you like I can attach the file containing the warnings as well.

Most of the warnings are like kernel/qobject.cpp:3073: warning: 'previousSender' might be used uninitialized in this function

Code:

Compiling curl mingw32-make -C lib -f Makefile.m32 ZLIB=1 mingw32-make[1]: Entering directory `C:/pokerth_root/curl/lib' Creating ca-bundle.h gcc -I. -I../include -I"C:\pokerth_root\zlib" -g -O2 -DBUILDING_LIBCURL -DHAVE_L IBZ -DHAVE_ZLIB_H -c file.c gcc -I. -I../include -I"C:\pokerth_root\zlib" -g -O2 -DBUILDING_LIBCURL -DHAVE_L IBZ -DHAVE_ZLIB_H -c timeval.c gcc -I. -I../include -I"C:\pokerth_root\zlib" -g -O2 -DBUILDING_LIBCURL -DHAVE_L IBZ -DHAVE_ZLIB_H -c base64.c gcc -I. -I../include -I"C:\pokerth_root\zlib" -g -O2 -DBUILDING_LIBCURL -DHAVE_L IBZ -DHAVE_ZLIB_H -c hostip.c gcc -I. -I../include -I"C:\pokerth_root\zlib" -g -O2 -DBUILDING_LIBCURL -DHAVE_L IBZ -DHAVE_ZLIB_H -c progress.c gcc -I. -I../include -I"C:\pokerth_root\zlib" -g -O2 -DBUILDING_LIBCURL -DHAVE_L IBZ -DHAVE_ZLIB_H -c formdata.c gcc -I. -I../include -I"C:\pokerth_root\zlib" -g -O2 -DBUILDING_LIBCURL -DHAVE_L IBZ -DHAVE_ZLIB_H -c cookie.c gcc -I. -I../include -I"C:\pokerth_root\zlib" -g -O2 -DBUILDING_LIBCURL -DHAVE_L IBZ -DHAVE_ZLIB_H -c http.c gcc -I. -I../include -I"C:\pokerth_root\zlib" -g -O2 -DBUILDING_LIBCURL -DHAVE_L IBZ -DHAVE_ZLIB_H -c sendf.c gcc -I. -I../include -I"C:\pokerth_root\zlib" -g -O2 -DBUILDING_LIBCURL -DHAVE_L IBZ -DHAVE_ZLIB_H -c ftp.c gcc -I. -I../include -I"C:\pokerth_root\zlib" -g -O2 -DBUILDING_LIBCURL -DHAVE_L IBZ -DHAVE_ZLIB_H -c url.c In file included from url.c:140: ./ca-bundle.h:1: error: syntax error before '/' token mingw32-make[1]: *** [url.o] Error 1 mingw32-make[1]: Leaving directory `C:/pokerth_root/curl/lib' mingw32-make: *** [mingw32-zlib] Error 2 Done compiling curl
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/30 04:20 By Highwayman.
  The administrator has disabled public write access.
#2026
lotodore (Admin)
Admin
Posts: 254
graphgraph
User Offline Click here to see the profile of this user
Re:New to PokerTH and not sure where to begin. 4 Months, 1 Week ago Karma: 12  
This is strange. ca-bundle.h is only needed for SSL support, and curl is compiled without SSL support. My ca-bundle.h looks like this:

Code:

/* Do not edit this file - it is created by make! */
And there's no error in that. I still suspect that there are cygwin environment variables set, which somehow influence the build process. You could try the following: Edit ca-bundle.h in curl\lib to contain text like above. Open a cmd shell. Run the following commands:
Code:

SET PATH=C:\pokerth_root\mingw\bin;%PATH% SET ZLIB_PATH=C:\pokerth_root\zlib SET ZLIB_LIBPATH=C:\pokerth_root\zlib SET ZLIB_SOURCE=C:\pokerth_root\zlib SET ZLIB_BINARY=zlib cd /d C:\pokerth_root\curl mingw32-make mingw32-zlib
If that is successful, you may retry to run pokerth_build.cmd (NOT pokerth_download_libs.cmd).
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/30 09:41 By lotodore.
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#2027
Highwayman (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: New York Birthdate: 1951-07-25
Re:New to PokerTH and not sure where to begin. 4 Months, 1 Week ago Karma: 0  
I don’t know why Cygwin is still being referenced; I have uninstalled and removed it completely from my system before I started the build.

I can only assume there is something in the system registry that is causing a reference back to Cygwin.

Here are the contents of ca-bundle.h on my build it clearly contains an error, it is a malformed comment:

/Cygwin.bat /Cygwin.ico /bin /cygdrive /dev /etc /home /lib /proc /tmp /usr /var Do not edit this file - it is created by make!
*/

I will try your suggestion a little later this morning.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2028
Highwayman (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: New York Birthdate: 1951-07-25
Re:New to PokerTH and not sure where to begin. 4 Months, 1 Week ago Karma: 0  
Thank you for the help. I had deleted anything to do with Cygwin including all references that I found in the system registry.

I then rebuilt from scratch and still encountered errors during the pokerth_build.cmd script such as xx.o files related to pokerth not being found. I once again deleted everything and rebuilt once again.

The only thing I did in this last build was to close the pokerth_download_libs.cmd Command window and deleted the "pkth_boost_delete_me_after_build" directory before I ran the build script. I had not done this in previous builds as I thought it was an optional step.

The build was successful and I would like to recommend that you change the instructions for step 5 to read, “You must delete the "pkth_boost_delete_me_after_build" directory before running the build script.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/31 00:32 By Highwayman.
  The administrator has disabled public write access.
#2029
lotodore (Admin)
Admin
Posts: 254
graphgraph
User Offline Click here to see the profile of this user
Re:New to PokerTH and not sure where to begin. 4 Months, 1 Week ago Karma: 12  
I'm glad it worked out finally. Sorry it took so much effort. This is the reason why I dislike cygwin... It does strange things to your system.

The trick was closing and reopening the command window, not deleting the pkth_boost_delete_me_after_build. The later is really completely optional. Reopening the command window causes settings to be reread. If you delete cygwin options this will have no effect on open cmd windows, the effect will only be caused if you restart cmd.exe.

However, I will change the svn-url from https to http, and I will state some warnings about cygwin in the readme. Thanks for all the feedback.
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
designed by www.madeyourweb.com