Parse Email to MySQL???

David Cary Hart Fedora at TQMcube.com
Mon Jan 16 19:52:28 UTC 2006


On Mon, 16 Jan 2006 17:27:55 +0000
Paul Howarth <paul at city-fan.org> opined:
> David Cary Hart wrote:
> > On Mon, 16 Jan 2006 16:54:33 +0000
> > Paul Howarth <paul at city-fan.org> opined:
> > 
> >>David Cary Hart wrote:
> >>
> >>>I have a very large archive of email that I would like to parse to MySQL.
> >>>Before I spend hours with PHP, Is anyone aware of an app that might help me do
> >>>this?
> >>>
> >>>I tried mbox2mysql-0.3 (which looks ideal) but it fails to compile on FC4
> >>>("/usr/bin/ld: cannot find -lmysqlclient") Possibly, someone can suggest how I
> >>>might fix this.
> >>
> >>Do you have the mysql-devel package installed?
> >>
> >>$ rpm -q mysql-devel
> >>
> > 
> > Indeed, as well as mysqlclient10-devel
> 
> Try setting the LDFLAGS environment variable to "-L/usr/lib/mysql" 
> before running the build and see if that helps. Otherwise, if there's an 
> option in the configure script/makefile/whatever to specify where to 
> look for libraries, try getting it to look in /usr/lib/mysql.
> 
Thanks but it's hopeless. I'll sort this out from scratch with PHP. I also
install gmime from extras.

-- 
Our DNSRBL - 
           Eliminate Spam: http://www.TQMcube.com/spam_trap.php
          Multi-RBL Check: http://www.TQMcube.com/rblcheck.php
            Zombie Graphs: http://www.TQMcube.com/zombies.php




More information about the fedora-list mailing list