Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 608 by ce.slate...@gmail.com: Failed to build 2.5.0, on Win7, Cygwin, MSVS 2012 express
http://code.google.com/p/protobuf/issues/detail?id=608

What steps will reproduce the problem?
1.Unpacked Zip, read readme.txt, opted for ./configure approach
(tried the MSVS IDEsolution but that failed too)

2. Launched Cygwin as admin
3. Ran ./configure

What is the expected output? What do you see instead?

It seemed to be doing well until ....

checking dynamic linker characteristics... Win32 link.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... cl.exe -E
checking whether the cl.exe linker (/Apps/Cygwin/bin/ld) supports shared libraries... yes
checking for cl.exe option to produce PIC... -DDLL_EXPORT -DPIC
checking if cl.exe PIC flag -DDLL_EXPORT -DPIC works... yes
checking if cl.exe static flag  works... yes
checking if cl.exe supports -c -o file.obj... no
checking if cl.exe supports -c -o file.obj... (cached) no
checking if we can lock with hard links... yes
checking whether the cl.exe linker (/Apps/Cygwin/bin/ld) supports shared librari
es... yes
checking dynamic linker characteristics... Win32 link.exe
checking how to hardcode library paths into programs... immediate
checking for python... :
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... no
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... no
checking for the pthreads library -lpthread... no
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
checking for pthread-config... no
./configure: line 15628: sort: No such file or directory
./configure: line 15625: sed: No such file or directory
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/gtest-config
config.status: creating build-aux/config.h
config.status: build-aux/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
./configure: line 18260: sort: No such file or directory
./configure: line 18257: sed: No such file or directory
./configure: line 19527: sort: No such file or directory
./configure: line 19524: sed: No such file or directory

Both sort and sed work on this machine.


I did notice that a Makefile was created so I ran make..... it generated:

protobuf-2.5.0> make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /users/ae0371t/ProtocolBuffers/pr
otobuf-2.5.0/missing --run autoheader)
D:\users\ae0371t\bin\m4.exe:stdin:1: exit status out of range: `-1'
D:\users\ae0371t\bin\m4.exe:stdin:1: exit status out of range: `-1'
D:\users\ae0371t\bin\m4.exe:stdin:1: exit status out of range: `-1'
D:\users\ae0371t\bin\m4.exe: cannot set debug file `/tmp/acZu10fv/traces': No su
ch file or directory
D:\users\ae0371t\bin\m4.exe: cannot open /usr/share/autoconf/autoconf.m4f: No su
ch file or directory
autoconf: tracing failed
make: *** [config.h.in] Error 1



What version of the product are you using? On what operating system?

PB 2.5.0, on Win7, Cygwin, MSVS 2012 C++ Express (64 bit cross compile), Intel FORTRAN 14. (yes I know FORTRAN isn't used, but it does affect the env)

Please provide any additional information below.

I far prefer to use compilers via the command line, call me old school. But I did try to use the SLN files. They came up as "2010" not 2012, but I tried to build anyway. No luck ....

Thanks for any insight...



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
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/groups/opt_out.

Reply via email to