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

MacPorts noreply at macports.org
Sun Dec 6 13:00:08 PST 2009


#22804: sphinx doesn't compile proberly with +postgresql84
----------------------------------------+-----------------------------------
 Reporter:  claudio.martella@…          |       Owner:  brett@…           
     Type:  defect                      |      Status:  new               
 Priority:  Normal                      |   Milestone:                    
Component:  ports                       |     Version:  1.8.1             
 Keywords:                              |        Port:  sphinx            
----------------------------------------+-----------------------------------
Changes (by jmr@…):

  * keywords:  sphinx =>
  * owner:  macports-tickets@… => brett@…


Old description:

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

New description:

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

--

Comment:

 Please remember to preview and use WikiFormatting, and to cc the
 maintainer.

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


More information about the macports-tickets mailing list