GithubHelp home page GithubHelp logo

Morpheus Compiling about latin-macronizer HOT 5 CLOSED

alatius avatar alatius commented on August 22, 2024
Morpheus Compiling

from latin-macronizer.

Comments (5)

Alatius avatar Alatius commented on August 22, 2024

Hm, the log you posted indicates that flex is not installed. With it, the original source should compile, (albeit with warnings.)

from latin-macronizer.

TylerKirby avatar TylerKirby commented on August 22, 2024

Ah, ok. With flew installed, I'm receiving the following warnings/error after running make in morpheus/src:

cd greeklib; /Applications/Xcode.app/Contents/Developer/usr/bin/make greeklib.a
gcc -O2 -I../includes   -c -o Fclose.o Fclose.c
Fclose.c:5:1: warning: type specifier missing, defaults to 'int'
      [-Wimplicit-int]
xFclose(FILE *f)
^
Fclose.c:9:3: error: non-void function 'xFclose' should return a value
      [-Wreturn-type]
                return;
                ^
Fclose.c:14:1: warning: type specifier missing, defaults to 'int'
      [-Wimplicit-int]
xFree(char *p, char *errmess)
^
Fclose.c:28:2: warning: implicit declaration of function 'free' is invalid in
      C99 [-Wimplicit-function-declaration]
        free(p);
        ^
3 warnings and 1 error generated.
make[1]: *** [Fclose.o] Error 1
make: *** [all] Error 2

Note that this is on OS X. I'll talk to Kyle (manager of the CLTK) about installing flex and see if he has similar errors on Ubuntu.

from latin-macronizer.

TylerKirby avatar TylerKirby commented on August 22, 2024

So here's what we got with flex installed. We're pretty sure this is correct, but could you confirm?

from latin-macronizer.

Alatius avatar Alatius commented on August 22, 2024

Yeah, it looks the same as what I get, as far as I can tell. To test that it really works, you can start it with MORPHLIB=stemlib bin/cruncher -L and then check whether it parses Latin words as it should. (Cf. the installation instructions for the macronizer.)
I'm sorry I have no experience compiling Morpheus under OS X, so I can't help with that. Possibly you can take that issue upstream?

from latin-macronizer.

Alatius avatar Alatius commented on August 22, 2024

I think this is sorted out?

from latin-macronizer.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.