packaging

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

packaging

by yuhej :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm not very far from being able to test my first Gambas application. It works from the IDE, also the executable on my PC.
I try to make a package to test it on a "virgin" ubuntu but I haven't succeeded. I got an error message like that:
---------------------------------------------
Creating package for Ubuntu.
Making build directory.
Creating desktop file...
Sources are being debianizated.
Creating package...
sh: fakeroot: not found
The package build has failed.
Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
---------------------------------------------

Is there anything misiing from my system, I made a mistake or is this a bug? Thanks for your help.

Robi

Re: packaging

by Doriano Blengino :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yuhej ha scritto:

> Hello,
>
> I'm not very far from being able to test my first Gambas application. It
> works from the IDE, also the executable on my PC.
> I try to make a package to test it on a "virgin" ubuntu but I haven't
> succeeded. I got an error message like that:
> ---------------------------------------------
> Creating package for Ubuntu.
> Making build directory.
> Creating desktop file...
> Sources are being debianizated.
> Creating package...
> sh: fakeroot: not found
> The package build has failed.
> Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
> ---------------------------------------------
>
> Is there anything misiing from my system, I made a mistake or is this a bug?
> Thanks for your help.
>  
Look at "sh: fakeroot: not found".
This is the classical error about missing files/commands, so I think
that you miss "fakeroot".

Search the repository for a package named fakeroot or something like
that, and install it.

I also think that the person who packaged gambas for your distribution
(Ubuntu?) made an error, because gambas should "require" fakeroot.

Regards,
Doriano


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by Charlie Reinl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Donnerstag, den 01.10.2009, 02:34 -0700 schrieb yuhej:

> Hello,
>
> I'm not very far from being able to test my first Gambas application. It
> works from the IDE, also the executable on my PC.
> I try to make a package to test it on a "virgin" ubuntu but I haven't
> succeeded. I got an error message like that:
> ---------------------------------------------
> Creating package for Ubuntu.
> Making build directory.
> Creating desktop file...
> Sources are being debianizated.
> Creating package...
> sh: fakeroot: not found
> The package build has failed.
> Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
> ---------------------------------------------
>
> Is there anything misiing from my system, I made a mistake or is this a bug?
> Thanks for your help.
>
> Robi

Salut Robi,

I think you have to install fakeroot


--
Amicalment
Charlie


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by yuhej :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, I'll try.

Robi

2009/10/1 Doriano Blengino <doriano.blengino@...>

> yuhej ha scritto:
> > Hello,
> >
> > I'm not very far from being able to test my first Gambas application. It
> > works from the IDE, also the executable on my PC.
> > I try to make a package to test it on a "virgin" ubuntu but I haven't
> > succeeded. I got an error message like that:
> > ---------------------------------------------
> > Creating package for Ubuntu.
> > Making build directory.
> > Creating desktop file...
> > Sources are being debianizated.
> > Creating package...
> > sh: fakeroot: not found
> > The package build has failed.
> > Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
> > ---------------------------------------------
> >
> > Is there anything misiing from my system, I made a mistake or is this a
> bug?
> > Thanks for your help.
> >
> Look at "sh: fakeroot: not found".
> This is the classical error about missing files/commands, so I think
> that you miss "fakeroot".
>
> Search the repository for a package named fakeroot or something like
> that, and install it.
>
> I also think that the person who packaged gambas for your distribution
> (Ubuntu?) made an error, because gambas should "require" fakeroot.
>
> Regards,
> Doriano
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by Petit Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yes fakeroot pkg, you could also try MonoOSC on OBS server :
http://sourceforge.net/projects/monoosc/
http://software.opensuse.org/search?baseproject=ALL&p=1&q=monoosc
https://build.opensuse.org/
This is the best i found to deploy my application, that solve the
dependency problem and give you the way to build package for most
distro in one click :-)

2009/10/1 Robert JUHASZ <robert1juhasz@...>:

> Thanks, I'll try.
>
> Robi
>
> 2009/10/1 Doriano Blengino <doriano.blengino@...>
>
>> yuhej ha scritto:
>> > Hello,
>> >
>> > I'm not very far from being able to test my first Gambas application. It
>> > works from the IDE, also the executable on my PC.
>> > I try to make a package to test it on a "virgin" ubuntu but I haven't
>> > succeeded. I got an error message like that:
>> > ---------------------------------------------
>> > Creating package for Ubuntu.
>> > Making build directory.
>> > Creating desktop file...
>> > Sources are being debianizated.
>> > Creating package...
>> > sh: fakeroot: not found
>> > The package build has failed.
>> > Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
>> > ---------------------------------------------
>> >
>> > Is there anything misiing from my system, I made a mistake or is this a
>> bug?
>> > Thanks for your help.
>> >
>> Look at "sh: fakeroot: not found".
>> This is the classical error about missing files/commands, so I think
>> that you miss "fakeroot".
>>
>> Search the repository for a package named fakeroot or something like
>> that, and install it.
>>
>> I also think that the person who packaged gambas for your distribution
>> (Ubuntu?) made an error, because gambas should "require" fakeroot.
>>
>> Regards,
>> Doriano
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user@...
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



--
Cordially.

Small Eric Quotations of the days:
---------------------------------------------------------------------------
I have no special talents. I am only passionately curious

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by yuhej :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I added "fakeroot" from the Synaptic Package Manager and with this I could
pack my application - soma packages with different extension. I launched the
.deb package which installed the application!

I just had some complications after...

Whet I started the application it refuses to connect to it's database by
saying "no driver for mySQL". However the executable worked properly just
before.
To catch the error I start gambas2 ... which refuses to start by saying
"ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library
file"

So now I would need some mainly to understand why it could have happened.
I removed "fakerote" but no change. I don't know how to uninstall my
application but it shouldn't affect gambas itself.

Maybe I need to reinstall gambas. The last time I followed these
instructions and it worked well except the packaging:
http://www.domotiga.nl/projects/domotiga/wiki/Gambas/Install

Thanks for any advice,

Robi


2009/10/1 Charlie Reinl <Karl.Reinl@...>

> Am Donnerstag, den 01.10.2009, 02:34 -0700 schrieb yuhej:
> > Hello,
> >
> > I'm not very far from being able to test my first Gambas application. It
> > works from the IDE, also the executable on my PC.
> > I try to make a package to test it on a "virgin" ubuntu but I haven't
> > succeeded. I got an error message like that:
> > ---------------------------------------------
> > Creating package for Ubuntu.
> > Making build directory.
> > Creating desktop file...
> > Sources are being debianizated.
> > Creating package...
> > sh: fakeroot: not found
> > The package build has failed.
> > Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
> > ---------------------------------------------
> >
> > Is there anything misiing from my system, I made a mistake or is this a
> bug?
> > Thanks for your help.
> >
> > Robi
>
> Salut Robi,
>
> I think you have to install fakeroot
>
>
> --
> Amicalment
> Charlie
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by Petit Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't know which Mysql driver gambas use, but you need to add it to
the dep list of the deb to be sure when you install the dep it install
the mysql driver too

2009/10/5 Robert JUHASZ <robert1juhasz@...>:

> Hi,
>
> I added "fakeroot" from the Synaptic Package Manager and with this I could
> pack my application - soma packages with different extension. I launched the
> .deb package which installed the application!
>
> I just had some complications after...
>
> Whet I started the application it refuses to connect to it's database by
> saying "no driver for mySQL". However the executable worked properly just
> before.
> To catch the error I start gambas2 ... which refuses to start by saying
> "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library
> file"
>
> So now I would need some mainly to understand why it could have happened.
> I removed "fakerote" but no change. I don't know how to uninstall my
> application but it shouldn't affect gambas itself.
>
> Maybe I need to reinstall gambas. The last time I followed these
> instructions and it worked well except the packaging:
> http://www.domotiga.nl/projects/domotiga/wiki/Gambas/Install
>
> Thanks for any advice,
>
> Robi
>
>
> 2009/10/1 Charlie Reinl <Karl.Reinl@...>
>
>> Am Donnerstag, den 01.10.2009, 02:34 -0700 schrieb yuhej:
>> > Hello,
>> >
>> > I'm not very far from being able to test my first Gambas application. It
>> > works from the IDE, also the executable on my PC.
>> > I try to make a package to test it on a "virgin" ubuntu but I haven't
>> > succeeded. I got an error message like that:
>> > ---------------------------------------------
>> > Creating package for Ubuntu.
>> > Making build directory.
>> > Creating desktop file...
>> > Sources are being debianizated.
>> > Creating package...
>> > sh: fakeroot: not found
>> > The package build has failed.
>> > Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
>> > ---------------------------------------------
>> >
>> > Is there anything misiing from my system, I made a mistake or is this a
>> bug?
>> > Thanks for your help.
>> >
>> > Robi
>>
>> Salut Robi,
>>
>> I think you have to install fakeroot
>>
>>
>> --
>> Amicalment
>> Charlie
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user@...
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



--
Cordially.

Small Eric Quotations of the days:
---------------------------------------------------------------------------
I have no special talents. I am only passionately curious

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by shordi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had the same problem.
Solution:
download that package.deb and distribute with your application. Add a little
install.sh who installs both .debs and all is ok.

2009/10/5 Petit Eric <surfzoid@...>

> I don't know which Mysql driver gambas use, but you need to add it to
> the dep list of the deb to be sure when you install the dep it install
> the mysql driver too
>
> 2009/10/5 Robert JUHASZ <robert1juhasz@...>:
> > Hi,
> >
> > I added "fakeroot" from the Synaptic Package Manager and with this I
> could
> > pack my application - soma packages with different extension. I launched
> the
> > .deb package which installed the application!
> >
> > I just had some complications after...
> >
> > Whet I started the application it refuses to connect to it's database by
> > saying "no driver for mySQL". However the executable worked properly just
> > before.
> > To catch the error I start gambas2 ... which refuses to start by saying
> > "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library
> > file"
> >
> > So now I would need some mainly to understand why it could have happened.
> > I removed "fakerote" but no change. I don't know how to uninstall my
> > application but it shouldn't affect gambas itself.
> >
> > Maybe I need to reinstall gambas. The last time I followed these
> > instructions and it worked well except the packaging:
> > http://www.domotiga.nl/projects/domotiga/wiki/Gambas/Install
> >
> > Thanks for any advice,
> >
> > Robi
> >
> >
> > 2009/10/1 Charlie Reinl <Karl.Reinl@...>
> >
> >> Am Donnerstag, den 01.10.2009, 02:34 -0700 schrieb yuhej:
> >> > Hello,
> >> >
> >> > I'm not very far from being able to test my first Gambas application.
> It
> >> > works from the IDE, also the executable on my PC.
> >> > I try to make a package to test it on a "virgin" ubuntu but I haven't
> >> > succeeded. I got an error message like that:
> >> > ---------------------------------------------
> >> > Creating package for Ubuntu.
> >> > Making build directory.
> >> > Creating desktop file...
> >> > Sources are being debianizated.
> >> > Creating package...
> >> > sh: fakeroot: not found
> >> > The package build has failed.
> >> > Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
> >> > ---------------------------------------------
> >> >
> >> > Is there anything misiing from my system, I made a mistake or is this
> a
> >> bug?
> >> > Thanks for your help.
> >> >
> >> > Robi
> >>
> >> Salut Robi,
> >>
> >> I think you have to install fakeroot
> >>
> >>
> >> --
> >> Amicalment
> >> Charlie
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Come build with us! The BlackBerry® Developer Conference in SF, CA
> >> is the only developer event you need to attend this year. Jumpstart your
> >> developing skills, take BlackBerry mobile applications to market and
> stay
> >> ahead of the curve. Join us from November 9-12, 2009. Register
> now!
> >> http://p.sf.net/sfu/devconf
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user@...
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry® Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9-12, 2009. Register
> now!
> > http://p.sf.net/sfu/devconf
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user@...
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
>
> --
> Cordially.
>
> Small Eric Quotations of the days:
> ---------------------------------------------------------------------------
> I have no special talents. I am only passionately curious
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by Jean-Yves F. Barbier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jorge Carrión a écrit :
> I had the same problem.
> Solution:
> download that package.deb and distribute with your application. Add a little
> install.sh who installs both .debs and all is ok.

Fortunately, you don't need that under Debian; you have 2 solutions:

* For a small number of dependencies, you have special fields in the package
   that each address a list: Null, Suggest, Recommend & Depend, Depend oblige
   the depending package(s) to be installed at the same time of yours
   (solution that Petit Eric told you about),

* For a large number of dependencies, you can create an emty meta-package that
   only contains the needeed links as described above.

HTH

JY
--
The most important service rendered by the press is that of educating
people to approach printed matter with distrust.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by Benoît Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hi,
>
> I added "fakeroot" from the Synaptic Package Manager and with this I could
> pack my application - soma packages with different extension. I launched
>  the .deb package which installed the application!
>
> I just had some complications after...
>
> Whet I started the application it refuses to connect to it's database by
> saying "no driver for mySQL". However the executable worked properly just
> before.
> To catch the error I start gambas2 ... which refuses to start by saying
> "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library
> file"
>
> So now I would need some mainly to understand why it could have happened.
> I removed "fakerote" but no change. I don't know how to uninstall my
> application but it shouldn't affect gambas itself.
>
> Maybe I need to reinstall gambas. The last time I followed these
> instructions and it worked well except the packaging:
> http://www.domotiga.nl/projects/domotiga/wiki/Gambas/Install
>
> Thanks for any advice,
>
> Robi
>
>

If you want your project to depend on the mysql driver, you must explicitely
check it in the project property dialog, provided that your gambas version is
high enough (>= 2.14).

Regards,

--
Benoît Minisini

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by shordi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

¿2.14? mmm that's the problem, then. I've using 2.10.

The problem for me is thay I've created a little repositorie with .deb
packages of 2.10 downloaded from Debian repository, and my own programs.
Then my clients adds that repositorie to their apt-sources.list.
Installating a program of mine and install one of my own programs. All
dependencies are satisfyed and all is ok. But I've no find .deb packages of
2.14 (or any version higher than 2.10).
¿Somebody has that .deb packages?

Regards

2009/10/5 Benoît Minisini <gambas@...>

> > Hi,
> >
> > I added "fakeroot" from the Synaptic Package Manager and with this I
> could
> > pack my application - soma packages with different extension. I launched
> >  the .deb package which installed the application!
> >
> > I just had some complications after...
> >
> > Whet I started the application it refuses to connect to it's database by
> > saying "no driver for mySQL". However the executable worked properly just
> > before.
> > To catch the error I start gambas2 ... which refuses to start by saying
> > "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library
> > file"
> >
> > So now I would need some mainly to understand why it could have happened.
> > I removed "fakerote" but no change. I don't know how to uninstall my
> > application but it shouldn't affect gambas itself.
> >
> > Maybe I need to reinstall gambas. The last time I followed these
> > instructions and it worked well except the packaging:
> > http://www.domotiga.nl/projects/domotiga/wiki/Gambas/Install
> >
> > Thanks for any advice,
> >
> > Robi
> >
> >
>
> If you want your project to depend on the mysql driver, you must
> explicitely
> check it in the project property dialog, provided that your gambas version
> is
> high enough (>= 2.14).
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by yuhej :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

It's no more just a packaging problem, even Gambas doesn't start up. After
re-installing gambas it gives the same error message (ERROR: #27: Cannot
load component 'gb.form.dialog': cannot find library..). It is very
embarrasseing as I don't know what to do now. If I reinstall ubuntu +
gambas, probably will run again, but I don't know why it happened and how to
avoid it to come back.
By the way, once I installed someting (like gambas itself or my application)
how can I uninstall it? I can't see them in the Synaptick Package Manager.

:-(

Robi

2009/10/5, Benoît Minisini <gambas@...>:

>
> > Hi,
> >
> > I added "fakeroot" from the Synaptic Package Manager and with this I
> could
> > pack my application - soma packages with different extension. I launched
> >  the .deb package which installed the application!
> >
> > I just had some complications after...
> >
> > Whet I started the application it refuses to connect to it's database by
> > saying "no driver for mySQL". However the executable worked properly just
> > before.
> > To catch the error I start gambas2 ... which refuses to start by saying
> > "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library
> > file"
> >
> > So now I would need some mainly to understand why it could have happened.
> > I removed "fakerote" but no change. I don't know how to uninstall my
> > application but it shouldn't affect gambas itself.
> >
> > Maybe I need to reinstall gambas. The last time I followed these
> > instructions and it worked well except the packaging:
> > http://www.domotiga.nl/projects/domotiga/wiki/Gambas/Install
> >
> > Thanks for any advice,
> >
> > Robi
> >
> >
>
> If you want your project to depend on the mysql driver, you must
> explicitely
> check it in the project property dialog, provided that your gambas version
> is
> high enough (>= 2.14).
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by yuhej :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello All,

I have a very basic question... how should I install Gambas 2 (latest
version) for having the full version?
I work on Ubuntu 9.04, 32bit version.
I use database (mysql), serial port besida the standard features and I'd
like to be able to make an installation package.

On the wiki, the link doesn't work, the Ubuntu built-in version (2.8)
doesn't handle the database part.

I used http://www.domotiga.nl/projects/domotiga/wiki/Gambas/Install which
installs the last version and works 100% correctly until I try to make a
package (fail with a missing fakeroute component). When installing fakeroute
then the package is created but I was not able to install my application,
even the gambas behaved starnge after.

Thanks for your help in advance.
Robi

2009/10/5 Robert JUHASZ <robert1juhasz@...>

> Hi,
>
> It's no more just a packaging problem, even Gambas doesn't start up. After
> re-installing gambas it gives the same error message (ERROR: #27: Cannot
> load component 'gb.form.dialog': cannot find library..). It is very
> embarrasseing as I don't know what to do now. If I reinstall ubuntu +
> gambas, probably will run again, but I don't know why it happened and how to
> avoid it to come back.
> By the way, once I installed someting (like gambas itself or my
> application) how can I uninstall it? I can't see them in the Synaptick
> Package Manager.
>
> :-(
>
> Robi
>
> 2009/10/5, Benoît Minisini <gambas@...>:
>
>> > Hi,
>> >
>> > I added "fakeroot" from the Synaptic Package Manager and with this I
>> could
>> > pack my application - soma packages with different extension. I launched
>> >  the .deb package which installed the application!
>> >
>> > I just had some complications after...
>> >
>> > Whet I started the application it refuses to connect to it's database by
>> > saying "no driver for mySQL". However the executable worked properly
>> just
>> > before.
>> > To catch the error I start gambas2 ... which refuses to start by saying
>> > "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library
>> > file"
>> >
>> > So now I would need some mainly to understand why it could have
>> happened.
>> > I removed "fakerote" but no change. I don't know how to uninstall my
>> > application but it shouldn't affect gambas itself.
>> >
>> > Maybe I need to reinstall gambas. The last time I followed these
>> > instructions and it worked well except the packaging:
>> > http://www.domotiga.nl/projects/domotiga/wiki/Gambas/Install
>> >
>> > Thanks for any advice,
>> >
>> > Robi
>> >
>> >
>>
>> If you want your project to depend on the mysql driver, you must
>> explicitely
>> check it in the project property dialog, provided that your gambas version
>> is
>> high enough (>= 2.14).
>>
>> Regards,
>>
>> --
>> Benoît Minisini
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user@...
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by Benoît Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hello All,
>
> I have a very basic question... how should I install Gambas 2 (latest
> version) for having the full version?
> I work on Ubuntu 9.04, 32bit version.
> I use database (mysql), serial port besida the standard features and I'd
> like to be able to make an installation package.
>
> On the wiki, the link doesn't work, the Ubuntu built-in version (2.8)
> doesn't handle the database part.
>
> I used http://www.domotiga.nl/projects/domotiga/wiki/Gambas/Install which
> installs the last version and works 100% correctly until I try to make a
> package (fail with a missing fakeroute component). When installing
>  fakeroute then the package is created but I was not able to install my
>  application, even the gambas behaved starnge after.
>
> Thanks for your help in advance.
> Robi
>

Please give all the details, the output of the packager wizard, the exact
messages (this is 'fakeroot', not 'fakeroute'), and so on. Otherwise it is
impossible to guess what the problem is exactly.

Regards,

--
Benoît Minisini

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by yuhej :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Benoît,

Now the packaging is OK since the fakeroot is added.
When I run the install file then it works.

When I start my installed application, it doesn't work (refers to missing
mysql driver).
Even worst, when I start gambas it also doesn't work anymore. It comes
directly after running the installation package file.
-------------------------------------
ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library file
-------------------------------------
I confirmed the same thing on 2 different PC with ubuntu 9.04 and on the
second with ubuntu 9.10. Always the same.

Gambas comes back after running the Computer Janitor and removing first my
application and also the proposed gambas components.

I attach the package file, if you are brave enough to risk to reproduce the
error :-)
(The source is also included, I think)
Thanks if you have time to have a look on it.

Regards, Robi


2009/10/29 Benoît Minisini <gambas@...>

> > Hello All,
> >
> > I have a very basic question... how should I install Gambas 2 (latest
> > version) for having the full version?
> > I work on Ubuntu 9.04, 32bit version.
> > I use database (mysql), serial port besida the standard features and I'd
> > like to be able to make an installation package.
> >
> > On the wiki, the link doesn't work, the Ubuntu built-in version (2.8)
> > doesn't handle the database part.
> >
> > I used http://www.domotiga.nl/projects/domotiga/wiki/Gambas/Installwhich
> > installs the last version and works 100% correctly until I try to make a
> > package (fail with a missing fakeroute component). When installing
> >  fakeroute then the package is created but I was not able to install my
> >  application, even the gambas behaved starnge after.
> >
> > Thanks for your help in advance.
> > Robi
> >
>
> Please give all the details, the output of the packager wizard, the exact
> messages (this is 'fakeroot', not 'fakeroute'), and so on. Otherwise it is
> impossible to guess what the problem is exactly.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

package.tar.gz (84K) Download Attachment

Re: packaging

by Benoît Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hello Benoît,
>
> Now the packaging is OK since the fakeroot is added.
> When I run the install file then it works.
>
> When I start my installed application, it doesn't work (refers to missing
> mysql driver).
> Even worst, when I start gambas it also doesn't work anymore. It comes
> directly after running the installation package file.
> -------------------------------------
> ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library
>  file -------------------------------------
> I confirmed the same thing on 2 different PC with ubuntu 9.04 and on the
> second with ubuntu 9.10. Always the same.
>
> Gambas comes back after running the Computer Janitor and removing first my
> application and also the proposed gambas components.
>
> I attach the package file, if you are brave enough to risk to reproduce the
> error :-)
> (The source is also included, I think)
> Thanks if you have time to have a look on it.
>
> Regards, Robi
>
>

You must use at least Gambas 2.14 to be able to add a dependency on
gb.db.mysql in your project. The bug has been fixed in that release.

The package you created will install all the dependencies needed to run *your*
program, but not the Gambas IDE. If you want to run the Gambas IDE on the
destination system, you must install the gambas2-ide package.

If you have installed the gambas2-ide package, and can't run Gambas, then the
package is buggy.

Regards,

--
Benoît Minisini

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: packaging

by yuhej :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I use Gambas 2.16 and 2.17 (I work on two machines).
I installed the application on these machines i.e. the gambas IDE was
already on the machine. Is it possible that it was the problem? I may try to
make an install on a "virgin" machine.

Robi

2009/11/1 Benoît Minisini <gambas@...>

> > Hello Benoît,
> >
> > Now the packaging is OK since the fakeroot is added.
> > When I run the install file then it works.
> >
> > When I start my installed application, it doesn't work (refers to missing
> > mysql driver).
> > Even worst, when I start gambas it also doesn't work anymore. It comes
> > directly after running the installation package file.
> > -------------------------------------
> > ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library
> >  file -------------------------------------
> > I confirmed the same thing on 2 different PC with ubuntu 9.04 and on the
> > second with ubuntu 9.10. Always the same.
> >
> > Gambas comes back after running the Computer Janitor and removing first
> my
> > application and also the proposed gambas components.
> >
> > I attach the package file, if you are brave enough to risk to reproduce
> the
> > error :-)
> > (The source is also included, I think)
> > Thanks if you have time to have a look on it.
> >
> > Regards, Robi
> >
> >
>
> You must use at least Gambas 2.14 to be able to add a dependency on
> gb.db.mysql in your project. The bug has been fixed in that release.
>
> The package you created will install all the dependencies needed to run
> *your*
> program, but not the Gambas IDE. If you want to run the Gambas IDE on the
> destination system, you must install the gambas2-ide package.
>
> If you have installed the gambas2-ide package, and can't run Gambas, then
> the
> package is buggy.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Possible Bug - ValueBox

by Steven James Drinnan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was adding a ValueBox and I wanted to add a default value.

But ...

There was no 'text' property field in the IDE

Still can set the default value in code though.

Steven

[OperatingSystem]
OperatingSystem=Linux
KernelRelease=2.6.30.9-90.fc11.x86_64
DistributionVendor=redhat
DistributionRelease=Fedora release 11 (Leonidas)

[System]
CPUArchitecture=x86_64
CPUName=Intel(R) Core(TM)2 Duo CPU     T5670  @ 1.80GHz
CPUCores=2
TotalRam=4011844 kB

[Gambas]
Gambas1=Not Installed
Gambas2=2.16.0
Gambas2Path=/usr/bin/gbx2
Gambas3=Not Installed


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

signature.asc (204 bytes) Download Attachment

Re: Possible Bug - ValueBox

by Steven James Drinnan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Correction text property is read only
Also the max property is not honored.

Steven

On Mon, 2009-11-02 at 14:47 +0800, Steven James Drinnan wrote:

> I was adding a ValueBox and I wanted to add a default value.
>
> But ...
>
> There was no 'text' property field in the IDE
>
> Still can set the default value in code though.
>
> Steven
>
> [OperatingSystem]
> OperatingSystem=Linux
> KernelRelease=2.6.30.9-90.fc11.x86_64
> DistributionVendor=redhat
> DistributionRelease=Fedora release 11 (Leonidas)
>
> [System]
> CPUArchitecture=x86_64
> CPUName=Intel(R) Core(TM)2 Duo CPU     T5670  @ 1.80GHz
> CPUCores=2
> TotalRam=4011844 kB
>
> [Gambas]
> Gambas1=Not Installed
> Gambas2=2.16.0
> Gambas2Path=/usr/bin/gbx2
> Gambas3=Not Installed
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________ Gambas-user mailing list Gambas-user@... https://lists.sourceforge.net/lists/listinfo/gambas-user


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

signature.asc (204 bytes) Download Attachment

Re: Possible Bug - ValueBox

by Steven James Drinnan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just noticed the value field.

But this also does not appear in the properties of the IDE.

Steven

On Mon, 2009-11-02 at 14:47 +0800, Steven James Drinnan wrote:

> I was adding a ValueBox and I wanted to add a default value.
>
> But ...
>
> There was no 'text' property field in the IDE
>
> Still can set the default value in code though.
>
> Steven
>
> [OperatingSystem]
> OperatingSystem=Linux
> KernelRelease=2.6.30.9-90.fc11.x86_64
> DistributionVendor=redhat
> DistributionRelease=Fedora release 11 (Leonidas)
>
> [System]
> CPUArchitecture=x86_64
> CPUName=Intel(R) Core(TM)2 Duo CPU     T5670  @ 1.80GHz
> CPUCores=2
> TotalRam=4011844 kB
>
> [Gambas]
> Gambas1=Not Installed
> Gambas2=2.16.0
> Gambas2Path=/usr/bin/gbx2
> Gambas3=Not Installed
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________ Gambas-user mailing list Gambas-user@... https://lists.sourceforge.net/lists/listinfo/gambas-user


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

signature.asc (204 bytes) Download Attachment
< Prev | 1 - 2 | Next >