mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tommy xiao <xia...@gmail.com>
Subject Re: compile failed on mesos upstream master branch
Date Fri, 30 Dec 2016 06:22:26 GMT
hi haosdent,

remove the mesos, and git clone again, it work like a charm

2016-12-30 13:03 GMT+08:00 tommy xiao <xiaods@gmail.com>:

> always output missing
>
> gcc: error: ../../3rdparty/http-parser-2.6.2/http_parser.c: No such file
> or directory
>
> gcc: fatal error: no input files
>
>
> use below env:
>
> https://github.com/xiaods/mesos-vagrant-env
>
>
>
> 2016-12-30 10:33 GMT+08:00 haosdent <haosdent@gmail.com>:
>
>> have you try
>>
>> $ ./bootstrap
>> $ mkdir build
>> $ cd build
>> $ ../configure
>> $ make
>>
>>
>>
>> On Fri, Dec 30, 2016 at 6:19 AM, tommy xiao <xiaods@gmail.com> wrote:
>>
>>> today i refresh the code base on my vagrant develop branch, build, make
>>> then get failed, anyone can do me a hint on the failed file.
>>>
>>> ```shell
>>>
>>> make[3]: 进入目录“/home/vagrant/build/3rdparty”
>>>
>>> /bin/sh ../libtool  --tag=CC   --mode=compile gcc
>>> -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
>>> -DPACKAGE_VERSION=\"1.2.0\" -DPACKAGE_STRING=\"mesos\ 1.2.0\"
>>> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
>>> -DVERSION=\"1.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
>>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
>>> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1
>>> -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_FTS_H=1
>>> -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1-DHAVE_LIBSASL2=1
>>> -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1
>>> -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -I. -I/mesos/3rdparty
>>> -Ihttp-parser-2.6.2 -DHTTP_PARSER_STRICT=0 -I/usr/include/subversion-1
>>> -I/usr/include/apr-1 -I/usr/include/apr-1.0   -g1-O0
>>> -Wno-unused-local-typedefs -MT libry_http_parser_la-http_parser.lo -MD
>>> -MP -MF .deps/libry_http_parser_la-http_parser.Tpo -c -o
>>> libry_http_parser_la-http_parser.lo `test -f
>>> 'http-parser-2.6.2/http_parser.c' || echo '/mesos/3rdparty/'`http-parser
>>> -2.6.2/http_parser.c
>>>
>>> libtool: compile:  gcc -DPACKAGE_NAME=\"mesos\"
>>> -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"1.2.0\"
>>> "-DPACKAGE_STRING=\"mesos 1.2.0\"" -DPACKAGE_BUGREPORT=\"\"
>>> -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"1.2.0\" -DSTDC_HEADERS=1
>>> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
>>> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
>>> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
>>> -DHAVE_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1
>>> -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1
>>> -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1
>>> -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -I.
>>> -I/mesos/3rdparty -Ihttp-parser-2.6.2 -DHTTP_PARSER_STRICT=0
>>> -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0 -g1
>>> -O0 -Wno-unused-local-typedefs -MT libry_http_parser_la-http_parser.lo
>>> -MD -MP -MF .deps/libry_http_parser_la-http_parser.Tpo -c
>>> /mesos/3rdparty/http-parser-2.6.2/http_parser.c  -fPIC -DPIC -o
>>> .libs/libry_http_parser_la-http_parser.o
>>>
>>> gcc: error: /mesos/3rdparty/http-parser-2.6.2/http_parser.c: No such
>>> file or directory
>>>
>>> gcc: fatal error: no input files
>>>
>>> compilation terminated.
>>>
>>> ```
>>>
>>>
>>>
>>> --
>>> Deshi Xiao
>>> Twitter: xds2000
>>> E-mail: xiaods(AT)gmail.com
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Haosdent Huang
>>
>
>
>
> --
> Deshi Xiao
> Twitter: xds2000
> E-mail: xiaods(AT)gmail.com
>



-- 
Deshi Xiao
Twitter: xds2000
E-mail: xiaods(AT)gmail.com

Mime
View raw message