Giter Site home page Giter Site logo

Comments (8)

brson avatar brson commented on May 6, 2024

This limitation is imposed by spidermonkey. We could possibly fix it by using spidermonkey source that has already been autoconfed, like we do for harfbuzz (which requires yet another version of autoconf!).

from servo.

pawlik avatar pawlik commented on May 6, 2024

Until then quick workaround would be: uninstall autoload, install one from i.e. https://launchpad.net/ubuntu/quantal/amd64/autoconf2.13/2.13-62 and move on. After successful build you may install latest autoconf again (the last one I'm guessing - make is running right now, so I'm not quite there yet ;)

from servo.

brson avatar brson commented on May 6, 2024

On Debian based Linuxes I have just installed all the autoconf versions I need alongside each other. Right now I have autoconf2.13, autoconf2.50, and autoconf2.64, all installed via apt. The servo configure script will seek out the right one by name.

from servo.

marianoguerra avatar marianoguerra commented on May 6, 2024

you are right, I didn't think that I would have available that version of autoconf, after installing it I get that rustc is not installed, so I need to download compile and install that in a seekable place.

after compiling rustc from master I get this error:

    make[1]: Entering directory `/home/mariano/src/soft/servo/build/src/rust-mozjs'
    rustc -L ../mozjs/ /home/mariano/src/soft/servo/src/rust-mozjs/js.rc -o js-test --test
    /home/mariano/src/soft/servo/src/rust-mozjs/rust.rs:16:0: 16:8 error: expected item but found 'resource'
    /home/mariano/src/soft/servo/src/rust-mozjs/rust.rs:16 resource rt_rsrc(self: {ptr: *JSRuntime}) {
                                                           ^~~~~~~~        
    make[1]: *** [js-test] Error 101                                       
    make[1]: Leaving directory `/home/mariano/src/soft/servo/build/src/rust-mozjs'
    make: *** [check-rust-mozjs] Error 2  

is there a specific version of rust I should use or am I doing something wrong?

from servo.

brson avatar brson commented on May 6, 2024

It looks like your rust-mozjs submodule is out of date. Try executing git submodule update from the servo source directory.

from servo.

marianoguerra avatar marianoguerra commented on May 6, 2024

updated and got:

    make[1]: Leaving directory `/home/mariano/src/soft/servo/build/src/rust-sdl'
    RUSTFLAGS="-L ../rust-cocoa" make check -C src/rust-azure              
    make[1]: Entering directory `/home/mariano/src/soft/servo/build/src/rust-azure'
    rustc -L ../rust-cocoa /home/mariano/src/soft/servo/src/rust-azure/azure.rc -o azure-test --test
    /home/mariano/src/soft/servo/src/rust-azure/azure.rc:6:0: 6:9 error: can't find crate for 'geom'
    /home/mariano/src/soft/servo/src/rust-azure/azure.rc:6 use geom;       
                                                           ^~~~~~~~~       
    make[1]: *** [azure-test] Error 101                                    
    make[1]: Leaving directory `/home/mariano/src/soft/servo/build/src/rust-azure'
    make: *** [check-rust-azure] Error 2 

btw on the readme it would be better if the line at the bottom:

mkdir build && cd build

to be:

mkdir -p build && cd build

from servo.

brson avatar brson commented on May 6, 2024

@marianoguerra That geom error is because of a dependency that isn't reflected in the Makefiles. @mmeyerho is working on the fix.

I'll add the -p flag to the readme.

from servo.

pcwalton avatar pcwalton commented on May 6, 2024

Closing. Please open if there are other issues.

from servo.

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.