Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ideas on interesting things to do if your system works
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Fri Apr 16, 2004 7:25 pm    Post subject: Reply with quote

If you check the Portage Manual, you'll see prelink is not one of the 'features', so I doubt if it works by adding it to make.conf.
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
krdp
n00b
n00b


Joined: 27 Feb 2004
Posts: 41
Location: Newfoundland, Canada

PostPosted: Fri Apr 16, 2004 7:39 pm    Post subject: Reply with quote

I hate it when everything just works :)
Back to top
View user's profile Send private message
allucid
Veteran
Veteran


Joined: 02 Nov 2002
Posts: 1314
Location: atlanta

PostPosted: Fri Apr 16, 2004 9:17 pm    Post subject: Reply with quote

the prelink features flag does not exist. i can confirm, i tried it and it didn't prelink anything.
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Fri Apr 16, 2004 9:22 pm    Post subject: Reply with quote

Hauser wrote:
If you check the Portage Manual, you'll see prelink is not one of the 'features', so I doubt if it works by adding it to make.conf.



This is supposed to be a new feature.

I don't exactly know if it works. But a very reliable source from gentoo told me. can't remember who, and can't remember when, nor where (forum, mailing list etc etc).

But it won't hurt to just leave it there.

It hasn't been added to the docs yet.

Anyway, i usually do a full prelink once in a while anyway.
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
X-Ryl669
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2004
Posts: 135

PostPosted: Mon May 03, 2004 4:12 pm    Post subject: What about adding prelink to the cron job ? Reply with quote

What about just modifying your cron job to prelink all soft ?

(Each week or so...)

Just an idea (works for me)
_________________
Think it twice, think it thrice, you never think enough...
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Tue May 04, 2004 2:08 am    Post subject: Reply with quote

You need to break something, just ask me :P

How's this for a project, then: take each package listed in the output of "emerge -e system" and create a CVS ebuild for each. Then, put "emerge -e system" in a script in /etc/cron.daily, and watch your system eat itself alive! Hurrah!

Note: one day I will do this. Just not today. Probably, actually, when I get my Athlon 64, then my Athlon XP will still have a reason to be switched on at all... :P
_________________
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Back to top
View user's profile Send private message
Tyir
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 172
Location: Montreal

PostPosted: Tue May 04, 2004 4:56 am    Post subject: Reply with quote

I was thinking about learnign hwo to maintain packages, and I read the creating an Ebuild How-to, but I found it didn't give very specific example, and I was still a bit confused

I wish the guide could be a bit more....step-by-stepy
Or am I just being lazy and need to just try it out?
Is it a good idea to make my own .ebuild for some random software I use, and then compare it with the Portage Ebuild?
Back to top
View user's profile Send private message
M.A.
Apprentice
Apprentice


Joined: 21 Mar 2003
Posts: 168
Location: /home/España/Valencia

PostPosted: Tue May 04, 2004 4:39 pm    Post subject: Reply with quote

How about collaborate with the open source community writing docs, software, etc?
Back to top
View user's profile Send private message
meital
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 93

PostPosted: Tue May 04, 2004 8:32 pm    Post subject: Reply with quote

install fvwm. it will keep you busy for a while
Back to top
View user's profile Send private message
Stormy Eyes
Veteran
Veteran


Joined: 09 Apr 2003
Posts: 1064
Location: Watching God spit-shine my boots.

PostPosted: Tue May 04, 2004 8:45 pm    Post subject: Reply with quote

Pick up stray kittycats and hug them.
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Tue May 04, 2004 9:35 pm    Post subject: Reply with quote

You could always kick back, listen to some Ruki Vverh, Rammstein, Tatu, and such and then watch some Hyper Police. That's what I do with my working system. lol
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Wed May 05, 2004 4:24 am    Post subject: Reply with quote

revertex wrote:
Hauser wrote:
MooktaKiNG wrote:

also use ccache and prelink on your make.conf.

portage will prelink each app after an emerge automaticly now :D:D:D:D

Are you sure this'll work? :wink:


Dunno if it works, but i put this at the end of my /etc/make.conf (at least it seems don't hurt)

Code:
FEATURES="prelink"


can someone confirm it?
Not sure, but I think that just adds it to the /etc/prelink.conf file so that mnext time you do
Code:
# prelink -afmR
it will prelink the newly-installed binaries as well.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
Tyir
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 172
Location: Montreal

PostPosted: Wed May 05, 2004 4:36 am    Post subject: Reply with quote

yea, i gave up on fvwm, for now at least...

I dunno, fluxbox is simple, but it does all that I want a WM to do, really...
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Wed May 05, 2004 5:07 am    Post subject: Reply with quote

The only bad thing about fluxbox is the fact that there are no icons on the desk, no eye-candy. Is why I switched to GNOME (don't flame me). Nice everything w/ perfect Aqua-like theme and Gentoo icons and what-not. kick-butt.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Wed May 05, 2004 9:17 am    Post subject: Reply with quote

codergeek42 wrote:
The only bad thing about fluxbox is the fact that there are no icons on the desk, no eye-candy. Is why I switched to GNOME (don't flame me). Nice everything w/ perfect Aqua-like theme and Gentoo icons and what-not. kick-butt.


Yeh. thats the whole point :P:P:P

Fluxbox is a window manager. Gnome is a desktop environment.
Fluxbox only deals with windows and stuff like that.
But gnome is a full blown destop environment where, there's a window manager, desktop manager, webbrowser, file browser, and other nifty things all integrated into one environment :)
Same goes for KDE and other DE's

However, that doesn't you mean you can't use Gnome parts inside fluxbox.

For example, if you like the toolbar in gnome. you can start it in fluxbox by running "gnome-panel". You can run the desktop as well.
But if you goto fluxbox's homepage, i think there's a much better program that can give you nice desktop icons.

Hey, you can even use fluxbox inside gnome :D:D:D:D:D
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Wed May 05, 2004 9:35 pm    Post subject: Reply with quote

MooktaKiNG wrote:
codergeek42 wrote:
The only bad thing about fluxbox is the fact that there are no icons on the desk, no eye-candy. Is why I switched to GNOME (don't flame me). Nice everything w/ perfect Aqua-like theme and Gentoo icons and what-not. kick-butt.


Yeh. thats the whole point :P:P:P

Fluxbox is a window manager. Gnome is a desktop environment.
Fluxbox only deals with windows and stuff like that.
But gnome is a full blown destop environment where, there's a window manager, desktop manager, webbrowser, file browser, and other nifty things all integrated into one environment :)
Same goes for KDE and other DE's

However, that doesn't you mean you can't use Gnome parts inside fluxbox.

For example, if you like the toolbar in gnome. you can start it in fluxbox by running "gnome-panel". You can run the desktop as well.
But if you goto fluxbox's homepage, i think there's a much better program that can give you nice desktop icons.

Hey, you can even use fluxbox inside gnome :D:D:D:D:D
Nice.
/me has some tinkering to do. ...
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
Frodg
l33t
l33t


Joined: 11 Feb 2004
Posts: 761

PostPosted: Wed May 05, 2004 10:34 pm    Post subject: Reply with quote

Use idesk with Fluxbox...
You get the perfect wm and you get icons ......works perfectly
_________________
Aerosolo ergo sum - I spray therefore I am

Gentoo - Registered Linux User # 361400
Back to top
View user's profile Send private message
revertex
l33t
l33t


Joined: 23 Apr 2003
Posts: 806

PostPosted: Wed May 05, 2004 10:34 pm    Post subject: Reply with quote

codergeek42 wrote:
The only bad thing about fluxbox is the fact that there are no icons on the desk, no eye-candy. Is why I switched to GNOME (don't flame me). Nice everything w/ perfect Aqua-like theme and Gentoo icons and what-not. kick-butt.

Idesk put nice icons in your desktop and you can set icon transparency, dunno if gnome can do that.
Back to top
View user's profile Send private message
Duty
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 253

PostPosted: Wed May 05, 2004 10:36 pm    Post subject: Reply with quote

Code:

duty@meirin pym $ cd /usr/lib/portage/pym/
duty@meirin pym $ grep prelink *
portage.py:prelink_capable=0
portage.py:     def perform_checksum(filename, calc_prelink=prelink_capable):
portage.py:             if calc_prelink and prelink_capable:
portage.py:                     # Create non-prelinked temporary file to md5sum.
portage.py:                     mylock = lockfile("/tmp/portage-prelink.tmp", wa ntnewlockfile=1)
portage.py:                     prelink_tmpfile="/tmp/portage-prelink.tmp"
portage.py:                             shutil.copy2(filename,prelink_tmpfile)
portage.py:                     spawn("/usr/sbin/prelink --undo "+prelink_tmpfil e+" &>/dev/null", settings, free=1)
portage.py:                     retval = fchksum.fmd5t(prelink_tmpfile)
portage.py:                     os.unlink(prelink_tmpfile)
portage.py:     def perform_checksum(filename, calc_prelink=prelink_capable):
portage.py:             mylock = lockfile("/tmp/portage-prelink.tmp", wantnewloc kfile=1)
portage.py:             prelink_tmpfile="/tmp/portage-prelink.tmp"
portage.py:             if calc_prelink and prelink_capable:
portage.py:                     # Create non-prelinked temporary file to md5sum.
portage.py:                     # Non-prelinks are just returned.
portage.py:                             shutil.copy2(filename,prelink_tmpfile)
portage.py:                     spawn("/usr/sbin/prelink --undo "+prelink_tmpfil e+" &>/dev/null", settings, free=1)
portage.py:                     myfilename=prelink_tmpfile
portage.py:             if calc_prelink and prelink_capable:
portage.py:                     os.unlink(prelink_tmpfile)
portage.py:     # Update prelink.conf if we are prelink-enabled
portage.py:     if prelink_capable:
portage.py:             newprelink=open(root+"etc/prelink.conf","w")
portage.py:             newprelink.write("# prelink.conf autogenerated by env-up date; make all changes to\n")
portage.py:             newprelink.write("# contents of /etc/env.d directory\n")
portage.py:                     newprelink.write("-l "+x+"\n");
portage.py:                             newprelink.write("-h "+x+"\n")
portage.py:             newprelink.close()
portage.py:def perform_md5(x, calc_prelink=0):
portage.py:     return perform_checksum(x, calc_prelink)[0]
portage.py:                                     mymd5=perform_md5(obj, calc_prel ink=1)
portage.py:if spawn("/usr/sbin/prelink --version > /dev/null 2>&1",settings,free =1) == 0:
portage.py:     prelink_capable=1
Binary file portage.pyc matches
Binary file portage.pyo matches
duty@meirin pym $


Anyone who knows python want to figure out if that means anything?
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Wed May 05, 2004 10:42 pm    Post subject: Reply with quote

Frodg wrote:
Use idesk with Fluxbox...
You get the perfect wm and you get icons ......works perfectly
hmm...nice....
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
LeTene
Guru
Guru


Joined: 02 Mar 2004
Posts: 348
Location: Ah'll glass ye!

PostPosted: Wed May 05, 2004 10:51 pm    Post subject: Reply with quote

Try installing BIND and getting a working nameserver for your LAN, then write a clear, comprehensive HOWTO a-la Gentoo Handbook explaining how you did it :P .
_________________
Docs, Tips & Tricks at the Gentoo Wiki page.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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