[MacPorts] #22804: sphinx doesn't compile proberly with +postgresql84

MacPorts noreply at macports.org
Sun Dec 6 12:47:16 PST 2009


#22804: sphinx doesn't compile proberly with +postgresql84
----------------------------------------+-----------------------------------
 Reporter:  claudio.martella@…          |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:                                       
Component:  ports                       |     Version:  1.8.1                                
 Keywords:  sphinx                      |        Port:  sphinx                               
----------------------------------------+-----------------------------------
 I don't know if it's related to the variant but when i try to install
 sphinx +postgresql84 i get this error:

 --->  Building sphinx
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_sphinx/work/sphinx-0.9.8.1"
 && /usr/bin/make -j2 all " returned error 2
 Command output: sphinx.cpp:16740: error: 'm_tMysqlDriver' was not declared
 in this scope
 sphinx.cpp:16740: error: 'mysql_error' was not declared in this scope
 sphinx.cpp: In member function 'virtual bool
 CSphSource_MySQL::SqlConnect()':
 sphinx.cpp:16746: error: 'm_tMysqlDriver' was not declared in this scope
 sphinx.cpp:16746: error: 'mysql_init' was not declared in this scope
 sphinx.cpp:16749: error: 'mysql_real_connect' was not declared in this
 scope
 sphinx.cpp: In member function 'virtual void
 CSphSource_MySQL::SqlDisconnect()':
 sphinx.cpp:16755: error: 'm_tMysqlDriver' was not declared in this scope
 sphinx.cpp:16755: error: 'mysql_close' was not declared in this scope
 sphinx.cpp: In member function 'virtual int
 CSphSource_MySQL::SqlNumFields()':
 sphinx.cpp:16761: error: 'm_pMysqlResult' was not declared in this scope
 sphinx.cpp:16764: error: 'm_pMysqlResult' was not declared in this scope
 sphinx.cpp:16764: error: 'mysql_num_fields' was not declared in this scope
 sphinx.cpp: In member function 'virtual bool
 CSphSource_MySQL::SqlFetchRow()':
 sphinx.cpp:16770: error: 'm_pMysqlResult' was not declared in this scope
 sphinx.cpp:16773: error: 'm_tMysqlRow' was not declared in this scope
 sphinx.cpp:16773: error: 'm_pMysqlResult' was not declared in this scope
 sphinx.cpp:16773: error: 'mysql_fetch_row' was not declared in this scope
 sphinx.cpp: In member function 'virtual const char*
 CSphSource_MySQL::SqlColumn(int)':
 sphinx.cpp:16780: error: 'm_pMysqlResult' was not declared in this scope
 sphinx.cpp:16783: error: 'm_tMysqlRow' was not declared in this scope
 sphinx.cpp: In member function 'virtual const char*
 CSphSource_MySQL::SqlFieldName(int)':
 sphinx.cpp:16789: error: 'm_pMysqlResult' was not declared in this scope
 sphinx.cpp:16792: error: 'm_pMysqlFields' was not declared in this scope
 sphinx.cpp:16793: error: 'm_pMysqlResult' was not declared in this scope
 sphinx.cpp:16793: error: 'mysql_fetch_fields' was not declared in this
 scope
 sphinx.cpp:16795: error: 'm_pMysqlFields' was not declared in this scope
 make[2]: *** [sphinx.o] Error 1
 make[1]: *** [all] Error 2
 make: *** [all-recursive] Error 1

 Error: Status 1 encountered during processing.

-- 
Ticket URL: <http://trac.macports.org/ticket/22804>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list