[MacPorts] #12892: ktoblzcheck install error on osx 10.4.10
MacPorts
noreply at macports.org
Wed Feb 25 20:00:27 PST 2009
#12892: ktoblzcheck install error on osx 10.4.10
-----------------------------------------+----------------------------------
Reporter: karen@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.0
Resolution: worksforme | Keywords: toblzcheck, gnucash
Port: ktoblzcheck |
-----------------------------------------+----------------------------------
Changes (by blb@…):
* status: new => closed
* resolution: => worksforme
Old description:
> Was installing gnucash, encountered difficulties installed ktoblzcheck.
> See error report:
>
> --snip--
>
> $ sudo port install ktoblzcheck
> ---> Building ktoblzcheck with target all
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ktoblzcheck/work/ktoblzcheck-1.13"
> && make all " returned error 2
> Command output: ktoblzcheck.cc:263: error: ISO C++ forbids declaration of
> 'string' with no type
> ktoblzcheck.cc: In member function 'AccountNumberCheck::Result
> AccountNumberCheck::check(int) const':
> ktoblzcheck.cc:268: error: expected `;' before 'method'
> ktoblzcheck.cc:268: warning: statement has no effect
> ktoblzcheck.cc:270: error: 'method' was not declared in this scope
> ktoblzcheck.cc:272: error: 'bankId' was not declared in this scope
> ktoblzcheck.cc:273: error: 'class AccountNumberCheck::Record' has no
> member named 'method'
> ktoblzcheck.cc:281: error: 'accountId' was not declared in this scope
> ktoblzcheck.cc:281: error: 'bankId' was not declared in this scope
> ktoblzcheck.cc:285: error: 'accountId' was not declared in this scope
> ktoblzcheck.cc:296: error: 'method_map' was not declared in this scope
> ktoblzcheck.cc:300: error: 'method_map_t' has not been declared
> ktoblzcheck.cc:300: error: 'const_iterator' was not declared in this
> scope
> ktoblzcheck.cc:300: error: expected `;' before 'iter'
> ktoblzcheck.cc:302: error: 'iter' was not declared in this scope
> ktoblzcheck.cc:302: error: 'method_map' was not declared in this scope
> ktoblzcheck.cc:308: error: 'method_map2_t' has not been declared
> ktoblzcheck.cc:308: error: expected `;' before 'iter2'
> ktoblzcheck.cc:310: error: 'iter2' was not declared in this scope
> ktoblzcheck.cc:310: error: 'method_map2' was not declared in this scope
> ktoblzcheck.cc:311: error: 'bankId' was not declared in this scope
> ktoblzcheck.cc:314: error: 'cerr' is not a member of 'std'
> ktoblzcheck.cc:314: error: 'method' was not declared in this scope
> ktoblzcheck.cc:315: error: 'endl' is not a member of 'std'
> ktoblzcheck.cc: In member function 'const AccountNumberCheck::Record&
> AccountNumberCheck::findBank(int) const':
> ktoblzcheck.cc:257: warning: control reaches end of non-void function
> make[3]: *** [ktoblzcheck.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: Status 1 encountered during processing.
>
> --/snip--
>
> Not sure what this means - I was originally trying to install gnucash. my
> c++ compiler version off? Assistance appreciated. If this is not the
> place for this, would appreciate being properly directed.
New description:
Was installing gnucash, encountered difficulties installed ktoblzcheck.
See error report:
--snip--
{{{
$ sudo port install ktoblzcheck
---> Building ktoblzcheck with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ktoblzcheck/work/ktoblzcheck-1.13"
&& make all " returned error 2
Command output: ktoblzcheck.cc:263: error: ISO C++ forbids declaration of
'string' with no type
ktoblzcheck.cc: In member function 'AccountNumberCheck::Result
AccountNumberCheck::check(int) const':
ktoblzcheck.cc:268: error: expected `;' before 'method'
ktoblzcheck.cc:268: warning: statement has no effect
ktoblzcheck.cc:270: error: 'method' was not declared in this scope
ktoblzcheck.cc:272: error: 'bankId' was not declared in this scope
ktoblzcheck.cc:273: error: 'class AccountNumberCheck::Record' has no
member named 'method'
ktoblzcheck.cc:281: error: 'accountId' was not declared in this scope
ktoblzcheck.cc:281: error: 'bankId' was not declared in this scope
ktoblzcheck.cc:285: error: 'accountId' was not declared in this scope
ktoblzcheck.cc:296: error: 'method_map' was not declared in this scope
ktoblzcheck.cc:300: error: 'method_map_t' has not been declared
ktoblzcheck.cc:300: error: 'const_iterator' was not declared in this scope
ktoblzcheck.cc:300: error: expected `;' before 'iter'
ktoblzcheck.cc:302: error: 'iter' was not declared in this scope
ktoblzcheck.cc:302: error: 'method_map' was not declared in this scope
ktoblzcheck.cc:308: error: 'method_map2_t' has not been declared
ktoblzcheck.cc:308: error: expected `;' before 'iter2'
ktoblzcheck.cc:310: error: 'iter2' was not declared in this scope
ktoblzcheck.cc:310: error: 'method_map2' was not declared in this scope
ktoblzcheck.cc:311: error: 'bankId' was not declared in this scope
ktoblzcheck.cc:314: error: 'cerr' is not a member of 'std'
ktoblzcheck.cc:314: error: 'method' was not declared in this scope
ktoblzcheck.cc:315: error: 'endl' is not a member of 'std'
ktoblzcheck.cc: In member function 'const AccountNumberCheck::Record&
AccountNumberCheck::findBank(int) const':
ktoblzcheck.cc:257: warning: control reaches end of non-void function
make[3]: *** [ktoblzcheck.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
}}}
--/snip--
Not sure what this means - I was originally trying to install gnucash. my
c++ compiler version off? Assistance appreciated. If this is not the place
for this, would appreciate being properly directed.
--
Comment:
No response.
--
Ticket URL: <http://trac.macports.org/ticket/12892#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list