build fails on ubuntu 12.04 "I need autoconf 2.13" #21

Closed
marianoguerra opened this Issue Jun 27, 2012 · 8 comments

4 participants

@marianoguerra

any way to avoid this problem? (other than building autoconf 2.13?)

autoconf --version
autoconf (GNU Autoconf) 2.68

if building that specific version is the only solution maybe a section in the readme to do it the least intrusive way for the rest of the system would be nice :)

@brson

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!).

@pawlik

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 ;)

@brson

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.

@marianoguerra

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?

@brson

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

@marianoguerra

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
@brson

@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.

@pcwalton pcwalton closed this Aug 21, 2012
@pcwalton

Closing. Please open if there are other issues.

@bors-servo bors-servo pushed a commit that referenced this issue May 13, 2015
bors-servo Auto merge of #6016 - zmike:embedding-windowing, r=larsbergstrom
Depends on glutin PR #21

@glennw  @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6016)
<!-- Reviewable:end -->
da27b07
@bors-servo bors-servo pushed a commit that referenced this issue May 14, 2015
bors-servo Auto merge of #6016 - zmike:embedding-windowing, r=jdm
Depends on glutin PR #21

@glennw  @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6016)
<!-- Reviewable:end -->
57a5a09
@bors-servo bors-servo pushed a commit that referenced this issue May 15, 2015
bors-servo Auto merge of #6016 - zmike:embedding-windowing, r=larsbergstrom
Depends on glutin PR #21

@glennw  @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6016)
<!-- Reviewable:end -->
a97f81b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment