Ecere SDK/eC Forums
https://ec-lang.org/community/
Print view

Build & Install SDK in RedHat / Fedora / CentOS
https://ec-lang.org/community/viewtopic.php?f=2&t=91
Page 1 of 1
Author:  redj [ Mon Aug 23, 2010 2:33 pm ]
Post subject:  Build & Install SDK in RedHat / Fedora / CentOS

Hey all,

So I'm writing this after my first configuration run so it might have some mistakes in it. I also have very little experience with Fedora / RedHat / CentOS so just bear with me if this is not 100%.

Just the commands:

Code: Select all

su -c 'yum groupinstall "Development Tools"'
su -c 'yum install zlibrary-devel libpng-devel giflib-devel libjpeg-devel ncurses-devel freetype-devel fontconfig-devel libX11-devel libXrender-devel libXext-devel mesa-libGLw-devel upx'
curl -O http://ecere.com/ecere-sdk-0.44pre1.tar.bz2
su -c 'yum install wget'
wget http://ecere.com/ecere-sdk-0.44pre1.tar.bz2
tar -xf ecere-sdk-0.44pre1.tar.bz2
cd ecere-sdk-0.44pre1
make
su -c 'make install'
ide
documentor
Ok, now some step by step.

1. First, you'll need a machine with development tools installed. If you don't have development tools installed or are unsure, run the following command.

Code: Select all

su -c 'yum groupinstall "Development Tools"'
2. Ecere SDK has a few dependencies. It's time to make sure they are all present by running this command.

Code: Select all

su -c 'yum install zlibrary-devel libpng-devel giflib-devel libjpeg-devel ncurses-devel freetype-devel fontconfig-devel libX11-devel libXrender-devel libXext-devel mesa-libGLw-devel upx'
3. You'll have to get the source code for Ecere SDK and extract it somewhere. Choose the way that works for you.

a. Download via a web browser. Goto http://ecere.com and click on the big download button.
b. Use curl with the following command. (I've experienced some difficulties with this method so try the next method maybe. Hint: The file you download should be 12MB or so.)

Code: Select all

curl -O http://ecere.com/ecere-sdk-0.44pre1.tar.bz2
c. Use wget, here's the command. But first you might need to install it.

Code: Select all

su -c 'yum install wget'
wget http://ecere.com/ecere-sdk-0.44pre1.tar.bz2
3. (continued) ...use this command to extract.

Code: Select all

tar -xf ecere-sdk-0.44pre1.tar.bz2
4. This source needs compiling. Follow the yellow command road.

Code: Select all

cd ecere-sdk-0.44pre1
make
5. Install me please.

Code: Select all

su -c 'make install'
Ok so that's it, you've got Ecere SDK installed and should be able to compile the samples included in the tarball.

Enjoy.

-redj

PS: This has been tested in Fedora 13. Feedback for all platforms is welcome.
All times are UTC-05:00 Page 1 of 1