Re: [Gambas-user] [Fwd: Not Found component gb.form in /usr/local/lib/gambas2]

2009-12-18 Thread Benoît Minisini
 Hello.
 
 When I create a new project with database support. The hidden file .
 project  show me the  components that are needed to run the
 application.
 
 Example.
 
 # Gambas Project File 2.0
 Title=myproject
 Startup=FMain
 Library=gb.db
 Library=gb.gtk
 Library=gb.gtk.ext
 Library=gb.form =NOT FOUND
 Library=gb.db.form
 
 All the components I could find in the folder / usr/local/lib/gambas2 /
 but that is not the only component is the gb.form.
 How can I locate it, or refers to another component in particular?.
 
 Regards
 

Your installation of Gambas is apparently broken. How did you install it?

-- 
Benoît Minisini

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Fwd: Not Found component gb.form in /usr/local/lib/gambas2]

2009-12-18 Thread craf
-Mensaje original-
De: Benoît Minisini gam...@users.sourceforge.net
Reply-to: mailing list for gambas users
gambas-user@lists.sourceforge.net
Para: mailing list for gambas users gambas-user@lists.sourceforge.net
Asunto: Re: [Gambas-user] [Fwd: Not Found component gb.form
in /usr/local/lib/gambas2]
Fecha: Fri, 18 Dec 2009 11:53:09 +0100

 Hello.
 
 When I create a new project with database support. The hidden file .
 project  show me the  components that are needed to run the
 application.
 
 Example.
 
 # Gambas Project File 2.0
 Title=myproject
 Startup=FMain
 Library=gb.db
 Library=gb.gtk
 Library=gb.gtk.ext
 Library=gb.form =NOT FOUND
 Library=gb.db.form
 
 All the components I could find in the folder / usr/local/lib/gambas2 /
 but that is not the only component is the gb.form.
 How can I locate it, or refers to another component in particular?.
 
 Regards
 

 Your installation of Gambas is apparently broken. How did you install it?

Hi Benoit, thanks for responding. 

I tell you, I'm trying to do an install script of my programs in order
to distribute other equipment. I need to copy all the shared libraries
needed by components Gambas.
 
To do this read the file (. Project) and then run ldd component
instruction. The script finds all least gb.form component.
 
I have no problems running Gambas and run my programs, just do not find
the component gb.form in the folder /usr/local/lib/gambas2. 

The installation I do is the next to my computer with Ubuntu 9.04. 

1) Position needed packages: 

sudo apt-get install build-essential autoconf libbz2-dev libfbclient2
libgnorba-dev libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev
libsqlite3-dev libgtk2.0-dev libldap2-dev gnutls-dev
libcurl4-libgtkglext1-dev libpcre3-dev libsdl-dev
libsdl-sound1.2-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev
libxslt1-dev libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev-dev
libpoppler libpoppler-glib-dev libesd0-dev libasound2-dev libesd-alsa0
libdirectfb-dev-dev libaa1 libxtst-dev libffi-dev kdelibs4-dev
firebird2.1-dev libqt4-dev 

2) After installing I always: 

$ Cd / usr/src/gambas2-2.18.0 
$ Sudo. / Configure-C 
$ Sudo make 
$ Sudo make install 

After that I normally run my program. 

I see the folder / usr/local/lib/gambas2 has a component gb.form.gambas
there any connection between the component gb.form?. 

Any help on this point I would appreciate it.

Regards

[OperatingSystem]
OperatingSystem=Linux
KernelRelease=2.6.28-14-generic
DistributionVendor=ubuntu
DistributionRelease=Ubuntu 9.04

[System]
CPUArchitecture=i686
TotalRam=1026628 kB

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


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Fwd: Not Found component gb.form in /usr/local/lib/gambas2]

2009-12-18 Thread Benoît Minisini
 -Mensaje original-
 De: Benoît Minisini gam...@users.sourceforge.net
 Reply-to: mailing list for gambas users
 gambas-user@lists.sourceforge.net
 Para: mailing list for gambas users gambas-user@lists.sourceforge.net
 Asunto: Re: [Gambas-user] [Fwd: Not Found component gb.form
 in /usr/local/lib/gambas2]
 Fecha: Fri, 18 Dec 2009 11:53:09 +0100
 
  Hello.
 
  When I create a new project with database support. The hidden file .
  project  show me the  components that are needed to run the
  application.
 
  Example.
 
  # Gambas Project File 2.0
  Title=myproject
  Startup=FMain
  Library=gb.db
  Library=gb.gtk
  Library=gb.gtk.ext
  Library=gb.form =NOT FOUND
  Library=gb.db.form
 
  All the components I could find in the folder / usr/local/lib/gambas2 /
  but that is not the only component is the gb.form.
  How can I locate it, or refers to another component in particular?.
 
  Regards
 
 
  Your installation of Gambas is apparently broken. How did you install it?
 
 Hi Benoit, thanks for responding.
 
 I tell you, I'm trying to do an install script of my programs in order
 to distribute other equipment. I need to copy all the shared libraries
 needed by components Gambas.
 
 To do this read the file (. Project) and then run ldd component
 instruction. The script finds all least gb.form component.
 
 I have no problems running Gambas and run my programs, just do not find
 the component gb.form in the folder /usr/local/lib/gambas2.
 

gb.form is a component written in gambas, so you have only the gb.form.gambas 
and gb.form.component files in the lib/gambas2 directory.

Regards,

-- 
Benoît Minisini

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Fwd: Not Found component gb.form in /usr/local/lib/gambas2]

2009-12-18 Thread craf
-Mensaje original-
De: Benoît Minisini gam...@users.sourceforge.net
Reply-to: mailing list for gambas users
gambas-user@lists.sourceforge.net
Para: mailing list for gambas users gambas-user@lists.sourceforge.net
Asunto: Re: [Gambas-user] [Fwd: Not Found component gb.form
in /usr/local/lib/gambas2]
Fecha: Fri, 18 Dec 2009 15:33:07 +0100

 -Mensaje original-
 De: Benoît Minisini gam...@users.sourceforge.net
 Reply-to: mailing list for gambas users
 gambas-user@lists.sourceforge.net
 Para: mailing list for gambas users gambas-user@lists.sourceforge.net
 Asunto: Re: [Gambas-user] [Fwd: Not Found component gb.form
 in /usr/local/lib/gambas2]
 Fecha: Fri, 18 Dec 2009 11:53:09 +0100
 
  Hello.
 
  When I create a new project with database support. The hidden file .
  project  show me the  components that are needed to run the
  application.
 
  Example.
 
  # Gambas Project File 2.0
  Title=myproject
  Startup=FMain
  Library=gb.db
  Library=gb.gtk
  Library=gb.gtk.ext
  Library=gb.form =NOT FOUND
  Library=gb.db.form
 
  All the components I could find in the folder / usr/local/lib/gambas2 /
  but that is not the only component is the gb.form.
  How can I locate it, or refers to another component in particular?.
 
  Regards
 
 
  Your installation of Gambas is apparently broken. How did you install it?
 
 Hi Benoit, thanks for responding.
 
 I tell you, I'm trying to do an install script of my programs in order
 to distribute other equipment. I need to copy all the shared libraries
 needed by components Gambas.
 
 To do this read the file (. Project) and then run ldd component
 instruction. The script finds all least gb.form component.
 
 I have no problems running Gambas and run my programs, just do not find
 the component gb.form in the folder /usr/local/lib/gambas2.
 

gb.form is a component written in gambas, so you have only the gb.form.gambas 
and gb.form.component files in the lib/gambas2 directory.

Regards,

Hello.

So I need the component gb.form?. 

If so, why I run my applications, if required this component, because
when you create a basic gtk application, me included?.

What would that do to include it in my collection?, Or is it normal that
I receive?.

Regards.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] mysql mediumtext/longtext fields

2009-12-18 Thread Ricardo Díaz Martín
Is it possible to get content of these kind of fields from gambas db
component and show it in textboxes?

Regards,

Ricardo Díaz
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] SHELL not working (GB_DIR)

2009-12-18 Thread Jesus Guardon
Jesus Guardon escribió:
 Benoît Minisini escribió:
 Hi all

 I am experimenting with the GB_DIR environment variable, and I've made a
 deb package with my program to install it in /opt. The current dir
 structure is as follows:

 je...@jesus:~$ tree /opt
 /opt
 `-- dfhlog

 |-- dfhlog.gambas

 `-- gambas2

 |-- bin
 |
 |   |-- gbr2 - gbx2
 |
 |   `-- gbx2

 `-- lib
 `-- gambas2

 |-- gb.component
 |-- gb.corba.component
 |-- ... etc

 ...etc...

 I am calling my executable from a bash script located in /usr/local/bin

 je...@jesus:~$ cat /usr/local/bin/dfhlog
 #!/bin/sh
 export PATH=/opt/dfhlog/gambas2/bin
 export GB_DIR=/opt/dfhlog/gambas2
 exec /opt/dfhlog/dfhlog.gambas

 (In this case, LD_LIBRARY_PATH is not used, because they already are in
 my system).
snip
 Thanks Benoît
 
 Surprisingly, after a recompile, it works as expected! May be I was
 using an old executable file (dfhlog.gambas). Sorry for my mistake 8-(
 
 Regards
 
 Jesús

Hi again

Continuing my testings on GB_DIR, I'm running into a new problem: SHELL
command has no effect at all. All sentences using SHELL are not
executed. As you can guess, running my project executable the normal way
(not using GB_DIR) it is running right. Could this be a bug?

Thanks in advance.

Jesús

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] SHELL not working (GB_DIR)

2009-12-18 Thread Benoît Minisini
 Jesus Guardon escribió:
  Benoît Minisini escribió:
  Hi all
 
  I am experimenting with the GB_DIR environment variable, and I've made
  a deb package with my program to install it in /opt. The current dir
  structure is as follows:
 
  je...@jesus:~$ tree /opt
  /opt
  `-- dfhlog
 
  |-- dfhlog.gambas
 
  `-- gambas2
 
  |-- bin
  |
  |   |-- gbr2 - gbx2
  |
  |   `-- gbx2
 
  `-- lib
  `-- gambas2
 
  |-- gb.component
  |-- gb.corba.component
  |-- ... etc
 
  ...etc...
 
  I am calling my executable from a bash script located in /usr/local/bin
 
  je...@jesus:~$ cat /usr/local/bin/dfhlog
  #!/bin/sh
  export PATH=/opt/dfhlog/gambas2/bin
  export GB_DIR=/opt/dfhlog/gambas2
  exec /opt/dfhlog/dfhlog.gambas
 
  (In this case, LD_LIBRARY_PATH is not used, because they already are in
  my system).
 
 snip
 
  Thanks Benoît
 
  Surprisingly, after a recompile, it works as expected! May be I was
  using an old executable file (dfhlog.gambas). Sorry for my mistake 8-(
 
  Regards
 
  Jesús
 
 Hi again
 
 Continuing my testings on GB_DIR, I'm running into a new problem: SHELL
 command has no effect at all. All sentences using SHELL are not
 executed. As you can guess, running my project executable the normal way
 (not using GB_DIR) it is running right. Could this be a bug?
 
 Thanks in advance.
 
 Jesús
 

SHELL is just an equivalent of EXEC [sh, -c, XXX] where XXX is the 
string passed to the SHELL command.

Do you have any error message from gambas? I need as many details as possible!

Regards,

-- 
Benoît Minisini

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user