Re: Euphoria 3.0.2 Release Candidate for Linux
- Posted by Robert Stockton <ict1905-rfs at yahoo.co.uk> Feb 13, 2007
- 495 views
To: Robert Craig I have been trying to compile Euphoria from source on Linux (SUSE10.2 and Mandriva 2007) and found the following problems (in 3.0.1). I have just downloaded the tar for 3.0.2 and a quick check shows the code is unchanged. Problem 1. In be_machine.c "conflicting types for SetTColor" and "conflicting types for SetBColor" Solution: I added function prototypes for SetTColor and SetBColor to "Declared Functions" section in be_machine.c Problem 2. Compiling be_rterror.c gives error "curses.h : no such file or directory". on line 15, plus errors for lines 140,141,142. Solution: I deleted line 15 and lines 139..143 It seems that ncurses is dead but it won't lie down! Problem 3. In be_execute.c, be_machine,c, be_main.c, compile.e complaints that "CLK_TCK is undefined". In /usr/include/time.h CLOCKS_PER_SEC is defined and a comment says that CLK_TCK "is the obsolete POSIX.1-1988 name for the same constant". Solution: I replaced CLK_TCK with CLOCKS_PER_SEC throughout. I am using GCC 4.1.1, it may be different in earlier versions.