From: Tom W. <mdb...@ma...> - 2003-12-18 20:01:51
|
Here is how I got the CVS download to compile on my system (Slackware 9.1) Edit the mdbtools/configure.ini file Delete the line: AC_CONFIG_FILES([src/Makefile]) Edit the line: AC_OUTPUT(src/util/Makefile src/extras/Makefile Makefile include/Makefile src/Makefile src/libmdb/Makefile include/Makefile src/sql/Makefile src/odbc/Makefile doc/Makefile src/gmdb2/Makefile src/gmdb2/gladefiles/Makefile src/gmdb2/pixmaps/Makefile src/gmdb2/help/Makefile src/gmdb2/help/C/Makefile mdbtools.spec) To remove the duplicate include/Makefile export SED=sed The last export command also needs to be carried out as root for 'make install' to work. Unfortunatly my data base has carrige returns in memo fields which cause mdb-export to seg fault every time. If anyone has a fix for this can they please let me know. |
From: <dav...@ya...> - 2003-12-19 10:47:27
|
--- Tom Wright <mdb...@ma...> wrote: [...] > > Unfortunatly my data base has carrige returns in > memo fields which cause > mdb-export to seg fault every time. If anyone has a > fix for this can they > please let me know. I submitted a patch for mdb-export.c to: http://sourceforge.net/tracker/?atid=302294&group_id=2294&func=browse [I think I might have got the URL wrong in a previous post] that allows you to specify the row delimiter for exactly this reason. I was then able to export using '|' to mark the end of the row and then tell MySQL to import the data with LINES TERMINATED BY '|'. It was part of some changes I made to do something like mysqldump. I have not tested this on any other backend. Dave ===== David Whiting Adult Morbidity and Mortality Project (AMMP) Box 65243, Dar es Salaam, Tanzania Tel: +255 22 215 33 88 Fax: +255 22 215 33 85 ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |
From: Tom W. <mdb...@ma...> - 2003-12-19 15:36:44
|
Thanks for this David, I've tried applying the patches to the rc2 version of mdbtools however I am having another problem getting it to compile as it is complaining about an undefined reference to `log10' Does anyone have ideas how to solve this one? Thanks Tom On Fri, 19 Dec 2003 10:47:20 +0000 (GMT), David Whiting <dav...@ya...> wrote: > --- Tom Wright <mdb...@ma...> wrote: > [...] >> >> Unfortunatly my data base has carrige returns in >> memo fields which cause >> mdb-export to seg fault every time. If anyone has a >> fix for this can they >> please let me know. > > I submitted a patch for mdb-export.c to: > > http://sourceforge.net/tracker/?atid=302294&group_id=2294&func=browse > > [I think I might have got the URL wrong in a previous > post] > > that allows you to specify the row delimiter for > exactly this reason. I was then able to export using > '|' to mark the end of the row and then tell MySQL to > import the data with LINES TERMINATED BY '|'. It was > part of some changes I made to do something like > mysqldump. I have not tested this on any other > backend. > > Dave > > ===== > David Whiting > Adult Morbidity and Mortality Project (AMMP) > Box 65243, Dar es Salaam, Tanzania > > Tel: +255 22 215 33 88 Fax: +255 22 215 33 85 > > ________________________________________________________________________ > Yahoo! Messenger - Communicate instantly..."Ping" > your friends today! Download Messenger Now > http://uk.messenger.yahoo.com/download/index.html > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > mdbtools-dev mailing list > mdb...@li... > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev |
From: <dav...@ya...> - 2003-12-20 05:53:03
|
--- Tom Wright <mdb...@ma...> wrote: > Thanks for this David, > I've tried applying the patches to the rc2 version > of mdbtools however I > am having another problem getting it to compile as > it is complaining about > an undefined reference to `log10' > Does anyone have ideas how to solve this one? > Thanks > Tom > Did you apply David Mansfield's combined patches before applying my patches? The log10 bit seems to come from his patch to data.c. I wrote my patches after applying his and did not really delve too deeply into his changes and am therefore not sure how dependent my changes are on his changes -- although it seems that they could well be. I included David Mansfield's combined patch in the tar.gz file. Take a look at the README for more details. HTH. Dave ===== David Whiting Adult Morbidity and Mortality Project (AMMP) Box 65243, Dar es Salaam, Tanzania Tel: +255 22 215 33 88 Fax: +255 22 215 33 85 ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |