possible problems with building amarok
Rich
rich at hq.vsaa.lv
Fri Sep 8 15:38:17 UTC 2006
a couple of possible problems. might be also pebkac problems :)
1. mysql is installed in /usr/local/mysql;
/usr/local/mysql/bin is added to the path, thus mysql_config is
successfully found.
it returns :
Usage: /usr/local/mysql/bin/mysql_config [OPTIONS]
Options:
--cflags [-I/usr/local/mysql/include/mysql]
--include [-I/usr/local/mysql/include/mysql]
these directories are correct, and probably are taken from here to be
used later.
unfortunately, later build process does not try to find mysql.h in the
include directory, it is looking for mysql/mysql.h - and that fails, of
course.
mysql.h file happily resides in /usr/local/mysql/include/mysql
2. exporting CFLAGS with -I/usr/local/mysql/include unfortunately does
not work. this value is used for some time in the compilation, then it
disappears completely - only to reappear later as
-I/usr/local/mysql/include/mysql (probably the one from mysql_config ?).
of course, build fails in the same way as in the first case.
the exported include directory disappears somewhere between these lines :
make[4]: Leaving directory `/install/amarok/svn/amarok/src/sqlite'
Making all in analyzers
make[4]: Entering directory `/install/amarok/svn/amarok/src/analyzers'
i probably could just symlink include files, rebuild mysql to /usr/local
or some other directory - but i would like to know why these two
problems surface and is this the expected behaviour.
--
Rich
More information about the Amarok
mailing list