LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-11-2013, 12:43 AM   #1
Mahnooshk
LQ Newbie
 
Registered: Dec 2013
Posts: 3

Rep: Reputation: Disabled
[install-recursive] Error while installing libLBFGS + cygwin


I am installing libLBFGS and CRFSuite in cygwin, following these instructuions:

In Linux environments, download the source package of libLBFGS, and build it. If you do not want to install libLBFGS into your operating system, specify "--prefix" option to the configure script. This example installs libLBFGS to the directory local under the home directory ($HOME).

$ ./configure --prefix=$HOME/local
$ make
$ make install

I run $ ./configure and $ make and also $ make check without problem but when I run $ make install , I faced the following error:


$ make install
Making install in lib
make[1]: Entering directory '/cygdrive/c/home/liblbfgs-1.10/lib'
make[2]: Entering directory '/cygdrive/c/home/liblbfgs-1.10/lib'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'liblbfgs.la' '/usr/local/lib/liblbfgs.la'
/usr/bin/install -c .libs/liblbfgs.dll.a /usr/local/lib/liblbfgs.dll.a
base_file=`basename ${file}`
dlpath=`/bin/sh 2>&1 -c '. .libs/'${base_file}'i;echo $dlname'`
dldir=/usr/local/lib/`dirname $dlpath`
test -d $dldir || mkdir -p $dldir
/usr/bin/install -c .libs/cyglbfgs-1-10.dll $dldir/cyglbfgs-1-10.dll
/usr/bin/install -c .libs/liblbfgs.lai /usr/local/lib/liblbfgs.la
/usr/bin/install -c .libs/liblbfgs.a /usr/local/lib/liblbfgs.a
ranlib /usr/local/lib/liblbfgs.a
C:\Dwimperl\c\bin\ranlib.exe: '/usr/local/lib/liblbfgs.a': No such file
Makefile:239: recipe for target 'install-libLTLIBRARIES' failed
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory '/cygdrive/c/home/liblbfgs-1.10/lib'
Makefile:413: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/cygdrive/c/home/liblbfgs-1.10/lib'
Makefile:282: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

have anybody an idea?

Thanks,
Mahnoosh

Last edited by Mahnooshk; 12-11-2013 at 04:47 PM.
 
Old 12-11-2013, 10:50 PM   #2
Mahnooshk
LQ Newbie
 
Registered: Dec 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
I was using the wrong ranlib! Solved!
 
  


Reply



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
Installing Ubuntu reboot recursive error jhoski Linux - Newbie 3 07-21-2013 10:10 PM
Error in installing Lidia -2.3.0 in Cygwin. show error in precondition_error.cc sun1991 Linux - Software 0 03-27-2013 07:45 AM
make: *** [install-recursive] Error 1 phantom_cyph Linux - Software 1 02-19-2008 10:06 PM
[install-recursive] Error 1 borrrden Linux - Software 3 06-07-2004 02:41 AM
Problem installing Enlightenment 'install recursive error 1' shermang Linux - General 7 08-24-2003 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:49 PM.

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
Open Source Consulting | Domain Registration