Install PureBasic 5.72 - Fedora 33

Linux specific forum
xylle
New User
New User
Posts: 5
Joined: Sun Nov 15, 2020 2:00 pm

Install PureBasic 5.72 - Fedora 33

Post by xylle »

Hello,
Install PureBasic 5.72 with Fedora 33

In File/Preferences/Compiler/Defaults/Library Subsystem : qt5

Install Packages
  • unixODBC-devel
  • libXxf86vm-devel
  • SDL-devel
  • libgnome-devel
  • qt5-qtbase-devel
  • qt5-qtwebkit-devel

Code: Select all

sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install xine-lib-devel qt5-qtwebkit-devel libgnome-devel SDL-devel libXxf86vm-devel unixODBC-devel
User avatar
mk-soft
Always Here
Always Here
Posts: 5313
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Install PureBasic 5.72 - Fedora 33

Post by mk-soft »

I don't know what your question is. But I suspect that something is missing.

Link: viewtopic.php?f=15&t=74875
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
xylle
New User
New User
Posts: 5
Joined: Sun Nov 15, 2020 2:00 pm

Re: Install PureBasic 5.72 - Fedora 33

Post by xylle »

Is not a question.
For help to install purebasic dependencies in Fedora 33.
nothing is missing, the rest is trivial to find.
User avatar
mk-soft
Always Here
Always Here
Posts: 5313
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Install PureBasic 5.72 - Fedora 33

Post by mk-soft »

Already recognized. Thanks :wink:

I have now installed Fedora 33 as VM.
The libgnome-devel is probably not needed.

How to activate the icons on the desktop. I have created a desktop file as link to Purebasic. (File Purebasic v5.73.desktop)
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
xylle
New User
New User
Posts: 5
Joined: Sun Nov 15, 2020 2:00 pm

Re: Install PureBasic 5.72 - Fedora 33

Post by xylle »

Make a file

Code: Select all

[Desktop Entry]
Type=Application
Icon=/home/michael/Apps/purebasic-v572/logo.png
Name=Purebasic v5.72
Comment=Developer Utility
Exec=/home/michael/Apps/purebasic-v572/compilers/purebasic
Path=/home/michael/Apps/purebasic-v572/compilers
StartupNotify=false
Terminal=false
and put them to
~/.local/share/applications
I use this method for other app ( FreeFileSync, PaleMoon, ...)

The libgnome-devel is for checkinstall.sh script

Informations : https://hackeradam.com/adding-custom-la ... ome-shell/
User avatar
mk-soft
Always Here
Always Here
Posts: 5313
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Install PureBasic 5.72 - Fedora 33

Post by mk-soft »

Thank you, did everything work ...

until I run an operating system update on the Fedora VM. After that the PB examples did not work anymore and the VM Parallels Tools did not work.
So throw the machine into the bin and start over. :(
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
xylle
New User
New User
Posts: 5
Joined: Sun Nov 15, 2020 2:00 pm

Re: Install PureBasic 5.72 - Fedora 33

Post by xylle »

After update nothing work ?
User avatar
mk-soft
Always Here
Always Here
Posts: 5313
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Install PureBasic 5.72 - Fedora 33

Post by mk-soft »

Crash after online update.

But it could be that there was an error during the update only at my site.
It is better to backup the machine before.

I run all operating systems (Windows, Linux) as virtual machines under MacOS and Parallels. Normally the machines run without problems.
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
xylle
New User
New User
Posts: 5
Joined: Sun Nov 15, 2020 2:00 pm

Re: Install PureBasic 5.72 - Fedora 33

Post by xylle »

I just try, all fine after complete update.

Try with virtualbox ?
John Duchek
User
User
Posts: 83
Joined: Mon May 16, 2005 4:19 pm
Location: St. Louis, MO

Re: Install PureBasic 5.72 - Fedora 33

Post by John Duchek »

I am running PB 5.73 LTS under fedora 33 with no problem PB was installed a few years ago and several versions ago and has been updated repeatedly without problems. My recollection is that there was a file on how to load shared libraries for ubuntu and I followed that. (some library name changes were needed). Once those were installed it ran smoothly. That file apparently has been replaced by this in the README file. For me the real trick was realizing that all the devel files had to be included along with the libraries.

Requierement:
-------------

- gcc
- GTK+ 2.0 devel (and optionally GTK+ 1.2 devel for old application support)
- SDL 1.2 devel
- libstdc++ devel
- iodbc and iodbc-devel to be able to use the Database commands (see www.iodbc.org)
- libwebkit.so shoud be installed to have the WebGadget() working
- xine and xine-devel for the Movie commands
- libgnomeprintui2.2 and libgnomeprintui2.2-devel for the print commands

My original notes list the ubuntu needs followed by the fedora names:

apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk2.0-dev libgnomeprint2.2-dev unixodbc-dev libgnome2-dev libxine-dev libgnomeprintui2.2-dev libxxf86vm-dev

For Fedora:

gcc
gcc-c++
libstdc++
c++-gtk-utils-gtk2-devel
gtk+
gtk+-devel
gtk+extra
gtk+extra-devel
libgnome-devel
libgnomeprintui22-devel
libxine
xine-lib-devel
SDL-devel
unixodbc-devel
c++-gtk-utils-gtk3-devel

for whatever that might be worth.
John
John R. Duchek
St. Louis,MO
dmontaine
User
User
Posts: 45
Joined: Tue Jun 04, 2019 1:03 pm

Re: Install PureBasic 5.72 - Fedora 33

Post by dmontaine »

Used the provided directions on Fedora 34 Beta. Worked like a charm.
Post Reply