Ecere SDK/eC Forums
https://ecere.org/community/
Print view

debian derivative ecere install script
https://ecere.org/community/viewtopic.php?f=11&t=453
Page 1 of 1
Author:  amigojapan [ Sat Jul 30, 2022 5:07 am ]
Post subject:  debian derivative ecere install script

I made the following ecere install script that shoudl work for debian derivatives , specifically my machine is linux mint cinnamon...

Code: Select all

#!/bin/bash
apt install -y debhelper dh-exec dpkg-dev libasound2-dev libffi-dev libfontconfig1-dev libfreetype6-dev libgif-dev libgl1-mesa-dev libgl1-mesa-glx libjpeg-dev libncurses5-dev libpng-dev libsqlite3-dev libx11-dev libxext-dev libxrender-dev linux-libc-dev upx-ucl zlib1g-dev
apt install -y fonts-freefont-ttf libasound2-dev  libffi-dev libfontconfig1-dev libfreetype6-dev libgif-dev libgl1-mesa-dev libjpeg-dev libncurses5-dev libpng-dev libsqlite3-dev libx11-dev libxext-dev libxrender-dev linux-libc-dev libecc0 libecerecom0
apt install -y libcurl4-openssl-dev
apt install -y libssl-dev
apt install -y fonts-inconsolata
apt install -y ttf-bitstream-vera
make -j12
sudo make install

[ ! -f /usr/share/fonts/truetype/msttcorefonts/tahoma.ttf -o ! -f /usr/share/fonts/truetype/msttcorefonts/tahomabd.ttf ] &&
wget https://sourceforge.net/projects/corefonts/files/OldFiles/IELPKTH.CAB &&
cabextract -F 'tahoma*ttf' IELPKTH.CAB &&
mkdir -p /usr/share/fonts/truetype/msttcorefonts/ &&
mv -f tahoma*ttf /usr/share/fonts/truetype/msttcorefonts/ &&
chmod 644 /usr/share/fonts/truetype/msttcorefonts/tahoma* &&
fc-cache -v &&
rm -f IELPKTH.CAB &&
echo "Installed Tahoma"
echo "mint install of ecere complete!"
just save this in a file make it chmod +x filename put it in the directory where you unpacked ecere, then run it, ecere should be automatically installed
Author:  jerome [ Sat Jul 30, 2022 6:29 am ]
Post subject:  Re: debian derivative ecere install script

@amigojapan Please remove the:

> libecc0 libecerecom0

Since those are Ecere packages from the Ubuntu repository and you are building them and installing them from source here in this case, so they will be overwritten anyways and this will result in modified installed packages.
Author:  amigojapan [ Wed Aug 24, 2022 2:51 am ]
Post subject:  Re: debian derivative ecere install script

I see
All times are UTC-05:00 Page 1 of 1