{"action":"opened","issue":{"url":"https://api.github.com/repos/google/protobuf/issues/492","labels_url":"https://api.github.com/repos/google/protobuf/issues/492/labels{/name}","comments_url":"https://api.github.com/repos/google/protobuf/issues/492/comments","events_url":"https://api.github.com/repos/google/protobuf/issues/492/events","html_url":"https://github.com/google/protobuf/issues/492","id":87717436,"number":492,"title":"Cannot build any version in specific environment","user":{"login":"vgoldring","id":12720237,"avatar_url":"https://avatars.githubusercontent.com/u/12720237?v=3","gravatar_id":"","url":"https://api.github.com/users/vgoldring","html_url":"https://github.com/vgoldring","followers_url":"https://api.github.com/users/vgoldring/followers","following_url":"https://api.github.com/users/vgoldring/following{/other_user}","gists_url":"https://api.github.com/users/vgoldring/gists{/gist_id}","starred_url":"https://api.github.com/users/vgoldring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgoldring/subscriptions","organizations_url":"https://api.github.com/users/vgoldring/orgs","repos_url":"https://api.github.com/users/vgoldring/repos","events_url":"https://api.github.com/users/vgoldring/events{/privacy}","received_events_url":"https://api.github.com/users/vgoldring/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-12T12:43:48Z","updated_at":"2015-06-12T12:43:48Z","closed_at":null,"body":"Hi, I tried to build version 2.6.1 and 3.0.0 alpha 2 Linux in C++ using:\r\ngcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15) , g++ (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)\r\nand the same error seems to prevent installation from generating the Makefile, so later make returns:\r\nmake: *** No targets specified and no makefile found.  Stop.\r\n./configure output shows these strange missing features of C++ environment, that frankly are hard to believe:\r\n\r\nchecking for working memcmp... no\r\nchecking for working strtod... no\r\nchecking for pow... no\r\nchecking for pow in -lm... no\r\nconfigure: WARNING: cannot find library containing definition of pow\r\nchecking for ftruncate... no\r\nchecking for memset... no\r\nchecking for mkdir... no\r\nchecking for strchr... no\r\nchecking for strerror... no\r\nchecking for strtol... no\r\nchecking zlib version... headers missing or too old (requires 1.2.0.4)\r\nchecking for the pthreads library -lpthreads... no\r\nchecking whether pthreads work without any flags... no\r\nchecking whether pthreads work with -Kthread... no\r\nchecking whether pthreads work with -kthread... no\r\nchecking for the pthreads library -llthread... no\r\nchecking whether pthreads work with -pthread... yes\r\nchecking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE\r\nchecking if more special flags are required for pthreads... no\r\nchecking whether to check for GCC pthread/shared inconsistencies... yes\r\nchecking whether -pthread is sufficient with -shared... yes\r\nchecking whether what we have so far is sufficient with -nostdlib... no\r\nchecking whether -lpthread saves the day... yes\r\nchecking the location of hash_map... <tr1/unordered_map>\r\nchecking for library containing sched_yield... no\r\nconfigure: error: in `/root/source/protobuf-2.6.1':\r\nconfigure: error: sched_yield was not found on your system\r\nSee `config.log' for more details.\r\n\r\nAbout zlib missing headers, yum reports:\r\nPackage zlib-1.2.3-29.el6.x86_64 already installed and latest version\r\nwhich means the installation is not found by ./configure script.\r\n\r\nBut sched_yield seems to be the final blow.\r\n\r\nCan someone please help me understand and/or fix this?\r\n\r\nThank you."}}