LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-06-2005, 09:05 AM   #1
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Rep: Reputation: 31
What to Compile Next?


Ok guys I'm having fun

I have already compiled and installed sucessfuly kernel 2.6.12.2 as well as X11 (From Slackware Current Source using the slackbuild modifed for i686 & using slkcflag O3)

Everything is great so far.

Next I will recompile KDE.

I have a few questions.

1. After compiling and building the packages, some stuff lingers around in /tmp. What is supposed to be there. I know I should clean it out after the builds. What should I not delete from /tmp?

2. I am going after the packages that I use the most because there I may find a second or two in speed increase. What other packages should I go after next? Eventually I plan on redoing everyone of them. It's fun and I am learning lots about Slackware in the process. Any recommendations?
 
Old 07-06-2005, 09:11 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
For me, it is safe to remove all the /tmp content .I did it once
and was not annoyed, I think the /tmp content is created
dynamically if needed.

Of course, maybe the safiest way is to delete the /tmp content
in init 1 runlevel or at least not with X running..

For the 2. Try to compile glibc package maybe ?
 
Old 07-06-2005, 09:16 AM   #3
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Original Poster
Rep: Reputation: 31
Thanks

Cleaning /tmp while in run level 1 sounds like a safe bet. I can compare it to runlevel 4 and see what is being created dynamically.

Thanks again!!
 
Old 07-06-2005, 09:22 AM   #4
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Original Poster
Rep: Reputation: 31
Isn't glibc needed by everything to run? How could I safely replace the original glibc with the newly comiled one? In what steps should I do that to avoid having a dead system?
 
Old 07-06-2005, 09:25 AM   #5
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Quote:
Next I will recompile KDE.
haha - hope you've got a few days to spare!
 
Old 07-06-2005, 09:26 AM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Well, if you compile it and create carefully the glibc package
as the official one, there is no difference with upgrade glibc
procedure, upgradepkg --reinstall glibc.xx.tgz, you could
even do it in runlevel 1 as advised. Do not forget that
the current glibc is in computer memory when you do these
things, so even if libc.6.so is deleted, glibc should continue to
run (but of course don't delete it as you could not start
programs linked to it).

Last edited by keefaz; 07-06-2005 at 09:27 AM.
 
Old 07-06-2005, 09:32 AM   #7
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Original Poster
Rep: Reputation: 31
Code:
Do not forget that
the current glibc is in computer memory when you do these
things, so even if libc.6.so is deleted, glibc should continue to
run (but of course don't delete it as you could not start
programs linked to it).
That's comforting to know that it's in memory.





Code:
upgradepkg --reinstall glibc.xx.tgz
You know, I wasn't aware of that flag "--reinstall".

I really need to do my homework. I didn't know upgradepkg had flags.

Mega-Thanks!!!

Oh, I just googled upgradepkg and found this...

To upgrade a package with the same name, the correct syntax is (in my example).......

upgradepkg glibc-2.3.5-i386-1.tgz%glibc-2.3.5-i686-1.tgz

Is that correct in your opinion?

Last edited by AxXium; 07-06-2005 at 09:41 AM.
 
  


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
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 04:22 PM
What does 'compile' mean? Iain1974 Linux - Newbie 15 08-25-2004 08:38 PM
c/c++ compile zdos Linux - Software 2 05-16-2004 03:22 PM
how to compile x for use on another pc??? markkreuzz Red Hat 1 03-03-2004 10:06 AM
compile jakublgz Programming 8 09-05-2002 05:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:25 PM.

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