Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

mediatomb install failing #174

Closed
gotascii opened this issue Dec 4, 2009 · 4 comments
Closed

mediatomb install failing #174

gotascii opened this issue Dec 4, 2009 · 4 comments

Comments

@gotascii
Copy link

gotascii commented Dec 4, 2009

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.cc

The 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.cc
make[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?

@adamv
Copy link
Contributor

adamv commented Dec 4, 2009

On my machine, I don't have mysql installed.
If I have mysql-connector-c installed, then our mediatomb formula detects MySQL but then fails to compile with the same error as above.

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.)

@gotascii
Copy link
Author

gotascii commented Dec 4, 2009

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.

@adamv
Copy link
Contributor

adamv commented Mar 17, 2010

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?

@adamv
Copy link
Contributor

adamv commented Mar 31, 2010

Update mediatomb to 0.12.0. Closed by 43dca30

Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Sep 12, 2012
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
traymond pushed a commit to traymond/homebrew that referenced this issue Jul 22, 2014
Install the static libraries in libexec.

Closes Homebrew#174
ClashTheBunny pushed a commit to ClashTheBunny/homebrew that referenced this issue Jan 22, 2015
lumaxis pushed a commit to lumaxis/homebrew that referenced this issue Feb 17, 2015
Closes Homebrew#174.

Signed-off-by: Xiyue Deng <manphiz@gmail.com>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants