LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-22-2011, 01:20 AM   #1
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Rep: Reputation: 0
python 2.6.4 [make test] giving error:


hi all
i am doing:Part VI. X + Window Managers
i done below steps:@chapter23:BLFS-svn BOOK:[I DONE LFS-6.7]
root[/home/janu/Downloads]#mkdir xc &&
root[/home/janu/Downloads/xc]#cd xc
root[/home/janu/Downloads/xc]#export XORG_PREFIX=/usr
root[/home/janu/Downloads/xc]#mkdir proto &&
cd proto &&
grep -v '^#' ../proto-7.6-1.wget | wget -i- -c \
-B http://xorg.freedesktop.org/releases/individual/proto/ &&
md5sum -c ../proto-7.6-1.md5

root[/home/janu/Downloads/xc]#bash -e
result is:root[/home/janu/Downloads/xc]#
then
root[/home/janu/Downloads/xc]#for package in $(grep -v '^#' ../proto-7.6-1.wget)
do
packagedir=${package%.tar.bz2}
tar -xf $package
cd $packagedir
./configure $XORG_CONFIG
make install
cd ..
rm -rf $packagedir
done 2>&1 | tee -a ../proto-7.6-1-compile.log

root[/home/janu/Downloads/xc]#here i done all success util-macros-1.11.0
makedepend-1.0.3,libXau-1.0.6,libXdmcp-1.1.0,libpthread-stubs-0.3
,then >Python-2.6.4[xcb-proto Dependencies Required:Python-2.6.4]

--------------probelm is Python-2.6.4---------------

root[/home/janu/Downloads/xc]#tar -jxf Python-2.6.4.tar.bz2
[ i downloaded below packages in/xc dir: Python-2.6.4-bdb_4.8-1.patch,python-2.6-docs-html.tar.bz2,Python-2.6.4.tar.bz2]
root[/home/janu/Downloads/xc]#cd Python-2.6.4
root[/home/janu/Downloads/xc/Python-2.6.4]#make test

while doing make test [python]
BELOW RESULT IS:at midle
gai error:[error-2] name or service not known
LinkError:command 'gcc' failed with exit status 1
warning:uuid.getnode is unreliable on many platforms
it is disabled until the code and/or test can be fixed properly
warning:uuid.ifconfig_getnode is unreliable on many platforms
it is disabled until the code and/or test can be fixed properly
warning:uuid.unixdll_getnode is unreliable on many platforms
it is disabled until the code and/or test can be fixed properly
AssertionError:value error not raised
at last 325 tests ok
3 tests failed:
test_distutils test_socket test_zlib
37 tests skipped:
........
........
.......
2 skips unexpected on linux2:
test_tcl test_bsddb
make:***[test]Error 1

below is online book:
http://www.linuxfromscratch.org/blfs...al/python.html
Python-2.6.4
Introduction to Python:This package is known to build and work properly using an LFS-6.5 platform.
BUT MINE IS LFS-6.7 [means will python will support lfs-6.7 platform???]

I REDONE ALL 3 TIMES BUT STILL THAT ERROR::
plz can any one help

Last edited by janakiramulu; 05-22-2011 at 01:43 AM.
 
Old 05-22-2011, 01:36 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
It absolutely sounds like you've successfully built Python.

The error(s) are coming from the "test Python" part of your post-install.

So do a "make install" (if you haven't already), and try playing with Python (as a language). The specific tests that aren't working may or may not be relevant to using whatever you need from Python itself.
 
Old 05-22-2011, 02:09 AM   #3
janakiramulu
Member
 
Registered: Jan 2011
Location: mangalore
Distribution: ubuntu
Posts: 167

Original Poster
Rep: Reputation: 0
hi paulsm4
got success
thanks for quick reply
when i do 'make install 'its success[means no errors-python was done successfully]
i will move to further
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] perl make test error lfs 6.5 aahiqmir Linux From Scratch 2 04-07-2010 07:22 AM
[SOLVED] Problem with Pango Install, make giving error 2 luisfong11 Linux - Software 4 12-29-2009 04:25 PM
hp 3740 not printing, can not make a test print, do not see error sirius57 Linux - Hardware 2 08-09-2009 12:08 PM
perl make test error in setlogsock ToK Linux From Scratch 4 06-02-2009 12:43 PM
cluster on rhel5 make giving error /usr/bin/ld: cannot find -ldlm xxx_anuj_xxx Linux - Software 3 05-18-2008 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration