Installation in Debian Buster

Linux specific forum
dj_papeles
New User
New User
Posts: 6
Joined: Mon Sep 02, 2019 7:46 pm

Installation in Debian Buster

Post 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.
User avatar
mk-soft
Always Here
Always Here
Posts: 5409
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Installation in Debian Buster

Post 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
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
dj_papeles
New User
New User
Posts: 6
Joined: Mon Sep 02, 2019 7:46 pm

Re: Installation in Debian Buster

Post by dj_papeles »

Thank you!! But in the Debian repos can not find libwebkitgtk-dev, libwebkitgtk-3.0-dev and libwebkit2gtk-4.0-dev.
User avatar
NicTheQuick
Addict
Addict
Posts: 1227
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: Installation in Debian Buster

Post 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
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
User avatar
mk-soft
Always Here
Always Here
Posts: 5409
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Installation in Debian Buster

Post 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".
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
dj_papeles
New User
New User
Posts: 6
Joined: Mon Sep 02, 2019 7:46 pm

Re: Installation in Debian Buster

Post 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.
dj_papeles
New User
New User
Posts: 6
Joined: Mon Sep 02, 2019 7:46 pm

Re: Installation in Debian Buster

Post 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!!!!
lule
User
User
Posts: 29
Joined: Fri Sep 17, 2010 8:22 pm

Re: Installation in Debian Buster

Post 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.
Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy.
PureBasic 6.02 LTS (Linux - x64)
dj_papeles
New User
New User
Posts: 6
Joined: Mon Sep 02, 2019 7:46 pm

Re: Installation in Debian Buster

Post by dj_papeles »

Thanks lule, i try that, i am more used to debian and prefer it.
Post Reply