[Rivet] Rivet cannot to be configured with swig

Kamuran Dilsiz kamuran.dilsiz at cern.ch
Wed Mar 29 09:33:22 BST 2017


Dear Frank,

I installed Rivet-2.5.3. But, when configuring this version, I am having the following error which I do not know how to fix.
configure: error: *** A compiler with support for C++11 language features is required.
________________________________________
From: Frank Siegert
Sent: Wednesday, March 29, 2017 9:44 AM
To: Kamuran Dilsiz
Cc: Rivet
Subject: Re: Rivet cannot to be configured with swig

Hi Kamuran,
(+ Rivet developer list in CC)

You should be using the most recent version of Rivet, 2.5.3, instead
of an ancient 1.8.3. This will also solve your swig problem, since
that is not necessary for the recent Rivet versions anymore.

Last but not least, if you are not familiar with installing programs
on Unix systems you might want to use the rivet bootstrap script,
which will perform the installation automatically for you:
https://rivet.hepforge.org/trac/wiki/GettingStarted

Cheers,
Frank


On 29 March 2017 at 09:23, Kamuran Dilsiz <kamuran.dilsiz at cern.ch> wrote:
> Dear Frank Siegret,
>
> I am using Rivet-1.8.3. I configured it with HepMC and Fastjet, but it also
> require swig. I installed swig into my lxplus account and tried to
> configured Rivet with swig. However, it still gives the following error.
> Could you please help me solve the problem? Thanks in advance.
>
>
> configure: WARNING: cannot find 'swig' program. You should look at
> http://www.swig.org
>
> ./configure: line 18427: test: too many arguments
>
> checking if echo "Error: SWIG is not installed. You should look at
> http://www.swig.org" ; false can make a Python function wrapper... yes
>
> checking if the /usr/bin/g++ compiler accepts the -Wno-format flag... yes
>
> configure: adding -Wno-format to swig compilation test
>
> checking if echo "Error: SWIG is not installed. You should look at
> http://www.swig.org" ; false is compatible with the /usr/bin/g++ compiler...
> no
>
> configure: error: Can't build Python extension since echo "Error: SWIG is
> not installed. You should look at http://www.swig.org" ; false is not
> compatible with /usr/bin/g++. Get a newer SWIG version!
>
>
> Best regards,
> Kamuran
>


More information about the Rivet mailing list