お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2008-04-24 16:31:11

bunta
新しいメンバ
登録日: 2008-04-24

make menuconfigについて

root権限でmake menuconfigを実行したのですが、

config/mkconfig > config.in
make -C /home/sakashitaken/uClinux-dist/config/scripts/lxdialog all
make[1]: ディレクトリ `/home/sakashitaken/uClinux-dist/config/scripts/lxdialog' に入ります
/usr/bin/ld: cannot find -lncurses
collect2: ld はステータス 1 で終了しました
-e
>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

make[1]: *** [ncurses] エラー 1
make[1]: ディレクトリ `/home/sakashitaken/uClinux-dist/config/scripts/lxdialog' から出ます
make: *** [menuconfig] エラー 2

というエラーがでます。
調べていると、apt-get install libncurses5-dev
を実行すると良いらしいのですが、このコマンドを実行すると

パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
Reading state information... 完了           
E: パッケージ libncurses5-dev が見つかりません

この様な感じになってしまいます。
解決策をよろしくお願いします。

オフライン

 

#2 2008-04-24 16:35:58

hito
管理者
登録日: 2007-03-18

Re: make menuconfigについて

sudo apt-get updateしても駄目でしょうか?

もしそうなら、
$ cat /etc/apt/sources.list
の結果を見せてください。

オフライン

 

#3 2008-04-24 16:54:40

bunta
新しいメンバ
登録日: 2008-04-24

Re: make menuconfigについて

返信ありがとうございます。
apt-get update
apt-get upgrade

をやってみましたが、更新するファイルがありませんでした。

オフライン

 

#4 2008-04-24 17:12:12

hito
管理者
登録日: 2007-03-18

Re: make menuconfigについて

$ cat /etc/apt/sources.list
の結果を見せてください(見ないと何も分かりません)

オフライン

 

#5 2008-04-24 17:18:36

bunta
新しいメンバ
登録日: 2008-04-24

Re: make menuconfigについて

最近Linuxを使い始めたので、自分で見てもよくわからないので、張っておきます。
よろしくお願いします。

#deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ Japanese Remix - Release i386 (20071018)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
#deb http://jp.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify:
#deb-src http://jp.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
#deb http://jp.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
#deb-src http://jp.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
#deb http://jp.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
#deb-src http://jp.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
#deb http://jp.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
#deb-src http://jp.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# Line commented out by installer because it failed to verify:
#deb http://jp.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
#deb-src http://jp.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
#deb http://jp.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
#deb-src http://jp.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://jp.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://jp.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
#deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
#deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
#deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
#deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
#deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
#deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse

# Line commented out by installer because it failed to verify:
#deb http://archive.ubuntulinux.jp/ubuntu-ja gutsy/
# Line commented out by installer because it failed to verify:
#deb-src http://archive.ubuntulinux.jp/ubuntu-ja gutsy/
# Line commented out by installer because it failed to verify:
#deb http://archive.ubuntulinux.jp/ubuntu-ja gutsy-ja/
# Line commented out by installer because it failed to verify:
#deb-src http://archive.ubuntulinux.jp/ubuntu-ja gutsy-ja/

オフライン

 

#6 2008-04-24 17:30:26

hito
管理者
登録日: 2007-03-18

Re: make menuconfigについて

インストール時にネットワーク接続がなかったので、ソフトウェアリポジトリが
すべて無効になっています。

システム→システム設定→ソフトウェア・ソースで、Main/Universe/Restrictedを有効にしてください(今回の場合はMainだけでいいですが、他のことも考えるとUniverseもあった方がいいです)。

オフライン

 

#7 2008-04-25 14:59:20

bunta
新しいメンバ
登録日: 2008-04-24

Re: make menuconfigについて

ありがとうございます。
おかげさまで解決しました。

オフライン

 

Board footer

Powered by FluxBB