Page 1 of 1

PB 4.20 Beta1 - Archlinux 64Bit - No text shown in IDE

Posted: Fri Feb 08, 2008 1:23 am
by hardfalcon
Hi, I've just installed Linux Beta 1 on my brand new x64 machine. The IDE fired up smoothly, but it refuses to show any readable text on its gadgets, showing only the well known rectangles you get when a character isn't included/defined in the font you a using. Even worse: I can't enter any code into the scintilla gadget, although the caret is flashing, it doesn't move a single pixel when I try to enter some letters. I've already tried converting the catalog file to UTF 8 and UTF16, same thing. The IDE doesn't give any error messages on the console, just this funny (but well readable) text:

Code: Select all

theretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretheretherethere
The compiler behaves just like it should as well, and gives no errors but just its well readable output on the console.

The used distro is Archlinux 64bit with all available updates (all official repos, even testing, are enabled).

Any ideas?

Posted: Sat Feb 09, 2008 9:13 am
by Pinhead
Must be a problem with 64bit. It works with 32bit Archlinux.

Posted: Sat Feb 09, 2008 8:14 pm
by hardfalcon
I know it works with Archlinux 32bit, I was using 32Bit Arch on my previous machine. :wink:
Would be a pity if I could only use the bare compiler without the IDE and all its useful features on Linux... :(

On WinXP x64 Edition, PureBasic (Windows Version of course ^^) is running absolutely flawlessly...

Posted: Mon Feb 18, 2008 5:36 pm
by hardfalcon
Problem solved:
(Got the solution from this thread: http://bbs.archlinux.org/viewtopic.php?pid=298654 )

You have to set 2 environment variables:

Code: Select all

export PANGO_RC_FILE="/opt/lib32/config/pango/pangorc"
export GCONV_PATH=/opt/lib32/usr/lib/gconv
The first lne requires the package lib32-pango to be installed, the second one requires lib32-glibc, both packages are available as precompiled binaries from the official "community" repository.

//EDIT: Corrected the first environment variable (PANGO_RC_FILE).

//EDIT2: Do *NOT* set these variables profile wide or system wide, otherwise certain applications (like Firefox) will not work anymore!