Opened 15 years ago

Closed 15 years ago

#22804 closed defect (fixed)

sphinx doesn't compile proberly with +postgresql84

Reported by: claudio.martella@… Owned by: brett@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: sphinx

Description (last modified by jmroot (Joshua Root))

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.

Change History (2)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: sphinx removed
Owner: changed from macports-tickets@… to brett@…

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

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.