I tried a variation, and I had success:

One thing, I didn't do the dependencies install, I just waited until
crashes and then looked to see what my system was missing. For my second
step, I needed to add ganglia-devel and chrpath packages. My second step is
"make pkg-rpm" from the top level directory. So I can do this on Fedora 25
successfully.

Burt

On Tue, Jan 17, 2017 at 3:38 PM, Kevin Wilson <wkev...@gmail.com> wrote:

> Hi,
> Well, there is some progress as the first step succeeds now, but the
> second step fail.
> In more details:
>
> Just tried now wiping whole the vpp tree, cloning it again, and running:
> ./build-root/vagrant/build.sh
> And it completed ok.
> Then went to the second step according the the
> wiki:page(https://wiki.fd.io/view/VPP/Build,_install,_and_
> test_images#Build_A_VPP_Package),
> namely:
>
> cd /vpp/build-root
> and then:
>
> make V=0 PLATFORM=vpp TAG=vpp install-rpm
>
> After several minutes it failed with:
> ...
> creating build/temp.linux-x86_64-2.7
> creating build/temp.linux-x86_64-2.7/vpp_papi
> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4
> -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
> -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe
> -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4
> -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
> -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC
> -I/work/src/vpp/build-root/install-vpp-native/vpp/include/
> -I/usr/include/python2.7 -c vpp_papi/pneum_wrap.c -o
> build/temp.linux-x86_64-2.7/vpp_papi/pneum_wrap.o
> gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or
> directory
> error: command 'gcc' failed with exit status 1
> Makefile:852: recipe for target 'install-exec-local' failed
> make[6]: *** [install-exec-local] Error 1
> make[6]: Leaving directory
> '/work/src/vpp/build-root/build-vpp-native/vpp/vpp-api/python'
> Makefile:726: recipe for target 'install-am' failed
> make[5]: *** [install-am] Error 2
> ...
>
> Any ideas?
> Kevin
>
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to