Re: problem with make install (for brat)

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Thu Jul 19 2001 - 07:36:16 EDT

  • Next message: Claus O. E. Jorgensen: "BrCopyModule added"

    Hi Stephen, 
    
    On Wed, 18 Jul 2001 12:07:22 -0500
    "Stephen J. Sanders" <ssanders@ku.edu> wrote
    concerning ": problem with make install (for brat)":
    > Hi Christian,  I am able to get through the compilation with your const 
    > change.  Thanks.
    
    You're welcome. 
    
    > However, I am getting an error in the make install script:
    > 
    > /usr/bin/install -c -m 644 ./README /usr/local/share/doc/brat /README
    > /usr/bin/install: installing multiple files, but last argument, 
    > `/README' is not a directory
    
    
    Whoops, my mistake.  In Makefile.am, I had 
    
      pkgdocdir		= $(datadir)/doc/$(PACKAGE) [CR]
      pkgdoc_DATA		= README [CR]
    
    this should be 
    
      pkgdocdir		= $(datadir)/doc/$(PACKAGE)[CR]
      pkgdoc_DATA		= README [CR]
    
    notice the position of the carrige return [CR].  The right thing is
    _not_ to have a space after $(PACKAGE) as this will cause Make to
    construct the name as 
    
      /usr/local/share/doc/brat /README
    
    as the error says.  This should ofcourse be 
    
      /usr/local/share/doc/brat/README
    
    I'm correcting it now ... done 
    
    > For the ./configure setup I used:
    > 
    > ./configure --prefix=/usr/local
    
    Glad to see someone like to install in /usr/local!  Thanks Steve, that
    gives me hope! BTW, if you don't have a line like 
    
          /usr/local/lib 
    
    in your /etc/ld.so.conf file, I strongly suggest you put it there, and
    then run ldconfig as the user root.   Do you use RPM packages of ROOT
    also?   Please say you do, and I'll be soooo happy. 
    
    Yours, 
    
    Christian  -----------------------------------------------------------
    Holm Christensen                             Phone:  (+45) 35 35 96 91 
      Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
      DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
      Denmark                                    Email:       cholm@nbi.dk
    



    This archive was generated by hypermail 2b30 : Thu Jul 19 2001 - 07:36:48 EDT