Install PB on Linux...
Install PB on Linux...
Well, I see Linux hasn't changed since last time I tried it (in 2000...)
Does anyone have some one click thing to install the required packages to run PB (64bits and 32 bits if possible)?
I've got Ubuntu.
Does anyone have some one click thing to install the required packages to run PB (64bits and 32 bits if possible)?
I've got Ubuntu.
Re: Install PB on Linux...
32 and 64 bit (Crosscompiling) is not possible with actuell ubuntu versions.sudo apt-get install build-essential libgtk2.0-dev libgnome2-dev libgnomeprintui2.2-dev libxine-dev libsdl1.2-dev libiodbc2-dev libxxf86vm-dev libwebkitgtk-dev
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.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Re: Install PB on Linux...
Thanks!ts-soft wrote:32 and 64 bit (Crosscompiling) is not possible with actuell ubuntu versions.sudo apt-get install build-essential libgtk2.0-dev libgnome2-dev libgnomeprintui2.2-dev libxine-dev libsdl1.2-dev libiodbc2-dev libxxf86vm-dev libwebkitgtk-dev
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Install PB on Linux...
Installed PB on linux mint.
Ran the sudo lines above and pb works all the way until compilr time when it fails.
Ran the checkinstall.sh file and it tells me libstdc++ not found
Any Help?
Ran the sudo lines above and pb works all the way until compilr time when it fails.
Ran the checkinstall.sh file and it tells me libstdc++ not found
Any Help?
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.
Re: Install PB on Linux...
Code: Select all
sudo apt-get install libstdc++6
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.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Install PB on Linux...
Thanks
Just done that and checkinstall still says not detected!
???
when compiling
debug "Test"
This appears in a wimdow
/usr/bin/ld: cannot find crt1.o:
No such file or directory
/usr/bin/ld:
cannot find crti.o:
No such file or directory
/usr/bin/ld:
cannot find -lpthread
/usr/bin/ld:
cannot find -lc
/usr/bin/ld:
cannot find -lpthread
/usr/bin/ld:
cannot find -lm
/usr/bin/ld:
cannot find -ldl
Just done that and checkinstall still says not detected!
???
when compiling
debug "Test"
This appears in a wimdow
/usr/bin/ld: cannot find crt1.o:
No such file or directory
/usr/bin/ld:
cannot find crti.o:
No such file or directory
/usr/bin/ld:
cannot find -lpthread
/usr/bin/ld:
cannot find -lc
/usr/bin/ld:
cannot find -lpthread
/usr/bin/ld:
cannot find -lm
/usr/bin/ld:
cannot find -ldl
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.
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Install PB on Linux...
Further to the tale.
Moved back to ubuntu 16 and pb6.5
All working hurrah compiles Debug "Test" now.
Ran checkinstall and got this message though
his script try to detect if all developments packages are correctly installed. If you are using a Debian or Ubuntu like distribution, you can use the following line to install all needed packages:
$ sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk-3-dev unixodbc-dev libgnome2-dev libxine2-dev libwebkitgtk-3.0-dev libxxf86vm-dev libwebkitgtk-dev libwebkitgtk-3.0-dev
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Just a little more help please
Moved back to ubuntu 16 and pb6.5
All working hurrah compiles Debug "Test" now.
Ran checkinstall and got this message though
his script try to detect if all developments packages are correctly installed. If you are using a Debian or Ubuntu like distribution, you can use the following line to install all needed packages:
$ sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk-3-dev unixodbc-dev libgnome2-dev libxine2-dev libwebkitgtk-3.0-dev libxxf86vm-dev libwebkitgtk-dev libwebkitgtk-3.0-dev
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Just a little more help please
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.
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Install PB on Linux...
Ok managed to do some apt get things and PB now compiles with just 1 linker error it is the webkit gtk.
I have downloaded the webkit.tar but now what do i do?
I have downloaded the webkit.tar but now what do i do?
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.
Re: Install PB on Linux...
Her my installation information for PB Development and PB User machines.
My test machine for PB-Application without developer-packets is a Linux Ubuntu 18.10.
My test machine for PB-Application without developer-packets is a Linux Ubuntu 18.10.
For MacOS Parallels Tools and Purebasic
---------------------------------------
sudo apt-get install build-essential gcc g++
Purebasic
---------
sudo apt-get install libxxf86vm-dev libxine2-dev unixodbc-dev libsdl1.2-dev libsdl2-dev
sudo apt-get install libgtk2.0-dev libgtk-3-dev libwebkitgtk-dev libwebkitgtk-3.0-dev libwebkit2gtk-4.0-dev
Subsystem qt
------------
sudo apt-get install qtbase5-dev qttools5-dev qtmultimedia5-dev qtdeclarative5-dev libqt5svg5-dev libqt5webkit5-dev libqt5multimedia5-plugins
Ubuntu Gnome 18.04
------------------
sudo apt install libcanberra-gtk-module
Obsoleted
---------
;sudo apt-get install libgnome2-dev
;sudo apt-get install libgnomeprintui2.2-dev libxine-dev
Ubuntu missing default libs (Without developer packets)
-------------------------------------------------------
gtk2
- sudo apt-get install libgtk2.0
gtk3
- sudo apt-get install libwebkitgtk-3.0
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Install PB on Linux...
BRILLIANT
Compiles no bother maybe a little quicker!
The webgadget now displays the purebasic webpage ok but will not display http://worldcollector.eu/ (My webpage). The programme crashes saying ended by external library??
So close I can taste it.
CD
Compiles no bother maybe a little quicker!
The webgadget now displays the purebasic webpage ok but will not display http://worldcollector.eu/ (My webpage). The programme crashes saying ended by external library??
So close I can taste it.
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.
Re: Install PB on Linux...
Invalid Link on Linux (Firefox and WebGadget) : http://worldcollector.eu/
Ubuntu 18.10
Update from Ubuntu was not ready...
Ubuntu 18.10
P.S. Now work...Unable to load page
Problem occurred while loading the URL http://worldcollector.eu/
Fehler beim Auflösen von worldcollector.eu: Temporärer Fehler bei der Namensauflöung
Update from Ubuntu was not ready...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Install PB on Linux...
Ok
Just loaded PB5.71 and it does not compile. Gives me the following.
/home/davemach/Applications/purebasic/purelibraries/linux/libraries/libpbsqlite3.a(sqlite3.o): In function `backupOnePage.isra.517':
sqlite3.c:(.text+0x42a0a): undefined reference to `__divmoddi4'
collect2: error: ld returned 1 exit status
Any Ideas?
Just loaded PB5.71 and it does not compile. Gives me the following.
/home/davemach/Applications/purebasic/purelibraries/linux/libraries/libpbsqlite3.a(sqlite3.o): In function `backupOnePage.isra.517':
sqlite3.c:(.text+0x42a0a): undefined reference to `__divmoddi4'
collect2: error: ld returned 1 exit status
Any Ideas?
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.
Re: Install PB on Linux...
UseSQLiteDatabase("/usr/lib/i386-linux-gnu/libsqlite3.so")
"/usr/lib/i386-linux-gnu/libsqlite3.so" for mint 18.3x86
Replace with path your distribution
p.s. i.e. the situation can be qualified as an error, but thanks to the new parameter in UseSQLiteDatabase it can be bypassed
p.p.s.
I, uh, met this problem, only on mint 18.3 x86.
I checked mint 18.3 x64(ubuntu16) and ubuntu 18.04 x64 - everything works well
"/usr/lib/i386-linux-gnu/libsqlite3.so" for mint 18.3x86
Replace with path your distribution
p.s. i.e. the situation can be qualified as an error, but thanks to the new parameter in UseSQLiteDatabase it can be bypassed
p.p.s.
I, uh, met this problem, only on mint 18.3 x86.
I checked mint 18.3 x64(ubuntu16) and ubuntu 18.04 x64 - everything works well
Last edited by useful on Thu Sep 05, 2019 3:10 pm, edited 1 time in total.
Dawn will come inevitably.
Re: Install PB on Linux...
You might want to wait for another 48 hours, because im just working on something that should ultimately help this problem a lot.
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Install PB on Linux...
Any further forward on this?
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.