[tsunagi 81] [tamago-tsunagi] #34855: When "autoreconf; ./configure; "DESTDIR=$HOME make install", the installation directory changes to $HOME/emacs/site-lisp/egg/ from $HOME/usr/local/share/emacs/site-lisp/egg/.

アーカイブの一覧に戻る

SourceForge Ticket System norep****@sourc*****
2015年 2月 1日 (日) 09:40:03 JST


#34855: When "autoreconf; ./configure; "DESTDIR=$HOME make install", the installation directory changes to $HOME/emacs/site-lisp/egg/ from $HOME/usr/local/share/emacs/site-lisp/egg/.

       登録: 2015-01-31 10:07
   最終更新: 2015-02-01 09:40

このチケットのURL:
    http://sourceforge.jp/ticket/browse.php?group_id=9668&tid=34855
このチケットのRSS feed:
    http://sourceforge.jp/ticket/ticket_rss.php?group_id=9668&tid=34855

---------------------------------------------------------------------

このチケットの最終修正/コメント:
2015-02-01 09:40 更新者: itisango

 * チケット完了時刻が 2015-02-01 09:40 に更新されました。
 * 状況 が オープン から 完了 に更新されました。
 * 解決法 が 受領 から 修正済み に更新されました。

コメント:

fiexed.
closed.


---------------------------------------------------------------------
チケットの状態:

        報告者: itisango
        担当者: itisango
チケットの種類: バグ
          状況: 完了
        優先度: 8
マイルストーン: release tamago-tsunagi-5.0.4.0
コンポーネント: builder and installer
        重要度: 8
        解決法: 修正済み
---------------------------------------------------------------------

チケットの詳細:

autoreconfでconfigureを作り直したとき、DESTDIR=$HOME make installのinstall先が変わってしまう。


{{{
$./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... yes
checking jisx0213... yes
updating cache ./config.cache
creating ./config.status
creating Makefile

$DESTDIR=$HOME make install
-> installed $HOME/usr/local/share/emacs/site-lisp/egg/

$cp -pi Makefile ../Makefile

$autoreconf

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking jisx0213... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: Makefile contains a reference to the variable `datarootdir'
which seems to be undefined.  Please make sure it is defined

$DESTDIR=$HOME make install
-> installed $HOME/emacs/site-lisp/egg/

}}}



{{{
$diff -u ../Makefile  Makefile
--- ../Makefile 2015-01-31 09:21:18.697513686 +0900
+++ Makefile    2015-01-31 09:29:23.105514357 +0900
@@ -1,4 +1,3 @@
-# Generated automatically from Makefile.in by configure.
 # Makefile --- Makefile of Tamago-tsunagi

 # Copyright (C) 1999, 2000, 2015 Free Software Foundation, Inc
@@ -8,24 +7,25 @@
 #         TOMURA Satoru <tomur****@etl*****>

 .SUFFIXES:
-SHELL  = /bin/sh
+SHELL  = /bin/bash

 srcdir = .
 top_srcdir = .

+
 #------------------------------------------------
 #  Configuration parameters
 #------------------------------------------------
 # emacs you use
 EMACS  = emacs
 # emacs lisp installation directory
-lispdir        = ${prefix}/share/emacs/site-lisp
+lispdir        = ${datarootdir}/emacs/site-lisp
 #------------------------------------------------

 prefix = /usr/local
 INSTALL = /usr/bin/install -c
 INSTALL_PROGRAM = ${INSTALL}
-INSTALL_SCRIPT = ${INSTALL_PROGRAM}
+INSTALL_SCRIPT = ${INSTALL}
 INSTALL_DATA = ${INSTALL} -m 644
 INSTALL_INFO = install-info

}}}



The datarootdir is undefined.
I think that we shoud define in Makefile.in

datarootdir= @datarootdir@

.



{{{
* Environment:
OS: Debian unstable(sid)
autoconf-2.69-8

}}}


-- 
tamago-tsunagi プロジェクトのチケット情報です。
tamago-tsunagi プロジェクトはSourceForge.JPにホスティングされています。

プロジェクト URL: http://sourceforge.jp/projects/tamago-tsunagi
SourceForge.JP: http://sourceforge.jp

このチケットのURL:
    http://sourceforge.jp/ticket/browse.php?group_id=9668&tid=34855
このチケットのRSS feed:
    http://sourceforge.jp/ticket/ticket_rss.php?group_id=9668&tid=34855




Tamago-tsunagi-misc メーリングリストの案内
アーカイブの一覧に戻る