Tom Peck wrote:

> This puts the libmysqlclient.* in this dir:
> /usr/local/mysql/lib/mysql/

Ugh.  But ok.

> Main.cpp:27:25: mysql/mysql.h: No such file or directory
> In file included from Main.cpp:31:

> So - now I'm stuck at a different stage - but on a similar problem.

Luckily, this problem is easier to fix.  g++ is looking for
"/usr/include/mysql/mysql.h".  This doesn't exist - it's
/usr/local/mysql/include/mysql.h or
/usr/local/mysql/include/mysql/mysql.h; simply ln -s
/usr/include/mysql/include(/mysql) /usr/include/mysql and 'make' again.

> How can I remove MySQL properly - leaving no trace - so that I can
> re-install it to the normal installation directory?  This is the only
> fix I can think of.

Hmm ... assuming MySQL is nice, you can simply 'rm -rf /usr/local/mysql
/etc/mysql*', but this is probably not needed.  To find the broken
symlinks, you can use the 'find' command, with the '-type' predicate,
looking for broken links, as:

find /usr/lib -type N -print

where N is the type for broken links (man find).  But again, don't go
doing this - your installation is fine, albeit a bit of a nuisance at
the moment.

> I'm beginning to tear my hair out.

No need - you're almost there!  ;-)

Chris
-- 
Oh My God!  They Killed init!  You Bastards!!
make install; not war
_______________________________________________
Obs-dev mailing list
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/obs-dev

Reply via email to