LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-02-2014, 01:13 PM   #1
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,237

Rep: Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653
How do you compile things in Slitaz?


Good morning,. i just started using Slitaz instead of Arch,. its a bit of a culture shock but I like the KISS attitude and the fact that they keep things small.

My problem arises from the use of busybox. There are quite a few things that I do that require me to use the GNU versions of grep and sed. So I grabbed the source and started to compile it. But it seems that Slitaz uses its own custom GCC compiler.

How do I go about getting a usable GNU/Llinux compatible build environment on Slitaz? Has anyone done this? OR what is the easiest way on Slitaz to replace busybox with its actual real-world counterparts?

Thank you.
 
Old 08-03-2014, 12:24 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,465

Rep: Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606
" go back to basics"
building code 101

first you really do not YET want to use gcc4.9
stick with 4.7 or 4.8

then some source code also needs OLDER versions so gcc 4.1 and 3.4 are nice to have installed

then make sure that "auto tools" are installed
( auto configure, automake , package configure ,...)
the m4 macros are a pain in the "bleep" sometimes
so use the tools FOR your distro

then check if things are working using any of the hundreds of "hello world" c,c++ tutorials

then

for the program you need to build
read the README and INSTALL and any guides on the program's website

if you are using gnome or GTK based desktop ( or even if you are not and using KDE)
then building and installing "The Gimp" and if needed the prerequisites
is a good check for everything being set up
and to learn HOW to build from source
-- there are a TON of guides help forums and just plain help for the Gimp

Last edited by John VV; 08-03-2014 at 12:26 AM.
 
  


Reply

Tags
slitaz gcc sed grep


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird things with gd and yum mysql on php compile 64 bit cent os 5 centosfan Linux - Server 2 09-16-2009 03:26 PM
Why do many things fail to compile on FC5? Zaventh Fedora 2 04-02-2006 11:29 AM
cant compile things! please help! dontbscaredofcrows Linux - Software 3 09-10-2005 06:59 AM
Special things needed to compile a program? thw Linux - Newbie 4 03-27-2004 04:43 PM
why cant i compile things? Ogledbyoldmen Linux - Software 8 11-15-2003 07:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration