Comments (6)
Is /opt/stargate/bin/stargate
failing to run because it cannot find Python libraries? BTW, in the source code there is scripts/fedora_deps.sh
and scripts/rpm.py
to help with building on Fedora.
We don't install to site-packages
because Stargate DAW is meant to have an unlimited number of completely self-contained installs on one system, would not want a global copy of the libs getting picked up by the wrong installation. Everything is based on the relative path to $(PREFIX)/bin/stargate
from stargate.
When I do the "make install", I don't see a copy of sglib occuring. So, when I start stargate, I've got:
$ stargate
Adding PYTHONPATH /usr
Did not detect local development environment, trying system installation
Adding PYTHONPATH /usr/lib/stargate/stargate
Traceback (most recent call last):
File "/usr/bin/stargate", line 122, in main
start_stargate(args.project_file)
File "/usr/bin/stargate", line 78, in start_stargate
app, scaler = _setup()
File "/usr/bin/stargate", line 57, in _setup
from sglib.log import LOG, setup_logging
ModuleNotFoundError: No module named 'sglib'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/stargate", line 141, in <module>
main()
File "/usr/bin/stargate", line 138, in main
start_stargate(args.project_file)
File "/usr/bin/stargate", line 78, in start_stargate
app, scaler = _setup()
File "/usr/bin/stargate", line 57, in _setup
from sglib.log import LOG, setup_logging
ModuleNotFoundError: No module named 'sglib'
I put the ""fine tune" spec here:
https://raw.githubusercontent.com/audinux/fedora-spec/master/stargate/stargate.spec
I disabled the automatic install of pymarshal and wavefile because these libraries are now in the audinux repository:
https://copr.fedorainfracloud.org/coprs/ycollet/audinux/
from stargate.
It looks like I may need to fix something, I will look at this tonight after work.
Did PREFIX=/opt/stargate make install
install the copy of /usr/bin/stargate
you are running? That command should have installed it to /opt/stargate/bin/stargate
. If you symlinked /usr/bin/stargate
to /opt/stargate/bin/stargate
, that may account for this behavior. It should be possible for me to fix that if so.
from stargate.
Nice project, BTW. I am a Fedora user myself.
I think this line might be part of the problem:
sed -i -e "s/'lib'/'%{_lib}'/g" sglib/lib/path/linux.py
I think there are probably more places in the code and build scripts that you would need to replace lib
with lib64
.
Not sure if you already saw this, but you might find this useful for creating a rpmspec:
https://github.com/stargateaudio/stargate/blob/main/scripts/rpm.py#L93
from stargate.
Thanks a lot for this answer.
I found the problem. It was on my side:
sed -i -e "s/cp -r sg_py_vendor/cp -r /g" Makefile
Removed the line managing the installation of the sglib and sgui.
I will close the ticket and open a new one to manage the lib / lib64 library directory.
Sorry for the noise :)
from stargate.
THanks for the link to the rpm.py file :)
from stargate.
Related Issues (20)
- More standardized, internetless build and better build instructions HOT 26
- It fails to start on OpenSUSE Leap 15.3 HOT 2
- Both the deb files have dependency issues HOT 4
- Is VST support on the TODO list? HOT 13
- Strange saving of recorded samples (Win10) HOT 4
- Portable installation doesn't work (as intended) (Win10) HOT 10
- Strange behaviour of save/discard when recording audio (Win10) HOT 2
- stargate is in the AUR HOT 2
- Contact information? HOT 1
- Support for Windows 7, 8
- Crashes on old, unsupported Mac hardware
- Doesn't build on artix ( arch ) linux HOT 13
- Time stretching, pitch shifting known issues HOT 14
- Issues with sample paths (Win10) HOT 4
- Crashes on some locales HOT 2
- Debian package depends on missing fftw3 package HOT 9
- Can't compile from source HOT 1
- Unable to create new project in windows 11 latest HOT 7
- 3 PlugIns, if and when you'll have time and will HOT 5
- ComboBox menus only show on main monitor HOT 2
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 stargate.