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

I just noticed that the RPM spec file has its own set of ./configure options. This made me question whether support for different options that I run prior to running "make" and "make rpm-package" aren't being passed to the RPM build process.

I tried to add the same "--with-XXXX" options to the file in its ./configure section manually, but the build process ended prematurely because it said the options were not recognized options.

Any insight?

asked 22 Jan '14, 13:05

jorwex's gravatar image

jorwex
6335
accept rate: 0%


Hmm interesting must have been something I did wrong.

This worked:

%configure \
  --with-gnu-ld \
%if %{with_c_ares}
  --with-c-ares \
%endif
%if %{with_adns}
  --with-adns \
%endif
%if %{with_lua}
  --with-lua \
%endif
%if %{with_portaudio}
  --with-portaudio \
%endif
%if %{with_gtk3}
  --with-gtk3 \
%endif
  --without-zlib --disable-warnings-as-errors
This didn't:
%configure \
  --with-gnu-ld \
  --without-zlib \ 
%if %{with_c_ares}
  --with-c-ares \
%endif
%if %{with_adns}
  --with-adns \
%endif
%if %{with_lua}
  --with-lua \
%endif
%if %{with_portaudio}
  --with-portaudio \
%endif
%if %{with_gtk3}
  --with-gtk3 \
%endif
  --disable-warnings-as-errors

permanent link

answered 22 Jan '14, 13:12

jorwex's gravatar image

jorwex
6335
accept rate: 0%

edited 22 Jan '14, 14:34

Jaap's gravatar image

Jaap ♦
11.7k16101

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:

×13
×11

question asked: 22 Jan '14, 13:05

question was seen: 1,427 times

last updated: 22 Jan '14, 14:34

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