Comments (11)
Hi,
I think there is a mistake in the Readme.
If you try cargo install --path .
it should work
from transit_model.
thanks, it is better !
But always error
~/transit_model/gtfs2netexfr$ cargo install --path .
Installing gtfs2netexfr v1.0.0 (/home/moi/transit_model/gtfs2netexfr)
Updating crates.io index
Downloaded miniz_oxide v0.3.7
Compiling miniz_oxide v0.3.7
Compiling proj-sys v0.12.2
Compiling flate2 v1.0.14
error: failed to run custom build command for `proj-sys v0.12.2`
Caused by:
process didn't exit successfully: `/home/moi/transit_model/target/release/build/proj-sys-2f1ba67ed1119c14/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=proj
cargo:warning=couldn't execute `llvm-config --prefix` (error: No such file or directory (os error 2))
cargo:warning=set the LLVM_CONFIG_PATH environment variable to a valid `llvm-config` executable
--- stderr
wrapper.h:1:10: fatal error: 'proj.h' file not found
wrapper.h:1:10: fatal error: 'proj.h' file not found, err: true
thread 'main' panicked at 'Unable to generate bindings: ()', src/libcore/result.rs:1188:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `gtfs2netexfr v1.0.0 (/home/moi/transit_model/gtfs2netexfr)`, intermediate artifacts can be found at `/home/moi/transit_model/target`
Caused by:
build failed
it seems PROJ has problem..
from transit_model.
I've just installed llvm, which wasn't installed but still error
from transit_model.
How have you installed proj?
I install like that
sudo apt-get install -yq wget build-essential pkg-config sqlite3 libsqlite3-dev
wget https://github.com/OSGeo/proj.4/releases/download/6.3.0/proj-6.3.0.tar.gz
tar -xzf proj-6.3.0.tar.gz
cd proj-6.3.0
./configure --prefix=/usr
make
sudo make install
from transit_model.
oh yes !
How have you installed proj?
I install like thatsudo apt-get install -yq wget build-essential pkg-config sqlite3 libsqlite3-dev wget https://github.com/OSGeo/proj.4/releases/download/6.3.0/proj-6.3.0.tar.gz tar -xzf proj-6.3.0.tar.gz cd proj-6.3.0 ./configure --prefix=/usr make sudo make install
not this way to install proj
make
in progress...
from transit_model.
@jvanoost is it good for you now?
from transit_model.
not yet, but my fault
I made a mistake while wanted to add proj to the path.
I'm on it to correct
But all you give me is ok, so I'm pretty sure it will be ok ;)
#####################
Edited :
I had to my path the rep .cargo/bin
It's ok !
I can launch the app
it's OK, my network is in Netex
Thank you very much
I launched it for the network of Lille
How is it possible to test it ?
from transit_model.
sorry I'm not sure to understand well.
Your question is how to test the command with your GTFS Lille or how to test the netex produced ?
from transit_model.
Sorry it wasn't clear
the question was about testing the netex produced.
I tried to zip and upload it on : http://appli.chouette.mobi/ but it got an error
from transit_model.
I don't know what tool you can test with but you can test that the XML produced has a valid schema.
see https://github.com/CanalTP/transit_model/blob/master/tests/write_netex_france.rs#L79
with xmllint
xmllint --noout --nonet --huge --schema NeTEx_publication.xsd your_produced_netex
NetEx_publication.xsd coming from https://github.com/NeTEx-CEN/NeTEx/blob/348033a470ae7cfc50c57c911b0e786b52dd85bc/xsd/NeTEx_publication.xsd
from transit_model.
Ok thanks a lot ! I close the issue !
from transit_model.
Related Issues (20)
- merge-ntfs HOT 2
- gtfs2ntfs : new way to generate prefixes ? HOT 4
- better object duplicate error HOT 4
- Error reading "./ntfs/feed_infos.txt" HOT 3
- Add more flexibility to read inputs HOT 1
- [tech] Easier hello world HOT 8
- Allow reading GTFS csv files with a flexible option for columns number HOT 2
- Do gtfs2netexfr handle the pathways and levels GTFS extensions ? HOT 1
- FR: prefixes dans les id HOT 4
- Coordonnées WGS HOT 5
- SiteConnection id not unique HOT 2
- [tech] Improve ignored doc-tests
- [gtfs2netexfr] Help needed to pinpoint cause of "unused lines" pruning HOT 3
- transit_model fails to open zipped file. HOT 8
- TransXChange format HOT 1
- ODT : incorrect behavior ? HOT 10
- Problem with cargo install --path gtfs2netexfr HOT 4
- gtfs2netexfr : wrong StopPlaceType for bus HOT 5
- Dependency minidom 0.12 HOT 1
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 transit_model.