LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2014, 03:13 PM   #1
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Rep: Reputation: 0
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
 
Old 09-10-2014, 03:40 PM   #2
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Original Poster
Rep: Reputation: 0
Addendum

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


R,

jyunker
 
Old 09-10-2014, 04:04 PM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by jyunker View Post

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
 
Old 09-10-2014, 05:00 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
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"
 
Old 09-10-2014, 05:30 PM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Quote:
Originally Posted by jyunker View Post
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.
 
Old 09-10-2014, 06:20 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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

-

Last edited by knudfl; 09-11-2014 at 06:20 PM.
 
Old 09-11-2014, 08:49 AM   #7
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Original Poster
Rep: Reputation: 0
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:
 
Old 09-11-2014, 08:57 AM   #8
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Original Poster
Rep: Reputation: 0
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
 
Old 09-11-2014, 09:29 AM   #9
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Original Poster
Rep: Reputation: 0
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
 
Old 09-11-2014, 09:39 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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 ).


-

Last edited by knudfl; 09-11-2014 at 09:48 AM.
 
Old 09-11-2014, 11:18 AM   #11
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Quote:
Originally Posted by jyunker View Post
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 View Post
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.

Last edited by suicidaleggroll; 09-11-2014 at 11:20 AM.
 
Old 09-11-2014, 11:29 AM   #12
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Original Poster
Rep: Reputation: 0
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
 
Old 09-11-2014, 05:14 PM   #13
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Original Poster
Rep: Reputation: 0
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
 
Old 09-11-2014, 05:30 PM   #14
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
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
 
Old 09-11-2014, 05:52 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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.


-
 
  


Reply

Tags
legup


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to install Linux(Centos) on virtual machine using virt-install --prompt shazgaurav Linux - Newbie 9 12-15-2013 12:41 PM
Install Centos issue: in httpd and ftpd can't find install.img manuce Linux - Newbie 5 05-25-2013 07:34 PM
Custom CentOS 5 Install with ks.cfg file and centOS all in one linux_newb Linux - Server 1 01-14-2010 07:13 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 04:41 AM
[SOLVED] which one to install centOS 4 or centOS 5 ? Pls HELP !!! vikas027 Linux - Newbie 2 05-13-2007 07:04 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration