Babyish Wiki
Advertisement

python-dev-wa python dè divelopmènt vörçion für softwär divelopmènt en kompaileiçion. If folowen öra fainden, nigè softwär päkeij wa diŋyǐu instol[1]:

checking for headers required to compile python extensions... not found
configure: error: could not find Python headers

Päkeijs[]

checking for python-config... no
The python-config program was not found in the search path. Please ensure
that it is installed and its directory is included in the search path.
Then run configure again before attempting to build ABRT.
$ python-config
程式 'python-config' 目前尚未安裝。 您可以由輸入以下內容安裝:
sudo apt-get install python-dev
$ sudo apt-get install python-dev
正在讀取套件清單... 完成
正在重建相依關係          
正在讀取狀態資料... 完成
下列的額外套件將被安裝:
  • libexpat1-dev
  • libpython-dev
  • libpython2.7-dev
  • python2.7-dev

下列【新】套件將會被安裝:

  1. libexpat1-dev
  2. libpython-dev
  3. libpython2.7-dev
  4. python-dev
  5. python2.7-dev
升級 0 個,新安裝 4 個,移除 0 個,有 7 個未被升級。
需要下載 18.9 MB 的套件檔。
此操作完成之後,會多佔用 30.8 MB 的磁碟空間。
Do you want to continue? [Y/n] y

Dawnloudiŋ[]

  1. Get: http://archive.ubuntu.com/ubuntu/ utopic/main libexpat1-dev amd64 2.1.0-6ubuntu1 [115 kB]
  2. 下載: http://tw.archive.ubuntu.com/ubuntu/ vivid/main libpython2.7-dev amd64 2.7.9-2ubuntu3 [18.6 MB]
  3. 下載: http://tw.archive.ubuntu.com/ubuntu/ vivid/main libpython-dev amd64 2.7.9-1 [7,836 B]
  4. 下載: http://tw.archive.ubuntu.com/ubuntu/ vivid/main python2.7-dev amd64 2.7.9-2ubuntu3 [270 kB]
  5. 下載: http://tw.archive.ubuntu.com/ubuntu/ vivid/main python-dev amd64 2.7.9-1 [1,220 B]

取得 18.9 MB 用了 27秒 (689 kB/s)

Instoliŋ[]

(讀取資料庫 ... 目前共安裝了 324898 個檔案和目錄。)
Preparing to unpack .../libexpat1-dev_2.1.0-6ubuntu1_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.0-6ubuntu1) ...
Selecting previously unselected package libpython2.7-dev:amd64.
選取了原先未選的套件 libpython2.7-dev:amd64。
準備解開 .../libpython2.7-dev_2.7.9-2ubuntu3_amd64.deb ...
解開 libpython2.7-dev:amd64 (2.7.9-2ubuntu3) 中...
選取了原先未選的套件 libpython-dev:amd64。
準備解開 .../libpython-dev_2.7.9-1_amd64.deb ...
解開 libpython-dev:amd64 (2.7.9-1) 中...
選取了原先未選的套件 python2.7-dev。
準備解開 .../python2.7-dev_2.7.9-2ubuntu3_amd64.deb ...
解開 python2.7-dev (2.7.9-2ubuntu3) 中...
選取了原先未選的套件 python-dev。
準備解開 .../python-dev_2.7.9-1_amd64.deb ...
解開 python-dev (2.7.9-1) 中...

Setiŋ[]

Processing triggers for man-db (2.7.0.2-5) ...
Setting up libexpat1-dev:amd64 (2.1.0-6ubuntu1) ...
設定 libpython2.7-dev:amd64 (2.7.9-2ubuntu3) ...
設定 libpython-dev:amd64 (2.7.9-1) ...
設定 python2.7-dev (2.7.9-2ubuntu3) ...
設定 python-dev (2.7.9-1) ...

Riförènses[]

  1. "configure error for — gobject -— python header not found" in (Iŋgliš/English). StackOverflow. 2013-03-04. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://stackoverflow.com/questions/15200453/configure-error-for-gobject-python-header-not-found. Ritrīven on 2015-02-22. 
Advertisement