[Gambas-user] problems after ubuntu 11.04 update --> same under 11.10

JUHASZ Robert robert1juhasz at ...626...
Thu Dec 22 07:46:51 CET 2011


Cure is OK, too: from synaptic I removed all the installed gambas
components and now the IDE works properly.
Thank you so much for the help.

Robi
-
----Original Message-----
From: JUHASZ Robert <robert1juhasz at ...626...>
To: gambas-user at lists.sourceforge.net
Subject: Re: [Gambas-user] problems after ubuntu 11.04 update --> same
under 11.10
Date: Thu, 22 Dec 2011 07:39:08 +0100

Hello Jesus,

I absolutely understand what you mean and I think that it's a correct
explanation. I'll avoid installing programs written in gambas on my main
OS in the future and will only do on a testing virtual machine.
So understanding and prevention are fine :-)

Do you have any idea for the cure? How could I get working my gambas
without re-installing the OS?
I tries to recompile, also tried to delete the installation files and
recompile but it doesn't work.

Thx,
Robi

-----Original Message-----
From: Jesus <ea7dfh at ...2382...>
Reply-to: mailing list for gambas users
<gambas-user at lists.sourceforge.net>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Subject: Re: [Gambas-user] problems after ubuntu 11.04 update --> same
under 11.10
Date: Wed, 21 Dec 2011 19:35:48 +0100


El 21/12/11 18:53, Fabien Bodard escribió:
> 2011/12/21 Jesus <ea7dfh at ...2382...>:
>> El 21/12/11 11:14, JUHASZ Robert escribió:
>>> Hello List,
>>>
>>> I didn't succeed to recover my gambas2 despite of trying all the
>>> proposals.
>>> Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new
>>> install.
>>> Also installed the latest gambas2.
>>>
>>> After installation it worked properly including the Eval function.
>>>
>>> Then, I installed one of my programs (.deb file created on Ubuntu 11.04
>>> when gambas2 still worked).
>>> I could launch the program but the Eval function didn't work.
>>>
>>> When I tried to open the project from gambas2 for recompiling I had
>>> exactly the same issue as the last time under 11.04: gambas2 didn't
>>> start and gave the famous message:
>>> "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library
>>> file"
>>>
>>> I had some difficulties to remove my program (hoping that it recovers
>>> gambas2), finally succeeded from synaptic but gambas2 still doesn't
>>> work.
>>>
>>> Very probably it's the installation of the program developed in gambas2
>>> which created the problem but I have no idea how to deal with the
>>> problem.
>>>
>>> It would be great to understand and solve this issue. Thanks for the
>>> help.
>>>
>>> Robi
>>
>>
>> Hi
>>
>> I'm sure this is a problem related to mixing two kind of installations:
>> Gambas IDE (and all its components) from sources and parts of gambas
>> coming from repositories (those who your deb package installs).
>>
>> Since compiled sources result in a set of binaries located at
>> /usr/local/bin, /usr/local/lib/gambas2 and /usr/local/share/gambas2,
>> unlike packages installed from repository that are placed in /usr/bin,
>> /usr/lib/gambas2 and /usr/share/gambas2.
>>
>> This means that the two paths, compiled vs repositories, are in the
>> environment path. Probably, binaries differ each other, but then the
>> system is using -in your case, it seems- the older ones.
>>
>> From the beginning of Gambas I'm aware of this, so it's not a good idea
>> to install deb packages made by the gambas IDE in a computer having
>> Gambas installed by compiling from the latest SVN.
>>
>> Hope you will understand, my English is not as good as I'd like.
>>
>> Regards
>>
>>
>> --
>> Jesus Guardon
> 
> 
> if it's deb of gb2 program it use gbr2 and executable for gb3 use
> gbr3... no conflict between those two


Yes, I know. But I'm talking only about Gambas2 and the differences
between the paths where it's installed, depending on the way it's installed.

The same will be applicable to Gambas3 when there will be packages in
official repositories.

The actual conflict comes when you have two versions of the Gambas2
interpreter, etc, in different places in the $PATH.




More information about the User mailing list