View previous topic :: View next topic |
Author |
Message |
venkateshwaran07 n00b
Joined: 05 Dec 2012 Posts: 9 Location: India
|
Posted: Wed Dec 05, 2012 4:41 am Post subject: Gentoo - Instal Prob - Configuring the Compile Opt urgent |
|
|
Hi All,
I am new to Gentoo. I am trying to install gentoo in my PC to have the LAMP setup in it.
My PC details :
Processor: AMD Athlon™ Dual Core Processor 5200B 2.70GHz
RAM: 2.00 GB (1.75 GB Usable)
Hard-disk: 149 GB
I have followed the steps given in the Gentoo.org (http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=6). I have done my installation till Installing the Gentoo Installation Files till Installing the Gentoo Installation Files.
I am not able to proceed from here Configuring the Compile Options:
nano -w /mnt/gentoo/etc/portage/make.conf
This is my notes:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer2"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
PHP_TARGETS="php5-3"
USE="mmx sse sse2 -X -qt -gtk -gnome -kde -cups curl bash-completion gd -snmp sockets threads latin1 -berkdb pvb -cli snmp perl apache2 mysql mysqli pdo php pam ssl sqlite3 xml xml2 berkdb innodb jpeg png pcre session unicode python3 zip ads ldap imap libwww maildir sasl ssl xmlwriter clamdtop"
MAKEOPTS="-j3"
Error :
livecd ~ # mirrorselect -i -o >> /mnt/gentoo/etc/portage/make.conf
Traceback (most recent call last):
File "/usr/lib64/python2.7/site.py", line 554, in <module>
main()
File "/usr/lib64/python2.7/site.py", line 536, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib64/python2.7/site.py", line 268, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib64/python2.7/site.py", line 243, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib64/python2.7/site.py", line 233, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/lib64/python2.7/sysconfig.py", line 535, in get_config_var
return get_config_vars().get(name)
File "/usr/lib64/python2.7/sysconfig.py", line 434, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/usr/lib64/python2.7/sysconfig.py", line 298, in _init_posix
raise IOError(msg)
IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig.h (No such file or directory)
Can some one tell me how to proceed from here ???? |
|
Back to top |
|
|
Goverp Veteran
Joined: 07 Mar 2007 Posts: 1972
|
Posted: Wed Dec 05, 2012 9:14 am Post subject: |
|
|
First, don't post the same question on two different forums - it's annoying, and I think against the forum rules.
If I understand correctly, you are having problems running mirrorselect. If so, then simply don't bother running it; choose a mirror manually, and edit make.conf manually.
Your problems with mirrorselect might result from you specifying USE="... python3 ...", since the script is complaining that it can't find Python 2.7 headers. (I'm not a Python user, and just use the defaults, so I can't be sure about this.) _________________ Greybeard |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Wed Dec 05, 2012 9:41 am Post subject: |
|
|
Moved from Gentoo on AMD64 to Installing Gentoo, as your problem is due to troubles installing Gentoo it fits best in this forum. _________________ Search | Read | Answer | Report | Strip |
|
Back to top |
|
|
LiamOS n00b
Joined: 06 Jun 2012 Posts: 62 Location: Ireland
|
Posted: Wed Dec 05, 2012 9:56 pm Post subject: |
|
|
Why not select your mirrors manually and see if you can proceed from there? _________________ CFLAGS=" -O999999" |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Dec 06, 2012 7:59 am Post subject: |
|
|
don't bother to select mirrors in make.conf; if you don't a very good server load sharing system will handle your needs _________________ Defund the FCC. |
|
Back to top |
|
|
venkateshwaran07 n00b
Joined: 05 Dec 2012 Posts: 9 Location: India
|
Posted: Mon Dec 10, 2012 6:53 am Post subject: LiamOS - thanks i will give a try on this |
|
|
Added to it.. My objective is to Create a Sql Database in Linux.
L-Linux, A - Apache , M - mysql , P - Php.
I am having a project in Visual studio 2010 for that i need a database. PHP database in Linux platform.
If you aware of creating database in Linux or Window 7 64 bit. Please help me.
Thanks,
Venkat |
|
Back to top |
|
|
venkateshwaran07 n00b
Joined: 05 Dec 2012 Posts: 9 Location: India
|
Posted: Mon Dec 10, 2012 7:05 am Post subject: Suggest Gentoo version for my PC configuration` |
|
|
HI All,
Please suggest the Gentoo version for my PC.
Processor: AMD Athlon™ Dual Core Processor 5200B 2.70GHz
RAM: 2.00 GB (1.75 GB Usable)
Hard-disk: 149 GB
regards,
Venkat |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Mon Dec 10, 2012 8:28 am Post subject: |
|
|
you are already using the 'correct' version.
on a sidenote: why gentoo?
V. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
Cynede Retired Dev
Joined: 30 Nov 2012 Posts: 56
|
Posted: Mon Dec 10, 2012 8:34 am Post subject: Re: Suggest Gentoo version for my PC configuration` |
|
|
venkateshwaran07 wrote: | HI All,
Please suggest the Gentoo version for my PC.
Processor: AMD Athlon™ Dual Core Processor 5200B 2.70GHz
RAM: 2.00 GB (1.75 GB Usable)
Hard-disk: 149 GB
regards,
Venkat |
Hello. If you want to get correct answers ask correct questions.
I suggest to start from i686 stage, also read this article |
|
Back to top |
|
|
Bones McCracker Veteran
Joined: 14 Mar 2006 Posts: 1611 Location: U.S.A.
|
Posted: Mon Dec 10, 2012 12:34 pm Post subject: Re: LiamOS - thanks i will give a try on this |
|
|
venkateshwaran07 wrote: | Added to it.. My objective is to Create a Sql Database in Linux.
L-Linux, A - Apache , M - mysql , P - Php.
I am having a project in Visual studio 2010 for that i need a database. PHP database in Linux platform. |
You forgot to reiterate that it's Urgent. _________________
patrix_neo wrote: | The human thought: I cannot win.
The ratbrain in me : I can only go forward and that's it. |
|
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Dec 10, 2012 1:26 pm Post subject: |
|
|
@venkateshwaran07, welcome to Gentoo.
You have a simple typo error in your CFLAGS: Code: | CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer2" | There's a stray "2" at the end. Other than that, you've got a good basic set of CFLAGS there. Delete just that character and report back.
I need an answer quickly, though.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|