-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
mediatomb install failing #174
Comments
On my machine, I don't have mysql installed. If I remove the connector, then mediatomb compiles fine. Either mediatomb has some detection issues, or we need to pass more options to ./configure (though what those might be, I don't know.) |
this might help http://forums.freebsd.org/showthread.php?t=6948 suggests not enabling the thread-safe option using mysql 5.1. i just pulled svn and did a custom instal using brew ln. fwiw I see two options that reference threads. not sure which one would need to be disabled. |
We're not going to mess with the thread settings in MySQL 5.1 just because it breaks this brew; is "--disable-mysql" an acceptable option here? |
Update mediatomb to 0.12.0. Closed by 43dca30 |
Install the static libraries in libexec. Closes Homebrew#174
Closes Homebrew#174. Signed-off-by: Xiyue Deng <manphiz@gmail.com>
make install failed while trying to compile the following:
/Developer/usr/llvm-gcc-4.2/bin/llvm-g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I.. -I/usr/local/Cellar/mysql/5.1.39/include/mysql -D_THREAD_SAFE -O4 -march=core2 -mmmx -msse3 -w -pipe -c -o libmediatomb_a-mysql_storage.o
test -f '../src/storage/mysql/mysql_storage.cc' || echo './'
../src/storage/mysql/mysql_storage.ccThe error it returned was:
../src/storage/mysql/mysql_storage.cc: In member function ‘virtual void MysqlStorage::init()’:
../src/storage/mysql/mysql_storage.cc:127: error: ‘my_init’ was not declared in this scope
/Developer/usr/llvm-gcc-4.2/bin/llvm-g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I.. -I/usr/local/Cellar/mysql/5.1.39/include/mysql -D_THREAD_SAFE -O4 -march=core2 -mmmx -msse3 -w -pipe -c -o libmediatomb_a-sqlite3_storage.o
test -f '../src/storage/sqlite3/sqlite3_storage.cc' || echo './'
../src/storage/sqlite3/sqlite3_storage.ccmake[1]: *** [libmediatomb_a-mysql_storage.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install-recursive] Error 1
/usr/local/Library/Formula/mediatomb.rb:14:in `install'
The environment returned was:
==> Environment
HOMEBREW_VERSION: 0.5
HEAD: a3cf5bf
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_CACHE: /Users/jmarney/Library/Caches/Homebrew
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit core2
OS X: 10.6.2
Kernel Architecture: i386
Ruby: 1.8.7-72
GCC-4.2: build 5646
LLVM: build 2118
MacPorts or Fink? false
Exit status: 2
Error: Failure while executing: make install
Not sure exactly what would cause that, almost looks like a bug in mediatomb?
The text was updated successfully, but these errors were encountered: