possible problems with building amarok
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
it returns :
Usage: /usr/local/mysql/bin/mysql_config [OPTIONS]
these directories are correct, and probably are taken from here to be
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
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: Leaving directory `/install/amarok/svn/amarok/src/sqlite'
Making all in analyzers
make: 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.
More information about the Amarok