[mythtv-commits] Ticket #3819: compile error in mythplugins/mythzoneminder?

MythTV mythtv at cvs.mythtv.org
Sat Aug 11 20:41:26 UTC 2007


#3819: compile error in mythplugins/mythzoneminder?
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  defect     |      Status:  new    
 Priority:  minor      |   Milestone:  unknown
Component:  mythtv     |     Version:  unknown
 Severity:  medium     |     Mlocked:  0      
-----------------------+----------------------------------------------------
 I'm not an expert... hope this is right...
 trying to compile mythplugins from svn 14167
 here's what I did:


 {{{
 cd mythplugins
 sudo make distclean
 cd ..
 sudo rm mythplugins -R
 sudo svn co http://svn.mythtv.org/svn/trunk/mythplugins
 cd mythplugins
 ./configure
 make
 }}}

 at then end of the make, I get this:

 {{{
 cd mythzmserver && qmake mythzmserver.pro -o Makefile
 sh: mysql_config: not found
 cd mythzmserver && make -f Makefile
 make[2]: Entering directory
 `/usr/src/svn/mythplugins/mythzoneminder/mythzmserver'
 g++ -c -pipe -march=k8 -I/usr/include/kde/artsc -pthread
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wno-switch
 -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
 -D__STDC_CONSTANT_MACROS -Wall -W -fomit-frame-pointer -O3 -fomit-frame-
 pointer -D_REENTRANT  -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DMMX -Di386
 -D_FILE_OFFSET_BITS=64 -I/usr/share/qt3/mkspecs/default -I.
 -I../../../../../local/include -I../../../../../local/include
 -I../../../../../include -o main.o main.cpp
 In file included from main.cpp:28:
 zmserver.h:24:25: error: mysql/mysql.h: No such file or directory
 zmserver.h:35: error: âMYSQLâ does not name a type
 main.cpp: In function âint main(int, char**)â:
 main.cpp:365: error: âg_dbConnâ was not declared in this scope
 main.cpp:365: error: âmysql_closeâ was not declared in this scope
 make[2]: *** [main.o] Error 1
 make[2]: Leaving directory
 `/usr/src/svn/mythplugins/mythzoneminder/mythzmserver'
 make[1]: *** [sub-mythzmserver] Error 2
 make[1]: Leaving directory `/usr/src/svn/mythplugins/mythzoneminder'
 make: *** [sub-mythzoneminder] Error 2
 }}}

 mythzmserver fails compile because of missing mysql/mysql.h
 mysql.h not there due to zoneminder not installed on this machine.

 readme says to compile on machine with zoneminder... (which worked)

 Any ideas??  probably something I'm doing...

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3819>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list