PureBasic editor DIES on ubuntu 10.04

Linux specific forum
psavolai
New User
New User
Posts: 5
Joined: Tue Feb 22, 2011 3:35 pm

PureBasic editor DIES on ubuntu 10.04

Post by psavolai »

HI,
sorry to bother you guys,
but I was just about to press the "purchase"-button on your site when I decided to test one more thing ....
... and that thing was to run the Gadgets.pb example on Ubuntu 10.04.
(I've been previously testing the compiler on Mac and liked it very much)

So I installed the product (unzipped it), ran the chekcinstall.sh, installed the required library.

I was able to start the editor and open the Gadgets example , but when I tried to run it or compile it the editor just died on me.
It just vanished without saying anything....

Oh man.
I was sooo hoping that I've found "the tool" for my basic hobby.

I am a profesisonal Java architect, have been since 95, and I am totally bored with the "new cobol".
I would like to do some programming on my spare time and definitely will NOT do it with Java or any other C-derivative language.
Your Basic seemed like the perfect candidate ... up to the moment when the editor started dying on me.

please tell me that I am doing something wrong or that the commercial version is better or something ...

cheers,
petri.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PureBasic editor DIES on ubuntu 10.04

Post by ts-soft »

The example file is corrupted, use another file or save the gadget.pb and reload it.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
freak
PureBasic Team
PureBasic Team
Posts: 5948
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: PureBasic editor DIES on ubuntu 10.04

Post by freak »

Could you start the editor from a console (open a console, navigate to the compilers directory and type ./purebasic) and post the console output you get once the editor dies please?
quidquid Latine dictum sit altum videtur
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: PureBasic editor DIES on ubuntu 10.04

Post by LuCiFeR[SD] »

it because the install documentation is wrong in the case of the demo. you are assigning an incorrect path to where purebasic is stored

use the exports below to fix your problem

Code: Select all

export PUREBASIC_HOME=~/purebasic_demo
export PATH=$PUREBASIC_HOME/compilers:$PATH
either add it to .bashrc

or run it via the console

or rename the purebasic_demo folder to purebasic ;)
psavolai
New User
New User
Posts: 5
Joined: Tue Feb 22, 2011 3:35 pm

Re: PureBasic editor DIES on ubuntu 10.04

Post by psavolai »

Thank you all for replying so quickly.
The fact that you did respond makes me value this product and community a lot more.

Unfortunately the easy answers didn't cut it.
But I think that this will help you.
When running from console the console was filled with thousands of these lines:

.....
** (purebasic:12716): WARNING **: Invalid borders specified for theme pixmap:
/home/psa/.themes/Macbuntu-10.04/gtk-2.0/Others/focus-trans.png,
borders don't fit within the image

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed


And whatever I did caused a couple of hundred more lines like these.
And everytime when trying to compile the editor just died, no other messages than these ones.

hope this helps.

cheers,

petri.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PureBasic editor DIES on ubuntu 10.04

Post by ts-soft »

Download this: http://dl.dropbox.com/u/3086026/purebas ... alldeb.deb
and install it. It will solve all depedencies for PB and Ubuntu.

Greetings Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
psavolai
New User
New User
Posts: 5
Joined: Tue Feb 22, 2011 3:35 pm

Re: PureBasic editor DIES on ubuntu 10.04

Post by psavolai »

Answering myself ...
I read the errors more closely and understood that Macbuntu is interfering here.
(the icons were missing too, I should have noticed, but I thought that linux version was maybe more barebones or something ... silly me)

So I created myself another user without Macbuntu, went in and and got an error
which complained that the editor couldn't save the file before compilation.

So I sudoed the editor and Voila ... it worked perfectly.

Thank you all for reacting so quickly.
Next I'll be getting my credit card from my wallet and buying the product.

cheers,

petri.
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: PureBasic editor DIES on ubuntu 10.04

Post by LuCiFeR[SD] »

Check install doesn't seem to check for all required packages either, but for ubuntu 10.10, you can enter the following from the terminal

Code: Select all

sudo apt-get install libgtk2.0-dev libgnome2-dev libgnomeprintui2.2-dev libxine-dev libsdl1.2-dev libsdl-net1.2-dev libiodbc2-dev libxxf86vm-dev libfreeimage-dev
and that should add all required dependencies.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PureBasic editor DIES on ubuntu 10.04

Post by ts-soft »

LuCiFeR[SD] wrote:and that should add all required dependencies.
or simple use this: http://www.purebasic.fr/english/viewtop ... 12#p347412 :wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: PureBasic editor DIES on ubuntu 10.04

Post by LuCiFeR[SD] »

ts-soft wrote:
LuCiFeR[SD] wrote:and that should add all required dependencies.
or simple use this: http://www.purebasic.fr/english/viewtop ... 12#p347412 :wink:
haha fair comment and I even missed it above :P Sorry Thomas :oops:
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PureBasic editor DIES on ubuntu 10.04

Post by ts-soft »

No problem :D

here a shortdescription:
install all dependencies and
add mime-type text/purebasic (*.pb,*.pbi)
copy logo.png as purebasic.png to /usr/share/pixmaps
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
freepurebasic
Enthusiast
Enthusiast
Posts: 123
Joined: Fri Sep 24, 2010 12:02 pm
Location: world wide web

Re: PureBasic editor DIES on ubuntu 10.04

Post by freepurebasic »

on linux ubuntu 10.04 STABLE!!! ...

maybe you can install all these libraries and their dependencies from
System/Administration/Synaptic Package Manager

libgtk2.0-dev
libgnome2-dev
libgnomeprintui2.2-dev
libxine-dev
libsdl1.2-dev
libsdl-net1.2-dev
libiodbc2-dev
libxxf86vm-dev
libfreeimage-dev


unzip on Desktop purebasic... .tgz
then open terminal
go on Desktop .. something like this : cd Desktop/purebasic/
you must cmod 777 all things on compilers
eg
sudo chmod 777 pbcompiler
then apply on all


after this make sure you are on Desktop/purebasic/compilers
then run ./pbcompiler
this will run purebasic ide
see`ya
Post Reply