[ROOT-7226] ROOT 6 does not like spaces in the path Created: 30/Mar/15  Updated: 19/Nov/17  Resolved: 19/Nov/17

Status: Closed
Project: ROOT
Component/s: Cling
Affects Version/s: 6.02/05
Fix Version/s: None

Type: Bug Priority: High
Reporter: Olivier Delaune Assignee: Axel Naumann
Resolution: Fixed Votes: 0
Labels: None

CentOS 6.5 64-bits

Attachments: File test.C    


Create a directory called for example "test test" (the space does matter). Copy the file test.C in this directory and open ROOT 6.02/05.*
Type ".x test.C++" twice.
The first time should works normally whereas the second time will not work. It get

root [0] .X test.C++
Info in <TUnixSystem::ACLiC>: creating shared library /home/delaune/test test/./test_C.so
Info in <TCanvas::MakeDefCanvas>: created default TCanvas with name c1
root [1] .X test.C++
Info in <ACLiC>: unmodified script has already been compiled and loaded
Info in <ACLiC>: it will be regenerated and reloaded!
Info in <TUnixSystem::ACLiC>: creating shared library /home/delaune/test test/./test_C.so
test_C_ACLiC_dict.cxx.h:1:10: fatal error: 'test/' file not found
#include "test/"
g++: error: test/: Aucun fichier ou dossier de ce type
g++: error: /home/delaune/test test/test_C_ACLiC_dict.o: Aucun fichier ou dossier de ce type
Error in <ACLiC>: Compilation failed!

Comment by Axel Naumann [ 31/Mar/15 ]

Thanks for your report - fixed in master and v6-02-00-patches.

Generated at Mon Feb 24 16:59:25 CET 2020 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.