Supersedes ports/71002. Explicitly set GCC 3.3 as port does not build with 3.4.x. As before, update to verlihub-0.9.8a. Increased functionality and multiple bug fixes.
State Changed From-To: open->feedback Unfortunately it doesn't seem to build on gcc3.3.3 either (with different errors as on gcc3.4): c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -O -pipe -march=pentium -I/usr/local/include -I/usr/local/include -MT cban.lo -MD -MP -MF .deps/cban.Tpo -c cban.cpp -fPIC -DPIC In file included from cconfmysql.h:24, from cbanlist.h:13, from cban.cpp:12: cmysql.h:18:19: mysql.h: No such file or directory In file included from cconfmysql.h:24, from cbanlist.h:13, from cban.cpp:12: cmysql.h:44: error: syntax error before `*' token In file included from cconfmysql.h:25, from cbanlist.h:13, from cban.cpp:12: cquery.h:40: error: syntax error before `)' token cquery.h:49: error: syntax error before `*' token In file included from cbanlist.h:13, from cban.cpp:12: cconfmysql.h:59: error: syntax error before `&' token cconfmysql.h:164: error: 'MYSQL_ROW' is used as a type, but is not defined as a type. cconfmysql.h:166: error: syntax error before `row' cconfmysql.h:166: error: missing ';' before right brace cconfmysql.h:168: error: semicolon missing after declaration of ` nConfig::cConfMySQL::ufLoad' cconfmysql.h:169: error: two or more data types in declaration of `operator()' cconfmysql.h: In member function `nConfig::cConfMySQL::ufLoad nConfig::cConfMySQL::operator()(nConfig::cConfigItemBase*)': cconfmysql.h:170: error: `mRow' undeclared (first use this function) cconfmysql.h:170: error: (Each undeclared identifier is reported only once for each function it appears in.) cconfmysql.h:170: error: `i' undeclared (first use this function) cconfmysql.h: At global scope: cconfmysql.h:178: error: syntax error before `public' cconfmysql.h:186: error: ISO C++ forbids declaration of `db_iterator' with no type cconfmysql.h: In function `int nConfig::db_iterator(nConfig::cConfMySQL*)': cconfmysql.h:186: error: only constructors take base initializers cconfmysql.h:186: confused by earlier errors, bailing out gmake[2]: *** [cban.lo] Error 1 gmake[2]: Leaving directory `/usr/ports/net/verlihub/work/verlihub-0.9.8a/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/verlihub/work/verlihub-0.9.8a' gmake: *** [all] Error 2 *** Error code 2 Can the maintainer confirm this?
It builds fine for me with gcc 3.3.3, 3.3.4, and 3.3.5. The problem seems to be that mysql.h can't be located, which causes it to throw up those errors. I haven't ever seen this behavior with the port, and I can't seem to replicate it on any of the systems I have at my disposal. At this point, I'm not really certain what direction to take with this. --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
State Changed From-To: feedback->open Feedback received. Perhaps some other committer can see whether they get the same problem, or if it is only on my system.
State Changed From-To: open->closed Committed, with modifications: 1) you can't use USE_GCC as you want, it will not pick gcc33 from port on gcc34 system. Instead, I marked the port BROKEN for gcc34 systems. 2) Never descrease/remove PORTEPOCH