Problems with the gb.db.mysql component

View: New views
4 Messages — Rating Filter:   Alert me  

Problems with the gb.db.mysql component

by David Villalobos Cambronero :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Benoit:

Yesterday I had some problems with the gb.db.mysql component, that is what I found:
1.I had to install Mandriva 2008.1 64Bits on my computer, then install Gambas 3 dependencies, then compile Gambas as usual, everything went fine.
2.But when I try to compile one of my application that uses gb.db.mysql got ab error telling me that “modMain” can't be loaded. modMain is the Startup method in the gb.db.mysql component.
3.The very first thing I tried to do was execute: “./configure -C; make; su -c "make install"” in the ../trunk/gb.db.mysql/ directory and then my application runs fine.
4.Seems that there is a problem during the compilation in Gambas, so I made it again and save all the output to a file and look for gb.db.mysql, and seems that everything is OK.

So, do you have any idea about that, why in the first compilation doesn't work?

Best regards

David



     

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel

Re: Problems with the gb.db.mysql component

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On mardi 17 juin 2008, David Villalobos Cambronero wrote:

> Hi Benoit:
>
> Yesterday I had some problems with the gb.db.mysql component, that is what
> I found: 1.I had to install Mandriva 2008.1 64Bits on my computer, then
> install Gambas 3 dependencies, then compile Gambas as usual, everything
> went fine. 2.But when I try to compile one of my application that uses
> gb.db.mysql got ab error telling me that “modMain” can't be loaded. modMain
> is the Startup method in the gb.db.mysql component. 3.The very first thing
> I tried to do was execute: “./configure -C; make; su -c "make install"” in
> the ../trunk/gb.db.mysql/ directory and then my application runs fine.
> 4.Seems that there is a problem during the compilation in Gambas, so I made
> it again and save all the output to a file and look for gb.db.mysql, and
> seems that everything is OK.
>
> So, do you have any idea about that, why in the first compilation doesn't
> work?
>
> Best regards
>
> David
>

If you take the sources from the svn repository, you have to do a "./reconf"
before "./configure". Maybe it is the source of the problem?

And are you sure that everything went fine? I can't say if I don't see the
full output of the compilation and install process...

--
Benoit Minisini

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel

Parent Message unknown Re: Problems with the gb.db.mysql component

by David Villalobos Cambronero :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, I do a ./reconf-all, and I'm sure everythings is fine since if I compile the component againg it works, I'll send you the entire output.

Regards

David

----- Original Message ----
From: Benoit Minisini <gambas@...>
To: mailing list for gambas developers <gambas-devel@...>
Sent: Friday, June 20, 2008 6:46:29 AM
Subject: Re: [Gambas-devel] Problems with the gb.db.mysql component

On mardi 17 juin 2008, David Villalobos Cambronero wrote:

> Hi Benoit:
>
> Yesterday I had some problems with the gb.db.mysql component, that is what
> I found: 1.I had to install Mandriva 2008.1 64Bits on my computer, then
> install Gambas 3 dependencies, then compile Gambas as usual, everything
> went fine. 2.But when I try to compile one of my application that uses
> gb.db.mysql got ab error telling me that “modMain” can't be loaded. modMain
> is the Startup method in the gb.db.mysql component. 3.The very first thing
> I tried to do was execute: “./configure -C; make; su -c "make install"” in
> the ../trunk/gb.db.mysql/ directory and then my application runs fine.
> 4.Seems that there is a problem during the compilation in Gambas, so I made
> it again and save all the output to a file and look for gb.db.mysql, and
> seems that everything is OK.
>
> So, do you have any idea about that, why in the first compilation doesn't
> work?
>
> Best regards
>
> David
>

If you take the sources from the svn repository, you have to do a "./reconf"
before "./configure". Maybe it is the source of the problem?

And are you sure that everything went fine? I can't say if I don't see the
full output of the compilation and install process...

--
Benoit Minisini

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel



     

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel

Parent Message unknown Re: Problems with the gb.db.mysql component

by David Villalobos Cambronero :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I found the error, it was my mistake. I add the component gb.qt to gb.db.mysql because I add a procedure that ask to execute or not every statement, but I forgot to add the dependence to the correct file, so gb.db.mysql compiles without gb.qt being present, so I got that error.

I decide to eliminate this feature since we can do it in our program (I mean ask to confirm the execution of every query), and this way gb.db.mysql denpends only of gb.db

Regards

David

----- Original Message ----
From: David Villalobos Cambronero <david_villalobos_c@...>
To: mailing list for gambas developers <gambas-devel@...>
Sent: Friday, June 20, 2008 8:04:36 AM
Subject: Re: [Gambas-devel] Problems with the gb.db.mysql component

Yes, I do a ./reconf-all, and I'm sure everythings is fine since if I compile the component againg it works, I'll send you the entire output.

Regards

David

----- Original Message ----
From: Benoit Minisini <gambas@...>
To: mailing list for gambas developers <gambas-devel@...>
Sent: Friday, June 20, 2008 6:46:29 AM
Subject: Re: [Gambas-devel] Problems with the gb.db.mysql component

On mardi 17 juin 2008, David Villalobos Cambronero wrote:

> Hi Benoit:
>
> Yesterday I had some problems with the gb.db.mysql component, that is what
> I found: 1.I had to install Mandriva 2008.1 64Bits on my computer, then
> install Gambas 3 dependencies, then compile Gambas as usual, everything
> went fine. 2.But when I try to compile one of my application that uses
> gb.db.mysql got ab error telling me that “modMain” can't be loaded. modMain
> is the Startup method in the gb.db.mysql component. 3.The very first thing
> I tried to do was execute: “./configure -C; make; su -c "make install"” in
> the ../trunk/gb.db.mysql/ directory and then my application runs fine.
> 4.Seems that there is a problem during the compilation in Gambas, so I made
> it again and save all the output to a file and look for gb.db.mysql, and
> seems that everything is OK.
>
> So, do you have any idea about that, why in the first compilation doesn't
> work?
>
> Best regards
>
> David
>

If you take the sources from the svn repository, you have to do a "./reconf"
before "./configure". Maybe it is the source of the problem?

And are you sure that everything went fine? I can't say if I don't see the
full output of the compilation and install process...

--
Benoit Minisini

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel



     

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel



     

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-devel mailing list
Gambas-devel@...
https://lists.sourceforge.net/lists/listinfo/gambas-devel
LightInTheBox - Buy quality products at wholesale price