Page 1 of 1

Installation in Debian Buster

Posted: Mon Sep 02, 2019 7:59 pm
by dj_papeles
Hi!, been a Purebasic user since a few months, and very happy, please forgive my English, is not my native language.
When i start using PB in Linux i use Debian Stretch v9, and when Debian Buster v10 released i install on my computer but when i try to install PB 5.71 this time the script ./checkinstall.sh tell me the following:

Code: Select all


This 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

But when i issue that command this is what i obtain:

Code: Select all


E: No se ha podido localizar el paquete libgnome2-dev (Cannot found the package libgnome2-dev)
E: No se ha podido localizar el paquete libwebkitgtk-3.0-dev (Cannot found the package libwebkitgtk-3.0-dev)
E: No se pudo encontrar ningún paquete usando «*» con «libwebkitgtk-3.0-dev» (Cannot found the package libwebkitgtk-3.0-dev)
E: No se pudo encontrar ningún paquete con la expresión regular «libwebkitgtk-3.0-dev» (Cannot found the package libwebkitgtk-3.0-dev)
E: No se ha podido localizar el paquete libwebkitgtk-dev (Cannot found the package libwebkitgtk-dev)
E: No se ha podido localizar el paquete libwebkitgtk-3.0-dev (Cannot found the package  libwebkitgtk-3.0-dev)
E: No se pudo encontrar ningún paquete usando «*» con «libwebkitgtk-3.0-dev»  (Cannot found the package  libwebkitgtk-3.0-dev)
E: No se pudo encontrar ningún paquete con la expresión regular «libwebkitgtk-3.0-dev»  (Cannot found the package  libwebkitgtk-3.0-dev)

But cannot found those packages in Buster repo. Thanks.

Re: Installation in Debian Buster

Posted: Mon Sep 02, 2019 9:31 pm
by mk-soft
The CheckInstall script is old...

I use this Install
Purebasic
---------
sudo apt-get install build-essential gcc g++

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.xx (For PB-IDE)
-------------------------------
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
qt
- sudo apt install qt5-default

Re: Installation in Debian Buster

Posted: Tue Sep 03, 2019 9:29 am
by dj_papeles
Thank you!! But in the Debian repos can not find libwebkitgtk-dev, libwebkitgtk-3.0-dev and libwebkit2gtk-4.0-dev.

Re: Installation in Debian Buster

Posted: Tue Sep 03, 2019 11:47 am
by NicTheQuick
dj_papeles wrote:Thank you!! But in the Debian repos can not find libwebkitgtk-dev, libwebkitgtk-3.0-dev and libwebkit2gtk-4.0-dev.
What does a search show you?

Code: Select all

apt-cache search libwebkit

Re: Installation in Debian Buster

Posted: Tue Sep 03, 2019 11:56 am
by mk-soft
I'm using Ubuntu v18.10. With version 19.04 it doesn't work with WebKit anymore because PB internally uses libWebKitGkt 1.0 as well.

As long as you don't want to use the WebGadget, this is no problem.
If you need the WebGadget, you can also go to the subsystem "qt".

Re: Installation in Debian Buster

Posted: Tue Sep 03, 2019 4:53 pm
by dj_papeles
NicTheQuick apt-cache return the following:

Code: Select all

libwebkit2-sharp-4.0-cil - CLI bindings for WebKitGTK+ 4.0 using GObject Introspection
libwebkit2-sharp-4.0-cil-dev - CLI bindings for WebKitGTK+ 4.0 using GObject Introspection - development
libwebkit2gtk-4.0-37 - Web content engine library for GTK
libwebkit2gtk-4.0-37-gtk2 - Web content engine library for GTK - GTK 2 plugin process
libwebkit2gtk-4.0-dev - Web content engine library for GTK - development files
libwebkit2gtk-4.0-doc - Web content engine library for GTK - documentation
mk-soft, oh understand then starting from 19.04 on ubuntu, to use the WebGadget we have to use qt subsystem?? is that right i can use for example ubuntu 18.04 LTS so can use that gadget in Gtk.

Re: Installation in Debian Buster

Posted: Wed Sep 04, 2019 8:43 pm
by dj_papeles
Well after tinkering with apt-get i use Ubuntu 18.04 instead and everything works perfect, no errors on ./checkinstall.

Thank you all!!!!

Re: Installation in Debian Buster

Posted: Thu Sep 19, 2019 7:00 pm
by lule
for debian 10 buster, i made :

Code: Select all

sudo apt-get install build-essential gcc g++
sudo apt-get install libxxf86vm-dev libxine2-dev unixodbc-dev libsdl1.2-dev libsdl2-dev
sudo apt-get install qtbase5-dev qttools5-dev qtmultimedia5-dev qtdeclarative5-dev libqt5svg5-dev libqt5webkit5-dev libqt5multimedia5-plugins
sudo apt-get install libgtk2.0-dev libgtk-3-dev libwebkit2gtk-4.0-dev
sudo apt-get install gtk+-3.0
seems to work fine.

Re: Installation in Debian Buster

Posted: Thu Sep 19, 2019 7:40 pm
by dj_papeles
Thanks lule, i try that, i am more used to debian and prefer it.