This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I haven't made build for awhile and just doing the build which I was able to do successfully in the past, but gotten the above NMAKE error with some '..\tools\rdps.py' Please suggest. thank you

asked 15 Jan '16, 14:49

christenmu's gravatar image

christenmu
367711
accept rate: 50%


Firstly, you should move to a CMake build as detailed in the Developers Guide, support for Nmake may be dropped in the next release.

It would help to have a little more context, but rdps.py is a python script that converts the print.ps file to ps.c, and relies on nmake being configured with a valid path to python in the $(PYTHON) variable.

What version of python do you have installed, and do you have any changes in config.nmake to identify that version of python?

permanent link

answered 15 Jan '16, 15:19

grahamb's gravatar image

grahamb ♦
19.8k330205
accept rate: 22%

I verified that the PHYTON is version 2.7 and the config.nmake supposed to support this version and it has the correct path. I did not change the config.nmake. But noticed that while doing nmake -f Makefile.nmake all when it comes to tools\rdps.py print.ps ps.c .. there's a window popped up asking which program to choose to open this file. As if it did not know where this Python is. After manually directing to the correct location, the build seems to continue but at the end still get build error at c1: fatal error C1082: Cannot open source file: 'ps.c': No such file or directory. I re-installed the PYTHON 2.7.8 same version I had before and that seems to resolve the issue. thanks for your help.

(16 Jan '16, 07:58) christenmu

Likely that somehow your original python install was non-functional, and installing the newer version fixed that.

(16 Jan '16, 14:18) grahamb ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×110
×28
×13

question asked: 15 Jan '16, 14:49

question was seen: 1,140 times

last updated: 16 Jan '16, 14:18

p​o​w​e​r​e​d by O​S​Q​A