LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install legup on Centos (https://www.linuxquestions.org/questions/linux-newbie-8/install-legup-on-centos-4175518150/)

jyunker 09-10-2014 02:13 PM

Install legup on Centos
 
I am trying to install the Legup high level synthesis software from the University of Toronto. It can only be install on linux (as they state at their website), and while they use Ubuntu in the example instal, they claimss it will install on any version of Liunx (32 or 64 bi).

It fails install at the make command that they give in the instructions:

tar xvzf legup-3.0.tar.gz
cd legup-3.0
make
export PATH.................


It is looking for autoconf in the /use/bin/ directory.
In Centos it is not here.


I am unsure what to do next other than install a virtualbix and use Ubuntu. That is not a good idea
to our admin depart.



Any help appreciated.


R,


jyunker

jyunker 09-10-2014 02:40 PM

Addendum
 
I should have put this in thhe original message. I am using Centos 6.5, 64 bit version.


R,

jyunker

jdkaye 09-10-2014 03:04 PM

Quote:

Originally Posted by jyunker (Post 5235757)

It is looking for autoconf in the /use/bin/ directory.
In Centos it is not here.

I don't think there is a "/use/bin/" directory in any distro. Do you mean /usr/bin? On my system there is no "autoconf" file. There is an auto.conf file which is located in the kernel-headers folders: /usr/src/<kernel-header version>/include/config/auto.conf.
Maybe there are some errors in your post that you'd like to correct.
jdk

suicidaleggroll 09-10-2014 04:00 PM

Maybe you need to install the autoconf package:
Code:

yum install autoconf
While you're at it, you might as well install all development tools, if you haven't already
Code:

yum groupinstall "Development Tools"

lleb 09-10-2014 04:30 PM

Quote:

Originally Posted by jyunker (Post 5235757)
I am trying to install the Legup high level synthesis software from the University of Toronto. It can only be install on linux (as they state at their website), and while they use Ubuntu in the example instal, they claimss it will install on any version of Liunx (32 or 64 bi).

It fails install at the make command that they give in the instructions:

tar xvzf legup-3.0.tar.gz
cd legup-3.0
make
export PATH.................


It is looking for autoconf in the /use/bin/ directory.
In Centos it is not here.


I am unsure what to do next other than install a virtualbix and use Ubuntu. That is not a good idea
to our admin depart.



Any help appreciated.


R,


jyunker

i hope you have a typo as /use/bin does not exist on any Linux system unless hand made by the root user.

in CentOS autoconfig is located in /usr/bin:

Code:

[root@centos ~]# d /usr/bin/autoconf
-rwxr-xr-x. 1 root root 14768 Jun 10 01:41 /usr/bin/autoconf*

it is always owned by root. if the make file is truly pointing to /use/bin, then modify its make file as that is 100% incorrect.

knudfl 09-10-2014 05:20 PM

Post #1, @jyunker.

Please read http://legup.eecg.utoronto.ca/docs/3...l#installation
( Ref. the file legup-3.0/README ).

... The prerequisites for centOS 6 - 64 would then be :
# yum install gcc-c++ bison flex \
tcl-devel dejagnu expect texinfo gmp-devel automake autoconf libtool \
llvm-devel clang-devel glibc-devel.i686 binutils-devel.i686 suitesparse-devel
EDIT : See post #10 : `clang' must be "clang+llvm-2.9-i686-linux"


* liblpsolve55 : Please use "liblpsolve55-dev-5.5.0.13-8.x86_64.rpm" :
https://drive.google.com/file/d/0B7S...it?usp=sharing
# yum localinstall liblpsolve55-dev-5.5.0.13-8.x86_64.rpm

Building legup-3.0/ :
$ cd legup-3.0 && make

-

jyunker 09-11-2014 07:49 AM

Correction
 
Sorry for the sloppy typing, I had a failing keyboard (since trashed) that kept on typing double characters or no character
at all. It has since been replaced with a more reliable keyboard.

The output is as as shown:

jyunker 09-11-2014 07:57 AM

Correction
 
Sorry for the sloppy typing, I had a failing keyboard (since trashed) that kept on typing double characters or no character
at all. It has since been replaced with a more reliable keyboard.

The output is as as shown:

Code:

legup-3.0]$ make
mkdir -p cloog/install
cd cloog && ./autogen.sh
sh: /usr/bin/autoconf: No such file or directory
Can't exec "/usr/bin/autoconf": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run /usr/bin/autoconf: No such file or directory
sh: /usr/bin/autoconf: No such file or directory
Can't exec "/usr/bin/autoconf": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run /usr/bin/autoconf: No such file or directory
make: *** [cloog/isl/Makefile] Error 1


Thus as was pointed out there is no /use/bin directory. I believe that legup can be installed on my version of 64 bit Centos. The instructions claim it can.


It is just that the Makefile is setup for Ubuntu not Centos. I am guessing that autoconf is in a different directory in Ubuntu than it is in Centos and there is where thing go wrong. It occurs in the early part of the Makefiile sequence

I am checking into how to correct that now.


R,


jyunker

jyunker 09-11-2014 08:29 AM

follow-up
 
I think that I have foundd the problem. A linuxx systems programmer told me that autoconf should be in

/usr/bin/

in Centos and mine is not. I believe that correction will solve the problem.

Thanks for your help.

R,

jyunker

knudfl 09-11-2014 08:39 AM

Ref #6 .

Sorry , clang must be "clang+llvm-2.9-i686-linux" :
# yum remove clang llvm

# yum localinstall clang+llvm-2.9-1.SL6.i686.rpm

The rpm package was made from clang+llvm-2.9-i686-linux.tgz ...
Download link https://drive.google.com/file/d/0B7S...it?usp=sharing

P.S. : `legup-3.0' compiles with no errors here, with CentOS 6.5 - 64bits.
( Also OK with the 32bits CentOS 6.5 ).


-

suicidaleggroll 09-11-2014 10:18 AM

Quote:

Originally Posted by jyunker (Post 5236145)
Sorry for the sloppy typing, I had a failing keyboard (since trashed) that kept on typing double characters or no character
at all. It has since been replaced with a more reliable keyboard.

The output is as as shown:

Code:

legup-3.0]$ make
mkdir -p cloog/install
cd cloog && ./autogen.sh
sh: /usr/bin/autoconf: No such file or directory
Can't exec "/usr/bin/autoconf": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run /usr/bin/autoconf: No such file or directory
sh: /usr/bin/autoconf: No such file or directory
Can't exec "/usr/bin/autoconf": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run /usr/bin/autoconf: No such file or directory
make: *** [cloog/isl/Makefile] Error 1


Thus as was pointed out there is no /use/bin directory. I believe that legup can be installed on my version of 64 bit Centos. The instructions claim it can.


It is just that the Makefile is setup for Ubuntu not Centos. I am guessing that autoconf is in a different directory in Ubuntu than it is in Centos and there is where thing go wrong. It occurs in the early part of the Makefiile sequence

I am checking into how to correct that now.


R,


jyunker

Quote:

Originally Posted by jyunker (Post 5236166)
I think that I have foundd the problem. A linuxx systems programmer told me that autoconf should be in

/usr/bin/

in Centos and mine is not. I believe that correction will solve the problem.

Thanks for your help.

R,

jyunker

Please read post #4.

As has been said repeatedly, there is no such thing as /use/bin, on any Linux distro, ever. It is and always has been /usr/bin. The reason you don't have autoconf in /usr/bin is most likely because you haven't installed autoconf.

So I say again, please read post #4.

jyunker 09-11-2014 10:29 AM

Yes, I reinstalled autoconf and automake and everything is fine. It does not hang and then fail.

The advice is very appreciated.


Thank you.


R,



jyunker

jyunker 09-11-2014 04:14 PM

When I type make in the Legup-3.0 directoryy

it runs for a long time and then outputs the error:

Code:

checking tcl.h presence... yes
checking for tcl.h... yes
checking for library containing colamd... no
configure: error: Can't find lpsolve library!
make: *** [llvm/Makefile.config] Error 1


I am not sure what to do next? It does run, but it stops when looking for

liblpsolve55_pic.a and colamd library file and not finding them. What package provides these in Centos?

This sheds some light on the situation:

http://lists.legup.org/pipermail/leg...er/000068.html


What is the equivalent Ubuntu liblpsolve55-dev?

R,


jyunker

suicidaleggroll 09-11-2014 04:30 PM

yum is your friend

Code:

yum search lpsolve
or
Code:

yum provides lpsolve
or
Code:

yum list | grep lpsolve
Either way you'll get your answer

knudfl 09-11-2014 04:52 PM

Ref. #13.
Quote:

stops when looking for liblpsolve55_pic.a
"liblpsolve55_pic.a" is in "liblpsolve55-dev-5.5.0.13-8.x86_64.rpm" only !
Download link : https://drive.google.com/file/d/0B7S...it?usp=sharing

Read posts #6, #10, please.


-


All times are GMT -5. The time now is 12:32 AM.