You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Alan D. Cabrera" <li...@toolazydogs.com> on 2011/07/23 07:25:00 UTC

Current trunk fails to build

Mac OS X 10.7

g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -I/opt/local/include -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Ddarwin -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/usr/local/include  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT SSLCertLookup.o -MD -MP -MF .deps/SSLCertLookup.Tpo -c -o SSLCertLookup.o SSLCertLookup.cc
cc1plus: warnings being treated as errors
SSLCertLookup.cc: In member function ‘int SSLCertLookup::addInfoToHash(char*, char*, char*)’:
SSLCertLookup.cc:205: warning: ‘SSLv23_server_method’ is deprecated (declared at /usr/include/openssl/ssl.h:1516)
SSLCertLookup.cc:205: warning: ‘SSLv23_server_method’ is deprecated (declared at /usr/include/openssl/ssl.h:1516)
SSLCertLookup.cc:206: warning: ‘SSL_CTX_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1346)
SSLCertLookup.cc:206: warning: ‘SSL_CTX_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1346)
SSLCertLookup.cc: At global scope:
SSLCertLookup.cc:236: fatal error: opening dependency file .deps/SSLCertLookup.Tpo: Permission denied
compilation terminated.
make[2]: *** [SSLCertLookup.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
[daruma:trunk 507]$ 


Regards,
Alan


Re: Current trunk fails to build

Posted by Leif Hedstrom <zw...@apache.org>.
On 07/23/2011 01:46 PM, Leif Hedstrom wrote:
> On Jul 22, 2011, at 11:25 PM, "Alan D. Cabrera"<li...@toolazydogs.com>  wrote:
>
>> Mac OS X 10.7
> This is Lion,night? I think pquerna mentioned something about Apple crippling the OpenSSL includes. I'll try to take a look at it tomorrow, unless someone bets me to it.


Hmmm, i tested it on my Lion box, but it builds fine. Perhaps it's 
because I have OpenSSL installed via MacPort ? I also configure with

     ./configure --prefix=/opt/ats --with-pcre=/opt/local


The latter is necessary to get PCRE from MacPort, but I guess / assume 
that also pulls in OpenSSL from /opt/local as well.

- Leif


Re: Current trunk fails to build

Posted by Leif Hedstrom <le...@ogre.com>.
On Jul 22, 2011, at 11:25 PM, "Alan D. Cabrera" <li...@toolazydogs.com> wrote:

> Mac OS X 10.7

This is Lion,night? I think pquerna mentioned something about Apple crippling the OpenSSL includes. I'll try to take a look at it tomorrow, unless someone bets me to it.

-- Leif
> 
> g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -I/opt/local/include -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Ddarwin -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/usr/local/include  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT SSLCertLookup.o -MD -MP -MF .deps/SSLCertLookup.Tpo -c -o SSLCertLookup.o SSLCertLookup.cc
> cc1plus: warnings being treated as errors
> SSLCertLookup.cc: In member function ‘int SSLCertLookup::addInfoToHash(char*, char*, char*)’:
> SSLCertLookup.cc:205: warning: ‘SSLv23_server_method’ is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:205: warning: ‘SSLv23_server_method’ is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:206: warning: ‘SSL_CTX_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc:206: warning: ‘SSL_CTX_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc: At global scope:
> SSLCertLookup.cc:236: fatal error: opening dependency file .deps/SSLCertLookup.Tpo: Permission denied
> compilation terminated.
> make[2]: *** [SSLCertLookup.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> [daruma:trunk 507]$ 
> 
> 
> Regards,
> Alan
> 

Re: Current trunk fails to build

Posted by "ming.zym@gmail.com" <mi...@gmail.com>.
to me sounds like something mixed with root&user permissions.

在 2011-07-22五的 22:25 -0700,Alan D.Cabrera写道:
> SSLCertLookup.cc:236: fatal error: opening dependency
> file .deps/SSLCertLookup.Tpo: Permission denied