Installing CINT 5.15 on ubuntu

View: New views
2 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Re: Installing CINT 5.15 on ubuntu

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Veena!

Please use the current version, not 5.15. See e.g.
<http://root.cern.ch/twiki/bin/view/ROOT/CINT> on how to get the current
subversion trunk and how to build it. I have fixed this specific Ubuntu
7.1 build problem only in the latest trunk, i.e. this version does not
yet have a number, and you can only use subversion to get it.

linreadline5-dev does exist on Ubuntu 7.1, at least that's what Ubuntu
claims: http://packages.ubuntu.com/gutsy/libdevel/libreadline5-dev

You use "make" instead of "gmake".

Once you have the CINT trunk, libreadline5-dev, and gmake installed, you
can simply do:

./configure

Cheers, Axel


Veena Gondhalekar wrote:

> Hi liubin,
>
> Unfortunately, your solution doesn’t work for me. On my ubuntu 7.10,
> g++ is already installed (I might have done it at some point and it was
> probably not installed by default. I vaguely recall installing it via
> “apt-get” from the command line).
>
> In the Synaptic Package Manager, no “readline” or “libreadline5-dev” is
> listed.  There is a “readline-common” and “libreadline5”, both of which
> show a status of “installed” (“Apply” button is grayed out). I didn’t see
> any other package names that could be related to “read” or “line” :).
>
> Just for grins, I also tried installing libreadline5-dev via apt-get from
> the command line and got a “couldn’t find package” error. So I guess
> such a library doesn’t exist in ubuntu 7.10.  
>
> gmake is not known on 7.10 either.
>
> I did the following and got the outputs specified below -
>
>>  bash ./configure __have_the_proper_shell@
>
> ====
> Guessing architecture to be linux
> Using readline/libreadline.a
> Writing Makefile.conf...
> Writing inc/configcint.h...
> Done.
> Run "make" to build cint.
> Run "make help" to see the available build targets.
> ====
>
>>  make
>
> ====
> make: *** No rule to make target `readline/*.c', needed by
> readline/libreadline.a'. Stop
> ====
>
>
> So, I have stopped.
> Thanks.
>
>
> Veena
>
>
>
> On 12/20/07 3:24 AM, "bin liu" <simtester@...> wrote:
>
>     Hi Veena,
>
>     If you just want to let cint works on Ubuntu, no need to wait CERN
>     gurus fix the configure problem. Workaround as follows: vi
>     configure, simply remove (dd) line 13-20. Or modify line 16's sh to
>     bash.
>
>     Other issues I encountered and solved were:
>     1) g++, command not found, solution: install g++, default seems not
>     installed.
>     2) ./configure gives:
>            Guessing architecture to be linux
>            dirname: missing operand
>            Try `dirname --help' for more information.
>         solution: install libreadline5-dev, default also not installed.
>     (System->Administration->Synaptic Package Manager, Search 'g++' and
>     'readline' then select and apply)
>
>     My ./configure output:
>     Guessing architecture to be linux
>     Using /usr/lib/libreadline.a
>     Using /usr/lib/libncurses.a
>
>     Writing Makefile.conf...
>     Writing inc/configcint.h...
>     Done.
>     Run "make" to build cint.
>     Run "make help" to see the available build targets.
>
>     Then 'make' and 'make dlls'. I got 'command not found' if I type
>     'gmake' on my Ubuntu 7.0.4.
>
>     Philippe, as mentioned above isssue 2), when libreadline.a not
>     found, the configure gives 'dirname: missing operand' and flags
>     becomes '-L -lreadline'. By default, Ubuntu install libreadline.so.5
>     under /lib, the libreadline.a will be installed under /usr/lib when
>     install package libreadline5-dev. I guess without libreadline.a
>     should also OK as dynamic lib used, however, the error message
>     'dirname: missing...' may confuse people.
>
>
>     Regards,
>     liubin
>
>     2007/12/20, Philippe Canal < pcanal@...>:
>
>         And what does
>            sh --version ls
>         print to the screen on your platforms?
>
>         Thanks,
>         Philippe
>
>         -----Original Message-----
>         From: Ron Young [mailto:ron@...]
>         Sent: Wednesday, December 19, 2007 5:43 PM
>         To: Philippe Canal
>         Cc: 'Veena Gondhalekar'; cint@...; ron@...
>         Subject: Re: [CINT] Installing CINT 5.15 on ubuntu
>
>         Your message dated: Wed, 19 Dec 2007 16:38:12 CST
>         --------
>         > What does uname returns for Ubuntu?
>         >
>         > Philippe
>         >
>
>           on sparc 64 uname -a returns:
>
>         ron@ron1:~$ uname -a
>         Linux ron1 2.6.20-16-sparc64 #2 Sun Sep 23 19:18:28 UTC 2007 sparc64
>         GNU/Linux
>
>           on i686:
>
>         ron@ron-laptop:~$ uname -a
>         Linux ron-laptop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12
>         GMT 2007 i686
>         GNU/Linux
>
>           on amd-64
>
>         ron@ron-amd64:~$ uname -a
>         Linux ron-amd64 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT
>         2007 x86_64
>         GNU/Linux
>
>
>         > -----Original Message-----
>         > From: Ron Young [mailto: ron@...]
>         > Sent: Wednesday, December 19, 2007 4:37 PM
>         > To: Philippe Canal
>         > Cc: 'Veena Gondhalekar'; cint@...
>          <mailto:cint@...> ; ron@...
>         > Subject: Re: [CINT] Installing CINT 5.15 on ubuntu
>         >
>         > Your message dated: Wed, 19 Dec 2007 15:17:22 CST
>         > --------
>         >
>         > Hi all:
>         >
>         >    I took a quick look at the .configure problem and it fails
>         on my
>         >    systems (i386 ubuntu and sparc ubuntu) with the same error.
>         The failure
>         >    is not in the main level bash but in the subshell... I
>         don't have time
>         >    to code a fix right now, but consider the following:
>         >
>         > ron@ron-laptop:~/Desktop/cint-5.16.19$ bash -vx configure --help
>         > ##############################################################
>         > #
>         > # Copyright(c) 1995~2005  Masaharu Goto (cint@...)
>         > #
>         > # For the licensing terms see the file COPYING
>         > #
>         > ##############################################################
>         > #
>         > # This is a bash script, which works with any reasonable sh.
>         > # Solaris sh is not, so we have to start bash, and call
>         ourselves again.
>         >
>         > [ "x$1" != "x__have_the_proper_shell@" ] && ( \
>         >   uname -a | grep -i sunos > /dev/null \
>         >   && (bash $0 __have_the_proper_shell@ "$*") \
>         >   || (sh $0 __have_the_proper_shell@ "$*") \
>         > )
>         > + '[' x--help '!=' x__have_the_proper_shell@ ']'
>         > + uname -a
>         > + grep -i sunos
>         > + sh configure __have_the_proper_shell@ --help
>         > configure: 23: Syntax error: "(" unexpected
>         >
>         > The problem is in the subshell call "sh", on my ubuntu systems
>         sh is
>         > a symlink to "dash"...
>         >
>         > Hope this helps
>         >
>         > -ron
>         >
>         > > Hi Veena,
>         > >
>         > > The issue is that we _thought_ that the script was parseable
>         > > by most sh (except on solaris) and thus the configure call
>         > > itself with the "correct" shell (sh so we thought) except
>         > > that in your case it does not work :(
>         > >
>         > > Cheers,
>         > > Philippe
>         > >
>         > > -----Original Message-----
>         > > From: Veena Gondhalekar [mailto:veenag@...]
>         > > Sent: Wednesday, December 19, 2007 3:14 PM
>         > > To: Philippe Canal; cint@...
>         > > Subject: Re: [CINT] Installing CINT 5.15 on ubuntu
>         > >
>         > > That seems to help but I am running into other problems
>         related to
>         > > permissions that are ubuntu specific so let me figure those
>         out.
>         > >
>         > > Meanwhile, when I do
>         > > > echo $SHELL
>         > > I get
>         > > > /bin/bash
>         > >
>         > > Are you saying that this is somehow not the right bash?
>         > > I also tried adding the shebang at the top of the configure
>         file (#!
>         > > /bin/bash) but that didn't help either and I got the same
>         syntax error.
>         > >
>         > > I will work on my permissions issue and see how it goes from
>         there.
>         > > Thanks.
>         > >
>         > >
>         > > Veena
>         > >
>         > >
>         > >
>         > > On 12/19/07 2:54 PM, "Philippe Canal" <pcanal@...> wrote:
>         > >
>         > > > Hi Veena,
>         > > >
>         > > > To debug the problem (I suspect that in your sh is actually
>         > > > different from bash).  Try:
>         > > >
>         > > >    bash ./configure __have_the_proper_shell@
>         > > >
>         > > > Thanks,
>         > > > Philippe
>         > > >
>         > > > -----Original Message-----
>         > > > From: Veena Gondhalekar [mailto: veenag@...
>         <mailto:veenag@...> ]
>         > > > Sent: Wednesday, December 19, 2007 2:40 PM
>         > > > To: Philippe Canal; roottalk@...; cint@...
>         > > > Subject: Re: [CINT] Installing CINT 5.15 on ubuntu
>         > > >
>         > > > Yes, I know the pain of having to fix bugs in old versions
>         that people
>         > > > refuse to let go of when they're fixed in later versions.
>         Anyway, I've
>         > > > just downloaded 5.16.19. The first issue is that you
>         cannot read the
>         > > > instructions to unpack the package without unpacking it
>         :).  I can see
>         > > > all kinds of "bugs" (major and minor) in the README.txt
>         file and I am
>         > > > ignoring all that for the time being. When I run
>         ./configure, I get
>         > > >
>         > > > ====
>         > > > ./configure: 23: Syntax error: "(" unexpected
>         > > > ====
>         > > >
>         > > > (I now remember that I was getting this before too). Line
>         23 of the
>         > > > configure file is the line where the variable ARCH is
>         defined (linux
>         > > > linuxicc macgcc........)
>         > > >
>         > > > I am running bash and this is a bash script. I don't see
>         anything
>         > > > obviously wrong such as mismatched quotes or something
>         earlier that
>         > > > could be showing up later as error on line 23. There are
>         just 3 lines
>         > > > of commands before that so I am not sure what's going on.
>         > > >
>         > > > Thanks.
>         > > >
>         > > >
>         > > > Veena
>         > > >
>         > > >
>         > > >
>         > > >
>         > > > On 12/19/07 2:02 PM, "Philippe Canal" <pcanal@...> wrote:
>         > > >
>         > > >> Hi Veena,
>         > > >>
>         > > >> Please do and let's us know if you have any trouble.
>         > > >> Cint 5.16 is the current production version (and thus has
>         many
>         > > >> bug fixes compared to 5.15) and is the only version we
>         can change
>         > > >> to solve any problem you might encounter :)
>         > > >>
>         > > >> Cheers,
>         > > >> Philippe
>         > > >>
>         > > >> -----Original Message-----
>         > > >> From: Veena Gondhalekar [mailto:veenag@...]
>         > > >> Sent: Wednesday, December 19, 2007 1:59 PM
>         > > >> To: Philippe Canal; roottalk@...; cint@...
>         > > >> Subject: Re: [CINT] Installing CINT 5.15 on ubuntu
>         > > >>
>         > > >> Thanks Philippe.
>         > > >>
>         > > >> I believe I tried all that because I found through some
>         msgs I read
>         > > >> on NABBLE that others before me had run into similar
>         issues with
>         5.16.
>         > > >> But the suggested solution didn't help me. I don't recall
>         the details
>         > > >> as it has been a while, but I deleted the whole 5.16
>         directory after
>         > > >> that.  If 5.16 is going to work, I will definitely give
>         it a try
>         again
>         > > >> and would be happy to point to the mismatched
>         instructions. I believe
>         > > >> they were in the README.txt file at the top level
>         directory when you
>         > > >> unzip the tar file.  Then a colleague in Europe suggested
>         I use 5.15
>         > > >> as it works for them but they're using some strange :)
>         version of
>         > > >> linux over there.
>         > > >>
>         > > >> I will download 5.16 again and run the suggested steps
>         and let you
>         > > >> know how that goes.
>         > > >>
>         > > >>
>         > > >> Veena
>         > > >>
>         > > >>
>         > > >>
>         > > >> On 12/19/07 1:37 PM, "Philippe Canal" <pcanal@... >
>         wrote:
>         > > >>
>         > > >>> Hi Veena,
>         > > >>>
>         > > >>> In the contrary, you should use 5.16 :)
>         > > >>> Installing is slightly different (can you remind me
>         which web pages'
>         > > >>> instruction
>         > > >>> you follow so we can update them), and simply:
>         > > >>>
>         > > >>>    ./configure
>         > > >>>    gmake
>         > > >>>    gmake dlls
>         > > >>>
>         > > >>> Cheers,
>         > > >>> Philippe.
>         > > >>>
>         > > >>> -----Original Message-----
>         > > >>> From: owner-cint@...
>         [mailto:owner-cint@...] On
>         > Behalf
>         > > >> Of
>         > > >>> Veena Gondhalekar
>         > > >>> Sent: Wednesday, December 19, 2007 1:31 PM
>         > > >>> To: roottalk@...; 'cint@...'
>         > > >>> Subject: [CINT] Installing CINT 5.15 on ubuntu
>         > > >>>
>         > > >>> Hi,
>         > > >>>
>         > > >>> I would like to know if anyone has successfully
>         installed CINT 5.15
>         on
>         > > >>> ubuntu linux 7.10 (uses linux kernel 2.6.22)? I have
>         tried several
>         > > >> platform
>         > > >>> files and tweaked some of the flags/values to match what
>         I could
>         find
>         > on
>         > > >> my
>         > > >>> system but they all fail somewhere or the other. Most of the
>         platform
>         > > >>> files seem to be for old linux kernels (e.g. RH7.3 is
>         based on 2.4
>         > > > version
>         > > >>> of the kernel).  Since CINT 5.16 source was missing the
>         whole
>         platform
>         > > >>> directory, I didn't bother installing that at all.
>         > > >>> Thanks.
>         > > >>>
>         > > >>>
>         > > >>> Veena
>         > > >>>
>         > > >>>
>         > > >>
>         > > >>
>         > > >
>         > > >
>         > >
>         > >
>         >
>         >
>         ============================================================================
>
>         > ===
>         > Ron Young, Research Support Analyst
>         > National Supercomputing Center for Energy and the Environment
>         > 4505 Maryland Parkway, Box 454028, Las Vegas, NV 89154-4028
>         > v (702) 895-4017 / f (702) 895-4156 / email: ron.young@...
>         >
>
>         ============================================================================
>         ===
>         Ron Young, Research Support Analyst
>         National Supercomputing Center for Energy and the Environment
>         4505 Maryland Parkway, Box 454028, Las Vegas, NV 89154-4028
>         v (702) 895-4017 / f (702) 895-4156 / email: ron.young@...
>
>
>
>


Parent Message unknown Re: Installing CINT 5.15 on ubuntu

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi liubin,

the reason why this configure script is a bit unstable is mainly because
I have to maintain two of them (the trunk and our branch, where the
shiny new CINT is developing) - and because it'll be changed a lot
pretty soon, once CINT has a platform independent compiler wrapper. This
is needed e.g. for building dictionaries on demand, and it will also be
used to build CINT itself.

Until then I'm happy to import any patches you have for the current
configure script :-) It does need to work on linux, MacOS, cygwin, and
solaris, though. But I can easily test that, so if you have a patch then
please send it.

Apart from that - I'll be on vacation starting yesterday, so please
don't expect any fast reaction :-) I'll be back Jan 7, 2008. Happy
holidays / Christmas / New Year / skiing vacation!

Cheers, Axel.

bin liu wrote:

> Hi Veena,
>
> My work-around _does_ work to get rid of the "Syntax error: "("
> unexpected" problem. However, seems you encountered other problem(s).
>
> Your ./configure output "Using readline/libreadline.a" instead of "Using
> /usr/lib/libreadline.a", this indicates you have _not_
> /usr/lib/libreadline.a. It should come with package
> 'libreadline5-dev'(my Ubuntu 7.04), I don't know why it cannot be
> found/installed in your Ubuntu 7.10.
>
> I guess you are using cint v5.16.19. Now you actually have following
> options to continue:
>
> 1) Try to overcome the installation problem about 'libreadline5-dev'.
> When you have /usr/lib/libreadline.a, you'll be able to make cint
> successfully. Highly recommend to do so. (Try to find / -name
> libreadline.a -print, maybe it is in /lib or somewhere else?)
>
> 2) If above failed (the /usr/lib/libreadline.a is _not_ available), but
> you know how to get cint from svn, you can get a later cint version
> (e.g. v5.16.28, or main trunk as Axel suggested), and make cint without
> /usr/lib/libreadline.a. The ./configure will give (only if v5.16.28,
> Axel said it has been fixed in main trunk):
>     dirname: missing operand
>     Try `dirname --help' for more information.
> Ignore the message and do make, link flag '-L -lreadline' will be
> used(actually /lib/readline.so.5 is used, you should have it as
> 'libreadline5' is installed).
> Note, this way is only work on a later version (I tried v5.16.28) but
> _not_ work on v5.16.19 ('s configure without modification, with some
> changes on configure or Makefile, it is also possible to make v5.16.19
> link with /lib/libreadline.so.5).
>
> 3) If you failed on both of above two ways, edit configure line 96,
> modify 'BUILDREADLINE=1' to 'BUILDREADLINE='. Then make. The cint
> (without readline at all) can be built and used. Try this _only_ when
> you _really_ cannot find libreadline.a and cannot get a recent cint
> version later than v5.16.19.
>
> In brief, 1) use readline as static library 2) use readline as dynamic
> library 3) not use readline at all. In any of the three cases, cint
> _can_ be built and used.
>
> @Axel, I guess that Veena is _not_ using 5.15 because there is _no_
> configure file in 5.15(folder platform instead). The difficulty is about
> readline now, seems the configure is not smart enough to cover above
> three situations. By the way, is there any advantage to use static
> readline( libreadline.a)? Seems the /lib/libreadline.so.5 exists more
> often, so my suggestion is, use the .so instead of .a, at least in case
> of the .a is not available. The cint v5.16.28 actually _already_ does
> so, however, I'm not sure whether it is intended.
>
>
> Regards,
> liubin
>
> 2007/12/22, Axel Naumann <Axel.Naumann@...
> <mailto:Axel.Naumann@...>>:
>
>     Hi Veena!
>
>     Please use the current version, not 5.15. See e.g.
>     <http://root.cern.ch/twiki/bin/view/ROOT/CINT> on how to get the current
>     subversion trunk and how to build it. I have fixed this specific Ubuntu
>     7.1 build problem only in the latest trunk, i.e. this version does not
>     yet have a number, and you can only use subversion to get it.
>
>     linreadline5-dev does exist on Ubuntu 7.1, at least that's what Ubuntu
>     claims: http://packages.ubuntu.com/gutsy/libdevel/libreadline5-dev
>
>     You use "make" instead of "gmake".
>
>     Once you have the CINT trunk, libreadline5-dev, and gmake installed,
>     you
>     can simply do:
>
>     ./configure
>
>     Cheers, Axel
>
>
>     Veena Gondhalekar wrote:
>     > Hi liubin,
>     >
>     > Unfortunately, your solution doesn't work for me. On my ubuntu 7.10,
>     > g++ is already installed (I might have done it at some point and
>     it was
>     > probably not installed by default. I vaguely recall installing it via
>     > "apt-get" from the command line).
>     >
>     > In the Synaptic Package Manager, no "readline" or
>     "libreadline5-dev" is
>     > listed.  There is a "readline-common" and "libreadline5", both of
>     which
>     > show a status of "installed" ("Apply" button is grayed out). I
>     didn't see
>     > any other package names that could be related to "read" or "line" :).
>     >
>     > Just for grins, I also tried installing libreadline5-dev via
>     apt-get from
>     > the command line and got a "couldn't find package" error. So I guess
>     > such a library doesn't exist in ubuntu 7.10.
>     >
>     > gmake is not known on 7.10 either.
>     >
>     > I did the following and got the outputs specified below -
>     >
>     >>  bash ./configure __have_the_proper_shell@
>     >
>     > ====
>     > Guessing architecture to be linux
>     > Using readline/libreadline.a
>     > Writing Makefile.conf...
>     > Writing inc/configcint.h...
>     > Done.
>     > Run "make" to build cint.
>     > Run "make help" to see the available build targets.
>     > ====
>     >
>     >>  make
>     >
>     > ====
>     > make: *** No rule to make target `readline/*.c', needed by
>     > readline/libreadline.a'. Stop
>     > ====
>     >
>     >
>     > So, I have stopped.
>     > Thanks.
>     >
>     >
>     > Veena
>     >
>     >
>     >
>     > On 12/20/07 3:24 AM, "bin liu" < simtester@...
>     <mailto:simtester@...>> wrote:
>     >
>     >     Hi Veena,
>     >
>     >     If you just want to let cint works on Ubuntu, no need to wait CERN
>     >     gurus fix the configure problem. Workaround as follows: vi
>     >     configure, simply remove (dd) line 13-20. Or modify line 16's
>     sh to
>     >     bash.
>     >
>     >     Other issues I encountered and solved were:
>     >     1) g++, command not found, solution: install g++, default
>     seems not
>     >     installed.
>     >     2) ./configure gives:
>     >            Guessing architecture to be linux
>     >            dirname: missing operand
>     >            Try `dirname --help' for more information.
>     >         solution: install libreadline5-dev, default also not
>     installed.
>     >     (System->Administration->Synaptic Package Manager, Search
>     'g++' and
>     >     'readline' then select and apply)
>     >
>     >     My ./configure output:
>     >     Guessing architecture to be linux
>     >     Using /usr/lib/libreadline.a
>     >     Using /usr/lib/libncurses.a
>     >
>     >     Writing Makefile.conf...
>     >     Writing inc/configcint.h...
>     >     Done.
>     >     Run "make" to build cint.
>     >     Run "make help" to see the available build targets.
>     >
>     >     Then 'make' and 'make dlls'. I got 'command not found' if I type
>     >     'gmake' on my Ubuntu 7.0.4.
>     >
>     >     Philippe, as mentioned above isssue 2), when libreadline.a not
>     >     found, the configure gives 'dirname: missing operand' and flags
>     >     becomes '-L -lreadline'. By default, Ubuntu install
>     libreadline.so.5
>     >     under /lib, the libreadline.a will be installed under /usr/lib
>     when
>     >     install package libreadline5-dev. I guess without libreadline.a
>     >     should also OK as dynamic lib used, however, the error message
>     >     'dirname: missing...' may confuse people.
>     >
>     >
>     >     Regards,
>     >     liubin
>     >
>     >     2007/12/20, Philippe Canal < pcanal@...
>     <mailto:pcanal@...> >:
>     >
>     >         And what does
>     >            sh --version ls
>     >         print to the screen on your platforms?
>     >
>     >         Thanks,
>     >         Philippe
>     >
>     >         -----Original Message-----
>     >         From: Ron Young [mailto:ron@... <mailto:ron@...>]
>     >         Sent: Wednesday, December 19, 2007 5:43 PM
>     >         To: Philippe Canal
>     >         Cc: 'Veena Gondhalekar'; cint@...
>     <mailto:cint@...>; ron@... <mailto:ron@...>
>     >         Subject: Re: [CINT] Installing CINT 5.15 on ubuntu
>     >
>     >         Your message dated: Wed, 19 Dec 2007 16:38:12 CST
>     >         --------
>     >         > What does uname returns for Ubuntu?
>     >         >
>     >         > Philippe
>     >         >
>     >
>     >           on sparc 64 uname -a returns:
>     >
>     >         ron@ron1:~$ uname -a
>     >         Linux ron1 2.6.20-16-sparc64 #2 Sun Sep 23 19:18:28 UTC
>     2007 sparc64
>     >         GNU/Linux
>     >
>     >           on i686:
>     >
>     >         ron@ron-laptop:~$ uname -a
>     >         Linux ron-laptop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12
>     >         GMT 2007 i686
>     >         GNU/Linux
>     >
>     >           on amd-64
>     >
>     >         ron@ron-amd64:~$ uname -a
>     >         Linux ron-amd64 2.6.22-14-generic #1 SMP Sun Oct 14
>     21:45:15 GMT
>     >         2007 x86_64
>     >         GNU/Linux
>     >
>     >
>     >         > -----Original Message-----
>     >         > From: Ron Young [mailto: ron@...
>     <mailto:ron@...>]
>     >         > Sent: Wednesday, December 19, 2007 4:37 PM
>     >         > To: Philippe Canal
>     >         > Cc: 'Veena Gondhalekar'; cint@...
>     <mailto:cint@...>
>     >          <mailto:cint@...
>     <mailto:cint@...>> ; ron@... <mailto:ron@...>
>     >         > Subject: Re: [CINT] Installing CINT 5.15 on ubuntu
>     >         >
>     >         > Your message dated: Wed, 19 Dec 2007 15:17:22 CST
>     >         > --------
>     >         >
>     >         > Hi all:
>     >         >
>     >         >    I took a quick look at the .configure problem and it
>     fails
>     >         on my
>     >         >    systems (i386 ubuntu and sparc ubuntu) with the same
>     error.
>     >         The failure
>     >         >    is not in the main level bash but in the subshell... I
>     >         don't have time
>     >         >    to code a fix right now, but consider the following:
>     >         >
>     >         > ron@ron-laptop:~/Desktop/cint-5.16.19$ bash -vx
>     configure --help
>     >         >
>     ##############################################################
>     >         > #
>     >         > # Copyright(c) 1995~2005  Masaharu Goto
>     (cint@... <mailto:cint@...>)
>     >         > #
>     >         > # For the licensing terms see the file COPYING
>     >         > #
>     >         >
>     ##############################################################
>     >         > #
>     >         > # This is a bash script, which works with any reasonable sh.
>     >         > # Solaris sh is not, so we have to start bash, and call
>     >         ourselves again.
>     >         >
>     >         > [ "x$1" != "x__have_the_proper_shell@" ] && ( \
>     >         >   uname -a | grep -i sunos > /dev/null \
>     >         >   && (bash $0 __have_the_proper_shell@ "$*") \
>     >         >   || (sh $0 __have_the_proper_shell@ "$*") \
>     >         > )
>     >         > + '[' x--help '!=' x__have_the_proper_shell@ ']'
>     >         > + uname -a
>     >         > + grep -i sunos
>     >         > + sh configure __have_the_proper_shell@ --help
>     >         > configure: 23: Syntax error: "(" unexpected
>     >         >
>     >         > The problem is in the subshell call "sh", on my ubuntu
>     systems
>     >         sh is
>     >         > a symlink to "dash"...
>     >         >
>     >         > Hope this helps
>     >         >
>     >         > -ron
>     >         >
>     >         > > Hi Veena,
>     >         > >
>     >         > > The issue is that we _thought_ that the script was
>     parseable
>     >         > > by most sh (except on solaris) and thus the configure call
>     >         > > itself with the "correct" shell (sh so we thought) except
>     >         > > that in your case it does not work :(
>     >         > >
>     >         > > Cheers,
>     >         > > Philippe
>     >         > >
>     >         > > -----Original Message-----
>     >         > > From: Veena Gondhalekar [mailto:veenag@...
>     <mailto:veenag@...>]
>     >         > > Sent: Wednesday, December 19, 2007 3:14 PM
>     >         > > To: Philippe Canal; cint@...
>     <mailto:cint@...>
>     >         > > Subject: Re: [CINT] Installing CINT 5.15 on ubuntu
>     >         > >
>     >         > > That seems to help but I am running into other problems
>     >         related to
>     >         > > permissions that are ubuntu specific so let me figure
>     those
>     >         out.
>     >         > >
>     >         > > Meanwhile, when I do
>     >         > > > echo $SHELL
>     >         > > I get
>     >         > > > /bin/bash
>     >         > >
>     >         > > Are you saying that this is somehow not the right bash?
>     >         > > I also tried adding the shebang at the top of the
>     configure
>     >         file (#!
>     >         > > /bin/bash) but that didn't help either and I got the same
>     >         syntax error.
>     >         > >
>     >         > > I will work on my permissions issue and see how it
>     goes from
>     >         there.
>     >         > > Thanks.
>     >         > >
>     >         > >
>     >         > > Veena
>     >         > >
>     >         > >
>     >         > >
>     >         > > On 12/19/07 2:54 PM, "Philippe Canal" <pcanal@...
>     <mailto:pcanal@...>> wrote:
>     >         > >
>     >         > > > Hi Veena,
>     >         > > >
>     >         > > > To debug the problem (I suspect that in your sh is
>     actually
>     >         > > > different from bash).  Try:
>     >         > > >
>     >         > > >    bash ./configure __have_the_proper_shell@
>     >         > > >
>     >         > > > Thanks,
>     >         > > > Philippe
>     >         > > >
>     >         > > > -----Original Message-----
>     >         > > > From: Veena Gondhalekar [mailto: veenag@...
>     <mailto:veenag@...>
>     >         <mailto:veenag@... <mailto:veenag@...>> ]
>     >         > > > Sent: Wednesday, December 19, 2007 2:40 PM
>     >         > > > To: Philippe Canal; roottalk@...
>     <mailto:roottalk@...>; cint@...
>     <mailto:cint@...>
>     >         > > > Subject: Re: [CINT] Installing CINT 5.15 on ubuntu
>     >         > > >
>     >         > > > Yes, I know the pain of having to fix bugs in old
>     versions
>     >         that people
>     >         > > > refuse to let go of when they're fixed in later
>     versions.
>     >         Anyway, I've
>     >         > > > just downloaded 5.16.19. The first issue is that you
>     >         cannot read the
>     >         > > > instructions to unpack the package without unpacking it
>     >         :).  I can see
>     >         > > > all kinds of "bugs" (major and minor) in the README.txt
>     >         file and I am
>     >         > > > ignoring all that for the time being. When I run
>     >         ./configure, I get
>     >         > > >
>     >         > > > ====
>     >         > > > ./configure: 23: Syntax error: "(" unexpected
>     >         > > > ====
>     >         > > >
>     >         > > > (I now remember that I was getting this before too).
>     Line
>     >         23 of the
>     >         > > > configure file is the line where the variable ARCH is
>     >         defined (linux
>     >         > > > linuxicc macgcc........)
>     >         > > >
>     >         > > > I am running bash and this is a bash script. I don't see
>     >         anything
>     >         > > > obviously wrong such as mismatched quotes or something
>     >         earlier that
>     >         > > > could be showing up later as error on line 23. There are
>     >         just 3 lines
>     >         > > > of commands before that so I am not sure what's
>     going on.
>     >         > > >
>     >         > > > Thanks.
>     >         > > >
>     >         > > >
>     >         > > > Veena
>     >         > > >
>     >         > > >
>     >         > > >
>     >         > > >
>     >         > > > On 12/19/07 2:02 PM, "Philippe Canal" <
>     pcanal@... <mailto:pcanal@...>> wrote:
>     >         > > >
>     >         > > >> Hi Veena,
>     >         > > >>
>     >         > > >> Please do and let's us know if you have any trouble.
>     >         > > >> Cint 5.16 is the current production version (and
>     thus has
>     >         many
>     >         > > >> bug fixes compared to 5.15) and is the only version we
>     >         can change
>     >         > > >> to solve any problem you might encounter :)
>     >         > > >>
>     >         > > >> Cheers,
>     >         > > >> Philippe
>     >         > > >>
>     >         > > >> -----Original Message-----
>     >         > > >> From: Veena Gondhalekar [mailto:veenag@...
>     <mailto:veenag@...>]
>     >         > > >> Sent: Wednesday, December 19, 2007 1:59 PM
>     >         > > >> To: Philippe Canal; roottalk@...
>     <mailto:roottalk@...>; cint@...
>     <mailto:cint@...>
>     >         > > >> Subject: Re: [CINT] Installing CINT 5.15 on ubuntu
>     >         > > >>
>     >         > > >> Thanks Philippe.
>     >         > > >>
>     >         > > >> I believe I tried all that because I found through
>     some
>     >         msgs I read
>     >         > > >> on NABBLE that others before me had run into similar
>     >         issues with
>     >         5.16.
>     >         > > >> But the suggested solution didn't help me. I don't
>     recall
>     >         the details
>     >         > > >> as it has been a while, but I deleted the whole 5.16
>     >         directory after
>     >         > > >> that.  If 5.16 is going to work, I will definitely
>     give
>     >         it a try
>     >         again
>     >         > > >> and would be happy to point to the mismatched
>     >         instructions. I believe
>     >         > > >> they were in the README.txt file at the top level
>     >         directory when you
>     >         > > >> unzip the tar file.  Then a colleague in Europe
>     suggested
>     >         I use 5.15
>     >         > > >> as it works for them but they're using some strange :)
>     >         version of
>     >         > > >> linux over there.
>     >         > > >>
>     >         > > >> I will download 5.16 again and run the suggested steps
>     >         and let you
>     >         > > >> know how that goes.
>     >         > > >>
>     >         > > >>
>     >         > > >> Veena
>     >         > > >>
>     >         > > >>
>     >         > > >>
>     >         > > >> On 12/19/07 1:37 PM, "Philippe Canal"
>     <pcanal@... <mailto:pcanal@...> >
>     >         wrote:
>     >         > > >>
>     >         > > >>> Hi Veena,
>     >         > > >>>
>     >         > > >>> In the contrary, you should use 5.16 :)
>     >         > > >>> Installing is slightly different (can you remind me
>     >         which web pages'
>     >         > > >>> instruction
>     >         > > >>> you follow so we can update them), and simply:
>     >         > > >>>
>     >         > > >>>    ./configure
>     >         > > >>>    gmake
>     >         > > >>>    gmake dlls
>     >         > > >>>
>     >         > > >>> Cheers,
>     >         > > >>> Philippe.
>     >         > > >>>
>     >         > > >>> -----Original Message-----
>     >         > > >>> From: owner-cint@...
>     <mailto:owner-cint@...>
>     >         [mailto:owner-cint@...
>     <mailto:owner-cint@...>] On
>     >         > Behalf
>     >         > > >> Of
>     >         > > >>> Veena Gondhalekar
>     >         > > >>> Sent: Wednesday, December 19, 2007 1:31 PM
>     >         > > >>> To: roottalk@...
>     <mailto:roottalk@...>; 'cint@...
>     <mailto:cint@...>'
>     >         > > >>> Subject: [CINT] Installing CINT 5.15 on ubuntu
>     >         > > >>>
>     >         > > >>> Hi,
>     >         > > >>>
>     >         > > >>> I would like to know if anyone has successfully
>     >         installed CINT 5.15
>     >         on
>     >         > > >>> ubuntu linux 7.10 (uses linux kernel 2.6.22)? I have
>     >         tried several
>     >         > > >> platform
>     >         > > >>> files and tweaked some of the flags/values to
>     match what
>     >         I could
>     >         find
>     >         > on
>     >         > > >> my
>     >         > > >>> system but they all fail somewhere or the other.
>     Most of the
>     >         platform
>     >         > > >>> files seem to be for old linux kernels (e.g. RH7.3 is
>     >         based on 2.4
>     >         > > > version
>     >         > > >>> of the kernel).  Since CINT 5.16 source was
>     missing the
>     >         whole
>     >         platform
>     >         > > >>> directory, I didn't bother installing that at all.
>     >         > > >>> Thanks.
>     >         > > >>>
>     >         > > >>>
>     >         > > >>> Veena
>     >         > > >>>
>     >         > > >>>
>     >         > > >>
>     >         > > >>
>     >         > > >
>     >         > > >
>     >         > >
>     >         > >
>     >         >
>     >         >
>     >        
>     ============================================================================
>
>     >
>     >         > ===
>     >         > Ron Young, Research Support Analyst
>     >         > National Supercomputing Center for Energy and the
>     Environment
>     >         > 4505 Maryland Parkway, Box 454028, Las Vegas, NV 89154-4028
>     >         > v (702) 895-4017 / f (702) 895-4156 / email:
>     ron.young@... <mailto:ron.young@...>
>     >         >
>     >
>     >        
>     ============================================================================
>
>     >         ===
>     >         Ron Young, Research Support Analyst
>     >         National Supercomputing Center for Energy and the Environment
>     >         4505 Maryland Parkway, Box 454028, Las Vegas, NV 89154-4028
>     >         v (702) 895-4017 / f (702) 895-4156 / email:
>     ron.young@... <mailto:ron.young@...>
>     >
>     >
>     >
>     >
>
>

< Prev | 1 - 2 | Next >
LightInTheBox - Buy quality products at wholesale price!