New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meson - room for improvements #38
Comments
I cannot reproduce this behavior: $ meson -Dprint_advanced_messages=true -Dprint_table=true -Dcheck_initial_settings=true -Dcollector=enabled -Dbuildtype=debugoptimized -Db_sanitize=address,undefined build
$ meson compile -C build
$ DESTDIR=./destdir meson install -C build
$ tree build/destdir/
build/destdir/
└── usr
├── lib
│ └── systemd
│ └── system
│ └── phoebe.service
└── local
├── bin
│ ├── data_tool
│ └── phoebe
├── etc
│ └── phoebe
│ └── settings.json
├── lib64
│ └── phoebe
│ └── libnetwork_plugin.so
└── share
└── phoebe
└── rates.csv
12 directories, 6 files So in my case there is no directory Line 77 in 814ee5e
How did you install the scripts directory? |
I was simply following instruction which project suggests to new-comer https://github.com/SUSE/phoebe/blob/main/BUILDING.md , which is just |
@dcermak also I found another difference from what you are doing and what is defined in project's build instruction , you defining different destination directory for compile while project suggesting to compile in build directory directly . So to reproduce first issue you need to simply follow build instructions defined for this project step by step :) |
Anton Smorodskyi ***@***.***> writes:
@dcermak also I found another difference from what you are doing and what is defined in project's build instruction , you defining different destination directory for compile while project suggesting to compile in build directory directly . So to reproduce first issue you need to simply follow build instructions defined for this project step by step :)
There is no difference between running `meson compile -C
path/to/build/dir` or `meson compile` from path/to/build/dir.
And yes, I tried the instructions from BUILDING.md, same result: there
is no scripts directory in destdir.
|
so I would say that first point is addressed with #42 . But second one is still there , @mvarlese please not close this issue I will try to come up with something later ... |
The question here is: what does "install" mean here for you? Running
|
@shunghsiyu could you, please, have a look at this specific issue? |
I meant |
The missing module "_phoebe" refers to For install I think the correct way is to place it at |
This sounds like a use case for the python extension module provided by meson: https://mesonbuild.com/Python-module.html#extension_module |
with #45 and #46 I think all topics which I raised here are solved . @dcermak , @shunghsiyu - thanks I lot for your help 👍 |
scripts
- folder copied empty.Expected : needs to contain python script
scripts/collect_stats.py
end up withModule not found "_phobe"
Expected: meson script suppose to install need python module
The text was updated successfully, but these errors were encountered: