WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to compile a package in TinyCoreLinux  (Read 1716 times)

Offline nassausky

  • WikiUser
  • *
  • Posts: 28
How to compile a package in TinyCoreLinux
« on: October 10, 2013, 11:36:06 AM »
Hi everyone...

I haven't compiled something on a command line in a few years and now I'm ready to do it again in tc.  I have the sane-backends-1.0.24.tar.gz sources and am ready to go.   The readme file in the sources says for linux it's generally:

$ ./configure
$ make
$ make install

Is this the case for tc and what is the minimum package(s) [if any] that I will need to get something generally compiled.

Thanks..

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1703
Re: How to compile a package in TinyCoreLinux
« Reply #1 on: October 10, 2013, 11:47:30 AM »
compiletc.tcz

And if you want to create extensions:
http://wiki.tinycorelinux.net/wiki:creating_extensions
« Last Edit: October 10, 2013, 11:49:44 AM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline nassausky

  • WikiUser
  • *
  • Posts: 28
Re: How to compile a package in TinyCoreLinux
« Reply #2 on: October 10, 2013, 12:26:32 PM »
That package is huge.  It had so many dependencies. I hope I can get rid of it easily when I'm done but right now I just ran the ./configure and it's warning me that sane-backends will be built without libusb support. It mentions that I might need libusb-dev or similar.


Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to compile a package in TinyCoreLinux
« Reply #3 on: October 10, 2013, 12:50:53 PM »
Add compiletc to ondemand.
It doesn't actually take up much space since everything is loop mounted.
It does take a while to load, so you probably do not want it 'onboot'.

Offline jls

  • Hero Member
  • *****
  • Posts: 2133
Re: How to compile a package in TinyCoreLinux
« Reply #4 on: October 10, 2013, 12:53:50 PM »
dCore user

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1703
Re: How to compile a package in TinyCoreLinux
« Reply #5 on: October 10, 2013, 04:38:24 PM »
Quote
[...] It mentions that I might need libusb-dev or similar.
You might be able to find needed additional packages via appsbrowser but you might want to make sure it won't get donloaded AND set OnBoot. Instead, select Download + Load at the lower left.

In case you don't know which package you have to load in order to compile with support of a certain feature, but you get a more detailed message about which file has failed to be found, you might be able to find it via appsbrowser by selecting Provide at the upper left and write that file name in the search field.
Download a copy and keep it handy: Core book ;)