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

Linux specific forum
hardfalcon
User
User
Posts: 89
Joined: Fri Apr 29, 2005 3:03 pm
Location: Luxembourg
Contact:

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

Post 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?
"And God caused a deep sleep to fall upon Adam, and he slept: and he took one of his ribs, and closed up the flesh instead thereof; And the spare rib, which God had taken from man, made he a woman, and brought her unto the man"
Pinhead
User
User
Posts: 47
Joined: Fri Sep 09, 2005 11:24 pm

Post by Pinhead »

Must be a problem with 64bit. It works with 32bit Archlinux.
hardfalcon
User
User
Posts: 89
Joined: Fri Apr 29, 2005 3:03 pm
Location: Luxembourg
Contact:

Post 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...
"And God caused a deep sleep to fall upon Adam, and he slept: and he took one of his ribs, and closed up the flesh instead thereof; And the spare rib, which God had taken from man, made he a woman, and brought her unto the man"
hardfalcon
User
User
Posts: 89
Joined: Fri Apr 29, 2005 3:03 pm
Location: Luxembourg
Contact:

Post 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!
"And God caused a deep sleep to fall upon Adam, and he slept: and he took one of his ribs, and closed up the flesh instead thereof; And the spare rib, which God had taken from man, made he a woman, and brought her unto the man"
Post Reply