compiling errors - 0.7.59

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

compiling errors - 0.7.59

Andrii Balytskyi
Hello , i got a dedi running fedora core 9
with the development tools bundle installed
and i just cant compile it all the way.

I had it downloaded then uncompressed,ran configure
then make but it couldnt compile it all the way.

Here are the errors

In file included from src/http/ngx_http_file_cache.c:10:
src/core/ngx_md5.h:18:17: error: md5.h: No such file or directory
In file included from src/http/ngx_http_file_cache.c:10:
src/core/ngx_md5.h:22: error: expected ג€˜=ג€™, ג€˜,ג€™, ג€˜;ג€™,
ג€˜asmג€™ or ג€˜__attribute__ג€™ before ג€˜ngx_md5_tג€™
src/http/ngx_http_file_cache.c: In function
ג€˜ngx_http_file_cache_create_keyג€™:
src/http/ngx_http_file_cache.c:120: error: ג€˜ngx_md5_tג€™ undeclared
(first use in this function)
src/http/ngx_http_file_cache.c:120: error: (Each undeclared identifier
is reported only once
src/http/ngx_http_file_cache.c:120: error: for each function it appears
in.)
src/http/ngx_http_file_cache.c:120: error: expected ג€˜;ג€™ before
ג€˜md5ג€™
cc1: warnings being treated as errors
src/http/ngx_http_file_cache.c:128: error: implicit declaration of
function ג€˜MD5Initג€™
src/http/ngx_http_file_cache.c:128: error: ג€˜md5ג€™ undeclared (first
use in this function)
src/http/ngx_http_file_cache.c:138: error: implicit declaration of
function ג€˜MD5Updateג€™
src/http/ngx_http_file_cache.c:145: error: implicit declaration of
function ג€˜MD5Finalג€™
make[1]: *** [objs/src/http/ngx_http_file_cache.o] Error 1
--
Posted via http://www.ruby-forum.com/.

Reply | Threaded
Open this post in threaded view
|

Re: compiling errors - 0.7.59

Igor Sysoev
On Tue, May 26, 2009 at 12:23:01PM +0200, Brandon Fisher wrote:

> Hello , i got a dedi running fedora core 9
> with the development tools bundle installed
> and i just cant compile it all the way.
>
> I had it downloaded then uncompressed,ran configure
> then make but it couldnt compile it all the way.
>
> Here are the errors
>
> In file included from src/http/ngx_http_file_cache.c:10:
> src/core/ngx_md5.h:18:17: error: md5.h: No such file or directory

Could you show your configuration line ?


--
Igor Sysoev
http://sysoev.ru/en/

Reply | Threaded
Open this post in threaded view
|

Re: compiling errors - 0.7.59

Andrii Balytskyi
I attached the configure output,if thats what you were refering to
not sure.

Attachments:
http://www.ruby-forum.com/attachment/3731/out.txt

--
Posted via http://www.ruby-forum.com/.

Reply | Threaded
Open this post in threaded view
|

Re: compiling errors - 0.7.59

Andrii Balytskyi
I feel kinda dumb now,i guess you were refering to that specific line
on the ngx_md5.h file

#if (NGX_HAVE_OPENSSL_MD5_H)
#include <openssl/md5.h>
#else
#include <md5.h>
#endif
--
Posted via http://www.ruby-forum.com/.

Reply | Threaded
Open this post in threaded view
|

Re: compiling errors - 0.7.59

Andrii Balytskyi
Okay i fixed it,for anyone else having the same problem
just download/compile openssl from http://openssl.org
i already had the fedora openssl package installed
but seems it wasnt good enough
--
Posted via http://www.ruby-forum.com/.

Reply | Threaded
Open this post in threaded view
|

Re: compiling errors - 0.7.59

Maxim Dounin
Hello!

On Tue, May 26, 2009 at 01:14:47PM +0200, Brandon Fisher wrote:

> Okay i fixed it,for anyone else having the same problem
> just download/compile openssl from http://openssl.org
> i already had the fedora openssl package installed
> but seems it wasnt good enough

AFAIK you need something like openssl-devel package to compile
nginx, as openssl package have no headers (but binaries only).

Maxim Dounin

Reply | Threaded
Open this post in threaded view
|

Re: compiling errors - 0.7.59

Jim O
In reply to this post by Andrii Balytskyi


Brandon Fisher wrote:
> I attached the configure output,if thats what you were refering to
> not sure.
>
> Attachments:
> http://www.ruby-forum.com/attachment/3731/out.txt
>
>  
I believe he meant you configure command like:

./configure --pid-path=/usr/local/nginx/logs/nginx.pid
--sbin-path=/usr/local/sbin/nginx --with-http_ssl_module
--with-http_stub_status_module --without-mail_pop3_module
--without-mail_imap_module --without-mail_smtp_module --user=nginx
--group=nginx

Jim

Reply | Threaded
Open this post in threaded view
|

Re: compiling errors - 0.7.59

Jim O
In reply to this post by Maxim Dounin


Maxim Dounin wrote:

> Hello!
>
> On Tue, May 26, 2009 at 01:14:47PM +0200, Brandon Fisher wrote:
>
>  
>> Okay i fixed it,for anyone else having the same problem
>> just download/compile openssl from http://openssl.org
>> i already had the fedora openssl package installed
>> but seems it wasnt good enough
>>    
>
> AFAIK you need something like openssl-devel package to compile
> nginx, as openssl package have no headers (but binaries only).
>
> Maxim Dounin
>
>
>  
Shouldn't that produce configure error before compiling?

Jim

Reply | Threaded
Open this post in threaded view
|

Re: compiling errors - 0.7.59

Igor Sysoev
On Tue, May 26, 2009 at 08:28:38AM -0400, Jim Ohlstein wrote:

> Maxim Dounin wrote:
> >Hello!
> >
> >On Tue, May 26, 2009 at 01:14:47PM +0200, Brandon Fisher wrote:
> >
> >  
> >>Okay i fixed it,for anyone else having the same problem
> >>just download/compile openssl from http://openssl.org
> >>i already had the fedora openssl package installed
> >>but seems it wasnt good enough
> >>    
> >
> >AFAIK you need something like openssl-devel package to compile
> >nginx, as openssl package have no headers (but binaries only).
> >
> >Maxim Dounin
> >
> >  
> Shouldn't that produce configure error before compiling?

Yes, currently ./configure does not show errors in this case.


--
Igor Sysoev
http://sysoev.ru/en/