Purebasic on Xandros !
Purebasic on Xandros !
Hello
I have an Asus EeePC with Linux (Xandros), i would like to install Purebasic on this. How can i do it ?
Best regards
Thy
I have an Asus EeePC with Linux (Xandros), i would like to install Purebasic on this. How can i do it ?
Best regards
Thy
I do not know much about the EeePC... (and if it's a full featured Linux)
but ... I guess first you'll need access to the devel files needed by purebasic (GTK, SDL LibXine etc.) for the installed Linux as well as the c compiler and libraries... then you can download and install PB... (if this all will fit on the EeePC)
And the next thing is... what kind of cpu is installed? PB does only run on x86 cpu's (Linux)
but ... I guess first you'll need access to the devel files needed by purebasic (GTK, SDL LibXine etc.) for the installed Linux as well as the c compiler and libraries... then you can download and install PB... (if this all will fit on the EeePC)
And the next thing is... what kind of cpu is installed? PB does only run on x86 cpu's (Linux)
thanks! i will try to install all files needed by purebasicwalker wrote:I do not know much about the EeePC... (and if it's a full featured Linux)
but ... I guess first you'll need access to the devel files needed by purebasic (GTK, SDL LibXine etc.) for the installed Linux as well as the c compiler and libraries... then you can download and install PB... (if this all will fit on the EeePC)
And the next thing is... what kind of cpu is installed? PB does only run on x86 cpu's (Linux)
EEPC is a real X86 computer (http://en.wikipedia.org/wiki/ASUS_Eee_PC)
I'm a Linux Newbie it's not easy to install purebasic on Linux VS Windows.

Hello!
I also bought an Asus Eee pc before 7 days.
Yes, you guessed right! I'm a windows programmer (just came to PureBasic from VB) and i haven't any Linux experience at all
I searched for those libraries you suggested but the only packages i found are for Debian distribution. Are they the correct packages?
Beyond the libraries, are there any special settings, commands e.t.c. to set the environment?
Best regards.
Thanos
I also bought an Asus Eee pc before 7 days.
Yes, you guessed right! I'm a windows programmer (just came to PureBasic from VB) and i haven't any Linux experience at all

I searched for those libraries you suggested but the only packages i found are for Debian distribution. Are they the correct packages?
Beyond the libraries, are there any special settings, commands e.t.c. to set the environment?
Best regards.
Thanos
Last edited by thanos on Fri Apr 25, 2008 8:47 pm, edited 1 time in total.
» myPersonal Banker :: Because you do not need to have a master degree in economics in order to organize your finances!
hellothanos wrote:Hello!
I also bought an Asus Eee pc before 7 days.
Yes, you guessed right! I'm a windows programmer (just came to PureBasic from VB) and i haven't any Linux experience at all
I searched for those libraries you suggested but the only packages i found are for Debian distribution. Are they the correct packages?
Beyond the libraries, are there any special settings, commands e.t.c. to set the environment?
Best regards.
Thanos
you must add repositories
http://wiki.eeeuser.com/addingxandrosre ... positories
after you can download libs
sudo apt-get install gcc
sudo apt-get-install libgtk2.0-dev
sudo apt-get-install libsdl1.2-dev
and after download the linux purebasic archive put it in /home/user/
and read the install text file.
if you want to use sprite3D there is another libs to add but i'don't know the name...
Excuse me for my bad english and i hope help little you !
Hello, and thank you very much for your response!
I followed the instructions which you suggested to me, i added the following lines in the end of /etc/apt/sources.list:
deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-free
deb http://dccamirror.xandros.com/dccri/ dccri-3.0 main
deb http://www.geekconnection.org/ xandros4 main
deb http://download.tuxfamily.org/eeepcrepos/ p701 main etch
But when i gave the command:
sudo apt-get install gcc
i took the following message:
------------------------------------------
Reading package lists... Done
Building dependency tree... Done
Package gcc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
W: Couldn't stat source package list http://xnv4.xandros.com etch/main Packages (/var/lib/apt/lists/xnv4.xandros.com_xs2.0_upkg-srv2_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://xnv4.xandros.com etch/contrib Packages (/var/lib/apt/lists/xnv4.xandros.com_xs2.0_upkg-srv2_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://xnv4.xandros.com etch/non-free Packages (/var/lib/apt/lists/xnv4.xandros.com_xs2.0_upkg-srv2_dists_etch_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://dccamirror.xandros.com dccri-3.0/main Packages (/var/lib/apt/lists/dccamirror.xandros.com_dccri_dists_dccri-3.0_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://www.geekconnection.org xandros4/main Packages (/var/lib/apt/lists/www.geekconnection.org_dists_xandros4_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://download.tuxfamily.org p701/main Packages (/var/lib/apt/lists/download.tuxfamily.org_eeepcrepos_dists_p701_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://download.tuxfamily.org p701/etch Packages (/var/lib/apt/lists/download.tuxfamily.org_eeepcrepos_dists_p701_etch_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Package gcc has no installation candidate
Almost the same message i shaw when i tried to install the other two packages.
I tried to install them bot as user and root, but unfortunately i had the same results.
Do you have any idea what can i do?
Regards
Thanos
I followed the instructions which you suggested to me, i added the following lines in the end of /etc/apt/sources.list:
deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-free
deb http://dccamirror.xandros.com/dccri/ dccri-3.0 main
deb http://www.geekconnection.org/ xandros4 main
deb http://download.tuxfamily.org/eeepcrepos/ p701 main etch
But when i gave the command:
sudo apt-get install gcc
i took the following message:
------------------------------------------
Reading package lists... Done
Building dependency tree... Done
Package gcc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
W: Couldn't stat source package list http://xnv4.xandros.com etch/main Packages (/var/lib/apt/lists/xnv4.xandros.com_xs2.0_upkg-srv2_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://xnv4.xandros.com etch/contrib Packages (/var/lib/apt/lists/xnv4.xandros.com_xs2.0_upkg-srv2_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://xnv4.xandros.com etch/non-free Packages (/var/lib/apt/lists/xnv4.xandros.com_xs2.0_upkg-srv2_dists_etch_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://dccamirror.xandros.com dccri-3.0/main Packages (/var/lib/apt/lists/dccamirror.xandros.com_dccri_dists_dccri-3.0_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://www.geekconnection.org xandros4/main Packages (/var/lib/apt/lists/www.geekconnection.org_dists_xandros4_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://download.tuxfamily.org p701/main Packages (/var/lib/apt/lists/download.tuxfamily.org_eeepcrepos_dists_p701_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://download.tuxfamily.org p701/etch Packages (/var/lib/apt/lists/download.tuxfamily.org_eeepcrepos_dists_p701_etch_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Package gcc has no installation candidate
Almost the same message i shaw when i tried to install the other two packages.
I tried to install them bot as user and root, but unfortunately i had the same results.
Do you have any idea what can i do?
Regards
Thanos
Last edited by thanos on Fri Apr 25, 2008 8:48 pm, edited 1 time in total.
» myPersonal Banker :: Because you do not need to have a master degree in economics in order to organize your finances!
Trond, thanks a lot for your response.Trond wrote:Run sudo apt-get update and try again? Or try sudo apt-get install build-essentials.
I tried the: "sudo apt-get update" and finally i installed the gcc, GTK+2.0 and SDL 1.2 successfully. Thanks

After then installed the Purebasic under the /home/user directory.
But, when i tried to execute the purebasic executable from Xandros File Manager, a dialog prompted me to choose a program to open this file.
I also tried the terminal mode, i registered the variables PUREBASIC_HOME etc.), than i input ./purebasic and ./pbcompiler but i took the message:
bash: /home/user/purebasic/compilers: Permission denied
I also tried the same as root with the same bad results.
Do you have an idea?
Regards
Thanos
-
- Addict
- Posts: 841
- Joined: Mon Jun 07, 2004 7:10 pm
http://www.apcmag.com/8424/next_gen_eee ... y_life_andShen confirmed that the 900 would be powered by Intel's Atom processor, which is certain to deliver boosts in both performance and power efficiency compared to the model 700's Celeron M 353 processor. The Celeron M 353 is a 90nm chip rated at 900 MHz (which Asus has factory-underclocked to 630MHz in order to reduce heat and extend battery life) with a thermal ceiling of 5 watts. The 45nm Atom, on the other hand, is expected to kick off from 1GHz yet draw down a maximum of 2.5 watts when running at full throttle and idling back to 600mW in its low-power run state.
This will bring the Eee PC closer to the ‘Holy Grail' of all-day battery life, Shen predicts. "In the near future, we also are trying to support one-day computing which would provide more than 8 hours. I think in May we might be closer to providing that."
8 hours battery life is amazing

Somehow it didn't get extracted properly. Delete the entire directory, and extract it again by typing "tar -xvzf pbfilename.tar.gz".thanos wrote:Trond, thanks a lot for your response.Trond wrote:Run sudo apt-get update and try again? Or try sudo apt-get install build-essentials.
I tried the: "sudo apt-get update" and finally i installed the gcc, GTK+2.0 and SDL 1.2 successfully. Thanks![]()
After then installed the Purebasic under the /home/user directory.
But, when i tried to execute the purebasic executable from Xandros File Manager, a dialog prompted me to choose a program to open this file.
I also tried the terminal mode, i registered the variables PUREBASIC_HOME etc.), than i input ./purebasic and ./pbcompiler but i took the message:
bash: /home/user/purebasic/compilers: Permission denied
I also tried the same as root with the same bad results.
Do you have an idea?
Regards
Thanos
If you still get permission denied then something is seriously wrong, but "chmod +x purebasic" should fix it for that file.
Trond, thanks a lot again!
I finally installed the Purebasic
I can run the pbcompiler but unfortunatelly not the purebasic environment
When i tried to run it from the terminal i took the message:
(purebasic:17021): Gtk-WARNING **: cannot open display:
Do you have one more idea?
Regards
Thanos
I finally installed the Purebasic

I can run the pbcompiler but unfortunatelly not the purebasic environment

When i tried to run it from the terminal i took the message:
(purebasic:17021): Gtk-WARNING **: cannot open display:
Do you have one more idea?

Regards
Thanos
Last edited by thanos on Fri Apr 25, 2008 8:52 pm, edited 1 time in total.
» myPersonal Banker :: Because you do not need to have a master degree in economics in order to organize your finances!
Dear Trond, thanks again!Trond wrote:The Xandros people probably forgot to set the DISPLAY environment variable.
Try this: "set DISPLAY=localhost:0.0" and run purebasic again. (Maybe it's setenv instead of set.)
i'm terrible sorry for bothering you but after set, i took a new message:
(purebasic:27253): Gtk-WARNING **: cannot open display:
instead of
(purebasic:17021): Gtk-WARNING **: cannot open display:
Do you have one more idea?

Thanos
Last edited by thanos on Fri Apr 25, 2008 8:53 pm, edited 1 time in total.
» myPersonal Banker :: Because you do not need to have a master degree in economics in order to organize your finances!