It is currently Sun Dec 15, 2019 10:45 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Help installing PB under ubuntu
PostPosted: Wed Oct 04, 2017 2:49 pm 
Offline
Addict
Addict

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1046
Location: Portugal
Just bit the bullet and installed ubuntu linux from a magazine on a small portable. My first time ever.

Downloaded the pdf from the tutorial page to follow. Also downloaded latest PB release for Linux and found the script to install all the dependencies. Both the one from the PDF and the one in the install.sh fail telling me they cannot find the bits they are looking for!

Can anyone help please?

Regards

CD

_________________
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.


Top
 Profile  
Reply with quote  
 Post subject: Re: Help!
PostPosted: Wed Oct 04, 2017 4:57 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2068
Location: Germany
With Ubuntu it´s easy

German Link: http://www.purebasic.fr/german/viewtopi ... 20#p341396

Translate:
I don't think it's very topical anymore. Maybe ts-soft can provide a current version of ts-soft.

I myself make it easy for myself with all the settings. So no...

Create a folder named "Programs" under' Personal Folder' and put Purebasic in it.
Create a shortcut to the program' Purebasic' and copy it to the desktop.
Start the terminal program and perform the following three installations:
Quote:
sudo apt-get install build-essential gcc g++ libc6-dev libgtk2.0-dev libgnome2-dev libgtk-3-dev
sudo apt-get install libxxf86vm-dev libxine2-dev unixodbc-dev libsdl1.2-dev libsdl2-dev
sudo apt-get install libwebkitgtk-dev libwebkitgtk-3.0-dev libwebkit2gtk-4.0-dev


Ready :wink:

P.S. Install only right the PB-Version to Linux. PB-x86 to Ubuntu 32bit and PB-x64 to Ubuntu 64bit

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: Help!
PostPosted: Thu Oct 05, 2017 3:46 am 
Offline
Addict
Addict

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1046
Location: Portugal
Thanks

Typed in the first line into terminal and it tells me several lines of

Unable to locate package libgtk2.0-dev

followed by some couldn't find etc

any ideas?

CD

_________________
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.


Top
 Profile  
Reply with quote  
 Post subject: Re: Help!
PostPosted: Thu Oct 05, 2017 4:18 am 
Offline
Addict
Addict

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1046
Location: Portugal
A little digging on net.

Used sudo apt-get update and computer went mad updateing.

After that finished used the first line above and it appears to be working telling me it has to update loads of packages which it is doing.

So far so good

CD

_________________
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing PB under ubuntu
PostPosted: Thu Oct 05, 2017 7:13 am 
Offline
Addict
Addict

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1046
Location: Portugal
Thanks mksoft

The apt-get update seems to have done the trick.

Ran all three commands in your post after that and it took a bit of time but it all worked.

Restarted computer and a new icon appeared "software Updates" so ran that as well two hours later it finished with a restart. After restart downloaded latest release for 64bit unpacked and it worked.

Just need to move my programmes across now which will be for later.

New to Linux so silly question how do I distribute my programmes compiling using Linux archive them and ship archive or some other way?

Thanks to all

CD

_________________
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing PB under ubuntu
PostPosted: Sat Oct 07, 2017 5:09 pm 
Offline
Addict
Addict

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1046
Location: Portugal
PureBasic Rocks!

Got it all going and transferred one of my larger attempts at programming (12,000 + lines of code) ran first time in Linux just a few issues with the form design where buttons are a little bigger etc but nothing major at all!

Absolutley BRILLIANT!

collectordave

_________________
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye