Skip to content

error: expression is not assignable #10

@dunnface

Description

@dunnface

I can configure without errors, but then I cannot make all due to a C error:

someone:labltk-8.06.4 someone$ ./configure -tkdefs '-I/Library/Frameworks/Tcl.framework/Versions/8.6/Headers/ -I/Library/Frameworks/Tk.framework/Versions/8.6/Headers/' -tklibs '-framework Tcl -framework Tk' -tk-no-x11
Configuring LablTk...
tcl.h and tk.h version 8.6 found with "-I/Library/Frameworks/Tcl.framework/Versions/8.6/Headers/ -I/Library/Frameworks/Tk.framework/Versions/8.6/Headers/".
Tcl/Tk libraries found.

** Configuration summary **

Configuration for the "labltk" library:
        use tcl/tk version ....... 8.6
        options for compiling .... -I/Library/Frameworks/Tcl.framework/Versions/8.6/Headers/ -I/Library/Frameworks/Tk.framework/Versions/8.6/Headers/
        options for linking ...... -framework Tcl -framework Tk
        use native compilers ..... yes
someone:labltk-8.06.4 someone$ make all
cd support; /Applications/Xcode.app/Contents/Developer/usr/bin/make
gcc  -I/usr/local/lib/ocaml/caml -I/Library/Frameworks/Tcl.framework/Versions/8.6/Headers/ -I/Library/Frameworks/Tk.framework/Versions/8.6/Headers/  -c cltkEval.c
cltkEval.c:49:19: error: expression is not assignable
    Field(res, 0) = str;
    ~~~~~~~~~~~~~ ^
cltkEval.c:50:19: error: expression is not assignable
    Field(res, 1) = oldres;
    ~~~~~~~~~~~~~ ^
2 errors generated.
make[1]: *** [cltkEval.o] Error 1
make: *** [all] Error 2

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions