Jump to content

  •  

CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.

Photo

Compiling Siril 1.4 from Source

  • Please log in to reply
21 replies to this topic

#1 gordtulloch

gordtulloch

    Surveyor 1

  • *****
  • topic starter
  • Posts: 1,888
  • Joined: 10 Feb 2005
  • Loc: Winnipeg Canada

Posted 26 April 2025 - 04:51 PM

After a few abortive tries to get 1.4 beta 1 from the Siril website (flat pack only produces 1.2.6, deb produces lots of dependency errors, etc) I just said Frack It, I'll just compile from source. I like to compile stuff from source so I can tinker and look at the source for stuff I'm interested in anyways so no biggie.  Here's the commands needed to compile and install on Stellarmate (Lubuntu 22.04) from source. Not a shell script.

wget https://free-astro.org/download/siril-1.4.0-beta1.tar.bz2
  
sudo apt install meson ninja-build cmake libcurl4-openssl-dev libexiv2-dev libraw-dev libffms2-dev libtiff-dev \
libjpeg-dev libhwy-dev libheif-dev libpng-dev libzstd-dev libavformat-dev libavutil-dev libavcodec-dev \
libswscale-dev libswresample-dev libgit2-dev libcriterion-dev libglib2.0-dev libgtk-3-dev libgsl-dev libcfitsio-dev \
libfftw3-dev libopencv-dev libgtksourceview-4-dev

wget https://github.com/libjxl/libjxl/releases/download/v0.11.1/jxl-debs-amd64-ubuntu-22.04-v0.11.1.tar.gz
tar xvzf jxl-debs-amd64-ubuntu-22.04-v0.11.1.tar.gz
sudo dpkg -i libjxl-dev_0.11.1_amd64.deb
sudo dpkg -i libjxl_0.11.1_amd64.deb
sudo dpkg -i libjxl-dev_0.11.1_amd64.deb
rm *.deb
rm *.ddeb
rm jxl-debs-amd64-ubuntu-22.04-v0.11.1.tar.gz

git clone https://gitea.nouspiro.space/nou/libXISF.git
cd libXISF
cmake -B build -S .
cmake --build build --parallel
sudo cmake --install build

sudo apt-get remove --purge liblcms2-dev
wget https://github.com/mm2/Little-CMS/releases/download/lcms2.14/lcms2-2.14.tar.gz
tar xvzf lcms2-2.14.tar.gz
cd lcms2-2.14
./configure --prefix=/usr/local
make
sudo make install
pkg-config --modversion lcms2

meson setup --prefix /usr/local --buildtype release _build
ninja -C _build
ninja -C _build install

Enjoy!


Edited by gordtulloch, 26 April 2025 - 05:26 PM.

  • Oleg Astro and matt_astro_tx like this

#2 matt_astro_tx

matt_astro_tx

    Cosmos

  • *****
  • Posts: 8,469
  • Joined: 19 Jan 2021
  • Loc: Dallas, Texas

Posted 26 April 2025 - 06:42 PM

How are you liking 1.4?  I can't wait to see it.



#3 matt_astro_tx

matt_astro_tx

    Cosmos

  • *****
  • Posts: 8,469
  • Joined: 19 Jan 2021
  • Loc: Dallas, Texas

Posted 26 April 2025 - 06:52 PM

Oh I just launched Siril and it notified me of the new release... but the downloads page is empty.  Maybe it's been pulled.



#4 gordtulloch

gordtulloch

    Surveyor 1

  • *****
  • topic starter
  • Posts: 1,888
  • Joined: 10 Feb 2005
  • Loc: Winnipeg Canada

Posted 26 April 2025 - 08:10 PM

Just trying it now - stacked a SeeStar mosaic super fast, when APP wasn't able to. Crashed when I tried to run a Python script tho.



#5 lock042

lock042

    Siril astronomical image processing software

  • -----
  • Vendors
  • Posts: 586
  • Joined: 03 Nov 2015

Posted 27 April 2025 - 12:57 AM

Oh I just launched Siril and it notified me of the new release... but the downloads page is empty.  Maybe it's been pulled.

It's a bug of the website, but you can download from the frontpage.


  • RedLionNJ and matt_astro_tx like this

#6 RedLionNJ

RedLionNJ

    Cosmos

  • *****
  • Moderators
  • Posts: 9,666
  • Joined: 29 Dec 2009
  • Loc: Red Lion, NJ, USA

Posted 27 April 2025 - 11:00 AM

I think I should have waited a few more releases ... installed 1.4.0-beta1 and am finding it a bit frustrating (at least compared to v1.3).

 

I was hoping to simply re-use a previous script to drizzle hundreds of Seestar subs (i.e. OSC, no flats, bias, darks), platesolve, apply photometric color calibration, deconvolve, denoise and stretch.

 

There were a lot of extra "are you sure want to do this?" prompts and it wouldn't let me drizzle or execute the PCC at all.

 

I'm sure it's all documented on how to do this - I just wish it wasn't so different from the previous version.



#7 lock042

lock042

    Siril astronomical image processing software

  • -----
  • Vendors
  • Posts: 586
  • Joined: 03 Nov 2015

Posted 27 April 2025 - 11:46 AM

I think I should have waited a few more releases ... installed 1.4.0-beta1 and am finding it a bit frustrating (at least compared to v1.3).

 

I was hoping to simply re-use a previous script to drizzle hundreds of Seestar subs (i.e. OSC, no flats, bias, darks), platesolve, apply photometric color calibration, deconvolve, denoise and stretch.

 

There were a lot of extra "are you sure want to do this?" prompts and it wouldn't let me drizzle or execute the PCC at all.

 

I'm sure it's all documented on how to do this - I just wish it wasn't so different from the previous version.

1.3 version = 1.4, because the 1.3 branch was the development version of 1.4.


Edited by lock042, 27 April 2025 - 11:47 AM.


#8 gordtulloch

gordtulloch

    Surveyor 1

  • *****
  • topic starter
  • Posts: 1,888
  • Joined: 10 Feb 2005
  • Loc: Winnipeg Canada

Posted 27 April 2025 - 03:23 PM

UPDATE: After running the software for a bit, I started to run into core dump issues - it may have been due to running accidentally a previous version. I discovered that there are three folders in /home/stellarmate/.local/share called siril, siril-scripts, and siril-spcc-database. Deleting these folders resulted in 1.4 running as normal. 

 

UPDATE2: Actually deleting the siril folder alone fixes the core dumps


Edited by gordtulloch, 27 April 2025 - 04:57 PM.


#9 genericnj

genericnj

    Vostok 1

  • *****
  • Posts: 155
  • Joined: 21 Mar 2019

Posted 27 April 2025 - 05:15 PM

Im on fedora and like you said the flatpack still links to 1.2.6 and i just don't have the time to compile and deal with compiling issues so i guess ill have to wait some more, but saw a couple vids showing cool new features....



#10 lock042

lock042

    Siril astronomical image processing software

  • -----
  • Vendors
  • Posts: 586
  • Joined: 03 Nov 2015

Posted 28 April 2025 - 09:03 AM

Flatpak has been updated.


  • matt_astro_tx likes this

#11 matt_astro_tx

matt_astro_tx

    Cosmos

  • *****
  • Posts: 8,469
  • Joined: 19 Jan 2021
  • Loc: Dallas, Texas

Posted 28 April 2025 - 11:45 PM

Love that you've added SPCC.  For those of us using the L-Extreme and L-Ultimate filters... are there any plans to add them to the filter menu?  What should we do in the meantime?



#12 gordtulloch

gordtulloch

    Surveyor 1

  • *****
  • topic starter
  • Posts: 1,888
  • Joined: 10 Feb 2005
  • Loc: Winnipeg Canada

Posted 28 April 2025 - 11:45 PM

Flatpak has been updated.

Cool thanks!



#13 lock042

lock042

    Siril astronomical image processing software

  • -----
  • Vendors
  • Posts: 586
  • Joined: 03 Nov 2015

Posted 29 April 2025 - 12:15 AM

Love that you've added SPCC.  For those of us using the L-Extreme and L-Ultimate filters... are there any plans to add them to the filter menu?  What should we do in the meantime?

Are these narrowband filters? If so, we won't add them. There is a narrow-band filter option.



#14 matt_astro_tx

matt_astro_tx

    Cosmos

  • *****
  • Posts: 8,469
  • Joined: 19 Jan 2021
  • Loc: Dallas, Texas

Posted 29 April 2025 - 04:03 AM

Are these narrowband filters? If so, we won't add them. There is a narrow-band filter option.

They're duo-band filters for OSC cameras.  Narrowband, in a sense, yes.  But specifically made for OSC.



#15 lock042

lock042

    Siril astronomical image processing software

  • -----
  • Vendors
  • Posts: 586
  • Joined: 03 Nov 2015

Posted 29 April 2025 - 04:35 AM

They're duo-band filters for OSC cameras.  Narrowband, in a sense, yes.  But specifically made for OSC.

Yes but narrow. So you need to use the narrowband feature.


  • matt_astro_tx likes this

#16 Cropduster32

Cropduster32

    Lift Off

  • -----
  • Posts: 7
  • Joined: 12 Apr 2023

Posted 02 May 2025 - 11:21 AM

My apologies for being a numpty gordtulloch but how does "wget https://free-astro.o...0-beta1.tar.bz2" fit itnto your post of the 25/Apr? I've got the tar file but I'm far too new at this this sort of thing. Great instructions for the rest of it though: the first time a series like that worked for me!



#17 nou

nou

    Ranger 4

  • -----
  • Posts: 392
  • Joined: 28 Apr 2022

Posted 02 May 2025 - 12:43 PM

wget is to download sources from url. if you download it by other means then you don't run it.



#18 Cropduster32

Cropduster32

    Lift Off

  • -----
  • Posts: 7
  • Joined: 12 Apr 2023

Posted 03 May 2025 - 05:10 AM

wget is to download sources from url. if you download it by other means then you don't run it.

Not very help I'm afraid. I need to know how to compile the unwrapped tar file



#19 mdrileynyc

mdrileynyc

    Explorer 1

  • -----
  • Posts: 69
  • Joined: 14 Sep 2023
  • Loc: New York, NY

Posted 03 May 2025 - 02:56 PM

For the lazy among us, when does the ppa:lock042/siril repository get updated? Only when it moves out of beta?

#20 Cropduster32

Cropduster32

    Lift Off

  • -----
  • Posts: 7
  • Joined: 12 Apr 2023

Posted 03 May 2025 - 03:41 PM

ok, with a bit of help I've sorted the compilation. All seems to work perfectly with StarNet++ and Graxpert installed too.



#21 jkelly

jkelly

    Ranger 4

  • *****
  • Posts: 391
  • Joined: 06 Jun 2009
  • Loc: New Jersey

Posted 04 May 2025 - 03:27 PM

Some of these commands will help you update flatpak siril next time:

 

flatpak remote-info --log flathub org.siril.Siril

sudo flatpak update

flatpak list

flatpak run org.siril.Siril



#22 gordtulloch

gordtulloch

    Surveyor 1

  • *****
  • topic starter
  • Posts: 1,888
  • Joined: 10 Feb 2005
  • Loc: Winnipeg Canada

Posted 06 May 2025 - 09:05 AM

My apologies for being a numpty gordtulloch but how does "wget https://free-astro.o...0-beta1.tar.bz2" fit itnto your post of the 25/Apr? I've got the tar file but I'm far too new at this this sort of thing. Great instructions for the rest of it though: the first time a series like that worked for me!

For future reference a file with the extension tar.bz2 is a different flavour of zip file commonly seen on Linux. To unzip the file you use the tar command (ancient UNIX command "tape archive") to extract it:

 

$ tar xvf  wget https://free-astro.o...0-beta1.tar.bz2

 

The result will probably be a folder with the siril source in it. Sorry I missed that line!


Edited by gordtulloch, 06 May 2025 - 09:08 AM.



CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.


Recent Topics






Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics