Re: Build AOO with mysql
Hi Mechtilde, Am 28.06.19 um 10:56 schrieb Mechtilde: > Hello, > > > I want to build AOO with mysql to get a recent mysql-connector. > > I get the following error: > > > Compiling: mysqlc/source/mysqlc_types.cxx > /home/mechtilde/aoo42x/main/mysqlc/source/mysqlc_types.cxx:784:1: error: > narrowing conversion of '4294967295u' from 'unsigned int' to 'sal_Int32 > {aka int}' inside { } [-Wnarrowing] > }; > ^ > dmake: Error code 1, while making '../unxlngx6.pro/slo/mysqlc_types.obj' > > > > What should I change to build it. I have no idea, but did you follow the instructions given here? http://svn.apache.org/repos/asf/openoffice/branches/AOO42X/main/mysqlc/source/README Regards, Matthias > > thanks and kind regards smime.p7s Description: S/MIME Cryptographic Signature
Re: Build AOO with mysql
Hello, Am 29.06.19 um 10:07 schrieb Matthias Seidel: > Hi Mechtilde, > > Am 28.06.19 um 10:56 schrieb Mechtilde: >> Hello, >> >> >> I want to build AOO with mysql to get a recent mysql-connector. >> >> I get the following error: >> >> >> Compiling: mysqlc/source/mysqlc_types.cxx >> /home/mechtilde/aoo42x/main/mysqlc/source/mysqlc_types.cxx:784:1: error: >> narrowing conversion of '4294967295u' from 'unsigned int' to 'sal_Int32 >> {aka int}' inside { } [-Wnarrowing] >> }; >> ^ >> dmake: Error code 1, while making '../unxlngx6.pro/slo/mysqlc_types.obj' >> >> >> >> What should I change to build it. > I have no idea, but did you follow the instructions given here? > > http://svn.apache.org/repos/asf/openoffice/branches/AOO42X/main/mysqlc/source/README Although I didn't know about that instruction I installed both packages. In Debian they are named default-libmysqlclient-dev and libmysqlcppconn-dev. > > Regards, > > Matthias > >> >> thanks and kind regards > -- Mechtilde Stehmann ## Apache OpenOffice ## Freie Office Suite für Linux, MacOSX, Windows ## Debian Developer ## PGP encryption welcome ## F0E3 7F3D C87A 4998 2899 39E7 F287 7BBA 141A AD7F signature.asc Description: OpenPGP digital signature
Re: Build AOO with mysql
Niltze [Hello], Mech~ On Sat, Jun 29, 2019 at 1:17 AM Mechtilde wrote: > > Hello, > > Am 29.06.19 um 10:07 schrieb Matthias Seidel: > > Hi Mechtilde, > > > > Am 28.06.19 um 10:56 schrieb Mechtilde: > >> Hello, > >> > >> > >> I want to build AOO with mysql to get a recent mysql-connector. > >> > >> I get the following error: > >> > >> > >> Compiling: mysqlc/source/mysqlc_types.cxx > >> /home/mechtilde/aoo42x/main/mysqlc/source/mysqlc_types.cxx:784:1: error: > >> narrowing conversion of '4294967295u' from 'unsigned int' to 'sal_Int32 > >> {aka int}' inside { } [-Wnarrowing] > >> }; > >> ^ > >> dmake: Error code 1, while making '../unxlngx6.pro/slo/mysqlc_types.obj' > >> > >> > >> > >> What should I change to build it. > > I have no idea, but did you follow the instructions given here? > > > > http://svn.apache.org/repos/asf/openoffice/branches/AOO42X/main/mysqlc/source/README > > Although I didn't know about that instruction I installed both packages. > > In Debian they are named default-libmysqlclient-dev and libmysqlcppconn-dev. You might want to try MariaDB's libmariadb-dev-compat ≈ libmysqlclient-dev Either from Debian repositories or (by pinning)[1] from https://downloads.mariadb.org/mariadb/repositories/#mirror=host-europe > > > > > Regards, > > > >Matthias > > > >> > >> thanks and kind regards > > > > -- > Mechtilde Stehmann > ## Apache OpenOffice > ## Freie Office Suite für Linux, MacOSX, Windows > ## Debian Developer > ## PGP encryption welcome > ## F0E3 7F3D C87A 4998 2899 39E7 F287 7BBA 141A AD7F > Best Professional Regards. [1] https://mariadb.com/kb/en/library/installing-mariadb-deb-files/#pinning-the-mariadb-repository-to-a-specific-minor-release -- Jose R R http://metztli.it - Download Metztli Reiser4: Debian Stretch w/ Linux 5.0.15 AMD64 - feats ZSTD compression https://sf.net/projects/metztli-reiser4/ --- Official current Reiser4 resources: https://reiser4.wiki.kernel.org/ - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Build AOO with mysql
I would check the pathes first. Quote from the guide: However, for the moment check the makefile.mk if the compilation fails due to "missing" libraries (= libraries not found). For example, check the following settings: MYSQL_INCDIR=/usr/local/include MYSQL_LIBDIR=/usr/local/lib [...] MYSQL_INCDIR=/usr/local/include MYSQL_LIBDIR=/usr/local/lib [...] MYSQL_INC=-I$(MYSQL_INCDIR) MYSQL_LIB=-L$(MYSQL_LIBDIR) -lmysqlclient -rdynamic -lz -lcrypt -lnsl -lm MYSQL_LIBFILE=$(MYSQL_LIBDIR)$/libmysqlclient.so.16 MYSQL_CPPCONN_LIBFILE=$(MYSQL_LIBDIR)$/libmysqlcppconn.so [...] If this does not help try to set the variable CFLAGS to -Wnonarrowing and switching off the gcc check. (not a real solution) The commands are: export CFLAGS="-Wnonarrowing" build all I guess you missed the real error, since the narrowing is only a warning, not an error. Can you post the complete output? HTH Peter On 29.06.19 10:36, Jose R R wrote: > Niltze [Hello], Mech~ > > On Sat, Jun 29, 2019 at 1:17 AM Mechtilde wrote: >> Hello, >> >> Am 29.06.19 um 10:07 schrieb Matthias Seidel: >>> Hi Mechtilde, >>> >>> Am 28.06.19 um 10:56 schrieb Mechtilde: Hello, I want to build AOO with mysql to get a recent mysql-connector. I get the following error: Compiling: mysqlc/source/mysqlc_types.cxx /home/mechtilde/aoo42x/main/mysqlc/source/mysqlc_types.cxx:784:1: error: narrowing conversion of '4294967295u' from 'unsigned int' to 'sal_Int32 {aka int}' inside { } [-Wnarrowing] }; ^ dmake: Error code 1, while making '../unxlngx6.pro/slo/mysqlc_types.obj' What should I change to build it. >>> I have no idea, but did you follow the instructions given here? >>> >>> http://svn.apache.org/repos/asf/openoffice/branches/AOO42X/main/mysqlc/source/README >> Although I didn't know about that instruction I installed both packages. >> >> In Debian they are named default-libmysqlclient-dev and libmysqlcppconn-dev. > You might want to try MariaDB's > libmariadb-dev-compat ≈ libmysqlclient-dev > > Either from Debian repositories or (by pinning)[1] from > https://downloads.mariadb.org/mariadb/repositories/#mirror=host-europe > >>> Regards, >>> >>>Matthias >>> thanks and kind regards >> -- >> Mechtilde Stehmann >> ## Apache OpenOffice >> ## Freie Office Suite für Linux, MacOSX, Windows >> ## Debian Developer >> ## PGP encryption welcome >> ## F0E3 7F3D C87A 4998 2899 39E7 F287 7BBA 141A AD7F >> > Best Professional Regards. > > [1] > https://mariadb.com/kb/en/library/installing-mariadb-deb-files/#pinning-the-mariadb-repository-to-a-specific-minor-release > - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Build AOO with mysql
Hello Am 29.06.19 um 10:36 schrieb Jose R R: > Niltze [Hello], Mech~ > > On Sat, Jun 29, 2019 at 1:17 AM Mechtilde wrote: >> >> Hello, >> >> Am 29.06.19 um 10:07 schrieb Matthias Seidel: >>> Hi Mechtilde, >>> >>> Am 28.06.19 um 10:56 schrieb Mechtilde: Hello, I want to build AOO with mysql to get a recent mysql-connector. I get the following error: Compiling: mysqlc/source/mysqlc_types.cxx /home/mechtilde/aoo42x/main/mysqlc/source/mysqlc_types.cxx:784:1: error: narrowing conversion of '4294967295u' from 'unsigned int' to 'sal_Int32 {aka int}' inside { } [-Wnarrowing] }; ^ dmake: Error code 1, while making '../unxlngx6.pro/slo/mysqlc_types.obj' What should I change to build it. >>> I have no idea, but did you follow the instructions given here? >>> >>> http://svn.apache.org/repos/asf/openoffice/branches/AOO42X/main/mysqlc/source/README >> >> Although I didn't know about that instruction I installed both packages. >> >> In Debian they are named default-libmysqlclient-dev and libmysqlcppconn-dev. > You might want to try MariaDB's > libmariadb-dev-compat ≈ libmysqlclient-dev the mysql named packages link to the packages from mariadb > > Either from Debian repositories or (by pinning)[1] from > https://downloads.mariadb.org/mariadb/repositories/#mirror=host-europe > >> >>> >>> Regards, >>> >>>Matthias >>> thanks and kind regards > [1] > https://mariadb.com/kb/en/library/installing-mariadb-deb-files/#pinning-the-mariadb-repository-to-a-specific-minor-release > -- Mechtilde Stehmann ## Apache OpenOffice ## Freie Office Suite für Linux, MacOSX, Windows ## Debian Developer ## PGP encryption welcome ## F0E3 7F3D C87A 4998 2899 39E7 F287 7BBA 141A AD7F signature.asc Description: OpenPGP digital signature