LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Other *NIX (https://www.linuxquestions.org/questions/other-%2Anix-55/)
-   -   No rule to make target 'install'. Stop Newbie on a new macbookpro (https://www.linuxquestions.org/questions/other-%2Anix-55/no-rule-to-make-target-install-stop-newbie-on-a-new-macbookpro-875215/)

oldKap 04-15-2011 12:27 PM

No rule to make target 'install'. Stop Newbie on a new macbookpro
 
I'm trying to install bwa-0.5.9.tar.bz2 onto a MacBook Pro(version 10.6.6), my first mac. I used the "Create a Fink Package - Tutorial" at http://www.finkproject.org/doc/quick...rt-pkg.en.html. I followed the directions and created this bwa.info:

Package: bwa
Version: 0.5.9
Revision: 1
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
HomePage: http://bio-bwa.sourceforge.net
License: OSI-Approved
Description: Mac OS X S.M.A.R.T. Tool
Source-MD5: 27facf40c92e9af40def844b245ed7db
CompileScript: make
InstallScript: <<
#! /bin/sh -ev
make install prefix=%i
<<

This passed the validation. The code I used for the validation was:
$ fink validate bwa.info.

The to build I used:
$ fink -m --build-as-nobody rebuild bwa

It passes the phase test and shortly after that it states:
"make: *** No rule to make target `install'. Stop."

Her is this portion of what it said:


"
....
phase test: passed
/bin/rm -rf /sw/src/fink.build/root-bwa-0.5.9-1
/bin/mkdir -p /sw/src/fink.build/root-bwa-0.5.9-1/sw
/bin/mkdir -p /sw/src/fink.build/root-bwa-0.5.9-1/DEBIAN
/usr/sbin/chown -R fink-bld:fink-bld /sw/src/fink.build/root-bwa-0.5.9-1
sudo -u fink-bld [ENV] sh -c/var/tmp/tmp.3.EIjDl1
/var/tmp/tmp.0.BPBfz9
#! /bin/sh -ev
make install prefix=/sw/src/fink.build/root-bwa-0.5.9-1/sw
make: *** No rule to make target `install'. Stop.
### execution of /var/tmp/tmp.0.BPBfz9 failed, exit code 2
### execution of /var/tmp/tmp.3.EIjDl1 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-bwa-0.5.9-1
(Reading database ... 37671 files and directories currently installed.)
Removing fink-buildlock-bwa-0.5.9-1 ...
Failed: phase installing: bwa-0.5.9-1 failed

Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem. If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.

"

Any ideas how to fix,

"make: *** No rule to make target `install'. Stop."

on macbook pro????

knudfl 04-16-2011 08:10 AM

'bwa-0.5.9' : There is no install ( Like 'make install').

You can use it, when 'make' has finished OK :

cd bwa-0.5.9/ && ./bwa <command> [options]


All times are GMT -5. The time now is 11:05 AM.