Comments (8)
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.
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.
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.
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.
It looks like your rust-mozjs submodule is out of date. Try executing git submodule update
from the servo source directory.
from servo.
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.
@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.
Closing. Please open if there are other issues.
from servo.
Related Issues (20)
- Modular JS/execution engine HOT 3
- Modular Servo
- WPT export is broken
- Servo crash when loading servo.org HOT 1
- Support Vue.js HOT 1
- ./mach build --release No module named pip . But in the virtualenv: pip 22.02 is installed HOT 1
- could not execute process `crown -vV` - Ubuntu 22.04
- How to avoid this error? error[E0554]: `#![feature]` may not be used on the stable release channel
- WebIDL impl: Replace use of NonNull<JSObject> with TypedArray HOT 4
- WebIDL impl: remove unsafe JSObject from return value of Document::NamedGetter
- WebIDL impl: remove unsafe JSObject when returning a ReadableStream
- WebIDL impl: remove unsafe JSObject from WebGLExtensionWrapper
- Servo building failing in Ubuntu 22.04 HOT 2
- WebGPU: fail request for adapter when not available. HOT 10
- MAC: ./mach run stops at EXC_BAD_ACCESS HOT 2
- Improve formatting of Python files HOT 3
- Warning in background_hang_monitor
- build failed on arch linux HOT 9
- webgpureport.org crashes servo HOT 17
- Positioning of servo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from servo.