Sorry for the top posting.
Kevin, I just did a clean install on a clean fresh install of Fedora 25
and I could reproduce the problem. The fixes are listed below.
Install Fedora 25 workstation.
I then installed the following:
dnf group install "C Development Tools and Libraries"
then executed the following commands:
git clone https://gerrit.fd.io/r/vpp
cd vpp
make bootstrap
make install-dep
make pkg-rpm
I found a few of the same problems and the temporary fixes are listed below.
1. zlib-2.1.7-15.el7.x86_64
Fedora 25 comes with zlib-2.1.8 pre-installed so this can be ignored.
2. There is no patch utility in the Fedora Development Tools and Libraries!
dnf install patch
3. |gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or
directory
This is due to missing rpm configuration tools see below and the answer
for number 4.
|||
|dnf install redhat-rpm-config|
||
|4. rpmbuild missing|
||
|dnf install fedora-packager|
||
|make pkg-rpm|
||
|Success!||
I can fix problems 1, 2, 3 and 4. I believe the 1.28 version of zlib is
also in epel so that should be OK to add to update install dep with this
version. the packaging tools and patch utility will be added to install dep.
--TFH
|
||
On 01/17/2017 06:03 PM, Kevin Wilson wrote:
Hi,
Still build fails.
After installing redhat-rpm-config, and again wiping out the vpp tree
and cloning again from
scratch, and running again the process from beginning,
first /build-root/vagrant/build.sh
which completed ok and then:
cd build-root
and
make V=0 PLATFORM=vpp TAG=vpp install-rpm
...
...
make[1]: Leaving directory '/work/src/vpp/build-root'
warning: Macro %python2_minor_version defined but not used within scope
error: File
/work/src/vpp/build-root/rpm/SOURCES/vpp-17.04-rc0~127_gd8e4787.tar.gz:
No such file or directory
/work/src/vpp/build-data/platforms.mk:107: recipe for target
'install-rpm' failed
make: *** [install-rpm] Error 1
...
Any ideas?
Kevin
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
--
*Thomas F Herbert*
SDN Group
Office of Technology
*Red Hat*
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev