[Solved] Xubuntu 11.10 - Am I missing something

Linux specific forum
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

[Solved] Xubuntu 11.10 - Am I missing something

Post by Perkin »

I'm just trying out Xubuntu 11.10, trying too get some codes working.

If I try and use a ScintillaGadget, I'm getting a linker error and a window with a long list of undefined references.

Also with some other code, the Webgadget isn't appearing at all, and if trying to use internal debugger, - error 'Cannot execute the file with the internal debugger. Please try the standalone one.' But if I try the standalone, 'Cannot exeute file '......./purebasic_compilation0.out'. If i compile to executable, does compile, but executable is missing Webgadget

Am I missing any packages/dependencies?

Same code worked reasonably well on xubuntu 10.04 (apart from italics/emphasised text not showing in WebGadget - which is why I'n now trying newer xubuntu)

Edit: solved
Last edited by Perkin on Sat Nov 05, 2011 12:14 pm, edited 1 time in total.
%101010 = $2A = 42
Ramihyn_
Enthusiast
Enthusiast
Posts: 314
Joined: Fri Feb 24, 2006 9:40 am

Re: Xubuntu 11.10 - Am I missing something

Post by Ramihyn_ »

Perkin wrote:I'm just trying out Xubuntu 11.10, trying too get some codes working.

If I try and use a ScintillaGadget, I'm getting a linker error and a window with a long list of undefined references.

Also with some other code, the Webgadget isn't appearing at all, and if trying to use internal debugger, - error 'Cannot execute the file with the internal debugger. Please try the standalone one.' But if I try the standalone, 'Cannot exeute file '......./purebasic_compilation0.out'. If i compile to executable, does compile, but executable is missing Webgadget

Am I missing any packages/dependencies?

Same code worked reasonably well on xubuntu 10.04 (apart from italics/emphasised text not showing in WebGadget - which is why I'n now trying newer xubuntu)
Which PureBasic Version are you trying to use?

Did you run the "checkinstall.sh" script? Beside the bug with the fixed path for one test, the script should work. (Bug reported here: http://www.purebasic.fr/english/viewtop ... 23&t=47237)

Have you checked http://www.purebasic.fr/english/viewtop ... 15&t=47364 ?

The webgadget is a problem for both 4.51 and 4.60. For 4.60 it is (again) a fixed path problem which can be resolved by setting a symbolic link like:

Code: Select all

sudo ln -s /usr/lib64/libwebkitgtk-1.0.so /usr/lib64/libwebkit-1.0.so
You need to adapt that to a 32-bit version, but you didnt write if you use 32 or 64-bit Xubuntu :)
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Re: Xubuntu 11.10 - Am I missing something

Post by Perkin »

Thanks.

I'm trying to get PB4.6rc2(32bit) working on Xubuntu 11.10 (32bit)
(had it working pretty well on xubuntu 10.04, but 'cause of problem with WebGadget not displaying italics/emphasised text - now trying 11.10)

I've ran the checkinstall.sh and it said libstdc++ was missing, so ...

Code: Select all

sudo ln -s /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14 /usr/lib/libstdc++.so.6
as given in post http://www.purebasic.fr/english/viewtop ... 67#p359167

Run the checkinstall.sh and it says
Everything seems correctly setup for PureBasic
I'd also tried linking to the 'libwebkitgtk-1.0.so' as you gave, but still have no WebGadget, and trying with debugger still gives me same errors.

Even with the checkinstall OK, I'm still getting the long list of linker errors if I try a ScintillaGadget.

Had also seen other topic you linked to, but still get no joy.

I'm fairly green when it comes to Linux, tried a few times in past, but am now giving it a proper go and am trying to update some of my code so it's cross-platform, already changed one project I had so instead of EditorGadget (which is a lot more difficult in linux - colour/styling etc) I'd converted it to ScintillaGadget - which was working really well in 10.04, but had WebGadget problem so now on 11.10

EDIT:
If I copy the lines of my sample webgadget code from it's existing file into a new file, and try to compile & run, I no longer get the debugger error, but webgadget still doesn't display.
%101010 = $2A = 42
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Re: Xubuntu 11.10 - Am I missing something

Post by Perkin »

Now trying it (PB4.6rc2-32bit) on Xubuntu 11.04 32bit (as idle has webgadget working on it)

Installed, updated etc., install packages for PB, ran checkinstall.sh, and 'Everything ok'

ScintillaGadget now working again, no linker errors and appears fine.

I still can't open a WebGadget, returns 0 when trying.

I've checked the existence and linked to

Code: Select all

sudo ln -s /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14 /usr/lib/libstdc++.so.6
Still no joy on WebGadget, any other suggestions or help?
%101010 = $2A = 42
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

[Solved] Xubuntu 11.10 - Am I missing something

Post by Perkin »

YEAH! It's working. :D <dances jig> :D

I went through everything again. Checked for existence and linked to

Code: Select all

ln -s /usr/lib/libwebkitgtk-1.0.so.0.6.0 /usr/lib/libwebkit-1.0.so
I think I must have been momentarily confused, I don't think I'd done the link - or done the stdc++ one twice.

Thanks to
Ramihyn_, idle and Shardik
%101010 = $2A = 42
Post Reply