Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Ole Troan
>> Did you try the evergreen:
>> 
>> make wipe
>> make install-dep
>> make build
>> 
>> Yeah, have done a "make  install-dep" a couple times now
>> and it doesn't improve things at all.
>> 
>> I seem to be using python 2.7.5.
> 
> This seems to be working fine on centos7. They say ply is compatible with 
> both python 2 and 3 .. :/
> 
> Oh, it works once it is installed!
> 
> It appears to not be in the RPM_DEPENDS list.
> 
> I can patch that up...

Thanks! Sorry about that one. (Seems to be on the DEB and RPM_SUSE lists. A 
case of beer anyone updates a dependency list and gets it wrong? (Send me your 
address.) :-))

Cheers,
Ole



signature.asc
Description: Message signed with OpenPGP
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Florin Coras


> On Jan 24, 2018, at 11:34 AM, Jon Loeliger  wrote:
> 
>> Did you try the evergreen:
>> 
>> make wipe
>> make install-dep
>> make build
>> 
>> Yeah, have done a "make  install-dep" a couple times now
>> and it doesn't improve things at all.
>> 
>> I seem to be using python 2.7.5.
> 
> This seems to be working fine on centos7. They say ply is compatible with 
> both python 2 and 3 .. :/
> 
> Oh, it works once it is installed!
> 
> It appears to not be in the RPM_DEPENDS list.
> 
> I can patch that up…

Perfect! Thanks!

Florin

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Jon Loeliger
>
> Did you try the evergreen:
>>
>> make wipe
>> make install-dep
>> make build
>>
>
> Yeah, have done a "make  install-dep" a couple times now
> and it doesn't improve things at all.
>
> I seem to be using python 2.7.5.
>
>
> This seems to be working fine on centos7. They say ply is compatible with
> both python 2 and 3 .. :/
>

Oh, it works once it is installed!

It appears to not be in the RPM_DEPENDS list.

I can patch that up...

jdl
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Jon Loeliger
On Wed, Jan 24, 2018 at 1:10 PM, Florin Coras 
wrote:

> Hi Dad,
>

LOL.  I deserved that.  At least I didn't get "Hi Old Man". :-)

Did you try the evergreen:
>
> make wipe
> make install-dep
> make build
>

Yeah, have done a "make  install-dep" a couple times now
and it doesn't improve things at all.

I seem to be using python 2.7.5.

jdl


jdl@bcc-1 $ python
Python 2.7.5 (default, Aug  4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ply
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named ply
>>>
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Florin Coras
Hi Dad, 

Did you try the evergreen: 
 
make wipe
make install-dep
make build

Cheers,
Florin


> On Jan 24, 2018, at 10:57 AM, Jon Loeliger  wrote:
> 
> Hey Kids,
> 
> The new API Gen seems to want ply.lex, but I don't think
> it is listed as a dependency or something somewhere.  Or
> maybe I have a really crappy Python.  Dunno.
> 
> Net effect, shown below, isn't good.
> 
> Did I miss a step?
> 
> Thanks,
> jdl
> 
> 
> make[4]: Entering directory 
> `/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/build-vpp-native/vpp'
>   APIGEN   vlibmemory/memclnt.api.h
>   JSON API vlibmemory/memclnt.api.json
> Traceback (most recent call last):
>   File 
> "/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/tools/bin/vppapigen",
>  line 4, in 
> import ply.lex as lex
> ImportError: No module named ply.lex
> Traceback (most recent call last):
>   File 
> "/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/tools/bin/vppapigen",
>  line 4, in 
> import ply.lex as lex
> ImportError: No module named ply.lex
> make[4]: *** [vlibmemory/memclnt.api.h] Error 1
> make[4]: *** Waiting for unfinished jobs
> make[4]: *** [vlibmemory/memclnt.api.json] Error 1
> make[4]: Leaving directory 
> `/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/build-vpp-native/vpp'
> make[3]: *** [vpp-build] Error 2
> make[3]: Leaving directory 
> `/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root'
> make[2]: *** [install-packages] Error 1
> make[2]: Leaving directory 
> `/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root'
> error: Bad exit status from /var/tmp/rpm-tmp.8lAVBj (%build)
> 
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev


Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Dave Barach (dbarach)
“$ make install-dep” fixed it for me… D.

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Jon Loeliger
Sent: Wednesday, January 24, 2018 1:58 PM
To: vpp-dev <vpp-dev@lists.fd.io>
Subject: [vpp-dev] Missing PLY ?

Hey Kids,

The new API Gen seems to want ply.lex, but I don't think
it is listed as a dependency or something somewhere.  Or
maybe I have a really crappy Python.  Dunno.

Net effect, shown below, isn't good.

Did I miss a step?

Thanks,
jdl


make[4]: Entering directory 
`/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/build-vpp-native/vpp'
  APIGEN   vlibmemory/memclnt.api.h
  JSON API vlibmemory/memclnt.api.json
Traceback (most recent call last):
  File 
"/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/tools/bin/vppapigen",
 line 4, in 
import ply.lex as lex
ImportError: No module named ply.lex
Traceback (most recent call last):
  File 
"/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/tools/bin/vppapigen",
 line 4, in 
import ply.lex as lex
ImportError: No module named ply.lex
make[4]: *** [vlibmemory/memclnt.api.h] Error 1
make[4]: *** Waiting for unfinished jobs
make[4]: *** [vlibmemory/memclnt.api.json] Error 1
make[4]: Leaving directory 
`/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/build-vpp-native/vpp'
make[3]: *** [vpp-build] Error 2
make[3]: Leaving directory 
`/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root'
make[2]: *** [install-packages] Error 1
make[2]: Leaving directory 
`/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root'
error: Bad exit status from /var/tmp/rpm-tmp.8lAVBj (%build)

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] Missing PLY ?

2018-01-24 Thread Jon Loeliger
Hey Kids,

The new API Gen seems to want ply.lex, but I don't think
it is listed as a dependency or something somewhere.  Or
maybe I have a really crappy Python.  Dunno.

Net effect, shown below, isn't good.

Did I miss a step?

Thanks,
jdl


make[4]: Entering directory
`/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/build-vpp-native/vpp'
  APIGEN   vlibmemory/memclnt.api.h
  JSON API vlibmemory/memclnt.api.json
Traceback (most recent call last):
  File
"/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/tools/bin/vppapigen",
line 4, in 
import ply.lex as lex
ImportError: No module named ply.lex
Traceback (most recent call last):
  File
"/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/tools/bin/vppapigen",
line 4, in 
import ply.lex as lex
ImportError: No module named ply.lex
make[4]: *** [vlibmemory/memclnt.api.h] Error 1
make[4]: *** Waiting for unfinished jobs
make[4]: *** [vlibmemory/memclnt.api.json] Error 1
make[4]: Leaving directory
`/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root/build-vpp-native/vpp'
make[3]: *** [vpp-build] Error 2
make[3]: Leaving directory
`/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root'
make[2]: *** [install-packages] Error 1
make[2]: Leaving directory
`/home/jdl/workspace/vpp/build-root/rpmbuild/vpp-18.04.0/build-root'
error: Bad exit status from /var/tmp/rpm-tmp.8lAVBj (%build)
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev