SliTaz SliTaz Forum

You are not logged in.

#1 2011-04-07 15:26:28

cjtron
Member
Registered: 2011-04-07
Posts: 3

Installing using source code

Hi all ! smile Ill be brief with this as i am at work.

   I got an issues with slitaz; trying to install from source code epiphany browser !

Can anyone walk me through the steps how ?  like 1-6 steps ?   as simple as possible please,im still learning the linux as I migrated from MS os !

  Would be much appreciated becouse I tried following this quide ->

Slitaz uses packages with the extension .tazpkg. If the software you want isn't available download the source code then

    Click on the XTerm icon at the top of the screen.

    Type tazwok cook and the name of the software you want to compile (may take a while).

But I get an error of this kind -->  unable to find the receipt for xxxxx

like I said,,,   could anyone please throw a short quide in simple 1. 2. 3. ext steps  how you install   Epiphany web browser from the source code

(((( all i managed to do is untar it but cant seem to do anything with it, im stuck !!))))

Thank you !

Offline

#2 2011-04-07 18:46:40

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Installing using source code

It's not that simple... You see, Epiphany is a GNOME application and as such integrates quite stubbornly into it. It always requires several applications and libraries which SliTaz Stable (and even SliTaz cooking) doesn't have. I even tried converting it over into tazpkg's and after an hour's work, I just decided against it.

The point is, you could probably get Epiphany to work, but it will require installing half of GNOME to do it (give or take 500MB). Since that's not a viable option, maybe try a different browser that offer similar functionality as Epiphany like seamonkey, which is in the repository.

Offline

#3 2011-04-07 19:09:46

cjtron
Member
Registered: 2011-04-07
Posts: 3

Re: Installing using source code

Hi there, Trixar.Thanks for the try. I knew I was onto something stubborn and hard to install. Thanks for the try.I aswell took hour and had to write this post in the first place !

I still do got problems installing anything (I meant compiling) anything from source code...

I get error about c compiler not found and I tried to search for gcc but seems it is stabborn as well to install ...

If you guys got any suggestion, let me know or a guide on HOW-TO install anything using source code on slitaz...  as I always get errors  like

unable to find receipt...

Thanks all and Trixar for trying!

Take care.

Offline

#4 2011-04-07 21:12:09

claudinei
Administrator
Registered: 2011-03-29
Posts: 102

Re: Installing using source code

Hi @cjtron,

First thing you need is installing the tools for compiling packages:

# tazpkg get-install slitaz-toolchain

It will provide you gcc, make, etc.

SliTaz have an automated tool to "cook" (build) packages, tazwok. Please read the documentation to see how it works:

http://hg.slitaz.org/tazwok/raw-file/tip/doc/tazwok.en.html

http://doc.slitaz.org/en:cookbook:start

http://doc.slitaz.org/en:guides:tazwoktips

Then, you can clone the repos to browse the "receipts" (description files for compiling). You need to install mercurial:

# tazpkg get-install mercurial

So, clone the repo:

$ hg clone http://hg.slitaz.org/wok

You can modify receipts to your needs or create new ones for packages you need.

Offline

#5 2011-04-07 21:19:12

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Installing using source code

To compile, you need to know a few things. First off you need to two packages, slitaz-toolchain and slitaz-dev-pkgs, which should install all the compiler and some of dev files you may need. The next part is kind of tricky and normally goes something like this:

1. Download program and untar it.

2. Go to the untar'ed folder and read the INSTALL and README files and look for any build or compile requirements. If they're listed, install them and their -dev package (for example the package glibc has with -dev package called glibc-dev - you need both for compiling to work). Sometimes you will already have the main package installed, but no it's -dev package. In that case use tazpkg to install it.

3. Open a terminal and cd to the untar'ed folder.

4. Try using ./configure --prefix=/usr and note any errors it might give you. This might give you a hint of which package (and it's -dev package) you may need to install. If it gets to the end without any errors, then move on to the next step.

5. Type make and press enter/return. See if it gives any errors. Like the above it might give you a hint of what package and/or it's dev package you need to install. If it gets to the end without any errors, move on to the next step.

6. Type su and press enter/return. Enter your root password (default is root) and press enter/return.

7. Now type make install

If everything went as planned, then you should now have a working copy of the compiled program.

Offline

#6 2011-04-15 10:56:01

Eddie
Member
Registered: 2011-04-15
Posts: 5

Re: Installing using source code

Hi to the SliTaz World

I am a newby when it comes to linux OS

I am currently running SliTaz, am quite impressed as it is small yet quick specaily on this old pc.

the problem i am finding is how do i install downloaded programmes i.e. mozilla thunderbird, open office ect

if anyone could help please (an idiots guide would be good as i am very new to linux)

cheers

Ed

Offline

#7 2011-10-15 19:51:32

mentalpigeon
Member
Registered: 2011-10-15
Posts: 12

Re: Installing using source code

I have attempted to install two different apps from source (imageshack uploader and last.fm scrobbler) and both require Qt 4.3. I don't even know where Qt is or how to check its version. Any help?

EDIT:

Found the right package. Nevermind.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]