Giter Club home page Giter Club logo

Comments (9)

viniciusjarina avatar viniciusjarina commented on July 22, 2024

@cdhowie I'm really sorry.

I am not using the the autogen. This was a contribution from @megax.
You don't need the autogen, you can build just typing make -f Makefile.Linux
https://github.com/NLua/NLua/blob/master/run_all.linux.sh

from keralua.

viniciusjarina avatar viniciusjarina commented on July 22, 2024

and remember you need CMake to build the Native Lua on Linux.

from keralua.

cdhowie avatar cdhowie commented on July 22, 2024

@viniciusjarina Umm... take a look at the last command run in my paste.

from keralua.

viniciusjarina avatar viniciusjarina commented on July 22, 2024
mkdir: cannot create directory `linux': File exists

Try to cleanup (clean -xfd) your previous build and run again :)

from keralua.

cdhowie avatar cdhowie commented on July 22, 2024

Yes, already done so. The mkdir error is not fatal, the following stream of cmake errors is what actually killed it. If I run git clean -fdx in KeraLua and all submodules the mkdir error goes away, but the errors from cmake about WORKING_DIRECTORY persist, and the build still fails.

(And even if that was the problem, surely the build system should be able to cope with an output directory that already exists!)

from keralua.

viniciusjarina avatar viniciusjarina commented on July 22, 2024

I agree with "(And even if that was the problem, surely the build system should be able to cope with an output directory that already exists!)"

But the CMake should be working. What is your CMake version on Linux? 🐧

If the CMake was not working the build would fail on Travis https://travis-ci.org/NLua/KeraLua/builds/7337221

from keralua.

cdhowie avatar cdhowie commented on July 22, 2024
chris@zack:~/src/KeraLua$ cmake --version
cmake version 2.8.2
chris@zack:~/src/KeraLua$ dpkg -l cmake
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                  Version                                               Description
+++-=====================================================-=====================================================-==========================================================================================================================
ii  cmake                                                 2.8.2+dfsg.1-0+squeeze1                               a cross-platform, open-source make system

from keralua.

cdhowie avatar cdhowie commented on July 22, 2024

Apparently 2.8.2 doesn't support WORKING_DIRECTORY. I submitted a pull request against the relevant submodule (NLua/lua#1) and once that is accepted I will submit more pull requests to update the submodule references.

from keralua.

viniciusjarina avatar viniciusjarina commented on July 22, 2024

Fixed.

from keralua.

Related Issues (20)

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.