LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2005, 12:35 PM   #1
geagon
LQ Newbie
 
Registered: Oct 2005
Location: WV, USA
Distribution: Gentoo 2.6.11 r3
Posts: 6

Rep: Reputation: 0
Gentoo make & make.conf & emerge Trouble


I am having a bit of trouble using make and emerge on Gentoo. I fixed most of the trouble by fixing my errors in make.conf. I would post links on what I found, but I don't have more than 5 posts here yet, as I'm a newb [hate that word]. Anyway, can someone help me figure out why I can't emerge python?

I'm still building the system from the Gentoo LiveCD, using Stage1. I've gotten it running once or twice, but I keep doing it over to learn more and make a faster "build".

I keep getting a "!!! make all failed" error. Though the error also tells me not to post this error, I don't know how to go up the screen to get to the actual "topmost build error".

I cannot emerge python, vixie-cron or openssl. I can't figure out what I've done wrong.

The error from openssl I have in front of me is: "!!! Function src_compile, Line 166, Exitcode 2"

I am running an Intel Pentium 4 1.70 Ghz

I have make.conf as:
CHOST="i686-pc-linux-gnu"
CFLAGS="march=pentium4 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

Last edited by geagon; 10-27-2005 at 12:54 PM.
 
Old 10-27-2005, 05:02 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
use shift+PageUp to scroll up a console screen... as you thought we can't say much without knowing what the real error is, that openssl error is simply the portage build script acknowledging an error within the build it's controlling.
 
Old 10-27-2005, 11:06 PM   #3
geagon
LQ Newbie
 
Registered: Oct 2005
Location: WV, USA
Distribution: Gentoo 2.6.11 r3
Posts: 6

Original Poster
Rep: Reputation: 0
scrolling console

Thx for the tip. The error shows:

c_zlib.c:24:18 zlib.h No such file or directory

Do I need to emerge something?

Last edited by geagon; 10-27-2005 at 11:12 PM.
 
Old 10-28-2005, 04:57 AM   #4
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Wow! You've picked one hell of a way too learn!

Personally, I like to get my systems up and running as quickly as possible, then start the learning stuff.

Having never done a Stage 1, I couldn't say.

However, it's often better to use portage than mess with manual compilation etc untill you have some knowledge of how things are working.

So, maybe you should just try to emerge python.

Have you actually got the system installed yet? because I'd suggest that you'd get problems if you haven't completed the install.

The error you posted shows nothing. Google didn't like it at all i.e. did you mean "c_lib.c:24 etc etc"? instead of the c_zlib error that you posted? Either way, it didn't throw up any suggestions.

If you're still "in" the live CD then you probably can't emerge python anyway - AFAIK (which could easily be wrong) you need to have installed the base system and whatever portage snapshot you intend too use before emerge will get anything for you.

'Cos once you've got the base system in, one of the first things you'll find, is that the 2.6.11-gentoor3 that you've quoted as your distro, is "out of date" for the main version of the kernel - thats currently at 2.6.13-gentoo-r3

Hence, I'd suggest that you did a Stage 3 + GRP to get "it" up and running graphically. Irrespective, if you did that, you should be able to get it up and running in less than 2 hours. Then make the changes to the USE flags, and then do the updates/upgrades with emerge -upD --newuse world (sorry, can't remember if the abbreviated switch for newuse is N or n). It's still gonna take quite some hours to get the upgrades/updates/rebuilds so that they make use of any changed/modified USE flags.

Oh, and while theres lots of people here who may be able to assist better than I can, I'd suggest that you have a very good look at the gentoo forums as well.
 
Old 10-28-2005, 10:57 AM   #5
geagon
LQ Newbie
 
Registered: Oct 2005
Location: WV, USA
Distribution: Gentoo 2.6.11 r3
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs up AHA!

Yeah, I guess I chose the hard way to learn but I have gotten a Gentoo Stage 3 running, but I decided to tear it apart to rebuild it. I ended up emerging zlib to fix the python emerge problem, last night at like 2 am Can't help myself

Anway, I was then able to emerge python, but when I finalized everything and tried to boot, I got a message that said something like "mount: command not found". Some digging on google reaped the solution that I had yet to emerge system.

I could swear that I've run "emerge --sync, emerge --emptytree system, and emerge portage" but I guess I might have miss the system one. This is 3rd or 4th time I've built this thing

I've got the system booted now, but I don't have any network cards recognized. I think I might need to emerge coldplug, so once again I'm booting the LiveCD to try and get the other apps I need.

Thanks for the tip about configuring a new kernel from a working kernel. I'm assuming that you would just do another entry in lilo or grub conf?
 
Old 10-28-2005, 06:33 PM   #6
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
As I say, if you already have some idea about how stuff works (and are prepared to read absolutely mountains of stuff) then in truth, if you stick to the instructions in the install handbook it's usually pretty straight forward.

My favourite balls up used to be when copying the portage stuff, I'd forget the last switch and that meant that the little swine wouldn't read from the packages disc - which is how I found out that to do a proper emerge for KDE takes in the region of 15 hours for my system.

Ha! never again.

Even though updating/upgrading, after moding the USE flags so I include everything I might want to use/try, and then doing the "emerge -upND world" (ha! I looked up that the newuse abbreviated switch is N) the upgrades/updates/rebuilds take about 12 or so hours - I don't care as I just do that in the background and just carry on meddling with stuff.

I'm not obsessed enough to want to bother trying a stage 1 install (yet). Plus as my hardware is pretty standard it's not much hassle doing the stage 3 with the GRP packages. So I just make sure that I get the "biggies" from the packages disc i.e. KDE, Gnome, OpenOffice, the multi-media stuff etc and then just emerge everything else in the normal way.

My linux knowledge is really "diddly squat", but thats enough for me to use gentoo - which I vastly prefer to Mandriva, SuSE and a few others that I've tried. It has the bonus of being pretty up to date.

Good luck.

regards

John

p.s. Oh and yes, it's often better to emerge the coldplug stuff - I also seem to recall that I found it easier to configure networking during install at chapter 3 (of the 2005.1 manual) - it saves having to dig around to correct it later - but you may find different. I don't know if your lack of recognition of the network card is gonna be a hassle, I'm lucky inasfaras mine uses the natsemi driver.

Last edited by bigjohn; 10-28-2005 at 06:37 PM.
 
  


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
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 05:05 AM
'make' & 'make install commands not recognised by shell gilbertt Linux - Software 4 05-04-2004 08:04 AM
make trouble & fedora madbiker Linux - Software 0 03-19-2004 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:36 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