A
A
Alexey Kuzmin2015-07-19 11:25:43
linux
Alexey Kuzmin, 2015-07-19 11:25:43

Why does Nginx build fail ("make[1]: Leaving directory")?

Good afternoon
I get an error when building Nginx from sorts on Ubuntu 14.04


objs/src/http/modules/ngx_http_upstream_hash_module.o \
objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
objs/ ngx_modules.o \
-lpthread -lcrypt -lpcre -lcrypto -lcrypto -lz
make[1]: Leaving directory `/home/vagrant/working/nginx-1.7.5'
make -f objs/Makefile manpage
make[1]: Entering directory `/home/vagrant/working/nginx-1.7.5'
sed -e "s|%%PREFIX%%|/usr/local/nginx|" \
-e "s|%%PID_PATH%%|/usr/local/nginx/logs/nginx.pid|" \
-e "s|%%CONF_PATH%%|/usr/local/nginx/conf/nginx.conf|" \
-e"
< man/nginx.8 > objs/nginx.8
make[1]: Leaving directory `/home/vagrant/working/nginx-1.7.5'

Help me please

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikita Ermilichev, 2018-12-03
@SecurityYourFingers

$('li').click(function(){
    var target = $(this).find('a').attr('data-value');
    
    $(bodyHtml).animate({
        scrollTop:$('#' + target).offset().top
    },1500);
});

This is how it works

V
Vladimir Proskurin, 2018-12-03
@Vlad_IT

Look at the console. You are complaining about this line
those. this element does not exist $('#' + $(this).data('value'))
change to
those. the problem is that you listen to the click on the li, take the data-value from it, although you have the data-value in the a tag, which is inside the li. Therefore option 2

  1. Listen for a click not on li but on a
  2. When clicking, take the value not from li, but from the child element - a. Which is what I did.

S
Sergey, 2015-07-19
@DrMartiner

Everything is fine, do make install

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question