Re: root on linux

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Apr 20 1999 - 17:26:56 MEST


Hi Mike, Rudi,
As I already reported in my previous email, We provide a makefile
for SuSe in the standard Root source distribution kit.
Look for Makelinuxsuse6. Here is this makefile. It is different from
your
proposed corrections. Could you check that our standard makefile
correctly
works under Suse6 ?

Rene Brun

# Makefile of ROOT for Linux with glibc and egcs (SuSE v6.0)

PLATFORM      = linux

CXX           = g++
CC            = gcc
CXXFLAGS      = -Wall -fPIC -DR__GLIBC -fno-rtti -fno-exceptions
CFLAGS        = -Wall -fPIC -DR__GLIBC
CINTCXXFLAGS  = -Wall -fPIC -fno-rtti -fno-exceptions -DG__REGEXP \
                -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT
-DG__REDIRECTIO
CINTCFLAGS    = -Wall -fPIC -DG__REGEXP -DG__UNIX -DG__SHAREDLIB \
                -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO
OPT           = -O
NOOPT         =
LD            = g++
LDFLAGS       = $(OPT)
SOFLAGS       = -shared -Wl,-soname,
SOEXT         = so
SYSLIBS       = -lm -ldl -rdynamic
SYSXLIBS      = -L/usr/X11R6/lib -lX11 -lm -ldl -rdynamic
XLIBS         = $(ROOTSYS)/lib/libXpm.a -L/usr/X11R6/lib -lX11
CILIBS        = -lm -lncurses -ldl -rdynamic
CRYPTLIBS     = -lcrypt
F77           = g77
F77FLAGS      = $(OPT)
F77LIBS       = -lg2c

VPATH         = $(ROOTSYS)/include


##### MACROS and TARGETS #####

include Make-macros


##### DEPENDENCIES #####

include Make-depend



M. Sievers wrote:
> 
> Hello,
> 
> I recompiled root on a SuSE 5.3 system that was upgraded to a 6.0 system
> with the suse-update feature. I use the gcc, the Makefile I started from
> was Makefile.linux.
> 
> I had to make some changes to the Makefile, which I include as an
> attachment. With these changes, compilation was successfull.
> 
> Bye,
> Mike
> 
> On Tue, 20 Apr 1999, Rene Brun wrote:
> 
> > Hi Rudi,
> > Which Makefile did you use?
> > We have a makefile for SuSe in the distribution kit.
> >
> > Rene Brun
> >
> > Rudolf Wedenig wrote:
> > >
> > > Hello,
> > > I tried to install Root under SuSE Linux 6.0 (both the "Linux version
> > > 2.21/08 for Redhat 5.0/5.1/5.2 (glibc) and egcs 1.1.1"  and the "LinuxPPC
> > > egcs compiler version 2.21/08 ").
> > > Whenever I try to start root, I get the error message: cannot execute
> > > binary file.
> > > So: does root not run under SuSE Linux????
> > >
> > > Rudi
> >
> 
> --------------------------------------------------------------------------
> Michael Sievers
> Michael.Sievers@desy.de
> --------------------------------------------------------------------------
> Plug-and-Play is really nice, unfortunately it only works 50% of the time.
> To be specific the "Plug" almost always works.            --unknown source
> 
>   ------------------------------------------------------------------------
> 
>                          Name: patch_for_linux
>    patch_for_linux       Type: Plain Text (TEXT/PLAIN)
>                      Encoding: BASE64



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:32 MET