Page 1 of 2

Install PB on Linux...

Posted: Fri Aug 10, 2012 5:43 pm
by Polo
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.

Re: Install PB on Linux...

Posted: Fri Aug 10, 2012 5:48 pm
by ts-soft
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
32 and 64 bit (Crosscompiling) is not possible with actuell ubuntu versions.

Re: Install PB on Linux...

Posted: Fri Aug 10, 2012 5:55 pm
by Polo
ts-soft wrote:
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
32 and 64 bit (Crosscompiling) is not possible with actuell ubuntu versions.
Thanks!

Re: Install PB on Linux...

Posted: Thu Dec 20, 2018 8:14 am
by collectordave
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?

Re: Install PB on Linux...

Posted: Thu Dec 20, 2018 10:27 am
by ts-soft

Code: Select all

sudo apt-get install libstdc++6
Greetings
Thomas

Re: Install PB on Linux...

Posted: Thu Dec 20, 2018 10:55 am
by collectordave
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

Re: Install PB on Linux...

Posted: Fri Dec 21, 2018 3:38 pm
by collectordave
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

Re: Install PB on Linux...

Posted: Fri Dec 21, 2018 5:39 pm
by collectordave
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?

Re: Install PB on Linux...

Posted: Sun Dec 23, 2018 12:01 pm
by mk-soft
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.
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

Re: Install PB on Linux...

Posted: Sun Dec 23, 2018 4:40 pm
by collectordave
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

Re: Install PB on Linux...

Posted: Sun Dec 23, 2018 5:00 pm
by mk-soft
Invalid Link on Linux (Firefox and WebGadget) : http://worldcollector.eu/

Ubuntu 18.10
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
P.S. Now work...
Update from Ubuntu was not ready...

Re: Install PB on Linux...

Posted: Wed Sep 04, 2019 1:22 pm
by collectordave
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?

Re: Install PB on Linux...

Posted: Thu Sep 05, 2019 10:58 am
by useful
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

Re: Install PB on Linux...

Posted: Thu Sep 05, 2019 1:01 pm
by Bitblazer
You might want to wait for another 48 hours, because im just working on something that should ultimately help this problem a lot.

Re: Install PB on Linux...

Posted: Sat Nov 30, 2019 12:51 pm
by collectordave
Any further forward on this?