bugmake - Bugs: bug #27437, Problems with make in a directory...

 
 

bug #27437: Problems with make in a directory with present Makefiles. make does not function.

Submitter:  None
Submitted:  Sun 13 Sep 2009 08:23:40 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Not A Bug Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.81 Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 14 Sep 2009 09:31:34 PM UTC, comment #5: 

As Philip suggested on the mailing list (which, as I already mentioned, is the RIGHT place to ask these questions and NOT in the bug tracker), you should read the README and/or INSTALL files that come with your software package.  Apparently the snort developers leave this in the "doc" subdirectory instead of the root directory, like almost all other software packages.

As Martin says, neither makefile.am  nor makefile.in are real makefiles.

The short answer as to what you should do next, besides "Read the Fine README/INSTALL files", is "run ./configure".

The other short answer is, "this is in no way a bug in, or problem with, make".  You should ask on the snort mailing lists for help with building snort, not on the GNU make mailing lists (and definitely not on the bug tracker).

Paul D. Smith <psmith>
Group administrator
Mon 14 Sep 2009 08:43:16 PM UTC, comment #4: 

Aarrrggghhh.... what am I doing wrong??? How do I get the proper Makefile?

Terje Lea <aetixintro>
Mon 14 Sep 2009 08:40:03 PM UTC, comment #3: 

Neither makefile.am nor Makefile.in are usually makefiles.  makefile.am is, as I understand it from eg the first google match for that file's name, used to generate Makefile.in.  Makefile.in is used, as I understand it from eg the second google match for that file's name, to generate Makefile.

Martin Dorey <mdorey>
Mon 14 Sep 2009 08:24:08 PM UTC, comment #2: 

aetixintro@aetixintro-desktop:/usr/src/snort-2.8.4$ ls
aclocal.m4    configure.in  LICENSE      missing        snort-2.8.4
ChangeLog     contrib       ltmain.sh    mkinstalldirs  snort.8
config.guess  COPYING       m4           preproc_rules  src
config.h.in   doc           makefile.am  RELEASE.NOTES  templates
config.log    etc           Makefile.am  rpm            verstuff.pl
config.sub    install-sh    makefile.in  rules          ylwrap
configure     libtool       Makefile.in  schemas

Directly into:

aetixintro@aetixintro-desktop:/usr/src/snort-2.8.4$ sudo make
[sudo] password for aetixintro:
make: * No targets specified and no makefile found.  Stop.

Continuing with:

aetixintro@aetixintro-desktop:/usr/src/snort-2.8.4$ sudo make -f makefile.am
perl /verstuff.pl
Can't open perl script "/verstuff.pl": No such file or directory
make: * [dist-hook] Error 2

aetixintro@aetixintro-desktop:/usr/src/snort-2.8.4$ sudo make -f Makefile.am -f Makefile.in
Makefile.in:15: * missing separator.  Stop.

At this point I don't know what to do! Renew files? Purge make?

I'm not trying to make you look stupid or anything! I hope this new information makes it more clear. If there is something more to add, please just ask.

Anonymous
Mon 14 Sep 2009 01:31:57 AM UTC, comment #1: 

There is little we can say about this with the information you've provided, but I'm fairly confident it is NOT a bug in GNU make.  The first error means that there was no GNUMakefile, Makefile, or makefile in your directory.  The second error means that the "Makefile.in" file is not a valid makefile (due to an incorrect line #15).

I recommend you post on either -email is unavailable- or bug-make@gnu.org, and include a LOT more details about exactly what you're trying to do.  This kind of help isn't appropriate for a bug tracking system.

Paul D. Smith <psmith>
Group administrator
Sun 13 Sep 2009 08:23:40 PM UTC, original submission:  

I'm using the Ubuntu 9.04 and I have been renewing "make" with apt-get install as late as 13. September, 2009.

What is going on?

Here are some of the terminal print:
make: * No targets specified and no makefile found.  Stop.

Makefile.in:15: * missing separator.  Stop.

I hope you can do something.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by aetixintro (Posted a comment)
  • -email is unavailable- added by mdorey (Posted a comment)
  • -email is unavailable- added by aetixintro (I've posted this.)
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-14 aetixintro Carbon-Copy- Added -email is unavailable-
    2009-09-14 psmith StatusNone Not A Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code