GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » Problem in installation of jul14p3 on Yosemite
Problem in installation of jul14p3 on Yosemite [message #17695] Tue, 23 December 2014 15:23 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hello,
I have tried to install jul14p3 on my fresh Yosemite installation (OS X 10.1), but I was stucked at the root installation:

==> lib/libCore.5.34.so done
cint/cint/main/cint_tmp \
           -w1 -zvector -ncint/cint/lib/dll_stl/G__cpp_vector.cxx  \
	   -D__MAKECINT__ -DG__MAKECINT \
           -Icint/cint/lib/dll_stl -Icint/cint/lib \
	   -c-1 -A -Z0 cint/cint/lib/dll_stl/vec.h
touch cint/cint/lib/dll_stl/G__cpp_vector.cxx
bin/rmkdepend -R -fcint/cint/lib/dll_stl/G__cpp_vector.d -Y -w 1000 -- \
	   -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -std=c++11 -stdlib=libc++  -pthread -D__cplusplus -Icint/cint/lib/prec_stl \
	   -Icint/cint/stl -I/Users/spataro/fairsoft_jul14p3/tools/root/cint/cint/inc -- cint/cint/lib/dll_stl/G__cpp_vector.cxx
clang++  -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -std=c++11 -stdlib=libc++  -pthread -I. -I/Users/spataro/fairsoft_jul14p3/tools/root/cint/cint/inc  -o cint/cint/lib/dll_stl/G__cpp_vector.o -c cint/cint/lib/dll_stl/G__cpp_vector.cxx
bin/rmkdepend -R -fcore/metautils/src/stlLoader_vector.d -Y -w 1000 -- -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION -std=c++11 -stdlib=libc++ -DG__HAVE_CONFIG -DG__NOMAKEINFO -I/Users/spataro/fairsoft_jul14p3/tools/root/cint/cint/inc -I/Users/spataro/fairsoft_jul14p3/tools/root/cint/cint/src -I/Users/spataro/fairsoft_jul14p3/tools/root/cint/cint/src/dict -D__cplusplus -- core/metautils/src/stlLoader_vector.cc
clang++ -O2 -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION -std=c++11 -stdlib=libc++ -DG__HAVE_CONFIG -DG__NOMAKEINFO -I/Users/spataro/fairsoft_jul14p3/tools/root/cint/cint/inc -I/Users/spataro/fairsoft_jul14p3/tools/root/cint/cint/src -I/Users/spataro/fairsoft_jul14p3/tools/root/cint/cint/src/dict  -DWHAT=\"vector\" -o core/metautils/src/stlLoader_vector.o -c core/metautils/src/stlLoader_vector.cc
clang++ -dynamiclib -single_module -Wl,-dead_strip_dylibs -install_name /Users/spataro/fairsoft_jul14p3/buildFairSoft/lib/root/vector.5.so -m64 -mmacosx-version-min=10.10 -stdlib=libc++ -o cint/cint/stl/vector.5.34.so cint/cint/lib/dll_stl/G__cpp_vector.o core/metautils/src/stlLoader_vector.o -ldl -Llib -lCint -compatibility_version 5 -current_version 5.34.19
ln -fs vector.5.34.so cint/cint/stl/vector.so
==> cint/cint/stl/vector.5.34.so done
mv cint/cint/stl/vector.so cint/cint/stl/vector.dll ;mv cint/cint/stl/vector.so cint/cint/stl/vector.dll
mv: cint/cint/stl/vector.so: No such file or directory
make: *** [cint/cint/stl/vector.dll] Error 1
**** Checking libraries in /Users/spataro/fairsoft_jul14p3/buildFairSoft/lib ****
*** ERROR: root could not be created.
*** End installation of external packages with Errors***


It seems to me that it is trying to mv vector.so two times. Indeed:

d-h-72:fairsoft_jul14p3 spataro$  find . -name vector.5.34.so
./tools/root/cint/cint/stl/vector.5.34.so
d-h-72:fairsoft_jul14p3 spataro$  find . -name vector.so
d-h-72:fairsoft_jul14p3 spataro$  find . -name vector.dll
./tools/root/cint/cint/stl/vector.dll


The vector.dll is created, and vector.so has disappeared.

In any case, if I check several pages before, I find also the following error:

in/rmkdepend -R -fgraf2d/cocoa/src/TGQuartz.d -Y -w 1000 -- -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG   -std=c++11 -stdlib=libc++  -pthread -DNDEBUG -Igraf2d/freetype/src/freetype-2.3.12/include -D__cplusplus -- /Users/spataro/fairsoft_jul14p3/tools/root/graf2d/cocoa/src/TGQuartz.mm
/Users/spataro/fairsoft_jul14p3/tools/root/graf2d/cocoa/src/ROOTApplicationDelegate.mm:10:28: error: cannot initialize a parameter of
      type 'id<NSFileManagerDelegate>' with an lvalue of type 'ROOTApplicationDelegate *'
      [NSApp setDelegate : self];
                           ^~~~
/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:109:47: note: passing argument to parameter 'delegate' here
@property (assign) id <NSFileManagerDelegate> delegate NS_AVAILABLE(10_5, 2_0);
                                              ^
1 error generated.


In this case the compilation does not crash, but it is an error.

Any suggestion?


With the same machine, trying to install dec14, root compiles, but in this case VGM fails.

[Updated on: Tue, 23 December 2014 16:10]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Problem in installation of jul14p3
Next Topic: Problems with FairSoft (libpng) and Fedora 20
Goto Forum:
  


Current Time: Thu Mar 28 21:19:51 CET 2024

Total time taken to generate the page: 0.01092 seconds