Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo - Instal Prob - Configuring the Compile Opt urgent
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
venkateshwaran07
n00b
n00b


Joined: 05 Dec 2012
Posts: 9
Location: India

PostPosted: Wed Dec 05, 2012 4:41 am    Post subject: Gentoo - Instal Prob - Configuring the Compile Opt urgent Reply with quote

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
View user's profile Send private message
Goverp
Guru
Guru


Joined: 07 Mar 2007
Posts: 336

PostPosted: Wed Dec 05, 2012 9:14 am    Post subject: Reply with quote

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
View user's profile Send private message
tomk
Administrator
Administrator


Joined: 23 Sep 2003
Posts: 7219
Location: Sat in front of my computer

PostPosted: Wed Dec 05, 2012 9:41 am    Post subject: Reply with quote

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
View user's profile Send private message
LiamOS
n00b
n00b


Joined: 06 Jun 2012
Posts: 56
Location: Kerry/Dublin, Ireland

PostPosted: Wed Dec 05, 2012 9:56 pm    Post subject: Reply with quote

Why not select your mirrors manually and see if you can proceed from there?
_________________
CFLAGS=" -O999999"
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6508
Location: Goose Creek SC

PostPosted: Thu Dec 06, 2012 7:59 am    Post subject: Reply with quote

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
View user's profile Send private message
venkateshwaran07
n00b
n00b


Joined: 05 Dec 2012
Posts: 9
Location: India

PostPosted: Mon Dec 10, 2012 6:53 am    Post subject: LiamOS - thanks i will give a try on this Reply with quote

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
View user's profile Send private message
venkateshwaran07
n00b
n00b


Joined: 05 Dec 2012
Posts: 9
Location: India

PostPosted: Mon Dec 10, 2012 7:05 am    Post subject: Suggest Gentoo version for my PC configuration` Reply with quote

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
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1942
Location: Zurich, Switzerland

PostPosted: Mon Dec 10, 2012 8:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Cynede
Developer
Developer


Joined: 30 Nov 2012
Posts: 36

PostPosted: Mon Dec 10, 2012 8:34 am    Post subject: Re: Suggest Gentoo version for my PC configuration` Reply with quote

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
_________________
GitHub
Twitter
Last.fm

“Pain is inevitable Suffering is optional” Haruki Murakami, What I Talk About When I Talk About Running
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1564
Location: U.S.A.

PostPosted: Mon Dec 10, 2012 12:34 pm    Post subject: Re: LiamOS - thanks i will give a try on this Reply with quote

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.
_________________
juniper wrote:
I use ubuntu, which is why I am posting here.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7746
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Dec 10, 2012 1:26 pm    Post subject: Reply with quote

@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. :wink:

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum