Makefile in FreeBSD 7.0 Stable

Clifton Royston cliftonr at lava.net
Sun Jul 6 20:41:59 UTC 2008


On Sun, Jul 06, 2008 at 07:04:52PM +0000, norwoh at comcast.net wrote:
> 
>  -------------- Original message ----------------------
> From: Kris Kennaway <kris at FreeBSD.org>
> > norwoh at comcast.net wrote:
> > > I have a fresh install of FreeBSD 7.0 but it it seems several system related 
> > modules are broken. One I would like to have a solution on urgently is the 
> > "Makefile". I am not able to compile or install any program with it. The errors 
> > are too many no matter which application I try to install from ports collection. 
> > I have not built a custom kernel yet. The behavior of Makefile worries me more 
> > than anything at the moment.
> > > 
> > > pkg_ add is minimally working itself. I am also noticing that quite many 
> > apllications in the port collection are bad. Any idea for me to get started?
> > 
> > You'll have to start by showing us exactly what you are doing, and what 
> > is going wrong.
> > 
> 
> Thanks ... say you have a package:
> cd /usr/ports/sysutils/usermin
>   In this folder you have Makefile, distinfo, files, pkg-descr, pkg-message, and pkg-plist
> The issue the command while in this folder:
>                                            perl Makefile
> voila,, you get:



    The command "make" is used to execute Makefiles.; Perl is not used
to execute makefiles.  At a guess, you seem to be confusing "Makefile"
with the "Makefile.pl" included as part of many Perl packages.  The
"pl" extension on the latter is what indicates the use of Perl.

  Try "man ports" for more information about how the ports system
works.  As a beginner, most of the time you will simply want to use
"make install".

  -- Clifton

-- 
    Clifton Royston  --  cliftonr at iandicomputing.com / cliftonr at lava.net
       President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services


More information about the freebsd-stable mailing list