Fork me on GitHub

Opened 11 years ago

Last modified 11 years ago

#224 new Bug

compilation fails if space in the path

Reported by: olivier Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hi guys,

This is a bug report, that you can think one day if you have time to waist.

I did the following:
mkdir tmp\ test
cd tmp\ test
bzr branch lp:madgraph5
cd madgraph5
./bin/mg5
install Delphes

and it returns
compile Delphes. This might takes a while.

Building libDelphes.so

clang: error: no such file or directory: 'test/madgraph5/Delphes/libDelphes.so'

This is obviously trigger by the space. MG5 is not expected to work for such type of path as well. ( I make this to see if I had implemented a warning for such type of installation and to test a problem with MG5 didn't finding the Delphes executables) So I don't care at all if you set this bug in "won't fix", but I thought that it might be interesting for you to know such limitation and the associate "crash".

Cheers,

Olivier

Change History (1)

comment:1 by Pavel Demin, 11 years ago

Hi Olivier,

Thanks for finding this problem. It should not be difficult to fix. Putting quotation marks in right places should be enough.

However, the following commands work on a machine with Scientific Linux 5 and gcc 4.1.2:

mkdir tmp\ test
cd tmp\ test
svn checkout https://cp3.irmp.ucl.ac.be/sources/delphes/trunk
cd trunk
make

So, it looks like a MacOSX or Clang specific problem.

I'll try to find a Mac.

Cheers,

Pavel

Note: See TracTickets for help on using tickets.