[MacPorts] #35808: VirtualBox 4.1.20_0, fail to find libcrypto
MacPorts
noreply at macports.org
Sat Aug 25 03:50:57 PDT 2012
#35808: VirtualBox 4.1.20_0, fail to find libcrypto
-------------------------------+--------------------------------------------
Reporter: xl64100@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: virtualbox
-------------------------------+--------------------------------------------
Comment(by and.damore@…):
Replying to [comment:7 ryandesign@…]:
> The errors in the configure.log you attached begin with:
>
> {{{
> error: cstdio: No such file or directory
> error: stdlib.h: No such file or directory
> error: stdio.h: No such file or directory
> error: sys/types.h: No such file or directory
> error: time.h: No such file or directory
> error: string.h: No such file or directory
> error: sys/time.h: No such file or directory
> }}}
>
> These are all standard system headers that should be present if you have
installed Xcode correctly. Are you sure you have installed the Xcode
command line tools? This is a separate step you need to do from within
Xcode's Preferences window's Downloads section.
I'm experiencing the same issue, I had command line tools installed for
sure, recently I upgraded to 4.4.1 and installed them again. From Xcode
preferences they are shown as installed as well.
I reverted up to two version bump of virtualbox port and still couldn't
build it while I was certainly able to build it before, something's broken
in tools setup.
I've isolated the C++ file used for testing by configure script and the
actual failing build line, I'm attaching ''vbox-ssl-configure.cc'' and
''test-vbox-ssl-configure'' as minimal example.
My output is
{{{
$ source test-vbox-ssl-configure.sh
vbox-ssl-configure.cc:1:18: error: cstdio: No such file or directory
vbox-ssl-configure.cc:2:30: error: openssl/opensslv.h: No such file or
directory
vbox-ssl-configure.cc:3:25: error: openssl/ssl.h: No such file or
directory
vbox-ssl-configure.cc: In function 'int main()':
vbox-ssl-configure.cc:6: error: 'OPENSSL_VERSION_TEXT' was not declared in
this scope
vbox-ssl-configure.cc:6: error: 'printf' was not declared in this scope
vbox-ssl-configure.cc:7: error: 'SSL_library_init' was not declared in
this scope
$
}}}
I'm not confident with C++, where should cstdio be located?
--
Ticket URL: <https://trac.macports.org/ticket/35808#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list