Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Building cvs with cygwin
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Andrew Lawson <xandrew_lawsonx@y...>
Subject: [Caml-list] Building cvs with cygwin
Hi all
    I've decided to try and install the cygwin port of
ocaml so I've downloaded the latest cvs sources. I
also made sure that the cygwin tcl/tk package was
installed. As per instructions I did a simple
./configure. Now, at the end of this there was one
problem; 'tk.h not found' even though 'tcl.h version
8.0 found'. So I did a quick find on 'tk*' ;

/lib/tkConfig.sh
/usr/include/tk.h
/usr/share/tk8.0
/usr/share/tk8.0/tk.tcl
/usr/share/tk8.0/tkAppInit.c
/usr/share/tk8.0/tkfbox.tcl
/usr/share/tk8.0/tkfboxTest.tcl

I've also included the config/Makefile ;

# generated by ./configure 
PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
LIBDIR=$(PREFIX)/lib/ocaml
MANDIR=$(PREFIX)/man/man1
MANEXT=1
RANLIB=ranlib
RANLIBCMD=ranlib
SHARPBANGSCRIPTS=false
BIGNUM_ARCH=C
BYTECC=gcc
BYTECCCOMPOPTS=-fno-defer-pop -Wall -Wno-unused
-U_WIN32
BYTECCLINKOPTS=
BYTECCLIBS= -lm  -lcurses
BYTECCRPATH=
EXE=.exe
SUPPORTS_SHARED_LIBRARIES=false
SHAREDCCCOMPOPTS=
MKSHAREDLIB=
SHAREDLDTYPE=cc
ARCH=i386
MODEL=default
SYSTEM=cygwin
NATIVECC=gcc
NATIVECCCOMPOPTS=-Wall -Wno-unused -U_WIN32
NATIVECCLINKOPTS=
NATIVECCRPATH=
NATIVECCLIBS= -lm
ASFLAGS=
ASPP=gcc
ASPPFLAGS=-c -DSYS_$(SYSTEM)
ASPPPROFFLAGS=-DPROFILING
PROFILING=noprof
DYNLINKOPTS=
OTHERLIBRARIES=unix str num dynlink bigarray threads
DEBUGGER=ocamldebugger

Finally I did a 'make world' and it went for a while,
finally crashing out on;

gcc: No input files
c:camllib: not found
c:camllib: not found
Error while building custom runtime system
make[1]: *** [ocamldebug.exe] Error 2
make: *** [ocamldebugger] Error2

    This looks like a path problem to me but I'm not
too hot with these things. Has anyone got any advice
on how to sort this?, I'll happily post more info if
required.

         thanks

               Andrew

=====
Andrew Lawson
andrew@absentis.com
 www.absentis.com

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr