Page 1 of 2
Lost in Linux ( PB runnining ONLY in console Ubuntu 6.10)
Posted: Thu Dec 07, 2006 5:04 am
by chen
Hi,
today was my first day in Linux Ubuntu 6.10
In installed it, run it and I like it... for me is going back to Unix..
ok, I installed purebasic and failed miserably... all day trying an nothing
I read all the post here about problems with Ubuntu, I modified everything
I could...
but nothing!.....
Could some one give me a general hand how to install purebasic... a general
one....or send me to another post where I can read about this...
thanks a lot
Posted: Thu Dec 07, 2006 6:54 am
by WishMaster
We've already dicussed the problem with Ubuntu here:
http://www.purebasic.fr/english/viewtop ... 59&start=0
And by the way, I wouldn't recommend Ubuntu for a Linux beginner. Try OpenSUSE (
http://www.opensuse.org/) with KDE instead.
Posted: Thu Dec 07, 2006 3:21 pm
by chen
Thanks for your suggestion, but maybe 10 years ago I work with Unix (like
admin for 5 years), then I understand almost all the commands....
what I want to say... I go with ubuntu... in my second day I got the purebasic
ide appear and stay there.... it does not execute cause I have some
missing environment variables....
I receive this message:
Error: Linker
0 was not found in the pkg-config search path
Perhaps you should add the directory containing 'gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gthread-2.0 was not found in the pkg-config search path
Perhaps you should add the directory containing 'gthread-2.0'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
/usr/bin/ld: ctrl.o: No such file: No such File or Directory
collect2: ld returned 1 exit status
ok... hope Im not far away to get success on this...
thanks
Posted: Thu Dec 07, 2006 4:17 pm
by Num3
You have to install also:
- GTK2 Dev
- Lib SDL Dev
Posted: Sat Dec 09, 2006 7:54 am
by chen
Could you tell me where I can get the libraries?
sorry with shame and everything but I need to ask!
One error left..... ubuntu 6.10
help required
[COMPILER]Error: Linker
I applied the 2nd method of installation.. the first didnt work....
I moved 'pbcompiler' to /usr/bin
I moved 'purebasic' to /usr/share
I moved 'fasm' /usr/bin
Thanks in advance
Posted: Sun Dec 10, 2006 2:44 am
by oryaaaaa
uhm .....
are you edit ~/.bashrc ?
http://www.purebasic.fr/english/viewtopic.php?t=22531
$gedit ~/.bashrc
Dont move purebasic files. no problem points.
PureBasic Install tips (for jpn)
http://forum.oryaaaaa.com/viewtopic.php?t=138
and
GTK1.2-Dev, GTK2.0-Dev, SDL-Dev install
and
xorg.conf::
Section “Extensions”
Option “Composite” “Disable”
EndSection
and
I dont know, do you use ogre3d?
Posted: Sun Dec 10, 2006 6:26 am
by chen
- bashrc modified,
- xorg.conf modified
- I moved back purebasic to ~/App/purebasic
purebasic IDE open but the execution send me link error and messages
in all the gadgets cause is looking for 'GTK+-2.0.pc'
I suppose that installing GTK in your reply it must be run.. but..
I dont know where download from GTK1.2-Dev, GTK2.0-Dev, SDL-Dev and install
I went to ubuntu site and look for libraries in the new release ubuntu 6.10
but I couldnt find them.... maybe Im looking in a wrong place...
a tip here?
thanks for your time
by the way I can not see the jpg in the japanese site....forbidden for me
Posted: Sun Dec 10, 2006 7:42 am
by chen
Hi,
running!!!!
These are the step based in your help plus some work....
Code: Select all
- gedit ~/.bashrc
add at the end:
export PUREBASIC_HOME=~/purebasic
export PATH=$PUREBASIC_HOME/compilers:$PATH
- gedit /etc/X11/xorg.conf
add at the end:
Section "Extensions"
Option "Composite" "Disable"
EndSection
I went inside ubuntu to 'Synaptic package manager'
look in 'Libraries development' and install
- libgtk1.2-dev
- libgtk2.0-dev
- libsdl1.2-dev
I didnt required to recreate purebasic libraries cause they ere there...
THANKS A LOT

Posted: Sun Dec 10, 2006 8:01 am
by chen
Last thing?
The installation of ogre3d is inside Ubuntu or I need to go to another source...
anyway I go to sleep... here is 2 in the morning.....

Posted: Sun Dec 10, 2006 4:40 pm
by GeoTrail
chen wrote:Last thing?
The installation of ogre3d is inside Ubuntu or I need to go to another source...
anyway I go to sleep... here is 2 in the morning.....

2 in the morning is where the day begins for coders

Posted: Sun Dec 10, 2006 4:43 pm
by chen
GeoTrail wrote: in the morning is where the day begins for coders

that's true.... for a single guy or couple rejected one

Posted: Mon Dec 11, 2006 9:44 pm
by chen
I dont believe myself..... I can not execute my PB programs...
I check everything... make again all the procedure... nothing...
message I receive in any program I execute:
Code: Select all
PureBasic Error: Error Assembler
nd
Im going to review again everything....
update Dec 11, 10:21 PM
Im able to run program in mode console... but if I create an icon it opens
the IDE PB but it does not run the program... appear the previous message
I applied here all the steps in a previous posting....
it does not run either in 'File browser' ... something is missing .... until
now I dont know what it is....
thanks
Posted: Tue Dec 12, 2006 3:01 pm
by walker
try to install this deb package... it should install all needed packages to run PureBasic:
http://home.arcor.de/x-linux/pure/pbenv ... 0-i386.deb
Use gdebi (or gdebi-gtk) or dpkg -i ./pbenv-0.0.1-0-i386.deb to install... (you may have to change/add the path..)
the only file included in this package is a shell-script to start purebasic (assumed it resides in your home directory!)
simply type start_pb.sh in a console-window or (on gnome) use ALT+F2 to start this script
Posted: Wed Dec 13, 2006 6:22 am
by chen
walker wrote:try to install this deb package... it should install all needed packages to run PureBasic:
http://home.arcor.de/x-linux/pure/pbenv ... 0-i386.deb
Use gdebi (or gdebi-gtk) or dpkg -i ./pbenv-0.0.1-0-i386.deb to install... (you may have to change/add the path..)
the only file included in this package is a shell-script to start purebasic (assumed it resides in your home directory!)
simply type start_pb.sh in a console-window or (on gnome) use ALT+F2 to start this script
I installed it and tested it , it didn't make a difference....
With this package or the procedure I posted the result is the same...
- click on ~/purebasic/compilers/purebasic open IDE but programs dont run
- In console type purebasic anywhere: IDE opens and run any program
what I want...
put an icon on the desktop... click on it. it must open the IDe an run any program
but... it opens the IDE but when you click 'compile/run' send message:
'Error Assembler nd'
then like PB runs in console I assume that Im missing something.....
thanks for your help......
Posted: Wed Dec 13, 2006 12:04 pm
by walker
you'd copied purebasic, fasm to /usr/bin ?
please delete them...
what messages do you get when running start_pb.sh from a terminal? (after deleting the files in /usr/bin)