Page 1 of 1

PureBasic editor DIES on ubuntu 10.04

Posted: Tue Feb 22, 2011 3:51 pm
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.

Re: PureBasic editor DIES on ubuntu 10.04

Posted: Tue Feb 22, 2011 4:29 pm
by ts-soft
The example file is corrupted, use another file or save the gadget.pb and reload it.

Re: PureBasic editor DIES on ubuntu 10.04

Posted: Tue Feb 22, 2011 4:40 pm
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?

Re: PureBasic editor DIES on ubuntu 10.04

Posted: Tue Feb 22, 2011 5:07 pm
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 ;)

Re: PureBasic editor DIES on ubuntu 10.04

Posted: Tue Feb 22, 2011 8:29 pm
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.

Re: PureBasic editor DIES on ubuntu 10.04

Posted: Tue Feb 22, 2011 9:07 pm
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

Re: PureBasic editor DIES on ubuntu 10.04

Posted: Tue Feb 22, 2011 9:16 pm
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.

Re: PureBasic editor DIES on ubuntu 10.04

Posted: Wed Feb 23, 2011 12:57 am
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.

Re: PureBasic editor DIES on ubuntu 10.04

Posted: Wed Feb 23, 2011 12:59 am
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:

Re: PureBasic editor DIES on ubuntu 10.04

Posted: Wed Feb 23, 2011 1:11 am
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:

Re: PureBasic editor DIES on ubuntu 10.04

Posted: Wed Feb 23, 2011 1:16 am
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

Re: PureBasic editor DIES on ubuntu 10.04

Posted: Thu Feb 24, 2011 4:14 pm
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