Hi,

ok, this is a bit weird. I can't get it to build at all now.

I have gone back to a standard cygwin install and the configure falls over as attached (I have snipped out the uninteresting bits about determining base types).

I have tried, the, "oh it fell over, try again", but it bombs with the same error. I tried the "oh, that doesn't matter, just run make", but that does build for a while, but at the end, just about none of the "make test" passes ... and it says BUILD FAILED.

I have built an mingw build of ocaml-3.09.2, hoping that it might fix the ocaml "-y" error. Starting again with that to see ...




<< This is standard cygwin build >>

Configuring Felix
FLX_LPARCHIVE at .

---------------------------------
Interscript 1.0a11[117] Process Sat 09 Sep, 2006 14:45:00 (AUSEST)
PROCESSING WHOLE FILE (options changed)
$Id: flx_config.pak,v 1.218 2006/08/04 08:59:49 skaller Exp $
All 26 output files stable on pass 1  -- breaking
Elapsed Process Time 0 seconds
================================

$Id: flx_config.pak,v 1.218 2006/08/04 08:59:49 skaller Exp $
flx_version 1.1.2
flx_version_major 1
godi_revision 0
debian_revision 1
Default Installation Root from environment:  /usr/local
None ['CYGWIN_NT-5.1\n']
uname -s and Python returns unknown OS type, assuming 'detect'
CPU= i686
OS= cygwin
Detected Build model: detect
INSTALL PREFIX=/usr/local
FLX_LPARCHIVE=.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Checking BUILD MODEL detect
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

COM = gcc 
tmp/mchk.c:4:2: #error __APPLE__
NOT defined __APPLE__
tmp/mchk.c:4:2: #error BSD
NOT defined BSD
tmp/mchk.c:4:2: #error __linux__
NOT defined __linux__
tmp/mchk.c:4:2: #error _WIN32
NOT defined _WIN32
tmp/mchk.c:4:2: #error _WIN64
NOT defined _WIN64
#defined __CYGWIN__
tmp/mchk.c:4:2: #error _WIN32
NOT defined _WIN32
MODEL= cygwin
cc1: warning: command line option "-Wno-invalid-offsetof" is valid for 
C++/ObjC++ but not for C
-Wno-invalid-offsetof supported
cc1: error: unrecognized command line option "-Wfatal-errors"
tmp/dummy.c:1: warning: -fPIC ignored for target (all code is position 
independent)
All code is position independent
cc1: warning: command line option "-Wno-invalid-offsetof" is valid for 
C++/ObjC++ but not for C
char is signed
Little Endian byte order detected
#include <stdint.h>
signed char: size: 1

<<snipped>>

uint64_t: align: 8
Isnan found in <math.h>
Isnan found in <ieeefp.h>
vsnprintf() supported
gnu x86 32 bit support detected
gnu x86 64 bit support detected
Computed goto supported
Asm labels supported
Posix Threads supported with  
tmp/have_socketlen_t.c:4: error: parse error before string constant
tmp/have_socketlen_t_is_uint.c:4: error: parse error before string constant
tmp/have_socketlen_t_is_int.c:4: error: parse error before string constant
socklen_t = int
tmp/kqt.c:3:45: sys/event.h: No such file or directory
HAVE_KQUEUE_DEMUXER = 0
#include <poll.h>
tmp/epolltest.c:2:23: sys/epoll.h: No such file or directory
HAVE_EPOLL= 0
tmp/hchk.c:1:18: port.h: No such file or directory
NO HEADER <port.h>
HAVE_POLL = 1
HAVE_EPOLL = 0
HAVE_EVTPORTS = 0
**********************************************
gcc  build configuration
**********************************************
model= cygwin
static library tool #1                  : ar -rc 
static library tool #2                  : ranlib 

Command to compile static Felix rtl     : gcc -c -Wall -Wno-invalid-offsetof 
Command to compile shared Felix rtl     : gcc -c -Wall -Wno-invalid-offsetof 
Command to link shared Felix rtl        : gcc -shared 

Command to compile static Felix driver  : gcc -c 
Command to compile dynamic Felix driver : gcc -c 
Command to link dynamic Felix driver    : gcc  

Command to compile static Felix object  : gcc -c -Wall -Wno-invalid-offsetof 
Command to compile loadable Felix object: gcc -c -Wall -Wno-invalid-offsetof 
Command to link loadable Felix object   : gcc -shared 

Extension for static object file        : _static.o
Extension for shared object file        : _dynamic.o
Extension for static archive            : .a
Extension for loadable RTL              : .dll
Extension for flx modules               : .dll
Extension for executable                : .exe
RTL in directory                        : bin

NaN Support in                          : <ieeefp.h>

Dynamic Loading Supported : with dlopen() [native]

COM = g++ 
tmp/mchk.cxx:4:2: #error __APPLE__
NOT defined __APPLE__
tmp/mchk.cxx:4:2: #error BSD
NOT defined BSD
tmp/mchk.cxx:4:2: #error __linux__
NOT defined __linux__
tmp/mchk.cxx:4:2: #error _WIN32
NOT defined _WIN32
tmp/mchk.cxx:4:2: #error _WIN64
NOT defined _WIN64
#defined __CYGWIN__
tmp/mchk.cxx:4:2: #error _WIN32
NOT defined _WIN32
MODEL= cygwin
-Wno-invalid-offsetof supported
cc1plus: error: unrecognized command line option "-Wfatal-errors"
tmp/dummy.cxx:1: warning: -fPIC ignored for target (all code is position 
independent)
All code is position independent
char is signed
Little Endian byte order detected
#include <stdint.h>
signed char: size: 1

<<snipped>>

uint64_t: align: 8
Isnan found in <math.h>
Isnan found in <ieeefp.h>
vsnprintf() supported
Inclass member initialisation supported
Isnan found in <cmath>
gnu x86 32 bit support detected
gnu x86 64 bit support detected
Computed goto supported
Asm labels supported
Posix Threads supported with  
socklen_t = socklen_t
tmp/kqt.cxx:3:45: sys/event.h: No such file or directory
tmp/kqt.cxx: In function `int main(int, char**)':
tmp/kqt.cxx:8: error: `kqueue' undeclared (first use this function)
tmp/kqt.cxx:8: error: (Each undeclared identifier is reported only once for 
each function it appears in.)
HAVE_KQUEUE_DEMUXER = 0
#include <poll.h>
tmp/epolltest.cxx:2:23: sys/epoll.h: No such file or directory
tmp/epolltest.cxx: In function `int main(int, char**)':
tmp/epolltest.cxx:6: error: `epoll_create' undeclared (first use this function)
tmp/epolltest.cxx:6: error: (Each undeclared identifier is reported only once 
for each function it appears in.)
HAVE_EPOLL= 0
tmp/hchk.cxx:1:18: port.h: No such file or directory
NO HEADER <port.h>
HAVE_POLL = 1
HAVE_EPOLL = 0
HAVE_EVTPORTS = 0
Gnu ext/ templates supported
**********************************************
g++  build configuration
**********************************************
model= cygwin
static library tool #1                  : ar -rc 
static library tool #2                  : ranlib 

Command to compile static Felix rtl     : g++ -c -Wall -Wno-invalid-offsetof 
Command to compile shared Felix rtl     : g++ -c -Wall -Wno-invalid-offsetof 
Command to link shared Felix rtl        : g++ -shared 

Command to compile static Felix driver  : g++ -c 
Command to compile dynamic Felix driver : g++ -c 
Command to link dynamic Felix driver    : g++  

Command to compile static Felix object  : g++ -c -Wall -Wno-invalid-offsetof 
Command to compile loadable Felix object: g++ -c -Wall -Wno-invalid-offsetof 
Command to link loadable Felix object   : g++ -shared 

Extension for static object file        : _static.o
Extension for shared object file        : _dynamic.o
Extension for static archive            : .a
Extension for loadable RTL              : .dll
Extension for flx modules               : .dll
Extension for executable                : .exe
RTL in directory                        : bin

NaN Support in                          : <cmath>
NaN Support in                          : <ieeefp.h>

Dynamic Loading Supported : with dlopen() [native]

Writing build config file
import sys
if '' not in sys.path: sys.path = [''] + sys.path
WRITE STEP 0
#2006/09/09 04:45:01 UTC
#$Id: flx_config.pak,v 1.218 2006/08/04 08:59:49 skaller Exp $
WRITE STEP 1
CONFIG_GENERATOR_CVS_ID='$Id: flx_config.pak,v 1.218 2006/08/04 08:59:49 
skaller Exp $'
CONFIG_TIME='2006/09/09 04:45:01 UTC'
flx_version='1.1.2'
flx_version_major='1'
godi_revision='0'
debian_revision='1'
import flxbuild
import flxbuild.gcc_class
import flxbuild.gxx_class
import flxbuild.msvcc_class
import flxbuild.msvcxx_class
execfile("script/config_support.py")
build_model='cygwin'
FLX_LPARCHIVE='.'

WRITE STEP 2
BUILD_CC=flxbuild.gcc_class.gcc()
BUILD_CC.load_options('config/build_cc.py')
BUILD_CXX=flxbuild.gxx_class.gxx()
BUILD_CXX.load_options('config/build_cxx.py')
Created config/build_config.py
Edit this file to set your preferences
This file will not be clobbered by the Felix build process
build CONFIGURING interscript
--------------------------
Loading config/iscr_config.py
build CONFIGURING python_misc
--------------------------
Loading config/filename_config.py
--------------------------
Loading config/python_config.py
ocamlopt.opt: unknown warning option y.
Usage: ocamlopt <options> <files>
Options are:
  -ffast-math  Inline trigonometric and exponential functions
  -a  Build a library
  -c  Compile only (do not link)
  -cc <comp>  Use <comp> as the C compiler and linker
  -cclib <opt>  Pass option <opt> to the C linker
  -ccopt <opt>  Pass option <opt> to the C compiler and linker
  -compact  Optimize code size rather than speed
  -dtypes  Save type information in <filename>.annot
  -i  Print inferred interface
  -I <dir>  Add <dir> to the list of include directories
  -impl <file>  Compile <file> as a .ml file
  -inline <n>  Set aggressiveness of inlining to <n>
  -intf <file>  Compile <file> as a .mli file
  -intf-suffix <file>  Suffix for interface files (default: .mli)
  -intf_suffix <file>  (deprecated) same as -intf-suffix
  -labels  Use commuting label mode
  -linkall  Link all modules, even unused ones
  -noassert  Don't compile assertion checks
  -noautolink  Don't automatically link C libraries specified in .cma files
  -nolabels  Ignore non-optional labels in types
  -nostdlib  do not add standard directory to the list of include directories
  -o <file>  Set output file name to <file>
  -output-obj  Output a C object file instead of an executable
  -p  Compile and link with profiling support for "gprof"
        (not supported on all platforms)
  -pack  Package the given .cmx files into one .cmx
  -pp <command>  Pipe sources through preprocessor <command>
  -principal  Check principality of type inference
  -rectypes  Allow arbitrary recursive types
  -S  Keep intermediate assembly file
  -thread  Generate code that supports the system threads library
  -unsafe  No bounds checking on array and string access
  -v  Print compiler version and standard library location and exit
  -version  Print compiler version and exit
  -verbose  Print calls to external commands
  -w <flags>  Enable or disable warnings according to <flags>:
     A/a enable/disable all warnings
     C/c enable/disable suspicious comment
     D/d enable/disable deprecated features
     E/e enable/disable fragile match
     F/f enable/disable partially applied function
     L/l enable/disable labels omitted in application
     M/m enable/disable overriden methods
     P/p enable/disable partial match
     S/s enable/disable non-unit statement
     U/u enable/disable unused match case
     V/v enable/disable hidden instance variables
     X/x enable/disable all other warnings
     default setting is "Ale"
     (all warnings but labels and fragile match enabled)
  -warn-error <flags>  Treat the warnings enabled by <flags> as errors.
     See option -w for the list of flags.
     Default setting is "a" (warnings are not errors)
  -where  Print location of standard library and exit
  -nopervasives  (undocumented)
  -dparsetree  (undocumented)
  -drawlambda  (undocumented)
  -dlambda  (undocumented)
  -dcmm  (undocumented)
  -dsel  (undocumented)
  -dcombine  (undocumented)
  -dlive  (undocumented)
  -dspill  (undocumented)
  -dsplit  (undocumented)
  -dinterf  (undocumented)
  -dprefer  (undocumented)
  -dalloc  (undocumented)
  -dreload  (undocumented)
  -dscheduling  (undocumented)
  -dlinear  (undocumented)
  -dstartup  (undocumented)
  - <file>  Treat <file> as a file name (even if it starts with `-')
  -help  Display this list of options
  --help  Display this list of options

OCAML tool configuration
************************

Ocaml Version version 3.08.1
Using Native code Compiler
Lexer generator ..............  ocamllex.opt 
Parser generator .............  ocamlyacc 
Bytecode and Interface compiler ocamlc.opt 
    The Objective Caml compiler
Compiler .....................  ocamlopt.opt 
    The Objective Caml native-code compiler
Profiling Compiler ...........  ocamlcp 
Document Generator ...........  ocamldoc.opt 
C include directory ..........  /usr/lib/ocaml

Defaulting host model to build model cygwin
Defaulting target model to host model: cygwin

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Checking HOST MODEL cygwin
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

COM = gcc 
tmp/mchk.c:4:2: #error __APPLE__
NOT defined __APPLE__
tmp/mchk.c:4:2: #error BSD
NOT defined BSD
tmp/mchk.c:4:2: #error __linux__
NOT defined __linux__
tmp/mchk.c:4:2: #error _WIN32
NOT defined _WIN32
tmp/mchk.c:4:2: #error _WIN64
NOT defined _WIN64
#defined __CYGWIN__
tmp/mchk.c:4:2: #error _WIN32
NOT defined _WIN32
MODEL= cygwin
cc1: warning: command line option "-Wno-invalid-offsetof" is valid for 
C++/ObjC++ but not for C
-Wno-invalid-offsetof supported
cc1: error: unrecognized command line option "-Wfatal-errors"
tmp/dummy.c:1: warning: -fPIC ignored for target (all code is position 
independent)
All code is position independent
cc1: warning: command line option "-Wno-invalid-offsetof" is valid for 
C++/ObjC++ but not for C
char is signed
Little Endian byte order detected
#include <stdint.h>
signed char: size: 1

<<snipped>>

uint64_t: align: 8
Isnan found in <math.h>
Isnan found in <ieeefp.h>
vsnprintf() supported
gnu x86 32 bit support detected
gnu x86 64 bit support detected
Computed goto supported
Asm labels supported
Posix Threads supported with  
tmp/have_socketlen_t.c:4: error: parse error before string constant
tmp/have_socketlen_t_is_uint.c:4: error: parse error before string constant
tmp/have_socketlen_t_is_int.c:4: error: parse error before string constant
socklen_t = int
tmp/kqt.c:3:45: sys/event.h: No such file or directory
HAVE_KQUEUE_DEMUXER = 0
#include <poll.h>
tmp/epolltest.c:2:23: sys/epoll.h: No such file or directory
HAVE_EPOLL= 0
tmp/hchk.c:1:18: port.h: No such file or directory
NO HEADER <port.h>
HAVE_POLL = 1
HAVE_EPOLL = 0
HAVE_EVTPORTS = 0
**********************************************
gcc  host configuration
**********************************************
model= cygwin
static library tool #1                  : ar -rc 
static library tool #2                  : ranlib 

Command to compile static Felix rtl     : gcc -c -Wall -Wno-invalid-offsetof 
Command to compile shared Felix rtl     : gcc -c -Wall -Wno-invalid-offsetof 
Command to link shared Felix rtl        : gcc -shared 

Command to compile static Felix driver  : gcc -c 
Command to compile dynamic Felix driver : gcc -c 
Command to link dynamic Felix driver    : gcc  

Command to compile static Felix object  : gcc -c -Wall -Wno-invalid-offsetof 
Command to compile loadable Felix object: gcc -c -Wall -Wno-invalid-offsetof 
Command to link loadable Felix object   : gcc -shared 

Extension for static object file        : _static.o
Extension for shared object file        : _dynamic.o
Extension for static archive            : .a
Extension for loadable RTL              : .dll
Extension for flx modules               : .dll
Extension for executable                : .exe
RTL in directory                        : bin

NaN Support in                          : <ieeefp.h>

Dynamic Loading Supported : with dlopen() [native]

COM = g++ 
using the BUILD_CXX options for the HOST_CXX
Writing host config file
import sys
if '' not in sys.path: sys.path = [''] + sys.path
#2006/09/09 04:45:01 UTC
#$Id: flx_config.pak,v 1.218 2006/08/04 08:59:49 skaller Exp $
CONFIG_GENERATOR_CVS_ID='$Id: flx_config.pak,v 1.218 2006/08/04 08:59:49 
skaller Exp $'
CONFIG_TIME='2006/09/09 04:45:01 UTC'
flx_version='1.1.2'
flx_version_major='1'
godi_revision='0'
debian_revision='1'
import flxbuild
import flxbuild.gcc_class
import flxbuild.msvcc_class
import flxbuild.gxx_class
import flxbuild.msvcxx_class
import flxbuild.ocaml_class
execfile("script/config_support.py")
build_model='cygwin'
host_model='cygwin'
FLX_LPARCHIVE='.'

HOST_OCAML=flxbuild.ocaml_class.ocaml()
HOST_OCAML.load_options('config/ocaml_config.py')
HOST_CC=flxbuild.gcc_class.gcc()
HOST_CC.load_options('config/host_cc.py')
HOST_CXX=flxbuild.gxx_class.gxx()
HOST_CXX.load_options('config/host_cxx.py')
execfile('config/ocaml_config.py')
Created config/host_config.py
Edit this file to set your preferences
This file will not be clobbered by the Felix build process
host CONFIGURING pkgconfig
--------------------------
Loading config/pkgconfig_config.py

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Checking TARGET MODEL cygwin
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

COM = gcc 
using the HOST_CC options for the TARGET_CC
COM = g++ 
using the BUILD_CXX options for the TARGET_CXX
Defaulting run model to target model: cygwin
Writing main config file
import sys
if '' not in sys.path: sys.path = [''] + sys.path
#2006/09/09 04:45:01 UTC
#$Id: flx_config.pak,v 1.218 2006/08/04 08:59:49 skaller Exp $
CONFIG_GENERATOR_CVS_ID='$Id: flx_config.pak,v 1.218 2006/08/04 08:59:49 
skaller Exp $'
CONFIG_TIME='2006/09/09 04:45:01 UTC'
flx_version='1.1.2'
flx_version_major='1'
godi_revision='0'
debian_revision='1'
try:
  execfile('config/config_bootstrap.py')
except: pass
import flxbuild
import flxbuild.gcc_class
import flxbuild.msvcc_class
import flxbuild.gxx_class
import flxbuild.msvcxx_class
import flxbuild.ocaml_class
execfile("script/config_support.py")

#User configurable section
SUPPORT_DYNAMIC_LOADING=1
SUPPORT_STATIC_LINKAGE = 1
DEFAULT_LINK_MODEL='dynamic'
build_model='cygwin'
host_model='cygwin'
target_model='cygwin'
run_model='cygwin'
CYGWIN=1
MACOSX=0
HAVE_KQUEUE_DEMUXER=0
HAVE_POLL=1
HAVE_EPOLL=0
HAVE_EVTPORTS=0
WIN32=0
WIN64=0
POSIX=1
SOLARIS=0
BSD=0
LINUX=0
PREFIX='/usr/local'
FLX_SOCKLEN_T='socklen_t'
HAVE_PTHREADS=1
PTHREAD_SWITCH=' '
HAVE_PKGCONFIG=0
FLX_LPARCHIVE='.'

HOST_OCAML=flxbuild.ocaml_class.ocaml()
HOST_OCAML.load_options('config/ocaml_config.py')
HOST_CC=flxbuild.gcc_class.gcc()
HOST_CC.load_options('config/host_cc.py')
TARGET_CC=flxbuild.gcc_class.gcc()
TARGET_CC.load_options('config/target_cc.py')
HOST_CXX=flxbuild.gxx_class.gxx()
HOST_CXX.load_options('config/host_cxx.py')
TARGET_CXX=flxbuild.gxx_class.gxx()
TARGET_CXX.load_options('config/target_cxx.py')

HAVE_GNU=1
FLXCC_CPP='cpp '
HAVE_MSVC=0
# HACK to get all the target variables into global namespace
execfile('config/target_cxx.py')
execfile('config/ocaml_config.py')
Created config/config.py
Edit this file to set your preferences
This file will not be clobbered by the Felix build process
target CONFIGURING libgc
tmp/hchk.cxx:1:16: gc.h: No such file or directory
NO HEADER <gc.h>
target CONFIGURING windowsh
#include <windows.h>
target CONFIGURING opengl
#include <GL/gl.h>
target CONFIGURING pthread
sh: getconf: command not found
Pthread model= Unknown

---------------------------------
Interscript 1.0a11[117] Process Sat 09 Sep, 2006 14:48:35 (AUSEST)
PROCESSING WHOLE FILE (options changed)
$Id: flx_maker.pak,v 1.105 2006/08/01 05:37:50 idadesub Exp $
--------------------------
Loading config/iscr_config.py
All 66 output files stable on pass 1  -- breaking
Elapsed Process Time 1 seconds
================================

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to