Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: alexo on October 29, 2018, 12:50:25 PM

Title: compiling an application from sources
Post by: alexo on October 29, 2018, 12:50:25 PM
Hello everyone.
last week-end I compiled successfully from sources the transmission torrent program to have the latest available version with the GUI component. The process followed the typical linux installation process, namely

Code: [Select]
./configure
make
sudo make install

All went well; it was perfectly working, but after the reboot there was no trace of the newly installed program.
I had to retype the sudo install command from inside the folder with the sources to make it available again.
Moreover I was not able to make an ondemand menu voice to start transmission. 

What procedure is to follow if I have the need to compile something from sources?

thank you very much
Title: Re: compiling an application from sources
Post by: Juanito on October 29, 2018, 01:32:01 PM
You need to make an extension - see the extension section of the wiki.
Title: Re: compiling an application from sources
Post by: alexo on November 01, 2018, 09:13:17 AM
Hi Juanito,
I've downloaded the new xfe package from the author's web page and I've built the extension as described in the tinycore book chapter 15.
Finally I gave the command tce-load -i xfe.tcz [xfe.tcz is the name I gave to the extension] and the extension got loaded. After reboot all is lost somehow and I hade to give the tce-load command again.
How can I add my new extension on the ondemand list to start it without loading it at boot time?
the book says I have to add the extension entry in /etc/sysconfig/onboot.lst. Is this the only way the user-created extension gets visible after reboot?

thank you
Title: Re: compiling an application from sources
Post by: Juanito on November 01, 2018, 09:37:14 AM
Yes  :)
Title: Re: compiling an application from sources
Post by: alexo on November 01, 2018, 10:44:17 AM
I forgot to move the extension to the /etc/sysconfig/tcedir/optional directory so apps Audit didn't find it.
With my xfe.tcz therein I was able to add it on the ondemand  list.

Thank you