- Index
- » Developer
- » OpenModelica development
- » Compilation problems
Compilation problems
Compilation problems
When I use the guide from github to build my openmodelica,it has some problems.
when I run "sudo apt-get build-dep openmodelica" this code,the system shows "Unable to find a source package for openmodelica"
whats the problems?
I use two different systems it has the same.
Ubuntu 16 and 20
- 278067605
- 28 Posts
Re: Compilation problems
Which deb-src lines does your system use?
- sjoelund.se
- 1700 Posts
Re: Compilation problems
echo Linux name: `lsb_release --short --codename`
echo deb http://build.openmodelica.org/apt `lsb_release --short --codename` nightly | sudo tee -a /etc/apt/sources.list
echo deb-src http://build.openmodelica.org/apt `lsb_release --short --codename` nightly | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get build-dep openmodelica
git clone --recursive https://openmodelica.org/git-readonly/OpenModelica.git OpenModelica
cd OpenModelica
autoconf
./configure --with-cppruntime
make -j4
- 278067605
- 28 Posts
Re: Compilation problems
when I run “sudo apt-get build-dep openmodelica”this code it has problem
- 278067605
- 28 Posts
Re: Compilation problems
Hmm.... All of our source entries seem to be empty. I wonder when that happened. Probably when the OS was upgraded a month or so ago.
The control file is here: https://github.com/OpenModelica/OpenMod … an/control
And you can create a package for the dependencies: https://stackoverflow.com/questions/174 … ntrol-file
I'm not sure when we would have time to fix this.
- sjoelund.se
- 1700 Posts
Re: Compilation problems
ok....fine thank you
- 278067605
- 28 Posts
- Index
- » Developer
- » OpenModelica development
- » Compilation problems