Installing root on Snow Leopard

From: Raghava Varma <varma_at_phy.iitb.ac.in>
Date: Sat, 12 Jun 2010 18:54:15 +0530


Hi

When I try to compile root it gives the following error

XrdCryptosslX509.cc: In member function ‘bool XrdCryptosslX509::IsCA()’:
XrdCryptosslX509.cc:572: error: invalid conversion from ‘unsigned char**’ to ‘const unsigned char**’ XrdCryptosslX509.cc:572: error: initializing argument 2 of ‘BASIC_CONSTRAINTS* d2i_BASIC_CONSTRAINTS(BASIC_CONSTRAINTS**, const unsigned char**, long int)’

make[5]: *** [../../obj/XrdCryptosslX509.o] Error 1
make[4]: *** [Darwinall] Error 2
make[3]: *** [all] Error 2
make[2]: *** [XrdCrypto] Error 2
make[1]: *** [all] Error 2

*** Error condition reported by make (rc = 2): make: *** [net/xrootd/src/xrootd/LastBuild.d] Error 1

I suspect that this is because I have gcc version 4.2.1 whereas the gfortran version is 4.5.1. The gfortran does not have uninstall option. When I try to use the option

tar -tf gfortran-leopard-intel-bin.tar | sort -r | (cd /; xargs -p -n 1 rm
-d)

it gives the error  

tar: gfortran-leopard-intel-bin.tar: Cannot open: No such file or directory tar: Error is not recoverable: exiting now

Any help would be very much appreciated

raghava

--

Raghava Varma
Department of Physics
Indian Institute of Technology Bombay
Powai Mumbai 400076
Mobile 09869075722
Phone 02225764548 Received on Sat Jun 12 2010 - 15:24:28 CEST

This archive was generated by hypermail 2.2.0 : Sat Jun 12 2010 - 17:50:01 CEST