Re: [gentoo-user] boot with serial console

2005-04-15 Thread Frank Schafer
... if I remember right it has. You'll have to remove your graphics card
so that the kernel sends everything to the first serial port found.

0,02$
Frank

On Fri, 2005-04-15 at 12:06 +0100, Ognjen Bezanov wrote:
> Eric S. Johansson wrote:
> 
> > Ciaran McCreesh wrote:
> >
> >> On Thu, 14 Apr 2005 15:50:30 -0400 "Eric S. Johansson" <[EMAIL PROTECTED]>
> >> wrote:
> >> | I have a system with an apparently dead keyboard interface.  is
> >> there | any chance I could use the standard (or near standard)
> >> minimal boot CD
> >> | and install everything via serial console?
> >>
> >> What arch? It's supported on sparc, mips, hppa and arm at least and
> >> should work automatically.
> >>
> > sorry, x86
> >
> Serial consoles are supported with x86 hardware, i am using it now with
> my headless gentoo box.
> 
> You may have to modify the livecd (if it doesnt already have a serial
> console enabled) to give you a terminal on the serial port, then it
> should be fine. Note that you need a null modem cable for this to work.
> 
> 
> 
> --
> gentoo-user@gentoo.org mailing list
> 


--
gentoo-user@gentoo.org mailing list



[gentoo-user] CUPS printing

2005-04-18 Thread Frank Schafer
Hi list,

I try to setup a network printer attached to a Wondies printserver.

I have CUPS and Foomatic installed and try to follow the instructions of
the Gentoo printing-howto.

foomatic gives me an error:

foomatic-configure -s cups -p Canon-imageRunner_330s -n Canon -c
smb://steffi/Canon\ iR2270\/iR2870\ PCL6 -d hpijs
Use of uninitialized value in substitution (s///)
at /usr/lib/perl5/vendor_perl/5.8.5/Foomatic/DB.pm line 3427.
lpadmin: add-printer (set device) failed: client-error-not-possible
Could not set up/change the queue "Canon"!

The web interface of CUPS -> Configure printer gives:

Error:

client-error-not-possible

and the advanced tab of gnome-cups-manager is empty.

Has anyone an idea what I might be missing?

Thanks in advance
Frank


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CUPS printing

2005-04-18 Thread Frank Schafer
Thanks!

Well, I know this. As I said, I'm printing to a Wondies server. This one
isn't owned by me, so renaming the printer isn't a choice.

I found something more on the CUPS documentation:


To configure CUPS for SAMBA, run the following command:

ln -s `which smbspool` /usr/lib/cups/backend/smb ENTER

I do not have samba installed. Will I need a further USE flag? Will I need to 
reemerge
everything after the USE flag changes (See the empty ''Advanced'' tab in 
gnome-cups-manager)?

Is this a (at least documentation) bug, which has to be filed?

Frank

On Mon, 2005-04-18 at 11:00 +0100, Edward Catmur wrote:
> On Mon, 2005-04-18 at 11:33 +0200, Frank Schafer wrote:
> > foomatic-configure -s cups -p Canon-imageRunner_330s -n Canon -c
> > smb://steffi/Canon\ iR2270\/iR2870\ PCL6 -d hpijs
> > Use of uninitialized value in substitution (s///)
> > at /usr/lib/perl5/vendor_perl/5.8.5/Foomatic/DB.pm line 3427.
> > lpadmin: add-printer (set device) failed: client-error-not-possible
> > Could not set up/change the queue "Canon"!
> 
> Probably the problem is the '/' character in the printer name. You could
> try over-escaping it on the command line (\\/, /, \\/ etc.) but
> it'd likely be easier to remove the slash from the printer name.
> 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CUPS printing

2005-04-18 Thread Frank Schafer
:-)

Wondies: abbreviation for Sicromoft (R) Wondies (TM)

;-)


On Mon, 2005-04-18 at 16:47 -0600, Joseph wrote:
> On Mon, 2005-04-18 at 11:33 +0200, Frank Schafer wrote:
> > 
> > I try to setup a network printer attached to a Wondies printserver.
> > 
> What is Wondies printserver?
> I've recently tired freesco as a print server and it passed with flying
> colors 5min. setup; printing from linux and windows98.
> 
> -- 
> #Joseph
-- 
Frank Schafer
System specialist
T-Systems Czech s.r.o.
Kloboučnická 1435/24, 140 00 Praha 4
Tel.: +420 296529522
Fax: +420 296529129
Mobil: +420 605 202 419
E-mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.cz



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CUPS printing

2005-04-18 Thread Frank Schafer
Thanks,

now I have "samba" and "cups" in my USE flags in make.conf. The link was
made by emerge when I emerged samba.

Still no go. Will I have to ``emerge --newuse''? (That would be more a
task for weekend-computing).

BTW: The printer is a Canon iR2270, which is reported to work with a PCL
driver found and setup during 5 minutes on Debian. Where are these
drivers on Gentoo? Will they show up after ``emerge --newuse'' amongst
the Ghostscript, GimpPrint, ... drivers?

Frank

On Mon, 2005-04-18 at 15:40 +0100, Edward Catmur wrote:
> > To configure CUPS for SAMBA, run the following command:
> > 
> > ln -s `which smbspool` /usr/lib/cups/backend/smb ENTER
> > 
> > I do not have samba installed. Will I need a further USE flag? Will I need 
> > to reemerge
> > everything after the USE flag changes (See the empty ''Advanced'' tab in 
> > gnome-cups-manager)?
> 
> You need to merge cups with USE="samba", and samba with USE="cups". The
> backend symlink will be set up by the ebuild.
> 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] rdesktop

2005-04-25 Thread Frank Schafer
On Mon, 2005-04-25 at 11:32 +0800, Ow Mun Heng wrote:
> On Sun, 2005-04-24 at 21:20 +0300, Adi wrote:
> > Howdy.
> > 
> > I know this has nothing to do specifically with Gentoo, but I've seen 
> > people 
> > finding great advices on this list.
> > We've recently installed an Oracle database on 9i on RedHat ES 3. I was 
> > curious if there's a way to connect via Remote Desktop
> 
> $ rdesktop
> rdesktop: A Remote Desktop Protocol client.
> Version 1.3.1. Copyright (C) 1999-2003 Matt Chapman.
> See http://www.rdesktop.org/ for more information.
> 
> 
> >  from a Windows machine 
> > to the Linux Server. If that's impossible VNC will do. I know KDE has 
> > something like krfb, but wee need to log in without previously being logged 
> > in if it's possible.
> 
> WIndows->Linux? Hmm... That I"m not sure. Not much use for windows
> 

You'll need a X-server for Windoze to do this. I've used Exceed a
while ago. There are others. I'm not sure if there is a free one.

Regards
Frank

> 
> 
> -- 
> Ow Mun Heng
> Gentoo/Linux on DELL D600 1.4Ghz 
> 98% Microsoft(tm) Free!! 
> Neuromancer 11:31:35 up 14:38, 8 users, load average: 0.87, 0.48, 0.34 
> 
> 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Acer TM2313 NIC problems

2005-08-08 Thread Frank Schafer
Hi,

I've bought a new Acer TravelMate 2313. I've tried to install this
weekend.
Everything seemed to go fine but I don't have a network connection.

The NIC is a SiS 900 PCI fast ethernet adapter. Looking at ``dmesg''
there everything looks O.K. I see the driver loading, finding the card
and bringing the link up.

The lights on the NIC are both (continous) lighting. If I do an
``ifconfig eth0 down'' followed by an ``ifconfig eth0 up`` the lights
turn both off for about one second and then both on again.

I see the link coming up in the log and in dmesg.

Trying to ping some address I get "network unreachable". The network
connection itself works. This is tested with another (Acer) notebook.

Due to the fact that there are a couple of messages about disconnecting
and connecting PCI devices in the log I'm wondering about a hardware
problem.

Well this all don't happen with Gentoo. Acer (fortunately) has a "Linpus
Linux" installed on delivery. So I have a means to do some recovery.

I've tried this of course with the Gentoo install CD too. Further on
I've tried Knoppix, Mandrake, SuSe, Ubuntu and Fedora.

I know I've seen some messages about Acer notebooks on this list.
Unfortunately I cannot search the archives without a network connection.
My chief tolerates if I'm writing a mail during working time. I'm afraid
he won't tolerate me spending hours searching something private on the
WEB.

If someone knows about issues with the sis900.c module please let me
know.

Thanks in advance
Frank

PS: ... and yes, I did RTFM ``menuconfig'' points to. ;)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Acer TM2313 NIC problems

2005-08-08 Thread Frank Schafer
On Mon, 2005-08-08 at 06:20 -0700, Richard Fish wrote:
> Frank Schafer wrote:
> 
> >Hi,
> >
> >I've bought a new Acer TravelMate 2313. I've tried to install this
> >weekend.
> >Everything seemed to go fine but I don't have a network connection.
> >
> >The NIC is a SiS 900 PCI fast ethernet adapter. Looking at ``dmesg''
> >there everything looks O.K. I see the driver loading, finding the card
> >and bringing the link up.
> >
> >The lights on the NIC are both (continous) lighting. If I do an
> >``ifconfig eth0 down'' followed by an ``ifconfig eth0 up`` the lights
> >turn both off for about one second and then both on again.
> >  
> >
> 
> Did you assign an address when you did "ifconfig eth0 up"?  Or does your 
> network use DHCP, and if so, did you run dhcpcd/dhclient to get an address?
> 
> The output of "ifconfig -a", "route -n", and "cat /etc/conf.d/net" might 
> give us some more clues.
> 
> -Richard
> 

Thanks Richard,

I've configured eth0 using net-setup (wired network, fixed address).
At the moment I can't send any output of anything. The comp now for
about one week belongs to an authorized service partner of Acer.
There are messages apout resetting the PCI bus and about a failing and
resetting hda in the syslog.
These messages convinced me to give it away for a while.

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Linux comm program

2005-08-09 Thread Frank Schafer
On Tue, 2005-08-09 at 21:14 -0700, Bob Sanders wrote:
> On Tue, 9 Aug 2005 18:51:55 -0400
> Daniel D Jones <[EMAIL PROTECTED]> wrote:
> 
> > Is anyone aware of  a decent comm program for Linux?  Something along the 
> > lines of SecureCRT for Windows?  (SecureCRT is a commercial program.  
> > There's 
> > supposed to be a Linux port in progress but I'd much prefer to use Open 
> > Source.)  I can't seem to find anything but stuff that was written in the 
> > '90s like minicom  or programs that have limited capabilities.  For 
> > example, 
> > Komport (KDE's serial comm program) is limited to a 25 x 80 screen, despite 
> > the fact that it's a GUI program.  I'm looking for a GUI program with a 
> > scrollback buffer, scripting, multi protocol support (ssh in all its 
> > various 
> > flavors, serial port, telnet, rlogin), session logging, etc.  This is the 
> > kind of technical itch that I would think lots of programmers would 
> > scratch, 
> > but I haven't been able to find anything close.
> > 
> 
> No gui program I know of.  But Ruby will allow you to do all that.  As it 
> supports
> the tk widget library, among other interfaces, the gui is fairly straight 
> forward.
> 
> Bob
> -  
> 

Hi,

If I nd a GUI program I'm using Putty. Otherwise ssh
[EMAIL PROTECTED] from a shell prompt.

I'm pretty sure that the GNOMErs and KDErs have something too.

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Linux comm program

2005-08-10 Thread Frank Schafer
On Wed, 2005-08-10 at 07:09 -0400, Daniel D Jones wrote:
> On Wednesday 10 August 2005 02:30 am, Frank Schafer wrote:
> > On Tue, 2005-08-09 at 21:14 -0700, Bob Sanders wrote:
> > > On Tue, 9 Aug 2005 18:51:55 -0400
> > >
> > > Daniel D Jones <[EMAIL PROTECTED]> wrote:
> > > > Is anyone aware of  a decent comm program for Linux?  Something along
> > > > the lines of SecureCRT for Windows?  (SecureCRT is a commercial
> > > > program.  There's supposed to be a Linux port in progress but I'd much
> > > > prefer to use Open Source.)  I can't seem to find anything but stuff
> > > > that was written in the '90s like minicom  or programs that have
> > > > limited capabilities.  For example, Komport (KDE's serial comm program)
> > > > is limited to a 25 x 80 screen, despite the fact that it's a GUI
> > > > program.  I'm looking for a GUI program with a scrollback buffer,
> > > > scripting, multi protocol support (ssh in all its various flavors,
> > > > serial port, telnet, rlogin), session logging, etc.  This is the kind
> > > > of technical itch that I would think lots of programmers would scratch,
> > > > but I haven't been able to find anything close.
> > >
> > > No gui program I know of.  But Ruby will allow you to do all that.  As it
> > > supports the tk widget library, among other interfaces, the gui is fairly
> > > straight forward.
> > >
> > > Bob
> > > -
> >
> > Hi,
> >
> > If I nd a GUI program I'm using Putty. Otherwise ssh
> > [EMAIL PROTECTED] from a shell prompt.
> >
> > I'm pretty sure that the GNOMErs and KDErs have something too.
> 
> When I say I need a GUI, I mean I need something with a scroll-back buffer.  
> I'm a Cisco tech and being able to look at back at output that's scrolled off 
> the screen is vital.  A program like, say, Konsole, would be fine.

Hmmm, ... wondering ...

If I call {ssh | telnet} frome an {xterm | eterm | aterm | ...} I have a
scroll back buffer. Mostly I configure these tools to not have a
scrollbar, so I use to use  or .

Mostly I use this feature to look back to former output only, so I have
it limited to 2000 lines.

Hope this helps
Frank
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SiS 900 Fast Ethernet Adapter and Gentoo

2005-08-11 Thread Frank Schafer
Hi all,

I've reported this already in a former post and maybe it's too early to
ask this again.

I've bought an Acer 2313NLC notebook. The NIC is a SiS 900 and the
graphics controller is a SiSM661MX. I wasn't able to bring the NIC up.

I gave the notebook to the Acer service because the (preinstalled)
Linpus Linux has messages about PCI bus faults in the syslog. I still
haven't the notebook back but ...

... I'm sort of nervous. I've Googled a bit about SiS and found a lot of
posts reporting the SiS chipset working on RedHat, SuSe, Debian ... and
some posts this chipset NOT to work on Gentoo.

Well, most of the posts I found are 2 to 3 years old. Maybe this isn't
an issue at all furthermore.

Has someone got this to work? My provider gives me a 100Mbps FD link. In
the kernel documentation there is still this:

 3. The media type change from 10Mbps to 100Mbps twisted-pair ethernet
by ifconfig causes the media link down.

Will I have to do a ``mii-tool -a 10baseT-FD,10baseT-HD'' before being
able to use this NIC?

I found:
/*
 * SiS
300/630/730/540/315/550/[M]650/651/[M]661[FM]X/740/[M]741[GX]/330/[M]760[GX]

in /usr/src/linux/drivers/video/sis.

Due to this and reading the information on: http://www.winischhofer.net/
the graphics should'nt be an issue, should it?

Excuse me my impatience but I'd like to install some Linux as soon as I
get the machine back ... and I'd prefer Gentoo (using the NIC ;) over
Fedora (using Click'nClay with Anaconda)


Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SiS 900 Fast Ethernet Adapter and Gentoo

2005-08-11 Thread Frank Schafer
Thanks,

that makes me a lot more serene. :))

Frank

On Thu, 2005-08-11 at 10:36 +0200, Sandy McGuffog wrote:
> Frank,
> 
> The SiS 900 works fine for me on 100 Mbps without any specific
> ifconfig instructions, so should work for you unless Acer have it in a
> (very) non-default configuration.
> 
> Note however that when you compile the kernel, you do need to change
> the config to include SiS 900 support, it's not included by default.
> 
> Can't help on the graphics.
> 
> On 8/11/05, Frank Schafer <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > 
> > I've reported this already in a former post and maybe it's too early to
> > ask this again.
> > 
> > I've bought an Acer 2313NLC notebook. The NIC is a SiS 900 and the
> > graphics controller is a SiSM661MX. I wasn't able to bring the NIC up.
> > 
> > I gave the notebook to the Acer service because the (preinstalled)
> > Linpus Linux has messages about PCI bus faults in the syslog. I still
> > haven't the notebook back but ...
> > 
> > ... I'm sort of nervous. I've Googled a bit about SiS and found a lot of
> > posts reporting the SiS chipset working on RedHat, SuSe, Debian ... and
> > some posts this chipset NOT to work on Gentoo.
> > 
> > Well, most of the posts I found are 2 to 3 years old. Maybe this isn't
> > an issue at all furthermore.
> > 
> > Has someone got this to work? My provider gives me a 100Mbps FD link. In
> > the kernel documentation there is still this:
> > 
> >  3. The media type change from 10Mbps to 100Mbps twisted-pair ethernet
> > by ifconfig causes the media link down.
> > 
> > Will I have to do a ``mii-tool -a 10baseT-FD,10baseT-HD'' before being
> > able to use this NIC?
> > 
> > I found:
> > /*
> >  * SiS
> > 300/630/730/540/315/550/[M]650/651/[M]661[FM]X/740/[M]741[GX]/330/[M]760[GX]
> > 
> > in /usr/src/linux/drivers/video/sis.
> > 
> > Due to this and reading the information on: http://www.winischhofer.net/
> > the graphics should'nt be an issue, should it?
> > 
> > Excuse me my impatience but I'd like to install some Linux as soon as I
> > get the machine back ... and I'd prefer Gentoo (using the NIC ;) over
> > Fedora (using Click'nClay with Anaconda)
> > 
> > 
> > Regards
> > Frank
> > 
> > --
> > gentoo-user@gentoo.org mailing list
> > 
> >
> 
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] One package is blocking another?

2005-08-11 Thread Frank Schafer
On Thu, 2005-08-11 at 10:48 +0100, Michael Kintzios wrote:
> 
> > -Original Message-
> > From: Olli Koskela [mailto:[EMAIL PROTECTED] 
> > Sent: 11 August 2005 07:57
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user] One package is blocking another?
> > 
> [snip]
> > 
> > When I've got a block, I unmerge the blocking package (emerge 
> > -C ftpbase
> > in your case) and then emerge package I originally wanted 
> > (emerge proftpd).
> > I'm not sure if there's an other way to do this, but just 
> > unmerging has
> > worked for me so far.
> 
> I often find that unmerging package A allows you to emerge B, after
> which you may be able to emerge A again with no conflict occurring.
> Worth a try.
> -- 
> Regards,
> Mick
> 

Hmmm, ... IMHO this makes the blocking senseless.

Frank
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sound not working for user

2005-08-12 Thread Frank Schafer
Hi,

check the permissions of /dev/mixer.

Regards
Frank


On Fri, 2005-08-12 at 01:38 -0700, Grant wrote:
> Hello, sound related apps are no longer working for my user, but they
> still do for root.  I get /dev/mixer errors for the user.  Is there
> something simple I should check?  I do need to make a bunch of world
> updates.
> 
> - Grant
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: bash details

2005-08-12 Thread Frank Schafer
Hi, 

Gooogle "Advanced Bash-Scripting Guide" >>>


Regards
Frank

On Fri, 2005-08-12 at 14:25 +, James wrote:
> Hello,
> 
> I cannot seem to find  detailed document/manual on using bash robustly
> in a programming environment. Maybe I need to purchase a good book? 
> Mostly I'm an old csh hack. I like bash, but it seems porting over C code 
> from a csh (or embedded) to a bash environment gives me trouble that is mostly
> due to my lack of in-depth knowledge of bash. Simple things like paths
> to libraries and other software modules inside of the ported code I 
> either screw up or it seems like I solve the problems differently each
> time. 
> 
> Often the code I'm porting was not written for any type of unix
> or pre-emptible kernel, so I have features and functions that are
> instantiated in assembler or ansi C, that I have to figure out
> if there is a library I can use (acceptable similarity) or if
> I need to port the native micro code to a linux module or library.
> I seem to get these things to eventually work, but, well, I feel stupid
> and inept, as I should not be having the difficulty with these
> efforts that I am experiencing. Productivity must increase, and the
> only thing I can figure out, is I need to read and learn from a document
> or somebody that has figured out  more 'rote methodologies'  that I do
> not posess (if this sounds confusing, it's because I frustrated
> and not sure what I'm missing or deficient in).
> 
> Any suggestions and examples where I may read and look at examples
> or a suitable forum to ask questions would be appreciated. Bash trickery
> is definately a weak point for me, but, that may not be my only
> area where I need to improve my knowledge and skills, related to
> software porting and development. Most of my code does involve hardware
> and or device drivers. Things like embeding code into the
> kernel or a module, thus avoiding bash all together with the 'driver'
> portion of the (hardware) code, and then making the other part of the
> code user accessible, via a shell.  Some robust, detailed examples
> would be keen. I'm sufficient at getting chips and device drivers
> working in a micro environment, it's making these hardware and software
> items accessible via the (linux) shell environment where I struggle the most.
> 
> 
> 
> James
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 "el nino" simple user restricts

2005-08-15 Thread Frank Schafer
Hmmm, If I'm reading this and if I'm seeing that this is not the problem
of just one user ... I'll be very glad to install with 2005.0 8-|

... if this appears right after installation with 2005.1, of course.

Just a thought
Frank


On Tue, 2005-08-16 at 07:28 +, Gyuri wrote:
> Bastian Balthazar Bux wrote:
> 
> >Gyuri wrote:
> >  
> >
> >>Hi guys,
> >>I've just downloaded, and installed Gentoo 2005.1 El Nino. I have some
> >>experiences with former Gentoo releases. But there is a little "bug"
> >>(maybe?) in "el nino". A simple user cannot read the contets of the root
> >>( / ) partition, she/he can only read and write in his/her own home
> >>directory. Is it a bug? Or is it done for some security reasons?
> >>Thanks in advance. Sorry for my bad English.
> >>
> >>
> >
> >what does output "ls -ld /" ?
> >mine is
> >
> >drwxr-xr-x  20 root root 496 Aug 15 01:01 /
> >
> >maybe there is something wrong with mount options in etc/fstab ?
> >
> >About reemerge the whole system you can use "emerge -ea world", seldom
> >this doesn't go good so the procedure I follow is something like this:
> >
> >create a bash script like this (it can be done better, but it's fast to
> >write it this way ;):
> >
> >
> >#! /bin/bash
> >
> >emerge -epv world
> >emerge -e world \
> >|| emerge --resume --skipfirst \
> >|| emerge --resume --skipfirst \
> >|| emerge --resume --skipfirst \
> >|| emerge --resume --skipfirst \
> >|| emerge --resume --skipfirst \
> >|| emerge --resume --skipfirst \
> >|| emerge --resume --skipfirst \
> >|| emerge --resume --skipfirst \
> >|| emerge --resume --skipfirst \
> >|| emerge --resume --skipfirst
> >=
> >
> >chmod +x eworld
> >
> >nohup ./eworld & tail -f nohup.out
> >
> >at the end
> >
> >grep "ERROR.*fail" nohup.out
> >
> >to see if something is gone wrong.
> >
> >this seem to be your first post, welcome here  Gyuri
> >
> >  
> >
> Thanks four your answers, "ls -ld /" says the same as yours, but with 
> much less rights (my user "manowar" even dont have read, enter (folders) 
> and write access).
> My fstab is correct. I mount /dev/hda6 (ext3) to "/" with the option 
> noatime and with "0 1" at the end of the line. Should I mount it with 
> "defaults" option?
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] F4L

2005-08-15 Thread Frank Schafer
On Tue, 2005-08-16 at 07:33 +, Gyuri wrote:
> Ian K wrote:
> 
> >Hi there, I would love to try out Flash4Linux
> >(f4l.sf.net) but it wont compile. Im trying 0.2.
> >When I type make, I get:
> >
> >[EMAIL PROTECTED] ~/MyTars/f4l-0.2 $ make
> >make: *** No rule to make target
> >`/usr/qt/3/mkspecs/default/qmake.conf', needed by
> >`Makefile'.  Stop.
> >
> >Any ideas?
> >Thanks!
> >Ian
> >
> >
> > 
> >
> > 
> > 
> >__ 
> >Find your next car at http://autos.yahoo.ca
> >  
> >
> Do you have KDE(libs) installed on your system?
> Are you trying to install it from a tarball? Is it in the Portage?

...
and do you have QT / QTlibs installed? Seems F4L depends on it.

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 "el nino" simple user restricts

2005-08-16 Thread Frank Schafer
On Tue, 2005-08-16 at 09:38 +, Gyuri wrote:
> Frank Schafer wrote:
> 
> >Hmmm, If I'm reading this and if I'm seeing that this is not the problem
> >of just one user ... I'll be very glad to install with 2005.0 8-|
> >
> >... if this appears right after installation with 2005.1, of course.
> >
> >Just a thought
> >Frank
> >
> >  
> >
> Yes, you're right. I tried 2004.3 and former MiniInstall discs and this 
> did not happen. It don't make any mess until now, all my software is 
> able to work.
> But it's a little strange to me. I recommend you 2004.3, you won't 
> experience this restriction.


Thanks, I think I still have the 2004.3 image laying around somewhere.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I (user) can write to / ... but why?

2005-08-16 Thread Frank Schafer
On Tue, 2005-08-16 at 21:26 +1200, Nick Rout wrote:
> On Tue, 2005-08-16 at 09:00 +0200, Ralph Slooten wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Dirk Heinrichs wrote:
> > > No. It isn't mounted by you. You own it (at least this directory). Use
> > > 
> > > find / -xdev -uid 1000
> > 
> > Ahh, so what you are saying is that I own the "/" directory. Hmm, how
> > could that have happened, and on 2 separate machines? I never thought of
> > "/" being a directory, 
> 
> this is unix, everything is a file, so / is a file, it just happens to
> be the filetype that is a directory.
> 
> Sorry I have no idea how you came to own it though.

This seems to be a bug in the 2005.* installer.

> 
> > more like the base there initial directories were
> > placed on. Anyway, when I get home today from work I'll check and change
> > the permissions. Thanks for the heads-up.
> > 
> > 
> 
> -- 
> Nick Rout <[EMAIL PROTECTED]>
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] F4L

2005-08-16 Thread Frank Schafer
On Tue, 2005-08-16 at 21:46 +1200, Nick Rout wrote:
> On Tue, 2005-08-16 at 11:25 +0200, Christoph Gysin wrote:
> > Nick Rout wrote:
> > > try the ebuild that is on bugs.gentoo.org
> > 
> > Be nice and provide a link:
> > http://bugs.gentoo.org/show_bug.cgi?id=82154
> 
> 
> Ahh yeah i had closed the bug window by the time I posted, and thought
> Ian is just as capable of finding it as I am.
> 
> Although it compiles cleanly, it does not seem to do much. No
> documentation - in fact it installs only two files, an executable and
> a .desktop file.
> 
> I have no experience with flash generation tools. This has a gui in
> which it is easy to see what they are trying to do, and millions of menu
> options, its just that many of them don't seem to actually do anything.
> 
> A tutorial would be nice. 

Hmmm, wouldn't be this a task for the F4L developers?

> 
> Still at 0.2 I wasn't expecting the world. 
> 
> > 
> > Christoph
> -- 
> Nick Rout <[EMAIL PROTECTED]>
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unsuscribe

2005-08-17 Thread Frank Schafer
To unsubscribe send a mail to:

[EMAIL PROTECTED]


... you got this with the "Welcome" message during subscribing.


On Wed, 2005-08-17 at 11:24 +0200, Bayrouni wrote:
> Hello all,
> How to unsuscribe from this list?
> 
> Thank you
> Bayrouni
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost Labyrinth

2005-08-22 Thread Frank Schafer
On Tue, 2005-08-23 at 17:36 +1200, Nick Rout wrote:
> On Tue, 2005-08-23 at 17:13 +1200, Nick Rout wrote:
> > Anyway, if you fix the downloading, I will do my best to write you an
> > ebuild. I am half way through it. 
> 
> Oh and perhaps you could explain the rather weird permissions on the
> files in the tarball, viz:
> 
> -rw-r--r--  1 nick users 3809210 Aug 22 14:16 graphics.pak
> -rwxr-xr-x  1 nick users 446 Aug 22 14:53 highscores.dat
> -rwxr-xr-x  1 nick users  515804 Aug 22 15:55 laby
> -rwxr-xr-x  1 nick users1610 Mar 10  2004 laby.xpm
> -rw-r--r--  1 nick users4104 Aug 22 15:48 liesmich.txt
> -rwxr-xr-x  1 nick users3890 Aug 22 15:28 readme.txt
> -rwxr-xr-x  1 nick users2023 Mar 10  2004 readme_waffen.txt
> -rwxr-xr-x  1 nick users3197 Aug 18 10:21 readme_zauber.txt
> -rw-r--r--  1 nick users  973752 Aug 15 10:29 sounds.pak
> 
> there is no need for the .txt files to be executable, nor the icon
> (laby.xpm), nor the highscores (I hope). 

Every file which comes from Sicromoft (R) Wondies (TM) has execute
permission set.

That's not an error. Due to Sicromoft this is a FEATURE ;-)))

> 
> Please advise why these come with the executable permission set, or
> whether this is just an error?
> 
> -- 
> Nick Rout <[EMAIL PROTECTED]>
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [big OT] Export firefox profile

2005-08-22 Thread Frank Schafer
Hi Karol,

dunno how to deal with XP. Regarding to the Linux machine ... simply
take the whole ~/.mozilla folder and copy it over to the second machine,
set the right permissions for the user there and all should work.

Regards
Frank


On Mon, 2005-08-22 at 16:47 +0200, krzaq wrote:
> Is there a way to export a whole profile (including bookmarks, saved
> passwords, extensions, themes) in Mozilla Firefox?
> 
> I want to export my Firefox profile to two machines: windowsXP and
> another gentoo.
> Can I just copy the whole profile over?
> 
> -- 
> Regards
> Karol Krzak
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost Labyrinth

2005-08-22 Thread Frank Schafer
Hi Markus,

have you ever wondered about the possibility to rewrite your game to
another programming language. There's a lot of possibilities (even for
FSF game engines).

Just a thought
Frank

On Mon, 2005-08-22 at 23:42 +0200, Markus Döbele wrote:
> So we have to treat Lost Labyrinth as closed source.
> Because the source code of this game is only useful to other purebasic 
> programmers. And people that got the compiler. I understand.
> Can't change that.
> 
> 
> Am Montag, 22. August 2005 22:52 schrieb Matan Peled:
> > Markus Döbele wrote:
> > > I created a tar.gz Version of this game too.
> > > I'm sorry that its not possible to compile it with the demo version of
> > > the compiler.
> > >
> > > What are gentoo users doing with other binary packages?
> > > Like Acrobat Reader?
> > >
> > > Is this a big problem for this system?
> >
> > No, Portage can handle binary apps just fine. We have Java, Unreal
> > Tournament 2k3/2k4, Doom 3, Neverwinter Nights... All kinds of binary-only
> > apps.
> >
> > But all of them are closed-source (Except for the -bin version of some
> > rather big packages, manly to save people the compile time...).
> >
> > It feels kinda wrong to install a binary package of a (small) open-source
> > app on a source-based system...
> >
> > Its also weird having an opensource app that you can only compile using a
> > non-free (as in beer) compiler...
> >
> > --
> > [Name  ]   ::  [Matan I. Peled]
> > [Location  ]   ::  [Israel]
> > [Public Key]   ::  [0xD6F42CA5]
> > [Keyserver ]   ::  [keyserver.kjsl.com]
> > encrypted/signed  plain text  preferred
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost Labyrinth

2005-08-23 Thread Frank Schafer
Wow, 1MB sourcecode within 12 years! ;-)

It should be rewriteable to ... say ... C within a few months.

(I prefer C rather than C++)



On Tue, 2005-08-23 at 09:06 +0200, Markus Döbele wrote:
> Purebasic is very fast. The generated assembler code kicks ass.
> And I can compile it for Linux, Mac OS and Windows.
> 
> If I find a Open Source Basic Compiler that can do the task. I consider 
> rewriting it again.
> 
> We are programming this game since 12 years :-)
> The first Version we programmed on the Atari ST!  :-))
> There the language was calles STOS.
> 
> 
> Am Dienstag, 23. August 2005 08:33 schrieb Frank Schafer:
> > Hi Markus,
> >
> > have you ever wondered about the possibility to rewrite your game to
> > another programming language. There's a lot of possibilities (even for
> > FSF game engines).
> >
> > Just a thought
> > Frank
> >
> > On Mon, 2005-08-22 at 23:42 +0200, Markus Döbele wrote:
> > > So we have to treat Lost Labyrinth as closed source.
> > > Because the source code of this game is only useful to other purebasic
> > > programmers. And people that got the compiler. I understand.
> > > Can't change that.
> > >
> > > Am Montag, 22. August 2005 22:52 schrieb Matan Peled:
> > > > Markus Döbele wrote:
> > > > > I created a tar.gz Version of this game too.
> > > > > I'm sorry that its not possible to compile it with the demo version
> > > > > of the compiler.
> > > > >
> > > > > What are gentoo users doing with other binary packages?
> > > > > Like Acrobat Reader?
> > > > >
> > > > > Is this a big problem for this system?
> > > >
> > > > No, Portage can handle binary apps just fine. We have Java, Unreal
> > > > Tournament 2k3/2k4, Doom 3, Neverwinter Nights... All kinds of
> > > > binary-only apps.
> > > >
> > > > But all of them are closed-source (Except for the -bin version of some
> > > > rather big packages, manly to save people the compile time...).
> > > >
> > > > It feels kinda wrong to install a binary package of a (small)
> > > > open-source app on a source-based system...
> > > >
> > > > Its also weird having an opensource app that you can only compile using
> > > > a non-free (as in beer) compiler...
> > > >
> > > > --
> > > > [Name  ]   ::  [Matan I. Peled]
> > > > [Location  ]   ::  [Israel]
> > > > [Public Key]   ::  [0xD6F42CA5]
> > > > [Keyserver ]   ::  [keyserver.kjsl.com]
> > > > encrypted/signed  plain text  preferred
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost Labyrinth

2005-08-23 Thread Frank Schafer
. :-D

...

that makes 5 (in words FIVE) lines of code a day.

;-)))

Markus, please don't get me wrong. I know that most of the work is to
work out the game logic.

Rewriting will be pure coding.

I did (inside the unpacked source tree):

``cat * | grep -v ^';' | wc -l''

You see, this is still counting empty lines.

Otherwise I had a short look at the language as is. It is a very simple
semantics. 
The only thing I don't understand after 5 minutes looking at the code;

what means:

spieler(i) \Status = 1

for instance. Is "spieler" an array of structs and Status dereferences a
member variable of this struct?

Again otherwise the rewrite could be automated using awk or Perl.

Your work seems to be well structured. Congratulations.

Regards
Frank


On Tue, 2005-08-23 at 09:43 +0200, Frank Schafer wrote:
> Wow, 1MB sourcecode within 12 years! ;-)
> 
> It should be rewriteable to ... say ... C within a few months.
> 
> (I prefer C rather than C++)
> 
> 
> 
> On Tue, 2005-08-23 at 09:06 +0200, Markus Döbele wrote:
> > Purebasic is very fast. The generated assembler code kicks ass.
> > And I can compile it for Linux, Mac OS and Windows.
> > 
> > If I find a Open Source Basic Compiler that can do the task. I consider 
> > rewriting it again.
> > 
> > We are programming this game since 12 years :-)
> > The first Version we programmed on the Atari ST!  :-))
> > There the language was calles STOS.
> > 
> > 
> > Am Dienstag, 23. August 2005 08:33 schrieb Frank Schafer:
> > > Hi Markus,
> > >
> > > have you ever wondered about the possibility to rewrite your game to
> > > another programming language. There's a lot of possibilities (even for
> > > FSF game engines).
> > >
> > > Just a thought
> > > Frank
> > >
> > > On Mon, 2005-08-22 at 23:42 +0200, Markus Döbele wrote:
> > > > So we have to treat Lost Labyrinth as closed source.
> > > > Because the source code of this game is only useful to other purebasic
> > > > programmers. And people that got the compiler. I understand.
> > > > Can't change that.
> > > >
> > > > Am Montag, 22. August 2005 22:52 schrieb Matan Peled:
> > > > > Markus Döbele wrote:
> > > > > > I created a tar.gz Version of this game too.
> > > > > > I'm sorry that its not possible to compile it with the demo version
> > > > > > of the compiler.
> > > > > >
> > > > > > What are gentoo users doing with other binary packages?
> > > > > > Like Acrobat Reader?
> > > > > >
> > > > > > Is this a big problem for this system?
> > > > >
> > > > > No, Portage can handle binary apps just fine. We have Java, Unreal
> > > > > Tournament 2k3/2k4, Doom 3, Neverwinter Nights... All kinds of
> > > > > binary-only apps.
> > > > >
> > > > > But all of them are closed-source (Except for the -bin version of some
> > > > > rather big packages, manly to save people the compile time...).
> > > > >
> > > > > It feels kinda wrong to install a binary package of a (small)
> > > > > open-source app on a source-based system...
> > > > >
> > > > > Its also weird having an opensource app that you can only compile 
> > > > > using
> > > > > a non-free (as in beer) compiler...
> > > > >
> > > > > --
> > > > > [Name  ]   ::  [Matan I. Peled]
> > > > > [Location  ]   ::  [Israel]
> > > > > [Public Key]   ::  [0xD6F42CA5]
> > > > > [Keyserver ]   ::  [keyserver.kjsl.com]
> > > > > encrypted/signed  plain text  preferred
> > 
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost Labyrinth

2005-08-23 Thread Frank Schafer
On Tue, 2005-08-23 at 20:38 +1200, Nick Rout wrote:
> On Tue, 2005-08-23 at 08:31 +0200, Frank Schafer wrote:
> > Every file which comes from Sicromoft (R) Wondies (TM) has execute
> > permission set.
> > 
> > That's not an error. Due to Sicromoft this is a FEATURE ;-)))
> 
> That would be an explanation if all the files in the tarball had their
> execute bit set, but they don't!
> 
> never mind, we will whip these laby guys into decent gentoo shape LOL.
> 
> -- 
> Nick Rout <[EMAIL PROTECTED]>
> 

I got the tarball too meanwhile ... and Purebasic itself to have some
docs about that language.
The source isn't that big. Due to the clean structure of the sources
simply converting the BASIC syntax to a more *NIX like language
shouldn't be a that big task too.

I didn't look at the platforms Purebasic runs on but for these variables
'name.?' the '?' is a character defining the number of bytes the
variable occupies.
I don't have a clue how PB handles byte order ... not to mention 64 bit
systems.

If we help such guys into the FSF world we should wonder about
portability too, shouldn't we?

.02$
Frank
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost Labyrinth

2005-08-23 Thread Frank Schafer
Hallo, wie Du vielleicht an meiner e-mail erkennst (am Namen) ... meine
Muttersprache ist Deutsch. ;-)))

Hi, as you possibly recognize by my e-mail (the name) ... my native
language is German ;-)))

I got a PB installation and there is some doc about the (programming)
language in the tar ball.

In fact, the syntax:

something(x) /anything

means an array of structs something where anything is a member of the
struct something.

THAT was my question.

Not at all, thanks.
Frank


On Tue, 2005-08-23 at 16:47 +0200, Holly Bostick wrote:
> Frank Schafer schreef:
> 
> > The only thing I don't understand after 5 minutes looking at the code;
> > 
> > what means:
> > 
> > spieler(i) \Status = 1
> > 
> 
> I don't know anything about code, but I looked at this and immediately saw
> 
> spieler = Player
> 
> in German.
> 
> Maybe that helps you understand what it's doing.
> 
> Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost Labyrinth

2005-08-23 Thread Frank Schafer
Hmmm, a game IS an application (for gaming purposes) ;-))

Fast scrolling and all of this stuff isn't made by PB but by library
routines (SDL on Linux). So every (I mean EVERY) language should handle
this if the system does it handle.

By the way, we definitely can change the programming language by simple
syntax conversion if the original code is proper organized (I did this
more than once). A complete rewrite isn't such a big task too.
Programming means to describe the whole logic of an application (games
too ;). Use structograms, flow charts, petri nets ... as you like.
Translating this into a programming Language (C, C++, Pascal, BASIC,
Forth, Prolog ...) is pure coding.

I remember the time we touched the hardware itself if we did need speed
(DOS, was it GEM on the Amiga?, the legendary Spectrum, C64 ...) but I'm
skeptic if modern OS will still allow this.

0.02$
Frank


On Tue, 2005-08-23 at 21:31 +0200, Markus Döbele wrote:
> But this is a game and not an aplication.
> I need fast scrolling and all this stuff. I don't think this languages can 
> handle that.
> 
> 
> Am Dienstag, 23. August 2005 09:57 schrieb Heinz Sporn:
> > Am Dienstag, den 23.08.2005, 09:06 +0200 schrieb Markus Döbele:
> > > Purebasic is very fast. The generated assembler code kicks ass.
> > > And I can compile it for Linux, Mac OS and Windows.
> > >
> > > If I find a Open Source Basic Compiler that can do the task. I consider
> > > rewriting it again.
> >
> > Did you ever look at Gambas? http://gambas.sourceforge.net/ At the
> > moment it's dedicated to X environments with both QT and GTK support but
> > I wouldn't be suprised if they will support Windoze in the future. The
> > IDE itself is very nice and the compiler generates smooth code. It's in
> > Portage BTW. And last but not least they have a very nice community.
> >
> > Another option might be RealBasic http://www.realbasic.com/ . The
> > Current RealBasic version 2005 is commercial, but the older standard
> > version 5.5 for Windows is free. It's a little strange but with that you
> > are able to produce native Linux binaries for a QT environment.
> >
> > > We are programming this game since 12 years :-)
> > > The first Version we programmed on the Atari ST!  :-))
> > > There the language was calles STOS.
> > >
> > > Am Dienstag, 23. August 2005 08:33 schrieb Frank Schafer:
> > > > Hi Markus,
> > > >
> > > > have you ever wondered about the possibility to rewrite your game to
> > > > another programming language. There's a lot of possibilities (even for
> > > > FSF game engines).
> > > >
> > > > Just a thought
> > > > Frank
> > > >
> > > > On Mon, 2005-08-22 at 23:42 +0200, Markus Döbele wrote:
> > > > > So we have to treat Lost Labyrinth as closed source.
> > > > > Because the source code of this game is only useful to other
> > > > > purebasic programmers. And people that got the compiler. I
> > > > > understand. Can't change that.
> > > > >
> > > > > Am Montag, 22. August 2005 22:52 schrieb Matan Peled:
> > > > > > Markus Döbele wrote:
> > > > > > > I created a tar.gz Version of this game too.
> > > > > > > I'm sorry that its not possible to compile it with the demo
> > > > > > > version of the compiler.
> > > > > > >
> > > > > > > What are gentoo users doing with other binary packages?
> > > > > > > Like Acrobat Reader?
> > > > > > >
> > > > > > > Is this a big problem for this system?
> > > > > >
> > > > > > No, Portage can handle binary apps just fine. We have Java, Unreal
> > > > > > Tournament 2k3/2k4, Doom 3, Neverwinter Nights... All kinds of
> > > > > > binary-only apps.
> > > > > >
> > > > > > But all of them are closed-source (Except for the -bin version of
> > > > > > some rather big packages, manly to save people the compile
> > > > > > time...).
> > > > > >
> > > > > > It feels kinda wrong to install a binary package of a (small)
> > > > > > open-source app on a source-based system...
> > > > > >
> > > > > > Its also weird having an opensource app that you can only compile
> > > > > > using a non-free (as in beer) compiler...
> > > > > >
> > > > > > --
> > > > > > [Name  ]   ::  [Matan I. Peled]
> > > > > > [Location  ]   ::  [Israel]
> > > > > > [Public Key]   ::  [0xD6F42CA5]
> > > > > > [Keyserver ]   ::  [keyserver.kjsl.com]
> > > > > > encrypted/signed  plain text  preferred
> >
> > --
> > Mit freundlichen Grüßen
> >
> > Heinz Sporn
> >
> > SPORN it-freelancing
> >
> > Mobile:  ++43 (0)699 / 127 827 07
> > Email:   [EMAIL PROTECTED]
> >  [EMAIL PROTECTED]
> > Website: http://www.sporn-it.com
> > Snail:   Steyrer Str. 20
> >  A-4540 Bad Hall
> >  Austria / Europe
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost Labyrinth

2005-08-24 Thread Frank Schafer
On Wed, 2005-08-24 at 10:13 +0300, Matan Peled wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Frank Schafer wrote:
> > Hmmm, a game IS an application (for gaming purposes) ;-))
> > 
> > Fast scrolling and all of this stuff isn't made by PB but by library
> > routines (SDL on Linux). So every (I mean EVERY) language should handle
> > this if the system does it handle.
> > 
> > By the way, we definitely can change the programming language by simple
> > syntax conversion if the original code is proper organized (I did this
> > more than once). A complete rewrite isn't such a big task too.
> > Programming means to describe the whole logic of an application (games
> > too ;). Use structograms, flow charts, petri nets ... as you like.
> > Translating this into a programming Language (C, C++, Pascal, BASIC,
> > Forth, Prolog ...) is pure coding.
> > 
> > I remember the time we touched the hardware itself if we did need speed
> > (DOS, was it GEM on the Amiga?, the legendary Spectrum, C64 ...) but I'm
> > skeptic if modern OS will still allow this.
> > 
> > 0.02$
> > Frank
> 
> And C is EXTREMELY fast. I mean, I'm having real trouble believing that BASIC
> can be faster than C...
> 
> Anyway, simple syntax change is not all that needed. You also need to talk to
> SDL - something I think PureBasic handled previously.

I think SDL has an API, don't you think too?

;)


> 
> - --
> [Name  ]   ::  [Matan I. Peled]
> [Location  ]   ::  [Israel]
> [Public Key]   ::  [0xD6F42CA5]
> [Keyserver ]   ::  [keyserver.kjsl.com]
> encrypted/signed  plain text  preferred
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFDDB4nA7Qvptb0LKURAg3iAJwMbjxdpiIOCW2AETRWoui3UqeyqQCdErRG
> B289dsEN4ZC1JMHOtZAa7ew=
> =m9SM
> -END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost Labyrinth

2005-08-24 Thread Frank Schafer
right, and that means we have to study PB's syntax ... what I'm doing
just now if I have some time.

PB itself is probably written in C. A compiler with less than 140kB IMHO
isn't written in C++.

BTW: Have a look at ``strings pbcompiler | more''!
It's VEERY interesting. Seems pbcompiler simply maps BASIC
instructions to assembler mnemonics.

:-)))

On Wed, 2005-08-24 at 11:09 +0300, Matan Peled wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Frank Schafer wrote:
> > I think SDL has an API, don't you think too?
> > ;)
> 
> Well, of course. But it wasn't used before, rather PureBasic's one was used.
> 
> Now we need to use that API (Thats what I meant by "Talking to SDL"...)
> 
> - --
> [Name  ]   ::  [Matan I. Peled]
> [Location  ]   ::  [Israel]
> [Public Key]   ::  [0xD6F42CA5]
> [Keyserver ]   ::  [keyserver.kjsl.com]
> encrypted/signed  plain text  preferred
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFDDCsnA7Qvptb0LKURAkzEAJ9DFzs6ooCwL9XcC7pUWS9BIDOEpgCdGtVN
> RWUAxhkhZxxjm4/clhz0eM4=
> =hpyQ
> -END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie install - emerge: command not found

2005-08-24 Thread Frank Schafer
On Wed, 2005-08-24 at 10:32 +0200, Assaf Urieli wrote:
> Neil Bothwick wrote:
> 
> >On Tue, 23 Aug 2005 17:52:22 +0200, Assaf Urieli wrote:
> >  
> >
> >>BTW, /usr/bin doesn't even exist - all /usr contains is lost+found
> >>
> >>
> >Do you have a separate partition for /usr? If so, is it mounted?
> >
> >What you describe is a classic symptom of installing /usr on its own
> >partition and forgetting to add it to /etc/fstab.
> >  
> >
> Oy vey, that was it! I knew I must be doing something stupid.
> Feeling adventurous, I decided to create a 4th partition and mount /usr
> onto it in my /etc/fstab, but on the other hand I didn't mount it while
> installing gentoo (I thought somehow the fstab would be enough)...
> So everything got installed on the root partition.
> I corrected the problem by changing my /etc/fstab to mount /dev/hda4
> somewhere else, and now when I reboot my /usr/bin directory contains
> everything that was installed on it.
> 
> So, just a couple of questions to get things organised in my brain:
> If I wanted to mount the /usr partition while installing, would this
> have been the right command? Would I have to make the directory first?
> # mount -t ext3 /dev/hda4 /mnt/gentoo/usr

Former: yes, latter: yes

> 
> In fact, I'm not even quite sure that I understand the whole concept of
> mounting...
> When I type:
> # mount -t ext3 /dev/hda3 /mnt/gentoo
> Does the /mnt/gentoo directory already exist somewhere? If it didn't, I
> imagine this statement would throw an error. But where can it exist if
> it isn't yet associated with any partition (i.e. /dev/hda3)?

First: it has to exist
Second: you imagine right
Third: A bolt hole can exist without a bolt in it, can't it?

> # mkdir /mnt/gentoo/boot
> Where am I making this directory? I would assume this statement creates
> the directory on /dev/hda3. But then, in the next statement, I'm

yes

> associating it with /dev/hda4!

right

/mnt/
   |
   +- gentoo/ << this is a mountpoint (bolt hole) on /dev/hda3
#mount /dev/hda4 /mnt/gentoo  (here's the bolt)
|
+ usr/ << this is a normal directory
|
+ boot/ << further bolt hole
> # mount /dev/hda1 /mnt/gentoo/boot
(with bolt from here on)

Well, every normal directory can act as a bolt hole. If it contains
something when you screw the bolt in (mount something) the content of
the directory will be hidden (that's why the commands weren't found).

> 
> Another question:
> Now that I've got an unused /dev/hda4 partition, what should I mount on
> it? I can't mount /usr onto it cause /usr already exists on the root
> partition & is full of stuff. Can I just invent any old name for
> mounting (like say, /home), and then use it for storing data?

yes

> 
> Sorry for the naive questions, but I'm trying to get my head around some
> of these concepts...

Don't worry, we all began some (ancient ;) time ago.

> 
> Best regards,
> Assaf
> 
> >
> >  
> >

Regards
Frank
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost Labyrinth

2005-08-24 Thread Frank Schafer
further questions / info.

Seems PureBasic is a direct dependency for all programs "compiled" with
it. They will probably use the shared library which comes with
PureBasic.

I wonder ...
There is a static library amongst the PureBasic binary too. Maybe
PureBasic "compiles" the way VisualBasic up to version 5 did. Making a
data block from the source leaving the source itself intact, linking a
library with a small starting code (the interpreter) letting the
executable interpreting the data block inside itself.

... that would stand for real speed ... interpreting ...


Further 0,02$
Frank


On Wed, 2005-08-24 at 10:25 +0200, Frank Schafer wrote:
> right, and that means we have to study PB's syntax ... what I'm doing
> just now if I have some time.
> 
> PB itself is probably written in C. A compiler with less than 140kB IMHO
> isn't written in C++.
> 
> BTW: Have a look at ``strings pbcompiler | more''!
> It's VEERY interesting. Seems pbcompiler simply maps BASIC
> instructions to assembler mnemonics.
> 
> :-)))
> 
> On Wed, 2005-08-24 at 11:09 +0300, Matan Peled wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Frank Schafer wrote:
> > > I think SDL has an API, don't you think too?
> > > ;)
> > 
> > Well, of course. But it wasn't used before, rather PureBasic's one was used.
> > 
> > Now we need to use that API (Thats what I meant by "Talking to SDL"...)
> > 
> > - --
> > [Name  ]   ::  [Matan I. Peled]
> > [Location  ]   ::  [Israel]
> > [Public Key]   ::  [0xD6F42CA5]
> > [Keyserver ]   ::  [keyserver.kjsl.com]
> > encrypted/signed  plain text  preferred
> > 
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.1 (GNU/Linux)
> > 
> > iD8DBQFDDCsnA7Qvptb0LKURAkzEAJ9DFzs6ooCwL9XcC7pUWS9BIDOEpgCdGtVN
> > RWUAxhkhZxxjm4/clhz0eM4=
> > =hpyQ
> > -END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CD burning with full filenames

2005-08-24 Thread Frank Schafer
On Wed, 2005-08-24 at 20:40 -0700, Grant wrote:
> > > Hello, does anyone know how to make an ISO and then burn it to a CD
> > > with the full filenames preserved?  I tried specifying Joliet and Rock
> > > Ridge but the output from mkisofs looks like the filenames are being
> > > altered.
> > 
> > AFAICR none of the available CD filesystems support the full range of
> > Unix filenames.

Using Rock Ridge extension AND translation tables (man cdrecord) does.
One should avoid Joliet if the CD shall not be used on Wondies.

Regards
Frank

PS: Excuse me that "middle posting" ;)

> > 
> > If this is for backup purposes you might be better off just making a tar
> > file and burning that directly to CD - tar is designed for archiving,
> > after all. The resulting CD will be readable by e.g. "tar
> > tvf /dev/cdrom".
> 
> I ended up tar'ing it and it works fine.  Thanks for everyone's help.
> 
> - Grant
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Forgotten root password on remote system

2005-08-25 Thread Frank Schafer
On Fri, 2005-08-26 at 07:50 +0200, Dirk Heinrichs wrote:
> Am Donnerstag, 25. August 2005 18:21 schrieb ext Willie Wong:
> 
> > Your best bet is to get someone your trust to boot into single for you
> > and reset the password there.
> 
> Single wouldn't work, You still get a login: prompt. The only ways to get at 
> it are LiveCD or booting with "init=/bin/bash".
> 
> Bye...
> 
>   Dirk

Right. Due to the fact that he got a new password, I think they did it
exactly that way (LifeCD or boot disc).

There is no official hack to get the password out of the machine. It is
nowhere stored in uncrypted form and the crypting algorithm itself is
not reversable.

0.02$
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Forgotten root password on remote system

2005-08-26 Thread Frank Schafer
IYpi3tbduwbfwm

Such a password can't be cracked by brute force.

... and it's easy to remember.

If Your password is 3 times better, don't use words brute force won't
matter.

I use to use SUCH passwords.

;)


On Fri, 2005-08-26 at 08:46 +, Fernando Meira wrote:
> On 8/26/05, Frank Schafer <[EMAIL PROTECTED]> wrote:
> On Fri, 2005-08-26 at 07:50 +0200, Dirk Heinrichs wrote:
> > Am Donnerstag, 25. August 2005 18:21 schrieb ext Willie
> Wong:
> >
> > > Your best bet is to get someone your trust to boot into
> single for you
> > > and reset the password there.
> >
> > Single wouldn't work, You still get a login: prompt. The
> only ways to get at
> > it are LiveCD or booting with "init=/bin/bash".
> >
> > Bye... 
> >
> >   Dirk
> 
> Right. Due to the fact that he got a new password, I think
> they did it
> exactly that way (LifeCD or boot disc).
> 
> There is no official hack to get the password out of the
> machine. It is 
> nowhere stored in uncrypted form and the crypting algorithm
> itself is
> not reversable.
> 
> Not the best way to do it, but getting the crypted form of the root
> pass and using it for a brute-force attack wouldn't get a good result?
> By good result I mean a positive match within a short period of time!
> Of course I assume for that, that he had an idea of what was the
> password like.. number of characters, use of symbols, and so, so that
> he could apply the attack as nearer of the real pass as possible..
> would this be a possible way to do it?
> 
> 
> 
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Forgotten root password on remote system

2005-08-26 Thread Frank Schafer
On Fri, 2005-08-26 at 09:45 +, Fernando Meira wrote:
> On 8/26/05, Frank Schafer <[EMAIL PROTECTED]> wrote:
> IYpi3tbduwbfwm
> 
> Such a password can't be cracked by brute force.
> 
> ... and it's easy to remember.
> 
> If Your password is 3 times better, don't use words brute
> force won't
> matter.
> 
> Well.. that just depends on how strong the password was! A brute-force
> attack would get there.. sooner or later!! For being sooner than
> later, the idea was to provide the attack with accurate
> characteristics of the password: number of chars, alphanumeric, upper
> and lower-case.. and such things.. 
> 

Hmmm, I think the example password should be strong enough but You are
right. Sooner or later it will come in (if sooner is something amongst
some hundreds of years and later something amongst some thousands ;)
BTW: There isn't only the password. There are log analyzers too.
Let such an analyzer catch auth failure - say 20 times within less than
half an hour - for root remote, then it can block access from this IP,
if it catches local auth failure for root - 20 times within less than
half an hour - it can logaut the user (kill his login shell) and block
the account. Mine does so. Well, in this case the sooner is something
amongst some millions of years and the later something amongst some
trillions.
... but this already goes into the direction of IDS.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Installing on a Mini ATX

2005-08-30 Thread Frank Schafer
Hi all,

I have a Mini ATX board without floppy and CD-ROM. I have a running LFS
installed on this server.
It has a 20GB HDD with 2 partitions and 2 network connections (Ethernet
and WiFi).

Is there some way to copy the LifeCD content to the second partition of
this disk, boot from this partition and install Gentoo on the first
partition?


Thanks in advance
Frank

PS: Well there are 4 partitions, (for boot, swap ans 2 native linux
partitions ;)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installing on a Mini ATX

2005-08-30 Thread Frank Schafer
On Tue, 2005-08-30 at 14:04 +0200, Holly Bostick wrote:
> Frank Schafer schreef:
> > Hi all,
> > 
> > I have a Mini ATX board without floppy and CD-ROM. I have a running LFS
> > installed on this server.
> > It has a 20GB HDD with 2 partitions and 2 network connections (Ethernet
> > and WiFi).
> > 
> > Is there some way to copy the LifeCD content to the second partition of
> > this disk, boot from this partition and install Gentoo on the first
> > partition?
> > 
> > 
> > Thanks in advance
> > Frank
> > 
> > PS: Well there are 4 partitions, (for boot, swap ans 2 native linux
> > partitions ;)
> > 
> 
> If the LFS install is running, you can install Gentoo from within that
> (see the Alternative Installation Guide at
> http://www.gentoo.org/doc/en/altinstall.xml ). In that case, you can
> just download whatever Stage file you need, without need for the LiveCD
> at all.
> 
> Or you could boot the Live CD from a networked machine (I assume you
> have two network cards for a reason, so they must connect to something
> :) ) and run the Live CD from that, I think-- I don't know how to do a
> network install, but I'm sure there must be a way.
> 
> HTH,
> Holly

Nice reading ...

5.8.
... Mount /proc to your diskless directory and chroot into it to
continue with the install.

We are chrooting into /proc ??? ;)

6.
...untar the tarball that is mounted...

We can mount tarballs ??? ;)

So far, so god. Thanks for the replies. Making /mnt/gentoo and mount the
CD via NFS could do the trick.

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-30 Thread Frank Schafer
On Tue, 2005-08-30 at 17:51 -0500, John Jolet wrote:
> On Aug 30, 2005, at 4:57 PM, Christoph Gysin wrote:
> 
> > John Jolet wrote:
> >
> >> yeah, if it's got a firewall disallowing icmp responses.  then you  
> >> can do nmap -P0 to find it.  ping would never find it.  It's gotta  
> >> have SOME port open.
> >>
> >
> > As far as I've read his post, there's no firewall involved. So why  
> > should he do portscans in all hosts on the subnet?
> >
> >
> >> Also, nmap can do os fingerprinting and probably show you which  
> >> one is the solaris or sunos machine...
> >>
> >
> > Sure, but that's not what he's looking for...
> >
> perhaps I read the initial post wrong...I was under the impression  
> that he had a headless sun box with a static ip on a known subnet,  
> but the exact ip wasn't known.

... what about arp?

Just a thought
Frank
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-31 Thread Frank Schafer
If some other machine wants to communicate with some second other
machine ... say secmachine.homenet.com it connects to the DNS server of
homenet.com. (This step won't be done if IP addresses are in use.

The DNS server then sends the IP address to firstmachine.homenet.com or
firstmachine uses the known one.

Next firstmachine will broadcast an "ARP whois ip.of.sec.srv" request.
sec.srv or secmachine will answer with an ARP reply which contains the
IP and the MAC address.

Firstmachine then initiates the communication using this MAC address.

Don't forget. The transport layer is ETHERNET. There don't exist IP
addresses.

Just for clarification.

arp will do exactly this and arpd can even collect such information
because every machine on a subnet will see all of the requests and
replies.

Regards
Frank


On Wed, 2005-08-31 at 05:50 -0500, John Jolet wrote:
> On Aug 31, 2005, at 1:38 AM, Frank Schafer wrote:
> 
> >
> > ... what about arp?
> >
> 
> If this machine has the mac address listed on the outside of the  
> case, or he opens it up to look at the card, sure.  if you don't know  
> what the mac address isthen you're stuck.  Of course, if it's a  
> small, home network, you could always just turn off all the other  
> computers except that one and the one you're on and ask the router  
> who's connected.  be quicker just to launch nmap and go get some coffee.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What is HIGHPTE option in kernel?

2005-08-31 Thread Frank Schafer
On Wed, 2005-08-31 at 23:23 +0800, Ow Mun Heng wrote:
> [quote]
> Allocate 3rd-level pagetables from highmem (HIGHPTE)
> 
> The VM uses one page table entry for each page of physical memory.
> For systems with a lot of RAM, this can be wasteful of precious
> low memory. Setting this option will put user-space page table
> entries in high memory.
> [/quote]
> 
> I have 1.5Gb of RAM, will this be useful for me?
> 
> -- 
> Ow Mun Heng
> Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
> 98% Microsoft(tm) Free!! 
> Neuromancer 23:23:18 up 3:33, 5 users, load average: 0.20, 0.70, 1.11 
> 
> 

No
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] "Copying" between hard drives potential newbie question

2005-09-01 Thread Frank Schafer
On Thu, 2005-09-01 at 18:06 -0500, John Jolet wrote:
> On Thursday 01 September 2005 18:04, Neil Bothwick wrote:
> > On Thu, 1 Sep 2005 22:36:59 +0100, Stuart Howard wrote:
> > > My question :-
> > >
> > > I need to "copy" all from hdb to hda what would be the sugested route?
> >
> > If both drives are the same size
> >
> > dd if=/dev/hdb of=/dev/hda bs=4096
> will that get the mbr, or does he still need to do the grub-install step?
> -- 
> John Jolet
> Your On-Demand IT Department
> 512-762-0729
> www.jolet.net
> [EMAIL PROTECTED]

It will get everything (making a copy of the physical disk surface). Due
to the fact that your machine didn't boot but data is available, I'd
think your old HDD isn't corrupted but the partition for /boot or the
MBR itself.

Try to setup grub for your old HDD too. Maybe you'll have a HDD more
now. ;)

Just a thought
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Make a running process nohup?

2005-09-08 Thread Frank Schafer
On Thu, 2005-09-08 at 10:12 +0800, Ow Mun Heng wrote:
> On Wed, 2005-09-07 at 19:16 +0200, Peter Karlsson wrote:
> > On Wed, 7 Sep 2005, Qiangning Hong wrote:
> > 
> > > Is it possible make a running process nohup so that I can leave it
> > > running after I logout without interrupt it?
> > 
> > man nohup? (+nice/renice?)
> 
> I think you guys missed the point. OP mentioned "Running Process"
> 
> Not sure what disown does since there's no man pages on it. (as
> suggested by Matthew Cline)

$ man bash
+--+
| blah |
| blabla bla blab blabla   |
| ...  |
|/disown   |
+--+

... as mentioned, ``disown'' is a bash builtin ;-p

Regards
Frank

PS: This should do the trick for the initial problem.


> 
> -- 
> Ow Mun Heng
> Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
> 98% Microsoft(tm) Free!! 
> Neuromancer 10:11:16 up 2 days, 40 min, 7 users, load average: 0.74,
> 0.58, 0.78 
> 
> 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] at, batch, atd

2005-09-08 Thread Frank Schafer
Hi list,

does anyone know, in which packages are the commands ``at'', ``batch'',
``atq'', ``atrm'' and the ``atd'' daemon?

Thanks in advance.
Frank

PS: Please don't respond with "Use cron!"

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] at, batch, atd

2005-09-08 Thread Frank Schafer
On Thu, 2005-09-08 at 13:42 +0200, Christoph Gysin wrote:
> Frank Schafer wrote:
> > does anyone know, in which packages are the commands ``at'', ``batch'',
> > ``atq'', ``atrm'' and the ``atd'' daemon?
> 
> Why not try the obvious?
> 

.. because I still haven't Gentoo installed again ;) so I have to search
the "Online Package Database". Searching ``at'' there finds a lot but
not the at package.

> # emerge -avt at
> These are the packages that I would merge, in reverse order:
> 
> Calculating dependencies ...done!
> [ebuild  N] sys-process/at-3.1.8-r11  106 kB
> 
> Christoph
> -- 

Thanks a lot :D
Frank

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] at, batch, atd

2005-09-08 Thread Frank Schafer
On Thu, 2005-09-08 at 13:31 +0100, Michael Kintzios wrote:
> 
> > -Original Message-
> > From: Frank Schafer [mailto:[EMAIL PROTECTED] 
> > Sent: 08 September 2005 12:56
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user] at, batch, atd
> > 
> > 
> > On Thu, 2005-09-08 at 13:42 +0200, Christoph Gysin wrote:
> > > Frank Schafer wrote:
> > > > does anyone know, in which packages are the commands 
> > ``at'', ``batch'',
> > > > ``atq'', ``atrm'' and the ``atd'' daemon?
> > > 
> > > Why not try the obvious?
> > > 
> > 
> > .. because I still haven't Gentoo installed again ;) so I 
> > have to search
> > the "Online Package Database". Searching ``at'' there finds a lot but
> > not the at package.
> 
> You could check out the search field in http://gentoo-portage.com/ to
> see if it is easier to narrow it down to the more relevant packages?
> -- 
> Regards,
> Mick
> 

Searching ``at'' there finds a lot but not the at package. (Using the search 
field)
;)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Acer SmartBattery support

2005-09-09 Thread Frank Schafer
Hi list,

just now my Acer TM2313 is emerging system at home. If I return home
from work I plan to complete the installation.
My question: Is gentoo-sources patched with the acpi_sbs patch or will I
need to get it somewhere and patch it myself?

Googling around I found (on the Gentoo forum ;) that the latest release
is acpi_sbs-20050119. Well I got acpi_sbs-20050120 right now.

The posts on the forum are quite old. The patch is for a linux-2.6.10
kernel. Has anyone experiences with a recent kernel in portage and this
patch?

Thanks in advance
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Frank Schafer
On Fri, 2005-09-09 at 10:34 +0200, pat wrote:
> Hi all,
> 
> I want to update whole my system and all applications. I want this because
> I've changed USE flags and changed available locales for the glibc. I know
> this update can throw me into troubles, but I want to try this :-)
> 
> So, I know the system can be updated by the:
> emerge --update --deep system
> 
> and the the "world" can be updated by the:
> emerge --update --deep wold
> 
> but those two looks simillar to me.
> 
> What I have to do to update everything within my Linux box ???
> 
> Thanks
> 
>  Pat

Hi Pat,

AFAIK it's ``emerge --newuse world'' in the case of a USE flag change.

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update whole system and all applications

2005-09-09 Thread Frank Schafer
On Fri, 2005-09-09 at 12:08 +, Alex wrote:
> On Friday 09 September 2005 08:34, pat wrote:
> > What I have to do to update everything within my Linux box ???
> 
> emerge --update --deep --newuse world
> 
> "--update --deep" will check the whole dependency tree for updates and 
> "--newuse" will include the packages whose USE-flags changed

... due to:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2

# emerge --update --deep --newuse world
# emerge --depclean
# revdep-rebuild

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Nasty bugs in portage?

2005-09-10 Thread Frank Schafer
... or which distribution to install during less than 4 days?

Hi list,

as I wrote yesterday I planned to complete installation after work
(started ``emerge --emptytree system'' in the morning).

When I returned home from work I found in the logs, that ``emerge
--emptytree system'' failed at package 28 of 186

python-fcksum-1.7.1
i386-pc-linux-gnu-gcc bla...bla
 ^
 |
 +- !

gcc-config error:
  could not run/locate "i386-pc-linux-gnu-gcc"

My architecture is i686 and it seems that 27 packages before
python-fchksum found the i686(that's SIX-eight-six)-pc-linux-gnu-gcc.

Could be my fault. I had set up ACCEPT_KEYWORDS to "~x86".

Today in the morning I started up from scratch. That's about an hour of
editing files, making file systems and so on, 1,5 hours of bootstrap.sh.

``emerge -p --emptytree system'' showed me, that it will install
python-fchksum with the ACCEPT_KEYWORDS="x86" too. So far, so good.
Yesterday I got a portage snapshot 20050907, today I got a portage
snapshot 20050908. Maybe the bug is fixed. So I started emerge system.
At least it didn't install two versions of gcc. That saved some time. It
ran 2,5 hours and ...

   ... kabom ...

Unfortunately I can't tell you if the python-fchksum failure has gone
away. I didn't reach this ebuild :(

automake-1.25-r3
  autoconf-2.58 or better is required

That's package 24 of 186 (or so).

Why the hell do we try to install x versions of autoconf and
automake?

So my presumption for the time demand of a Gentoo installation looks
like this.

A breakage will occure every 15'th package (2 breakages during the first
30 within 2 days).

That makes 15 days for a package amount something below 200. (BTW that's
the time it took me to build a full featured LFS system.)
New bugs will occur (I'm seeing this on this list "emerge -u world"
broke this_and_tahat_or_something_else posts, and that for I left gentoo
a year ago.).
If bugs are removed twice as quick as new ones arise I'll need about ONE
MONTH () to get a running system.

This "breaks" even the time demand of installation AND configuration of
a 4 node IBM AIX HCMP cluster!

So which distribution would you suggest me to install during less than 4
days? I'm wondering about Slackware.

I've set up my USE flags to everything I'll want from the final system.
There is a DVD burner so I included everything regarding to CD/DVD, all
af the audio and video codecs, disabled kde and gnome (I'll never use
this), enabled emacs (my favorite editor), bash-completion, xaw3d, all
of the image formats and xinerama, disabled emboss (I don't have a clue
why THIS is a default). There is a sound card so I enabled all audio
related flags. I plan to install Oracle 9i on this machine, thus I
enabled oracle.

Should I start to only disable the things I won't need for the ``emerge
--emptytree sysrem'' and re-edit the USE flags afterward? Hmmm... this
probably doesn't solve the automake problem and disabling python to
solve the python-fchksum problem IMHO isn't a good idea because emerge
and thus gentoo itself is python based.

I'd be glad for every hint. Waiting for fixage isn't an option. 

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-10 Thread Frank Schafer
On Sat, 2005-09-10 at 14:37 -0400, Dave Nebinger wrote:
> > When I returned home from work I found in the logs, that ``emerge
> > --emptytree system'' failed at package 28 of 186
> >
> > python-fcksum-1.7.1
> > i386-pc-linux-gnu-gcc bla...bla
> > ^
> > |
> > +- !
> >
> > gcc-config error:
> >  could not run/locate "i386-pc-linux-gnu-gcc"
> 
> My guess is that during the -emptytree system emergence that gcc was built 
> to target your system.
> 
> Sometimes when this happens the internal build system gets a little confused 
> when it is time to switch over, but this is easily resolved by running the 
> fix_libtool_files.sh script in /sbin.
> 
> You would need to do this when you get errors similar to that listed above.
> 
> The good news is that you'll only need to do this during the beginning when 
> the system is being built from scratch; once you're up and running you 
> normally won't need to do this again.

I don't get You at this point. I'll have to start ''emerge --emptytree
system'', wait until it crashes, run ''fix_libtool_files.sh'' and run
''emerge --emptytree system'' ones more, hoping that it won't crash this
time?

Or should I go to a second virtual console, chroot there too, wait until
gcc was built on the first console and run ''fix_libtool_files.sh'' from
there?

''emerge system'' builds glibc, gcc, gcc-config (yes there is "Switching
native compiler to i686-pc-linux-gnu-3.3.6" in the log) and then the
packages for which the build crashes. How can I run
''fix_libtool_files.sh'' between ONE COMMAND??

> > automake-1.25-r3
> >  autoconf-2.58 or better is required
> >
> > Why the hell do we try to install x versions of autoconf and
> > automake?
> 
> Because packages have individual automake/autoconf version requirements. 
> Each automake/autoconf is slotted, they don't take up much disk, and they're 
> good to have around for a successful emerge.
> 
> > So my presumption for the time demand of a Gentoo installation looks
> > like this.
> >
> > A breakage will occure every 15'th package (2 breakages during the first
> > 30 within 2 days).
> 
> That's an analysis based upon two initial emptytree emerges.  I would expect 
> that for the 200 package estimate that you're using you will probably 
> encounter a total of 4 breaks (I think that's what I had, it was so long 
> ago, but there was one fix_libtool_files.sh run and a couple of changes to 
> /etc/portage/package.keywords to enable ~x86 versions of a few packages 
> where I needed a later version).
> 
> Completing an install in 4 days will not be a problem if you have the time 
> to check on the emerge process every now and then and resolve the minor 
> problems that crop up.
> 
> > So which distribution would you suggest me to install during less than 4
> > days? I'm wondering about Slackware.
> 
> You can still stick with gentoo ;-)
> 
> If you don't have the time to watch over the stage 1 build process, you can 
> jump straight to a stage 3 then update packages from there.
> 

Well, that's the same ads installing Fedora (within 2 hours).

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-10 Thread Frank Schafer
On Sat, 2005-09-10 at 14:26 -0500, John Jolet wrote:
> > > If you don't have the time to watch over the stage 1 build process, you
> > > can jump straight to a stage 3 then update packages from there.
> >
> > Well, that's the same ads installing Fedora (within 2 hours).
> With respect, that is NOT the same as installing fedora.  This laptop has had 
> fedora, suse, mandrake(then mandriva), and now gentoo.  With all but gentoo, 
> in kde, my memory was at 95% utilized, and swap at 10%.  With gentoo, in kde, 
> memory is 46% free and swap 100% free.  The system runs faster, boots faster, 
> and shuts down faster.  I used stage 3 install and built kde with emerge 
> kde-meta (okay, so THAT took 16 hours).  Even starting with a stage 3, this 
> is a better, more responsive system.  And since I built the kernel from 
> source to start with, patching it is easier.  Not saying you shouldn't expect 
> a stage 1 install to work, but even with a stage 3, there's no comparison.
> -- 
> John Jolet
> Your On-Demand IT Department
> 512-762-0729
> www.jolet.net
> [EMAIL PROTECTED]

... what don't solve the problem.

I've filed a bug, which returned as "RESOLVED" because duplicate. Well
the duplicate was python-fchksum related but described something totally
different.

All I want is to Install Gentoo, ... and that crashed two times within
two days within one command.

I CANT RUN fix_libtool_files.sh BETWEEN ONE COMMAND!!!

Even "Ubuntu - Linux for human beings", the system I'm writing this
email from and for which I recognized that
# alias HUMAN_BEING='BFU'
is better than Gentoo just now, ... because it's installable.

:(

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-10 Thread Frank Schafer
On Sat, 2005-09-10 at 12:42 -0700, Justin Patrin wrote:
> On 9/10/05, Frank Schafer <[EMAIL PROTECTED]> wrote:
> > ... or which distribution to install during less than 4 days?
> > 
> > Hi list,
> > 
> > as I wrote yesterday I planned to complete installation after work
> > (started ``emerge --emptytree system'' in the morning).
> > 
> > When I returned home from work I found in the logs, that ``emerge
> > --emptytree system'' failed at package 28 of 186
> > 
> > python-fcksum-1.7.1
> > i386-pc-linux-gnu-gcc bla...bla
> >  ^
> >  |
> >  +- !
> > 
> > gcc-config error:
> >   could not run/locate "i386-pc-linux-gnu-gcc"
> > 
> > My architecture is i686 and it seems that 27 packages before
> > python-fchksum found the i686(that's SIX-eight-six)-pc-linux-gnu-gcc.
> > 
> > Could be my fault. I had set up ACCEPT_KEYWORDS to "~x86".
> 
> That's the first problem. Unless you want to deal with explosions,
> don't set your entire system to be unstable. That's a recipe for
> problems. Leave the global setting at stable. Then, if you need an
> unstable version use /etc/portage/package.keywords to set ~x86 for
> just the package you want to install.
> 
> > 
> > Today in the morning I started up from scratch. That's about an hour of
> > editing files, making file systems and so on, 1,5 hours of bootstrap.sh.
> > 
> > ``emerge -p --emptytree system'' showed me, that it will install
> > python-fchksum with the ACCEPT_KEYWORDS="x86" too. So far, so good.
> > Yesterday I got a portage snapshot 20050907, today I got a portage
> > snapshot 20050908. Maybe the bug is fixed. So I started emerge system.
> > At least it didn't install two versions of gcc. That saved some time. It
> > ran 2,5 hours and ...
> > 
> >... kabom ...
> > 
> > Unfortunately I can't tell you if the python-fchksum failure has gone
> > away. I didn't reach this ebuild :(
> > 
> 
> I suggest starting from a stage3 build. I've installed many stage 3
> builds and it nearly always works with no breakage. Once your minimal
> system up and running (always go for minimal on the initial emerge,
> then boot into your system, then emerge more) then you can easily do
> an emptytree emerge to re-build thingsif you *really* want to. I'm
> of the mind that starting with stage3 is perfectly fine. Eventually
> all of those packages will be updated and recompiled, so there's
> really no reason to do it manually right at the beginning.
> 
> One more thing. What optimization setting(s) are you using?
> 
> -- 
> Justin Patrin
> 

Thanks

CFLAGS="-O2 -march=pentuim2"

But all the way, that emerge builds a package which requires another
which isn't installed - this IS a bug (the autoconf via automake
problem).


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-10 Thread Frank Schafer
On Sat, 2005-09-10 at 15:39 -0400, Dave Nebinger wrote:
> > I don't get You at this point. I'll have to start ''emerge --emptytree
> > system'', wait until it crashes, run ''fix_libtool_files.sh'' and run
> > ''emerge --emptytree system'' ones more, hoping that it won't crash this
> > time?
> 
> No, after the fix_libtool_files.sh run, you do the "emerge --resume" to have 
> it pick up where it left off.
> 

OK, I'll try this if I need it. For now I'm at a point where THIS
probably doesn't help. (Building automake requires an autoconf which
isn't installed.)

> >> > So which distribution would you suggest me to install during less than 
> >> > 4
> >> > days? I'm wondering about Slackware.
> >>
> >> You can still stick with gentoo ;-)
> >>
> >> If you don't have the time to watch over the stage 1 build process, you 
> >> can
> >> jump straight to a stage 3 then update packages from there.
> >>
> >
> > Well, that's the same ads installing Fedora (within 2 hours).
> 
> We as a community do not like to see people abandoning Gentoo for the likes 
> of fedora or slack.
> 
> That said, there are folks for whom the binary distributions are more 
> appropriate than gentoo.  You will lose the fine-grained control over the 
> packages that are installed as well as an in-depth understanding of what 
> linux actually is, and you'll also be tied to their release cycles, etc.
> 
> Gentoo just seems daunting to the uninitiated; once you get the feel for the 
> tools and with the full backing of the community, I think you would find 
> gentoo is just what you're looking for.
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Why gpm?

2005-09-10 Thread Frank Schafer
On Sat, 2005-09-10 at 21:19 +0100, Neil Bothwick wrote:
> On Sat, 10 Sep 2005 19:39:18 +0100, Edward Catmur wrote:
> 
> > I suppose the reason is that when setting up a system on the console, it
> > helps to be able to cut-and-paste text with the mouse. While dhcpcd is
> > useful for servers, it isn't needed during initial setup, whereas gpm
> > is, even if it isn't used after that.
> 
> dhcpcd is the client program too, so it is useful for many people,
> especially those with laptops. however, I was pleased when it was removed
> from system, it is not essential for everyone, and the docs clearly
> mention merging it for those that need it.
> 
> I would say gpm is even less essential, it is useful for some but
> essential for nobody. Having said that, it doesn't appear to be in
> system. It isn't installed on my server (which doesn't have a mouse) and
> in the world file on my desktop, which means I installed it myself.
> 
> Why does the OP think it is part of the base system?
> 
> 
That's a very good question. Having a look at the default USE flags we
can see, that:

emboss 
Adds support for the European Molecular Biology Open Software Suite

is part of the base system too ;)

Well, I have "-emboss" amongst my USE flags in make.conf. I'm not a
biologist.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [WORKAROUNDED]Nasty bugs in portage?

2005-09-11 Thread Frank Schafer
On Sat, 2005-09-10 at 23:03 +0200, Volker Armin Hemmann wrote:
> On Saturday 10 September 2005 20:09, Frank Schafer wrote:
> > ... or which distribution to install during less than 4 days?
> >
> > Hi list,
> >
> > as I wrote yesterday I planned to complete installation after work
> > (started ``emerge --emptytree system'' in the morning).
> >
> 
> where did you get the idea that --emptytree is needed or even a wise decision?
> --emptytree is almost NEVER needed and since it is a troublesom procedure, it 
> should not be made, until you are totally sure, that you need it.
> 
> emerge system
> 
> is all you need to do, to get the base system.
> After that, emerge what you like to have, but NEVER use --emptytree, except 
> when you are able to deal with the consequences.
> 
> Obviously you are not, so do not do it. 
> NO
> 
> 
> was that clear enough?
> 

Yes, that WAS clear enough. So we have an even more nasty documentation
bug in the gentoo installation handbook (it tells to ``emerge
--emptytree system'') and a nasty portage (or was it bootstrap?) bug (it
tells me to be aware, that we need to add -e to emerge system now after
finishing.

> For your gcc-problem, there is the fix script, others mentioned - but a lot 
> of 
> times all that is needed is to run gcc-config to set the correct gcc.

gcc-config ran after the installation. (see in one fo my further posts,
there was the "Native compiler changed to ..." amongst the messages.

I've found (with some help of b.g.o.) that these ARE bugs. Here's the
whole success story.

scripts/bootstrap.sh
#to work around the autoconf dependency bug
emerge --oneshot --nodeps autoconf
emerge --oneshot --nodeps aotoconf-wrapper
#to work around the python-fchksum dependency bug
emerge --oneshot --nodeps python
emerge --emptytree system

No fix_libtool_files.sh necessary. Why? There never was an older version
of gcc.

Some words to the autoconf ... will start a new thread.

So much to the ability.

Frank

PS: You're a German? Probably this is the reason for your arrogance.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Build Problem

2005-09-11 Thread Frank Schafer
On Sun, 2005-09-11 at 15:37 +0200, Greg Armer wrote:
> Greetings list,
> 
> Could anyone explain why 40% of all my emerges fail with this error
> message ?
> 
> gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
> 
> Upon executing this file directly, it returns the exact same message:
> 
> fyre ~ # /usr/bin/i386-pc-linux-gnu-gcc
> gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
> fyre ~ #
> 
> 
> Here is my make.conf file incase this helps:
> 
> fyre ~ # cat /etc/make.conf
> CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
> CHOST="i686-pc-linux-gnu"
> CXXFLAGS="${CFLAGS}"
> USE="gtk gtk2 gnome -qt -kde dvd alsa cdr"
> 
> 
> I have a feeling it has something to do with my CHOST flag, I wonder if
> deleting /usr/bin/i386-pc-linux-gnu-gcc and
> symlinking /usr/bin/i686-pc-linux-gnu-gcc to that filename would work ?
> 
> 
> Thanks for the assistance.
> 

WEll, THIS could be solved using ``fix_libtool_files.sh''. Give it a
shot!

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-12 Thread Frank Schafer
On Sun, 2005-09-11 at 18:38 +0200, Volker Armin Hemmann wrote:
> On Sunday 11 September 2005 08:33, Nick Rout wrote:
> > On Sat, 2005-09-10 at 23:03 +0200, Volker Armin Hemmann wrote:
> > > On Saturday 10 September 2005 20:09, Frank Schafer wrote:
> > > > ... or which distribution to install during less than 4 days?
> > > >
> > > > Hi list,
> > > >
> > > > as I wrote yesterday I planned to complete installation after work
> > > > (started ``emerge --emptytree system'' in the morning).
> > >
> > > where did you get the idea that --emptytree is needed or even a wise
> > > decision? --emptytree is almost NEVER needed and since it is a troublesom
> > > procedure, it should not be made, until you are totally sure, that you
> > > need it.
> >
> > I imagine he read the install instructions, which are pretty clear about
> > doing an
> >
> > emerge --emptytree system
> >
> > What makes you think this is wrong?
> >
> > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6#doc_ch
> >ap2
> >
> > (bottom of the page)
> >
> 
> WRONG
> 
> it is there to show you, what emerge system wants to install. there is 
> nothing 
> about doing it! (Check again, see the -p)
> 
> And in the 2005.1 handbook is no (!) --emptytree.


LOL, LOL, LOL!!
this is cut'n-pasted from the "Gentoo Handbook 6d JUST NOW
snip---
Building the System

To start building the system, execute emerge --emptytree system. Then go
do something to keep your mind busy, because this step takes a long time
to complete.

Code Listing 22: Building the System
# emerge --emptytree system
-snap

LOL, LOL, LOL!!!

You MUST be a German! Not able to read and arrogant (talking about
ability of others)!

0,02$
Frank

PS: and yes, I DID build from stage1 and DID change CFLAGS.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-12 Thread Frank Schafer
On Sun, 2005-09-11 at 19:12 +0200, Volker Armin Hemmann wrote:
> On Sunday 11 September 2005 18:58, Mark Shields wrote:
> > >From http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6:
> >
> > // start quote
> >
> > Building the System
> >
> >  To start building the system, execute emerge --emptytree system. Then
> >  go do something to keep your mind busy, because this step takes a
> > long time to  complete.
> >
> >
> > Code Listing 22: Building the System
> > # emerge --emptytree system
> >
> >
> >
> >  Again, if you haven't touched the default CFLAGS and CXXFLAGS
> > setting, using --newuse is sufficient.
> >
> > //  end quote
> >
> > So you see, it does tell you to do an emerge --emptytree system,
> > unless you haven't changed the defalt CFLAGS/CXXFLAGS, in which case
> > you can just use the --newuse in place of --emptytree.
> 
> 
> and this one:
> http://www.gentoo.org/doc/en/handbook/2005.1/handbook-x86.xml?full=1
> 
> does not talk about --emptytree at all, so which one is correct?
> 
> (btw, when I installed my gentoo --emptytree was totally not needed.)
> 

Then ``emerge system'' didn't replace the packages installed by
``sbin/bootstrap.sh'' with new ones (which are probably built with
different compiler settings).

Frank
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-12 Thread Frank Schafer
On Sun, 2005-09-11 at 23:01 +0100, Neil Bothwick wrote:
> On Sun, 11 Sep 2005 21:16:23 +0200, Holly Bostick wrote:
> 
> > No, Neil, this thread (or the original issue, at least), is occurring
> > during the initial install process:
> 
> Whoops, my mistake. This comes up so often it's easy to get the threads
> muddled up :(
> 
> > So possibly we might consider using our expertise to actually help the
> > guy, in case anyone might happen to know why he's getting this breakage
> > during his inital installation, rather than arguing about whether he
> > should be using --emptytree or not,
> 
> Hasn't this already been covered early in the thread? Run fix_libtool.sh
> to fix the error then do emerge --resume to carry on.
> 
> 

If I get it right ``fix_libtool_files.sh'' corrects the settings for
libtool according to the native compiler if gcc has changed. During a
native install there isn't an older version of gcc. So this should be
(and was) the wrong answer.

Regards and thanks for all the tries to help me
Frank

PS: see the [WORKAROUNDED] post
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Why autoconf?

2005-09-12 Thread Frank Schafer
Hi list,

I've some suggestions. Having taken the burden of initial installation I
wonder:

Why the hick are there so much versions of autoconf (in system)? Well,
somewhere in the [Nasty bug..] thread someone (again) mentioned, that
different packaged depend on different versions of autoconf. That's NOT
the truth for building a package.

Autoconf and automake provide tools to CREATE configure scripts. They
are completely unnecessary to BUILD or RUN the packages. I've built a
full featured LFS system some time ago without autoconf and automake
installed at all.

It is a good thing to have all these versions in portage for the case
someone wants to involve in development of a package, which will be
based on some version of the autoconf/automake double but IMHO they
shouldn't be part of system and if, then only one (the latest stable ;)
version.

What you about this?
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-12 Thread Frank Schafer
On Mon, 2005-09-12 at 08:33 +0100, Neil Bothwick wrote:
> > If I get it right ``fix_libtool_files.sh'' corrects the settings for
> > libtool according to the native compiler if gcc has changed. During a
> > native install there isn't an older version of gcc. So this should be
> > (and was) the wrong answer.
> 
> Fair comment, but emerge --resume is still important. your original post
> seemed to assume that after fixing the problem, you'd have to run emerge
> --emptytree again, which is not the case. It is annoying to have to stop
> the process to fix something, but not so nearly annoying as if you have
> to start over.
> 
> 
That's very right and we should be glad to have this switch :)

I did a lot of experiments on saturday and yesterday. So I decided to
make the whole procedure (starting with making the filesystems) what
took about 10 minutes and then:

``scripts/nootstrap.sh && touch /var/log/portage/bootstrap && emerge
--oneshot --nodeps autoconf && emerge --oneshot --nodeps
autoconf-wrapper && emerge --oneshot --nodeps python &&
touch /var/log/portage/bugworkaround && emerge --emptytree system''

After firing up this command I went to sleep. If the comp works hard
meanwhile I'm having sweet dreams about my pets ... this don't hurt so
much ;)

In the morning the system was up and ``ls -ltr /var/log/portage'' showed
me that it took something about 5 hours.

Thanks for your assistence
Frank

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Portage logs

2005-09-12 Thread Frank Schafer
Hi list,

I'm just wondering about the manner portage manages it log files.

It's a very good idea to have 2 logs for each package (one with each end
every line of the make output and one with the messages of the package
for the installer).

I'm wondering why there are these 4 digit numbers in front of the name
of each log file. This makes it hard to find the log for a single
package by name.

What about changing the logfile names to:
package-version.log
package-version.msg?

A simple ``ls'' then will show the logs in alphabetical order making it
easier to find a single one.
A ``ls -tr'' will show the logs in chronological order. To see in which
order the packages were built, rebuilt ..., how long did it take to
build a package and so on.

What you about this?

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to display one X app to more than one X server simultaneously

2005-09-12 Thread Frank Schafer
On Mon, 2005-09-12 at 16:10 +0800, Bobber Cheng wrote:
> Hi,
> 
> I know how to display X one app to a remote X server, but what if I want 
> to display one app to two remote X servers simultaneously? e.g. I want 
> to diplay oowrite on my machine(192.168.18.2) to two remote X servers 
> (192.168.18.8 and 192.168.18.9) and my own X server.
> 

Maybe VNC is an option?

Just a thought.
Frank

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Portage logs

2005-09-12 Thread Frank Schafer
On Mon, 2005-09-12 at 16:18 +0800, Ow Mun Heng wrote:
> 
> > -Original Message-
> > From: Frank Schafer [mailto:[EMAIL PROTECTED]
> > I'm wondering why there are these 4 digit numbers in front of the name
> > of each log file. This makes it hard to find the log for a single
> > package by name.
> 
> I could be wrong but it could be the PID of the emerge process.
> 

Maybe ;) but I didn't want to ask where these numbers come from but to
suggest to not have them in the name of the logfile.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage logs

2005-09-12 Thread Frank Schafer
On Mon, 2005-09-12 at 09:37 +0100, Neil Bothwick wrote:
> On Mon, 12 Sep 2005 10:02:21 +0200, Frank Schafer wrote:
> 
> > I'm wondering why there are these 4 digit numbers in front of the name
> > of each log file. This makes it hard to find the log for a single
> > package by name.
> 
> Maybe some internal feature of portage?
> 
> > What about changing the logfile names to:
> > package-version.log
> > package-version.msg?
> 
> I like the idea of giving the two logs different names, it would make
> parsing this information with a script much easier. You'd still need some
> sort of unique identifier in the names, because you could merge the same
> package version more than once. But naming the files .log and .msg would
> at least allow the same identifier for both files for the same merge.
> 
> 
I wondered about this myself meanwhile. If the rebuild is caused by an
``emerge --sync && emerge -u world``, we have a new version number. If
the rebuild is caused by a USE flag change, I'd go the way I do if I
change configuration files:

mv package.version.log package.version.log.OLD
mv package.version.msg package.version.msg.OLD
emerge package
if [ emerge fails ]; then
luckily we have the build log of the still installed package
else
rm *.OLD
We don't need install logs of packages which aren't installed, do we?
fi

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-12 Thread Frank Schafer
On Mon, 2005-09-12 at 11:12 +0200, Michael Schreckenbauer wrote:
> Am Montag, 12. September 2005 08:56 schrieb Frank Schafer:
> > On Sun, 2005-09-11 at 18:38 +0200, Volker Armin Hemmann wrote:
> > > And in the 2005.1 handbook is no (!) --emptytree.
> >
> > LOL, LOL, LOL!!
> > this is cut'n-pasted from the "Gentoo Handbook 6d JUST NOW
> 
> The 2005.1 Handbook, which Volker referes to,  has no Section 6d.
> http://www.gentoo.org/doc/en/handbook/2005.1/handbook-x86.xml?part=1&chap=6
> 
> > snip---
> > Building the System
> >
> > To start building the system, execute emerge --emptytree system. Then go
> > do something to keep your mind busy, because this step takes a long time
> > to complete.
> > Code Listing 22: Building the System
> > # emerge --emptytree system
> > -snap
> 
> You are reading the "Gentoo Linux x86 Handbook"
> (http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6),
> which is a different one.
> 
> > LOL, LOL, LOL!!!
> > You MUST be a German! Not able to read and arrogant (talking about
> > ability of others)!
> 
> In fact YOU did not read Volkers post carefully. Now call me arrogant, cause 
> I 
> am german too. Even worse, I am bavarian :)
> 
> > 0,02$
> > Frank
> >
> > PS: and yes, I DID build from stage1 and DID change CFLAGS.
> 
> Did you change the CFLAGS after bootstrapping? If not, there is no need for 
> --emptytree. The CFLAGS you set for bootstrap ARE your default CFLAGS.
> I always do stage1 installs. I even do the bootstrap ~x86. I never ever used 
> --emptytree when emerging the system.
> 
> Regards,
> Michael
> 

B. bavarian ;)
BTW: I'm a hmmm, living in ... see the email

As I mentioned, I've changed nearly everything experimenting to get the
install and then ...
see my [WORKAROUNDED] post.

Regards
Frank

PS: Volker simply made me a bit angry calling me unable. I'm a UNIX
programmer / system administrator since 15 years. Xcuse me.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Building Xorg - internal compiler error: segmentation fault

2005-09-12 Thread Frank Schafer
Hi all,

so I hit this bug too. :( Well, the log itself says it's a bug and (even
worse) that nobody knows where it comes from.

Somebody on b.g.o. suggests to try building with a vanilly kernel. Did
someone here make the same experience and if yes, will it run then on a
gentoo-kernel?

Thanks for any hint
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage logs

2005-09-12 Thread Frank Schafer
On Mon, 2005-09-12 at 21:25 +1200, Nick Rout wrote:
> On Mon, September 12, 2005 8:02 pm, Frank Schafer said:
> > Hi list,
> >
> > I'm just wondering about the manner portage manages it log files.
> >
> > It's a very good idea to have 2 logs for each package (one with each end
> > every line of the make output and one with the messages of the package
> > for the installer).
> >
> > I'm wondering why there are these 4 digit numbers in front of the name
> > of each log file. This makes it hard to find the log for a single
> > package by name.
> >
> 
> it keeps them in time order

My idea is that the time is in order with ``ls -tr'' and the alphabet is
in order with ``ls''.

> 
> try find or ls|grep
> 
That's fine if I know the exact package name and spelling. Reading an
ordered list makes this unnecessary.


> > What about changing the logfile names to:
> > package-version.log
> > package-version.msg?
> >
> > A simple ``ls'' then will show the logs in alphabetical order making it
> > easier to find a single one.
> > A ``ls -tr'' will show the logs in chronological order. To see in which
> > order the packages were built, rebuilt ..., how long did it take to
> > build a package and so on.
> >
> > What you about this?
> >
> > Regards
> > Frank
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage logs

2005-09-12 Thread Frank Schafer
On Mon, 2005-09-12 at 21:55 +1200, Nick Rout wrote:
> On Mon, September 12, 2005 9:35 pm, Frank Schafer said:
> > On Mon, 2005-09-12 at 21:25 +1200, Nick Rout wrote:
> >> On Mon, September 12, 2005 8:02 pm, Frank Schafer said:
> >> > I'm wondering why there are these 4 digit numbers in front of the name
> >> > of each log file. This makes it hard to find the log for a single
> >> > package by name.
> >> >
> >>
> >> it keeps them in time order
> >
> > My idea is that the time is in order with ``ls -tr'' and the alphabet is
> > in order with ``ls''.
> >
> 
> this is not the forum for seeking to change the way gentoo works, the devs
> don't really inhabit this list. Try gentoo-dev :-)
> 

thanks :)

> >>
> >> try find or ls|grep
> >>
> > That's fine if I know the exact package name and spelling. Reading an
> > ordered list makes this unnecessary.
> >
> >
> >> > What about changing the logfile names to:
> >> > package-version.log
> >> > package-version.msg?
> >> >
> 
> I have emerged (for example) the same version of mplayer with different
> use flags until I got it how I wanted it, your system does not allow for
> this.
> 

See another of my posts in this thread.

> >> > A simple ``ls'' then will show the logs in alphabetical order making
> >> it
> >> > easier to find a single one.
> >> > A ``ls -tr'' will show the logs in chronological order. To see in
> >> which
> >> > order the packages were built, rebuilt ..., how long did it take to
> >> > build a package and so on.
> >> >
> 
> 
> genlop -t tells  you how long the ebuild took. as in "genlop -t mplayer"
> 

I decline to install a bunch of gen* tools which simply duplicate the
functionality of UNIX commands (like ls in this case) ;p


> Just think about this: every other log file in the system is ordered by
> date & time :-)

Right in the looking in the syslog I'm seeng events in the order they
occured in one file. Here we have a couple of logs which I'd like to
find quickly by name/time (due to the question I ask and UNIX has a tool
for this already) which content is again chronological.

> 
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Building Xorg - internal compiler error: segmentation fault

2005-09-12 Thread Frank Schafer
On Mon, 2005-09-12 at 11:44 +0200, Christoph Gysin wrote:
> Frank Schafer wrote:
> > so I hit this bug too. :( Well, the log itself says it's a bug and (even
> > worse) that nobody knows where it comes from.
> > 
> > Somebody on b.g.o. suggests to try building with a vanilly kernel. Did
> > someone here make the same experience and if yes, will it run then on a
> > gentoo-kernel?
> 
> Reproducible? Always at the same location?
> 
> If it segfaults randomly, try to check for bad memory.
> 
> Christoph
> -- 
> echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]

This is a well known bug. The log itself says, that it isn't
reproducible (means the crash is for everyone in some file and then
stable at the same point).

b.g.o. isn't accessible right now so I can't send you the output. For me
it crashes at sis301_init.c.

Well for me it is reproducible. I only need to emerge Xorg :(

BTW: The comp is brand new.

I built a minimal system (91 packages)

My further plans:
Build X without all the dri, glx, ... and if this succeeds add features
until it crashes again to see which component causes this.

If even building plain X fails I'll try a kernel from kernel.org, then
maybe other versions of GCC. 

We'll see
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage logs

2005-09-12 Thread Frank Schafer
On Mon, 2005-09-12 at 22:59 +1200, Nick Rout wrote:
> On Mon, September 12, 2005 10:24 pm, Frank Schafer said:
> > On Mon, 2005-09-12 at 21:55 +1200, Nick Rout wrote:
> >> On Mon, September 12, 2005 9:35 pm, Frank Schafer said:
> >> > On Mon, 2005-09-12 at 21:25 +1200, Nick Rout wrote:
> >> >> On Mon, September 12, 2005 8:02 pm, Frank Schafer said:
> >> I have emerged (for example) the same version of mplayer with different
> >> use flags until I got it how I wanted it, your system does not allow for
> >> this.
> >>
> >
> > See another of my posts in this thread.
> >
> >> >> > A simple ``ls'' then will show the logs in alphabetical order
> >> making
> >> >> it
> >> >> > easier to find a single one.
> >> >> > A ``ls -tr'' will show the logs in chronological order. To see in
> >> >> which
> >> >> > order the packages were built, rebuilt ..., how long did it take to
> >> >> > build a package and so on.
> >> >> >
> >>
> >>
> >> genlop -t tells  you how long the ebuild took. as in "genlop -t mplayer"
> >>
> >
> > I decline to install a bunch of gen* tools which simply duplicate the
> > functionality of UNIX commands (like ls in this case) ;p
> 
> perhaps you ought to learn how to use grep or find. People write tools for
> you, you are free to use them or futz around doing your own thing.
> 

I see you didn't read the whole thread. The only thing I had to learn
(my own futz) is ``ls'' in this case. (see 7 lines above)

> The system works well for many people. But this is linux, change portage
> on your system to log differently and then submit a patch to bugzilla. Or
> just
> submit the idea to bugzilla. Don't forget to include a way to fix the 3 or
> more years of log files in /var/log/portage. Don't forget to make out a
> really good justification because otherwise the devs will think you are
> just a moaner.

There shouldn't be more logs than we have actually packages installed.
The log for the installation of the version of (say) python I had
installed 3 years ago isn't worth anything. (Me to say) A successful
installation of a new version of a package can safely overwrite the old
log because IMHO nobody needs the installation logs of not installed
software.

> >
> >
> >> Just think about this: every other log file in the system is ordered by
> >> date & time :-)
> >
> > Right in the looking in the syslog I'm seeng events in the order they
> > occured in one file. Here we have a couple of logs which I'd like to
> > find quickly by name/time (due to the question I ask and UNIX has a tool
> > for this already) which content is again chronological.
> >
> 
> what the hell are you trying to find? If it is the log for package foo,
> simply find the file with "foo" in the name in /var/log/portage.
> 

... Which is much easier in an alphabetical ordered list.

> >>
> 
Xcuse me that I'm trying to involve.
F.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] glib with nptl

2005-09-12 Thread Frank Schafer
On Mon, 2005-09-12 at 11:48 +0100, Jorge Almeida wrote:
> I added nptl to my USE variables and tried to emerge glib.
> 
>   checking whether to compile timeloop... yes
>   checking if building for some Win32 platform... no
>   checking for thread implementation... posix
>   checking thread related cflags... -D_REENTRANT
>   checking for pthread_create/pthread_join... no
>   checking for pthread_create/pthread_join in -lpthread... no
>   checking for pthread_create/pthread_join in -lpthread32... no
>   checking for pthread_create/pthread_join in -lpthreads... no
>   checking for pthread_create/pthread_join in -lthread... no
>   checking for pthread_create/pthread_join in -ldce... no
>   configure: error: I can't find the libraries for the thread 
> implementation
>   posix. Please choose another thread implementation or
>   provide information on your thread implementation.
>   You can also run 'configure --disable-threads'
>   to compile without thread support.
> 
>   !!! Please attach the config.log to your bug report:
>   !!! /var/tmp/portage/glib-2.6.5/work/glib-2.6.5/config.log
> 
>   !!! ERROR: dev-libs/glib-2.6.5 failed.
>   !!! Function econf, Line 485, Exitcode 0
>   !!! econf failed
>   !!! If you need support, post the topmost build error, NOT this status 
> message.
> 
> The relevant line of /var/tmp/portage/glib-2.6.5/work/glib-2.6.5/config.log:
>   $ ./configure --prefix=/usr --host=i686-pc-linux-gnu 
> --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
>   --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu 
> --with-threads=posix --disable-static --enable-gtk-doc
> 
> It seems that "nptl" is not being taken into account. Is this normal for
> glib? If so, what can I do to provide the missing libraries?
> 
> (I know my system is somewhat broken, I'm just trying to fix it be
> emerging some packages I suppose might be relevant...)
> 
> -- 
> Jorge Almeida

Did you an ``emerge --newuse world'' before you tried to install further
packages?

Just a thought. I think I've seen nptl mentioned in the installation log
of glibc. What if glibc don't know about this?

Frank

PS: I could be wrong. Don't have a gentoo installation accessible right
now.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-13 Thread Frank Schafer
On Mon, 2005-09-12 at 18:31 -0400, Dave Nebinger wrote:
> > If I get it right ``fix_libtool_files.sh'' corrects the settings for
> > libtool according to the native compiler if gcc has changed. During a
> > native install there isn't an older version of gcc. So this should be
> > (and was) the wrong answer.
> 
> Incorrect.  The stage 1 install starts with a generic 386 version of gcc 
> and, when re-emerging the system, the version of gcc targeted for your 
> system is built.  So yes, there is an older version of gcc that did change 
> and yes, it probably would have resolved the issue that you previously 
> posted.
> 
It didnt.

The sequence:
scripts/bootstrap.sh && emerge --oneshot --nodeps autoconf && emerge
--oneshot --nodeps automake && emerge --oneshot --nodeps python &&
emerge --emptytree system

did resolve it.

Regards

PS: The bugs were even known in b.g.o. but this site is often
unaccessible for me. Dunno why it timeouts so often.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage logs

2005-09-13 Thread Frank Schafer
On Tue, 2005-09-13 at 11:20 +1200, Nick Rout wrote:
> On Mon, 12 Sep 2005 13:38:41 +0200
> Frank Schafer wrote:
> 
> > There shouldn't be more logs than we have actually packages installed.
> > The log for the installation of the version of (say) python I had
> > installed 3 years ago isn't worth anything. (Me to say) A successful
> > installation of a new version of a package can safely overwrite the old
> > log because IMHO nobody needs the installation logs of not installed
> > software.
> 
> It does provide some useful functionality IMHO, (and obviously in the
> NSHO of the designer of the logging system.)
> 
> I quite _like_ to see when i first installed mplayer, what versions i
> had installed at certain times, how long it will take to emerge (averaged 
> over all the times I have previously emerged it). I
> particularly like being able to pipe emerge -puD world into genlop -p
> and find out how long a whole lot of ebuilds is likely to take.
> 
> 
> -- 
> Nick Rout <[EMAIL PROTECTED]>
> 

O.K. if you want to se all of this fo years, maybe you're glad enough to
own a n at least some TB disk array. ;)
After emerging of a minimal system (91 packages during semrge system)
the content of /var/log/portage takes 250MB.

Due to the wanna know how long does it take ...
``ls'' is your friend.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Building Xorg - internal compiler error: segmentation fault

2005-09-13 Thread Frank Schafer
On Mon, 2005-09-12 at 21:05 -0300, Robin wrote:
> I segment faults randomly when emerging packages... and I know it
> is bad ram... so I would advise you to test it... :)
> 
> Regards.

... see b.g.o. It happens often (if it happens) for everybody somewhere
else and for one person every time at the same line of code.

My question was if someone has some experiences with the suggestion at
b.g.o. (try a vanilla kernel)

It is likely to be the truth. Gentoo heavily patches and patches could
introduce a bug too. I had the time to emerge vanilla-sources yesterday
and seen, that even that is patched. I'll take a kernel from kernel.org.

You did read my initial post, did you?

> 
> On 9/12/05, Frank Schafer <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > 
> > so I hit this bug too. :( Well, the log itself says it's a bug and (even
> > worse) that nobody knows where it comes from.
> > 
> > Somebody on b.g.o. suggests to try building with a vanilly kernel. Did
> > someone here make the same experience and if yes, will it run then on a
> > gentoo-kernel?
> > 
> > Thanks for any hint
> > Frank
> > 
> > --
> > gentoo-user@gentoo.org mailing list
> > 
> >
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage logs

2005-09-13 Thread Frank Schafer
On Tue, 2005-09-13 at 12:31 +0100, Neil Bothwick wrote:
> On Tue, 13 Sep 2005 12:59:53 +0200, Frank Schafer wrote:
> 
> > O.K. if you want to se all of this fo years, maybe you're glad enough to
> > own a n at least some TB disk array. ;)
> > After emerging of a minimal system (91 packages during semrge system)
> > the content of /var/log/portage takes 250MB.
> 
> Which is easier? For you to create a script to delete all old logfiles in
> here, or for someone who needs them to write a script to recover them
> after your proposed method deletes them?
> 
> Alternatively, you could have a cron job that gzips them, reducing the
> size by around 90%.
> 
> > Due to the wanna know how long does it take ...
> > ``ls'' is your friend.
> 
> genlop doesn't even need per-package logging to $PORT_LOGDIR, and it

So genlop isn't a reason to not change the names of the log files, is
it?

Both type of user could be happy. Th one, which uses a bunch of nifty
tools and the one who uses UNIX commands (hmmm... nifty tools too ;)

> saves on the mental arithmetic. Personally, I prefer to let the computer
> do the work whenever possible. It's why I bought it.
> 
> 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] xorg.conf options

2005-09-27 Thread Frank Schafer
Hi,

has anyone here a link to some HOWTO, README, ... or something similar
which describes all of the possible options for xorg.conf.

Seems ``man 5 xorg.conf'' explains 20% of them, or so.

Regards
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] xorg.conf options

2005-09-27 Thread Frank Schafer
That's exactly what I did. No mouse wheel, no Xinerama, ... all of them
one find in some specialized 3'rd party docs.

I wonder if there is some complete all-in-one-place documentation for
this file. The manual for xfree86.conf is more complete. There is much
more documentation for Xfree86 than for Xorg on their web sites.

Just a thought.
Frank


On Tue, 2005-09-27 at 19:23 +0800, glumtail wrote:
> Dear Frank:
> 
> Why not try xorgconfig or xorgcfg to create one for you and then
> modify something really needed ?
> I think everyone have no more than x.org.
> 
> On 9/27/05, Frank Schafer <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > has anyone here a link to some HOWTO, README, ... or something similar
> > which describes all of the possible options for xorg.conf.
> >
> > Seems ``man 5 xorg.conf'' explains 20% of them, or so.
> >
> > Regards
> > Frank
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unable to execute i386-pc-linux-gnu-gcc

2005-10-02 Thread Frank Schafer
Maybe it's fixed. I had exactly the same problem during the installation
of python-fchksum. This is on b.g.o. too and we discussed this on
gentoo-dev a while ago. Python had the compiler it is built with hard
coded and python-fchksum was built before Python during ``emerge
system''.

I had to ``emerge --oneshot python'' before ``emerge system''. If it
works without this trick, let's hope this dependency bug is fixed now.

Regards
Frank


On Sat, 2005-10-01 at 18:37 -0400, Brett I. Holcomb wrote:
> Well, I did an emerge --emptytree system today and it all of them worked - 
> no errors.  I guess the emerge system put whatever was needed in place 
> although I do not have an i386 directory.  I was already to try your fix! 
> I'll file it for future reference.
> 
> 
>   On Sat, 1 Oct 2005, 
> [EMAIL PROTECTED] wrote:
> 
> >
> > Am 1.10.2005 schrieb "Brett I. Holcomb" <[EMAIL PROTECTED]>:
> >
> >> I'm installing from a stage 1 on 2005.0 LiveCD.  I did the boot strap and
> >> a now am doing the emerge --emptytree system stage.  However, I keep
> >> getting this error on python-fchksum AND files.
> >>
> >> unable to execute i386-pc-linux-gnu-gcc: No such file or directory
> >> error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1
> >>
> >
> > I had the same error here recently. I solved it by symlinking the missing
> > i386 stuff to the i686 pendants. Right now I have no access to the
> > machine where the probleme arose but IIRC I just compared the folder
> > structures of i386 with i686 and filled in the blanks so to say.
> >
> >> Checking Bugzilla showed some bugs on this but the hints given did not
> >> work - I still get the error.  That bug was marked a duplicate of another
> >> that had a long discussion on dependencies but no help on fixing it.
> >>
> >> I have not touched CHOST it is still CHOST="i686-pc-linux-gnu"
> >>
> >> Any ideas on how to fix this?
> >>
> >>
> >> --
> >>
> >> Brett I. Holcomb
> >> [EMAIL PROTECTED]
> >> Registered Linux User #188143
> >> Remove R777 to email
> >> --
> >> gentoo-user@gentoo.org mailing list
> >>
> >
> >
> 
> -- 
> 
> Brett I. Holcomb
> [EMAIL PROTECTED]
> Registered Linux User #188143
> Remove R777 to email
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Get those strange questions ready...

2005-10-03 Thread Frank Schafer
This will be the Gentoo -> Genux equivalent to the Fedora -> Redhat ?

Sounds impressive.

On Mon, 2005-10-03 at 14:44 -0400, Dave Nebinger wrote:
> Because gen-ux is temporarily offering free Gentoo support (thanks slashdot
> for the heads-up).
> 
> 
> http://www.gen-ux.com/node/16
> 
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gcc-config error / fix_libtool_files trouble

2005-10-06 Thread Frank Schafer
If your Python was built with i386-pc-linux-gnu-gcc, try re-emerging
Python.
Python has the compiler it was built with hard coded as the compiler to
use.

Regards
Frank


On Thu, 2005-10-06 at 11:05 +0200, Christian Fischer wrote:
> Hi all.
> 
> I've some trouble with emerging dev-python/pyopengl.
> I get "gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
> 
> I've done the following:
> 
> # gcc-config -l 
>  [1] i686-pc-linux-gnu-3.3.6 *
>  [2] i686-pc-linux-gnu-3.3.6-hardened
>  [3] i686-pc-linux-gnu-3.3.6-hardenednopie
>  [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
>  [5] i686-pc-linux-gnu-3.3.6-hardenednossp
> 
> # fix_libtool_files.sh 3.3 --oldarch i386-pc-linux-gnu
> * Scanning libtool files for hardcoded gcc library paths...
>  *   [1/6] Scanning /lib ...
>  *   [2/6] Scanning /usr/lib ...
>  * FIXING: /usr/lib/libkwmf.la ...[]
> [...]
> *   [3/6] Scanning /usr/i386-pc-linux-gnu/lib ...
> *   [4/6] Scanning /usr/kde/3.4/lib ...
> FIXING: /usr/kde/3.4/lib/libkabc_ldapkio.la ...[]
> [...]
> *   [5/6] Scanning /usr/local/lib ...
> *   [6/6] Scanning /usr/qt/3/lib ...
> 
> # env-update && source /etc/profile
> 
> But that don't help.
> 
> # emerge dev-python/pyopengl
> [...]
> SWIG Version 1.3.21
> Copyright (c) 1995-1998
> University of Utah and the Regents of the University of California
> Copyright (c) 1998-2003
> University of Chicago
> Compiled with g++ [i686-pc-linux-gnu]
> [...]
> running build_py
> i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 
> -march=pentium3 -fomit-frame-pointer -pipe -fPIC -DGLX_PLATFORM 
> -I/usr/include -I/usr/local/include -I/usr/X11R6/include 
> -I/usr/lib/tk8.4/include -Isrc/gle/src -I/usr/include/python2.3 -c 
> _configtest.c -o _configtest.o
> gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
> [...]
> 
> Please can you give me some hints how to solve this problem?
> 
> Christian
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] oops with 2.6.13-gentto-r3

2005-10-09 Thread Frank Schafer
On Sat, 2005-10-08 at 22:37 -0400, Allan Gottlieb wrote:
> I just emerged gentoo-sources and obtained 2.6.13-gentoo-r3.
> I copied over my .config from linux-2.6.12-gentoo-r10 then executed
> 
> make
> make install#I don't have any modules

make mrproper
cp /path/to/your/old/config .config
make oldconfig
make
make install

> 
> When I booted an oops occurred, the output of dmsg is attached
> as is my .config.
> 
> The .config contains two variables not use in 2.6.13.  I am fairly
> sure no harm is done leaving the variables there, but I did a run with
> them removed and an oops still occurred.
> 
> I think my .config is fairly vanilla.  I do have an SMT intel
> processor (dell 5150--/proc/cpuinfo is below).
> 
> [EMAIL PROTECTED] ~ $ gcc --version
> gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
> 
> [EMAIL PROTECTED] ~ $ /sbin/lspci
> :00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV 
> Processor to I/O Controller (rev 02)
> :00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV 
> Processor to I/O Controller (rev 02)
> :00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV 
> Processor to I/O Controller (rev 02)
> :00:01.0 PCI bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV 
> Processor to AGP Controller (rev 02)
> :00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM 
> (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
> :00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM 
> (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
> :00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM 
> (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
> :00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 
> EHCI Controller (rev 01)
> :00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
> :00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface 
> Bridge (rev 01)
> :00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE 
> Controller (rev 01)
> :00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM 
> (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
> :00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) 
> AC'97 Modem Controller (rev 01)
> :01:00.0 VGA compatible controller: nVidia Corporation NV34M [GeForce FX 
> Go5200] (rev a1)
> :02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 
> 01)
> :02:02.0 Network controller: Broadcom Corporation BCM4309 802.11a/b/g 
> (rev 02)
> :02:04.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus 
> Controller (rev 02)
> :02:04.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 
> Controller
> 
> Any help would be appreciated.
> thanks,
> allan
> 
> plain text document attachment (oops), "dmesg output"
> Linux version 2.6.13-gentoo-r3 ([EMAIL PROTECTED]) (gcc version 3.3.6 (Gentoo 
> 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)) #1 SMP Sat Oct 8 22:19:26 EDT 2005
> BIOS-provided physical RAM map:
>  BIOS-e820:  - 0009f000 (usable)
>  BIOS-e820: 0009f000 - 000a (reserved)
>  BIOS-e820: 0010 - 3ffcf800 (usable)
>  BIOS-e820: 3ffcf800 - 4000 (reserved)
>  BIOS-e820: fec0 - fec2 (reserved)
>  BIOS-e820: feda - fee1 (reserved)
>  BIOS-e820: ffb0 - 0001 (reserved)
> 127MB HIGHMEM available.
> 896MB LOWMEM available.
> On node 0 totalpages: 262095
>   DMA zone: 4096 pages, LIFO batch:1
>   Normal zone: 225280 pages, LIFO batch:31
>   HighMem zone: 32719 pages, LIFO batch:15
> DMI 2.3 present.
> ACPI: RSDP (v000 DELL  ) @ 0x000fdea0
> ACPI: RSDT (v001 DELLCPi R   0x27d40c0a ASL  0x0061) @ 0x3fff
> ACPI: FADT (v001 DELLCPi R   0x27d40c0a ASL  0x0061) @ 0x3fff0400
> ACPI: MADT (v001 DELLCPi R   0x27d40c0a ASL  0x0047) @ 0x3fff0c00
> ACPI: BOOT (v001 DELLCPi R   0x27d40c0a ASL  0x0061) @ 0x3fff07c0
> ACPI: DSDT (v001 INT430 SYSFexxx 0x1001 MSFT 0x010e) @ 0x
> ACPI: Local APIC address 0xfee0
> ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> Processor #0 15:2 APIC version 20
> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
> Processor #1 15:2 APIC version 20
> ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
> ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
> ACPI: IOAPIC (id[0x02] address[0xfec0] gsi_base[0])
> IOAPIC[0]: apic_id 2, version 32, address 0xfec0, GSI 0-23
> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
> ACPI: IRQ0 used by override.
> ACPI: IRQ2 used by override.
> ACPI: IRQ9 used by override.
> Enabling APIC mode:  Flat.  Using 1 I/O APICs
> Using ACPI (MADT) for SMP configuration information
> Allocating PCI resources starting at 4000 (gap: 4000:bec

Re: [gentoo-user] struggling with dri

2005-10-10 Thread Frank Schafer
On Mon, 2005-10-10 at 10:13 +0200, Fernando Meira wrote:
> On 10/10/05, Ow Mun Heng <[EMAIL PROTECTED]> wrote:
> On Sun, 2005-10-09 at 22:44 +0200, Fernando Meira wrote:
> 
> >
> > Section "dri"
> >Mode 0666
> > EndSection
> 
> 
> Please check if permissions of /dev/dri/cardX is really 0666.
> 
> Mine has to be changed.
> 
> Yes, they were not 0666 but instead 0660. I changed them, rebooted,
> and they're back to 0660 :(

If you are running udev, make your (user) udev.rules file do make the
permissions permanent.


> Anyway, I don't think it is a permissions problem, because I get the
> same result if I run glxinfo with root... or is it?
> Also, I did not emerge x11-drm, the howto said that it was not
> necessary (even un-supported) with kernel 2.6.. can this be a problem?
> 
> TIA,
> Fernando
> 
> 
> 
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how create perment mknod

2005-10-14 Thread Frank Schafer
Add the device to your udev.rules

Regards
Frank

On Thu, 2005-10-13 at 22:53 +0600, Gentoo Shadow wrote:
> dear friends,
> 
> i could connect my huawei fwt usb modem by compiling ti_usb_3410_5052
> module. so now i need to create a perment link on /dev folder so how
> can i do it?
> 
> mknod /dev/ttyUSB0 c 188 0 [create tempory nod, how to create perment
> nod?]
> 
> 
> -- 
> ...
> "The future lies ahead."
> ___
> < Have you mooed today? >
> ---
> \^__^
>  \   (oo) \___
>  (__) \ )\/\
> ||--w  |
> ||   ||
> 
> Gentoo Linux 2.6.13-gentoo-r3
-- 
gentoo-user@gentoo.org mailing list