WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: compiling an application from sources  (Read 2104 times)

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
compiling an application from sources
« on: October 29, 2018, 09:50:25 AM »
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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: compiling an application from sources
« Reply #1 on: October 29, 2018, 10:32:01 AM »
You need to make an extension - see the extension section of the wiki.

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: compiling an application from sources
« Reply #2 on: November 01, 2018, 06: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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: compiling an application from sources
« Reply #3 on: November 01, 2018, 06:37:14 AM »
Yes  :)

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: compiling an application from sources
« Reply #4 on: November 01, 2018, 07: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