Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-30 Thread Dan Lewis

On 09/25/2014 03:44 AM, Bjoern Michaelsen wrote:

On Wed, Sep 24, 2014 at 07:50:56PM -0400, Robinson Tryon wrote:

On Wed, Sep 24, 2014 at 7:33 PM, Dan Lewis  wrote:

Ubuntu version. I seem to recall that build-dep did not install all of
the required build environment for me and that I had to add extra stuff.

bingo!


  First and only error:

 Error running ./autogen.sh line 258.

Explanation of the error:
  Files not found:
  gstreamer-0.10
  gstreamer-0.10-plugins-base-0.10
...
So, what should I do now. My laptop (32r bit) is running Kubuntu 14.04.

The build dependencies package on *buntu doesn't include gstreamer
stuff. To fix that:

  sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev

Alternatively, do:

  ./autogen.sh --enable-gstreamer --disable-gstreamer-0-10

to use the less horribly outdated gstreamer 1.0 instead of gstreamer 0.10 (as 
Ubuntu
packages do).

Best,

Bjoern
 When I ran this on Ubuntu 12.04 (64 bit), an error was generated 
even though I have gstreamer1.0 installed (a total of 20 files for this 
are listed in synaptic). The message: could not find gstreamer1.0.


(1)./autogen.sh --enable-ext-mariadb-connector 
--enable-bundle-mariadb --enable-gstreamer --disable-gstreamer-0-10


However, when I ran

( 2)   make fetch

and then reran (1), I got the same error message. then I ran (3) which 
did not produce any error message. (I also have gstreamer0.1 installed.)


(3)
./autogen.sh --enable-ext-mariadb-connector --enable-bundle-mariadb
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-26 Thread Alex Thurgood
Le 25/09/2014 09:44, Bjoern Michaelsen a écrit :

>>
>> The build dependencies package on *buntu doesn't include gstreamer
>> stuff. To fix that:
>>
>>  sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
> 
> Alternatively, do:
> 
>  ./autogen.sh --enable-gstreamer --disable-gstreamer-0-10
> 
> to use the less horribly outdated gstreamer 1.0 instead of gstreamer 0.10 (as 
> Ubuntu
> packages do).

This gstreamer dev library support caused me no end of headache
initially. For casual builders, such as I assume most QAers, it is one
more barrier to entry for people on *buntu (and/or Debian) based distros.

Thanks for pointing out the appropriate switches.


Alex

___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-25 Thread Robinson Tryon
On Thu, Sep 25, 2014 at 3:44 AM, Bjoern Michaelsen
 wrote:
> On Wed, Sep 24, 2014 at 07:50:56PM -0400, Robinson Tryon wrote:
>>  sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
>
> Alternatively, do:
>
>  ./autogen.sh --enable-gstreamer --disable-gstreamer-0-10
>
> to use the less horribly outdated gstreamer 1.0 instead of gstreamer 0.10 (as 
> Ubuntu
> packages do).

I made a quick update to the documentation to clarify the
configure-to-use-newer or install-older choice:
https://wiki.documentfoundation.org/Development/BuildingOnLinux#Build_dependencies

It looks like the note about running autogen is under the 'Debian'
section on the Build Dep page, so I pointed the user there, but
perhaps it shouldalso be under the 'Ubuntu' heading (or perhaps the
two headings combined in some fashion?):
https://wiki.documentfoundation.org/Development/Linux_Build_Dependencies#Debian

Improvements to those wiki pages appreciated :-)

Thanks,
--R

-- 
Robinson Tryon
QA Engineer - The Document Foundation
LibreOffice Community Outreach Herald
qu...@libreoffice.org
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-25 Thread Bjoern Michaelsen
On Wed, Sep 24, 2014 at 07:50:56PM -0400, Robinson Tryon wrote:
> On Wed, Sep 24, 2014 at 7:33 PM, Dan Lewis  wrote:
> >> Ubuntu version. I seem to recall that build-dep did not install all of
> >> the required build environment for me and that I had to add extra stuff.
> 
> bingo!
> 
> >  First and only error:
> >
> > Error running ./autogen.sh line 258.
> >
> > Explanation of the error:
> >  Files not found:
> >  gstreamer-0.10
> >  gstreamer-0.10-plugins-base-0.10
> > ...
> > So, what should I do now. My laptop (32r bit) is running Kubuntu 14.04.
> 
> The build dependencies package on *buntu doesn't include gstreamer
> stuff. To fix that:
> 
>  sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev

Alternatively, do:

 ./autogen.sh --enable-gstreamer --disable-gstreamer-0-10

to use the less horribly outdated gstreamer 1.0 instead of gstreamer 0.10 (as 
Ubuntu
packages do).

Best,

Bjoern
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-25 Thread Rene Engelhard
Hi,

On Wed, Sep 24, 2014 at 07:50:56PM -0400, Robinson Tryon wrote:
> The build dependencies package on *buntu doesn't include gstreamer
> stuff.

This is not true. It does.

>  sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev

Just not the obsolete 0.10 but 1.0.

Regards,

Rene
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-24 Thread Dan Lewis

On 09/24/2014 07:50 PM, Robinson Tryon wrote:

sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
 Thank you very much! I entered this in a command line and then 
reran autogen.sh successful.


Dan
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-24 Thread Robinson Tryon
On Wed, Sep 24, 2014 at 7:33 PM, Dan Lewis  wrote:
>> Ubuntu version. I seem to recall that build-dep did not install all of
>> the required build environment for me and that I had to add extra stuff.

bingo!

>  First and only error:
>
> Error running ./autogen.sh line 258.
>
> Explanation of the error:
>  Files not found:
>  gstreamer-0.10
>  gstreamer-0.10-plugins-base-0.10
> ...
> So, what should I do now. My laptop (32r bit) is running Kubuntu 14.04.

The build dependencies package on *buntu doesn't include gstreamer
stuff. To fix that:

 sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev

Check out the wiki for the latest notes on how to build on a platform:
https://wiki.documentfoundation.org/Development/BuildingOnLinux#Build_dependencies

If those wiki notes are ever out of date, please update them/talk to a
dev about updating them :-)

Best,
--R

-- 
Robinson Tryon
QA Engineer - The Document Foundation
LibreOffice Community Outreach Herald
qu...@libreoffice.org
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-24 Thread Dan Lewis

On 09/24/2014 07:57 AM, Alexander Thurgood wrote:

Le 24/09/2014 11:45, Dan Lewis a écrit :


   Preliminary needed programs:
1) apt-cache search gnome-vfs
2)  sudo apt-get install libgnome-vfsmm-2.6-dev

   Building the native connector
1)  sudo apt-get install git
2)  sudo apt-get build-dep libreoffice

some of the above might have changed again, depending on your current
Ubuntu version. I seem to recall that build-dep did not install all of
the required build environment for me and that I had to add extra stuff.



3)  $ git clone git://gerrit.libreoffice.org/core
4)  cd core



5)  ./autogen.sh --enable-ext-mysql-connector --with-system-mysql

see my previous reply these switches have been disabled, use the mariadb
enable switches instead



6)  make fetch
7)  ./g checkout -b libreoffice-4-0 origin/libreoffice-4-0


You might want to set the above to a current version of LO release
branch (so 4.2 or 4.3)



8) make dev-install

No need for make dev-install any more, a simple "make" will produce a
runnable build, and you should be able to find your OXT within the
instdir folder, or alternatively in core/workdir/Extension/.


Alex

 First and only error:

Error running ./autogen.sh line 258.

Explanation of the error:
 Files not found:
 gstreamer-0.10
 gstreamer-0.10-plugins-base-0.10

"Alternately, you may set the environment variables 
GSTREAMER_0_10_CFLAGS and GSTREAMER_0_10_LIBS to avoid the need to call 
pkg-config."


So, what should I do now. My laptop (32r bit) is running Kubuntu 14.04.

Dan
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-24 Thread Alexander Thurgood
Le 24/09/2014 11:45, Dan Lewis a écrit :

>   Preliminary needed programs:
> 1) apt-cache search gnome-vfs
> 2)  sudo apt-get install libgnome-vfsmm-2.6-dev
> 
>   Building the native connector
> 1)  sudo apt-get install git
> 2)  sudo apt-get build-dep libreoffice

some of the above might have changed again, depending on your current
Ubuntu version. I seem to recall that build-dep did not install all of
the required build environment for me and that I had to add extra stuff.


> 3)  $ git clone git://gerrit.libreoffice.org/core
> 4)  cd core


> 5)  ./autogen.sh --enable-ext-mysql-connector --with-system-mysql

see my previous reply these switches have been disabled, use the mariadb
enable switches instead


> 6)  make fetch
> 7)  ./g checkout -b libreoffice-4-0 origin/libreoffice-4-0


You might want to set the above to a current version of LO release
branch (so 4.2 or 4.3)


> 8) make dev-install

No need for make dev-install any more, a simple "make" will produce a
runnable build, and you should be able to find your OXT within the
instdir folder, or alternatively in core/workdir/Extension/.


Alex

___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-24 Thread Alexander Thurgood
Le 24/09/2014 04:40, Dan Lewis a écrit :

>   Follow-up question to the second paragraph: Can some one point me
> in the right direction to build the MySQL native connectors for Linux 32
> and 64 bit? I seem to have lost the instructions that Alex provided me
> with a couple of years ago. (He was a great help to me.)
> 

Hi Dan,

When building from the LO code base, your autogen.input or
autogen.lastrun file should contain the following switches :

--enable-ext-mariadb-connector
--enable-bundle-mariadb

You might also have to add :

--with-system-mariadb

this last one basically tells the build system to use the OS-provided
libmariadb libraries, but that would assume that you have them installed
on your system. Without it, the build system should download and install
its own libmariadb package.


Alex

___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-24 Thread Dan Lewis

On 09/23/2014 10:40 PM, Dan Lewis wrote:

On 09/22/2014 11:59 AM, Dan Lewis wrote:
   Can MySQL be accessed on an Apple computer using a native 
connector? If so, what is the URL for where it is located? If not, 
how can it be accessed and the URL for the connector's location?
   A couple of years ago, I made a MySQL native connectors for Linux 
32 and 64 bit. Should these be updated? What version should they be 
made against?


Dan 
  Follow-up question to the second paragraph: Can some one point 
me in the right direction to build the MySQL native connectors for 
Linux 32 and 64 bit? I seem to have lost the instructions that Alex 
provided me with a couple of years ago. (He was a great help to me.)


Dan
 And additional follow-up question: I have found the following 
steps that I used the last time. What changes if any need to be made in 
these steps?


  Preliminary needed programs:
1) apt-cache search gnome-vfs
2)  sudo apt-get install libgnome-vfsmm-2.6-dev

  Building the native connector
1)  sudo apt-get install git
2)  sudo apt-get build-dep libreoffice
3)  $ git clone git://gerrit.libreoffice.org/core
4)  cd core
5)  ./autogen.sh --enable-ext-mysql-connector --with-system-mysql
6)  make fetch
7)  ./g checkout -b libreoffice-4-0 origin/libreoffice-4-0
8) make dev-install

Dan
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-23 Thread Dan Lewis

On 09/22/2014 11:59 AM, Dan Lewis wrote:
   Can MySQL be accessed on an Apple computer using a native 
connector? If so, what is the URL for where it is located? If not, how 
can it be accessed and the URL for the connector's location?
   A couple of years ago, I made a MySQL native connectors for Linux 
32 and 64 bit. Should these be updated? What version should they be 
made against?


Dan 
  Follow-up question to the second paragraph: Can some one point me 
in the right direction to build the MySQL native connectors for Linux 32 
and 64 bit? I seem to have lost the instructions that Alex provided me 
with a couple of years ago. (He was a great help to me.)


Dan
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-23 Thread Alexander Thurgood
Le 22/09/2014 17:59, Dan Lewis a écrit :

Hi Dan,

>Can MySQL be accessed on an Apple computer using a native connector?
> If so, what is the URL for where it is located? If not, how can it be
> accessed and the URL for the connector's location?

See my answer to you on the users list.




>A couple of years ago, I made a MySQL native connectors for Linux 32
> and 64 bit. Should these be updated? What version should they be made
> against?

Basically, you should build them against the codebase for the same
version as you would use in production, otherwise there is no guarantee
that they will work with other versions. On the whole, you shouldn't
need to worry about minor version differences, i.e. a connector build
against the 4.2.1 codebase should also work on any of the 4.2.x range,
etc, but YMMV because most devs don't check whether their code changes
in other areas of LO affect the building and functioning of the connector.


Alex






___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] MySQL native connector for OS X

2014-09-22 Thread Joel Madero
Might get better results emailing the user list - more people on that
list and this seems like a user ("can I do this") question.

Best,
Joel

On 09/22/2014 08:59 AM, Dan Lewis wrote:
>Can MySQL be accessed on an Apple computer using a native
> connector? If so, what is the URL for where it is located? If not, how
> can it be accessed and the URL for the connector's location?
>A couple of years ago, I made a MySQL native connectors for Linux
> 32 and 64 bit. Should these be updated? What version should they be
> made against?
>
> Dan
>
>
> ___
> List Name: Libreoffice-qa mailing list
> Mail address: Libreoffice-qa@lists.freedesktop.org
> Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
> Problems? 
> http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
> List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

[Libreoffice-qa] MySQL native connector for OS X

2014-09-22 Thread Dan Lewis
   Can MySQL be accessed on an Apple computer using a native connector? 
If so, what is the URL for where it is located? If not, how can it be 
accessed and the URL for the connector's location?
   A couple of years ago, I made a MySQL native connectors for Linux 32 
and 64 bit. Should these be updated? What version should they be made 
against?


Dan
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/