#67301 closed defect (fixed)
opensp fails to configure in 10.6.8 Rosetta: configure: error: cannot compute sizeof (size_t)
Reported by: | barracuda156 | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | snowleopard, powerpc, rosetta | Cc: | |
Port: | opensp |
Description
checking for sig_atomic_t... no checking size of size_t... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_opensp/opensp/work/OpenSP-1.5.2': configure: error: cannot compute sizeof (size_t) See `config.log' for more details Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_opensp/opensp/work/OpenSP-1.5.2" && ./configure --prefix=/opt/local --enable-http --disable-dependency-tracking --enable-default-catalog=/opt/local/share/sgml/catalog --mandir=/opt/local/share/man --disable-doc-build Exit code: 77
Attachments (2)
Change History (8)
Changed 19 months ago by barracuda156
Attachment: | opensp_build_log.txt added |
---|
Changed 19 months ago by barracuda156
Attachment: | opensp_config_log.txt added |
---|
comment:1 follow-up: 2 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 19 months ago by barracuda156
Replying to ryandesign:
config.log says the reason is:
error: unrecognized command line option "-std=c++03"
Thank you. What will be a correct solution, blacklist compiler? We do not have 2003 cxx_standard, do we?
comment:3 follow-up: 4 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
There's not much difference between the 2003 and 1998 versions of C++. Does it build if you change c++03
to c++98
? If so, write a patch to do that.
comment:4 Changed 19 months ago by barracuda156
Replying to ryandesign:
There's not much difference between the 2003 and 1998 versions of C++. Does it build if you change
c++03
toc++98
? If so, write a patch to do that.
It is actually the portfile which adds the flag:
configure.cxxflags-append -std=c++03
Will try replacing it.
UPD. Yes, c++98
works perfectly fine.
comment:5 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #64609.
comment:6 Changed 17 months ago by barracuda156
Owner: | set to barracuda156 |
---|---|
Resolution: | duplicate → fixed |
Note: See
TracTickets for help on using
tickets.
config.log says the reason is: