From: Dale S. <dal...@sh...> - 2012-01-16 14:46:04
|
Hi, I tried compiling the current github head and get the following error in autogen (Linux Mint 11, autoconf 2.5): dale@dale-ThinkPad-T61 ~/Projects/mdbtools $ ./autogen.sh **Warning**: I am going to run `configure' with no arguments. If you wish to pass any to it, please specify them on the `./autogen.sh' command line. processing . Running aclocal ... configure.in:117: warning: macro `AM_PATH_GLIB_2_0' not found in library Running libtoolize... libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Running autoheader... Running automake --gnu ... Running autoconf ... Running ./configure ... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes <snip> checking for iconv... yeschecking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);checking Are we using flex ... no - SQL engine disable./configure: line 11131: syntax error near unexpected token `2.0.0'./configure: line 11131: `AM_PATH_GLIB_2_0(2.0.0)' I get the same error on FreeBSD 9.0, except the error message also notes there is an unexpected ")" This didn't happen with the github head as of May 2010, but that was also on FreeBSD 8.2. I'm going to try re-compiling the old version again just to check what happens, but can anyone offer suggestions, or point out anything stupid I'm doing or not doing? Thanks, Dale |
From: Chris C. <cc...@fi...> - 2012-01-16 15:40:42
|
On 16/01/12 09:45 AM, Dale Scott wrote: > Hi, I tried compiling the current github head and get the following > error in autogen (Linux Mint 11, autoconf 2.5): ... > ./configure: line 11131: syntax error near unexpected token `2.0.0' > ./configure: line 11131: `AM_PATH_GLIB_2_0(2.0.0)' I think this issue has been covered before, I imagine it's the same thing: https://github.com/brianb/mdbtools/issues/6 -- Chris Craig Programmer Analyst Fibernetics Corp 605 Boxwood Dr Cambridge ON N3E 1A5 519-489-6700 x 753 |
From: Dale S. <dal...@sh...> - 2012-01-16 20:04:53
|
Thanks Chris. On my FreeBSD-9.0 server, installing the glib2 port (v2.28.8) solved the problem. Dale ----- Original Message ----- From: Chris Craig <cc...@fi...> Date: Monday, January 16, 2012 8:40 Subject: Re: [mdb-dev] autogen error compiling current version To: mdb...@li... > On 16/01/12 09:45 AM, Dale Scott wrote: > > Hi, I tried compiling the current github head and get the following > > error in autogen (Linux Mint 11, autoconf 2.5): > ... > > ./configure: line 11131: syntax error near unexpected token `2.0.0' > > ./configure: line 11131: `AM_PATH_GLIB_2_0(2.0.0)' > > I think this issue has been covered before, I imagine it's the > same thing: > > https://github.com/brianb/mdbtools/issues/6 > > -- > Chris Craig > Programmer Analyst > Fibernetics Corp > 605 Boxwood Dr > Cambridge ON N3E 1A5 > 519-489-6700 x 753 > > ----------------------------------------------------------------- > ------------- > RSA(R) Conference 2012 > Mar 27 - Feb 2 > Save $400 by Jan. 27 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > _______________________________________________ > mdbtools-dev mailing list > mdb...@li... > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev > ----- Transparency with Trust http://www.dalescott.net |
From: Nirgal <con...@ni...> - 2012-01-19 23:50:59
|
On Monday 16 January 2012 20:04:45 Dale Scott wrote: > Thanks Chris. On my FreeBSD-9.0 server, installing the glib2 port (v2.28.8) solved the problem. Hello I think the issue is now fixed in master: https://github.com/brianb/mdbtools/commit/5269dbfd7a4ec82af1830cc88a35230638902d99 Thank you for the bug report. -- Nirgal |
From: Dale S. <dal...@sh...> - 2012-01-20 14:27:59
|
Could I humbly suggest also adding glib2 to the list of required dependencies in the INSTALL file? (I've heard I can submit the change myself all through the Github web interface, but not sure exactly how. If you gave me a general idea.......) > -----Original Message----- > From: Nirgal [mailto:con...@ni...] > Sent: Thursday, January 19, 2012 4:51 PM > To: mdb...@li...; Dale Scott; Chris Craig > Subject: Re: [mdb-dev] autogen error compiling current version > > On Monday 16 January 2012 20:04:45 Dale Scott wrote: > > Thanks Chris. On my FreeBSD-9.0 server, installing the glib2 port (v2.28.8) > solved the problem. > > Hello > > I think the issue is now fixed in master: > https://github.com/brianb/mdbtools/commit/5269dbfd7a4ec82af1830cc88a3 > 5230638902d99 > > Thank you for the bug report. > > -- Nirgal |
From: Nirgal <con...@ni...> - 2012-01-21 19:37:12
|
On Friday 20 January 2012 14:27:52 Dale Scott wrote: > Could I humbly suggest also adding glib2 to the list of required dependencies in the INSTALL file? > > (I've heard I can submit the change myself all through the Github web interface, but not sure exactly how. If you gave me a general idea.......) I kinda disagree: INSTALL documents the basic requirement for the build process to start: libtool automake autoconf But there are many more dependencies such as: bison docbook flex libglade2-dev libncurses-dev openjade txt2man unixodbc-dev ... I think these should be detected by configure. After commit 5269dbfd7a4ec82af1830cc88a35230638902d99, I think you will get this error message at configure time: glib 2.0 is required by MDB Tools (runtime and devel). It can be downloaded at www.gtk.org. Am I mistaken? If you still think we should change INSTALL, please send a patch against https://github.com/brianb/mdbtools/blob/master/INSTALL There are "raw" and "edit this file" links on that page. |
From: Dale S. <dal...@sh...> - 2012-01-21 20:44:05
|
I'm OK with INSTALL as-is. For some reason, I mistakenly thought it listed more than libtool, automake, and autoconf (which it doesn't). It is worth proposing a patch for the comment regarding libtool on FreeBSD? (FreeBSD 8.2 and FreeBSD 9.0 both use libtool-2.4). > -----Original Message----- > From: Nirgal [mailto:con...@ni...] > Sent: Saturday, January 21, 2012 12:37 PM > To: Dale Scott > Cc: mdb...@li...; 'Chris Craig' > Subject: Re: [mdb-dev] autogen error compiling current version > > On Friday 20 January 2012 14:27:52 Dale Scott wrote: > > Could I humbly suggest also adding glib2 to the list of required > dependencies in the INSTALL file? > > > > (I've heard I can submit the change myself all through the Github web > > interface, but not sure exactly how. If you gave me a general > > idea.......) > > I kinda disagree: > > INSTALL documents the basic requirement for the build process to start: > libtool > automake > autoconf > > But there are many more dependencies such as: > bison > docbook > flex > libglade2-dev > libncurses-dev > openjade > txt2man > unixodbc-dev > ... > > I think these should be detected by configure. > > After commit 5269dbfd7a4ec82af1830cc88a35230638902d99, I think you will > get this error message at configure time: > glib 2.0 is required by MDB Tools (runtime and devel). > It can be downloaded at www.gtk.org. > > Am I mistaken? > > If you still think we should change INSTALL, please send a patch against > https://github.com/brianb/mdbtools/blob/master/INSTALL > There are "raw" and "edit this file" links on that page. |
From: Nirgal <con...@ni...> - 2012-01-22 09:07:08
|
Yes, I suspect libtool comments are outdated for freedsb. If you have any sugestion of improvement, please share with us. For exemple, I guess aclocal.m4 contains mdbtools specific macros that are required on other platforms. Regarding glib2, I'm a real beginer with autoconf/automake/libtool and the pkgtools. So do take my opinion with care. I suspect my patch is not enough if you have glib2 installed, but not glib2-dev. So, we should find a way to detect it, or at least documented it in INSTALL exactly as you suggested. On Saturday 21 January 2012 20:43:58 Dale Scott wrote: > I'm OK with INSTALL as-is. For some reason, I mistakenly thought it listed more than libtool, automake, and autoconf (which it doesn't). It is worth proposing a patch for the comment regarding libtool on FreeBSD? (FreeBSD 8.2 and FreeBSD 9.0 both use libtool-2.4). > > > > -----Original Message----- > > From: Nirgal [mailto:con...@ni...] > > Sent: Saturday, January 21, 2012 12:37 PM > > To: Dale Scott > > Cc: mdb...@li...; 'Chris Craig' > > Subject: Re: [mdb-dev] autogen error compiling current version > > > > On Friday 20 January 2012 14:27:52 Dale Scott wrote: > > > Could I humbly suggest also adding glib2 to the list of required > > dependencies in the INSTALL file? > > > > > > (I've heard I can submit the change myself all through the Github web > > > interface, but not sure exactly how. If you gave me a general > > > idea.......) > > > > I kinda disagree: > > > > INSTALL documents the basic requirement for the build process to start: > > libtool > > automake > > autoconf > > > > But there are many more dependencies such as: > > bison > > docbook > > flex > > libglade2-dev > > libncurses-dev > > openjade > > txt2man > > unixodbc-dev > > ... > > > > I think these should be detected by configure. > > > > After commit 5269dbfd7a4ec82af1830cc88a35230638902d99, I think you will > > get this error message at configure time: > > glib 2.0 is required by MDB Tools (runtime and devel). > > It can be downloaded at www.gtk.org. > > > > Am I mistaken? > > > > If you still think we should change INSTALL, please send a patch against > > https://github.com/brianb/mdbtools/blob/master/INSTALL > > There are "raw" and "edit this file" links on that page. > > |