Hi, I tried to build version 2.6.1 and 3.0.0 alpha 2 Linux in C++ using:
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15) , g++ (GCC) 4.8.2 20140120 (Red 
Hat 4.8.2-15)
and the same error seems to prevent installation from generating the 
Makefile, so later make returns:
make: *** No targets specified and no makefile found. Stop.
./configure output shows these strange missing features of C++ environment, 
that frankly are hard to believe:

checking for working memcmp... no
checking for working strtod... no
checking for pow... no
checking for pow in -lm... no
configure: WARNING: cannot find library containing definition of pow
checking for ftruncate... no
checking for memset... no
checking for mkdir... no
checking for strchr... no
checking for strerror... no
checking for strtol... no
checking zlib version... headers missing or too old (requires 1.2.0.4)
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
checking whether what we have so far is sufficient with -nostdlib... no
checking whether -lpthread saves the day... yes
checking the location of hash_map... 
checking for library containing sched_yield... no
configure: error: in /root/source/protobuf-2.6.1': configure: error: 
sched_yield was not found on your system Seeconfig.log' for more details.

About zlib missing headers, yum reports:
Package zlib-1.2.3-29.el6.x86_64 already installed and latest version
which means the installation is not found by ./configure script.

But sched_yield seems to be the final blow. I attached full config.log.

Can someone please help me understand and/or fix this?

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Attachment: config.log
Description: Binary data

Reply via email to