Page 1 of 1

Ecere on Linux Mint 14

PostPosted: Thu Mar 14, 2013 11:22 am
by nickdobrinich
I am having some trouble understanding Ecere running on 64 bit hardware with 64 bit Linuxes.
For instance, on a 64 bit machine running 32 bit Linux Mint 14 Mate, I can get the Ecere SDK from the Mint repo and it compiles and runs perfectly. The TTF fonts were already included.

With the same machine running 64 bit Mint, Ecere is not available.
When I d/l the latest git repo, I cannot get it to compile due to various missing libs which I can detail if necessary.
Am I misunderstanding the procedure to get this working?
I think this might be helpful as other users migrate to 64 bit machines.

Re: Ecere on Linux Mint 14

PostPosted: Thu Mar 14, 2013 11:41 am
by jerome
Hi nick,

I'm a bit confused here.

" I can get the Ecere SDK from the Mint repo and it compiles and runs perfectly."

Do you mean the 'Ecere' git repo?

"With the same machine running 64 bit Mint, Ecere is not available."

Do you mean from the Mint apt-get repo?

At the moment, Ubuntu Quantal and the derivative Mint 14 have broken 64 bit Ecere packages.

I released a Stable Release Update fix for this, hoping it would get pulled in Quantal and then Mint as soon as possible. Unfortunately, the Ubuntu team is quite busy right now with the upcoming Raring release so my fix hasn't been integrated yet.

Please see https://bugs.launchpad.net/ubuntu/+sour ... ug/1107774 and click "This bug affects me" to raise the heat on this bug.

However that fix still compiles Ecere as 32 bit, not 64 bit.
I released the true 64 bit support on last Sunday, so that is only available from source, and hopefully in the packages from the upcoming Ubuntu Raring / Mint 15.

Hope this clears things up.

Regards,

Jerome

Re: Ecere on Linux Mint 14

PostPosted: Thu Mar 14, 2013 7:28 pm
by nickdobrinich
> " I can get the Ecere SDK from the Mint repo and it compiles and runs perfectly."
> Do you mean the 'Ecere' git repo?

No, I got this from Mint's 32 bit software manager.
Sorry, I don't remember which version, 0.44.01 I think.


> "With the same machine running 64 bit Mint, Ecere is not available."
> Do you mean from the Mint apt-get repo?

Yes, the 64 bit Mint repo has Ecere listed as an available pkg but it fails to d/l
So I tried the github version on my own and was unsuccessful at compiling.
But my 64 bit skill set is limited.

Re: Ecere on Linux Mint 14

PostPosted: Thu Mar 14, 2013 8:40 pm
by jerome
Hi nick,

Yes, the ecere-sdk package works ok in 32 bit, but it's still broken in 64 bit.

You should be able to install it from the source, but you're going to need the dependencies libraries.

If you tell me the errors you're getting I can try to help you with the build, but basically you need to install all the packages:

sudo apt-get install build-essential zlib1g-dev libpng12-dev libjpeg62-dev libncurses5-dev libfreetype6-dev libfontconfig1-dev libx11-dev libxrender-dev libgl1-mesa-dev libxext-dev upx-ucl libsqlite3-dev libffi-dev

Check out this page for reference:

http://ecere.com/wiki/index.php?title=M ... .2F_Ubuntu

Regards,

Jerome

[SOLVED] Ecere on 64 bit Linux Mint 14.1 Mate

PostPosted: Fri Mar 15, 2013 1:29 am
by nickdobrinich
Yep, I used your sudo apt-get above and got my dependency ducks in a row.
I stood no chance without that.
I got a clean compile of Ecere on 64 bit Linux Mint 14.1 Mate on an AMD64.
So not only are you cross platform, you are cross processor.

The Ecere SDK came from the GitHub source.
Compile time about 12 minutes on a low spec machine.
UPX compressed ear from 1.4M to 538K.
Needs sudo make install as the final step.

And one further note:
Yesterday I debuted my first work app, deved on Linux, run on Windows XP.
Compiled, ran, not a hiccup (after fixing my data paths).
Mythical man-month time: about 1 man-month.
But I was learning as I rolled along the road you paved.
MB