gb.gui error after install

Post

Posted
Rating:
#1 (In Topic #263)
Avatar
Enthusiast
sadams54 is in the usergroup ‘Enthusiast’
 I have created a RPM install package for software. for some reason after I install it on a fresh system it gives "gb.gui: error: unable to find any GUI component"

the gambas3 runtime is installed. This goes away if I install full gambas3 but that is not what I want to do on client systems. I am sure it is something simple or stupid on my part but can somebody please point it out for me?
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Guru
cogier is in the usergroup ‘Guru’
What components are you using in your program? You will need to include these as well. What distro are you trying to install on?
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Enthusiast
sadams54 is in the usergroup ‘Enthusiast’
 I have the components checked are..

gb
gb.form
gb.form.dialog
gb.gui
gb.image

install is for fedora.
I checked to see if there was a spot to specify these for the install package but I did not see anything. I assume it is picked up from the properties.
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Guru
cogier is in the usergroup ‘Guru’
I think you need to add them in Section 7. I have tried this process before with little success. if you do get it to work please let us know how you did it.
<IMG src="http://www.cogier.com/gambas/Section%207.png"> </IMG>
Online now: No Back to the top

Post

Posted
Rating:
#5
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’
 You don need to add them to extra dependencies.
If they are marked as components used in the project their dependency on them will be in the package the Gambas packager makes.

I've been modifying source code of the packager for the debian/ubuntu part at my Gambas repo at work to meet some Debian specific requests in my packages, so I know for sure that the dependencies are set in the package you made in Gambas IDE.

I'm not very familiar with rpm packages, but as far as I could see in the packager code, it is no different than a deb package concerning dependencies.

If the package wouldn't meet the required dependencies, it should not install, but it did.
So the problem lies somewhere else.
Are you running GTK or QT4/5 on your Fedora box?
My first guess is that it might be GTK related.

gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: No Back to the top

Post

Posted
Rating:
#6
Avatar
Enthusiast
sadams54 is in the usergroup ‘Enthusiast’
 I worked around this by selecting gtk in the properties and deselecting the gb.gui.  it works fine that way.
Online now: No Back to the top
1 guest and 0 members have just viewed this.