Linux-Misc Digest #483, Volume #27 Fri, 30 Mar 01 06:13:01 EST
Contents:
Re: Shell script questions... (Michael Heiming)
Re: Windows ME and Windows 98 and Linux comp. (Steve Lamb)
Re: Windows ME and Windows 98 and Linux comp. (Steve Lamb)
Re: Shell script questions... ("MEYER")
Re: LILO hangs (not in the usual way) ("Dennis")
Re: Turbo Linux Lite (Christopher Albert)
Re: Shell script questions... (Michael Heiming)
Re: Shell script questions... (Michael Heiming)
qmail and bSMTP ("Michael")
Re: How I setup reiserfs (2.4.1 kernel) ("Glitch")
Re: message in shell ("Glitch")
Re: system.map ("Glitch")
Re: QT install problem ("Glitch")
Re: system.map ("green")
----------------------------------------------------------------------------
Date: Fri, 30 Mar 2001 10:22:21 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell,comp.lang.awk
Subject: Re: Shell script questions...
MEYER wrote:
>
> Hi everyone
>
> I'm written a little script, like:
> ...
> while read line
> do
> sed -n '/ERROR/,/^/p'
> done < $1
> ...
>
> This loops take two lines, the first is where a ERROR words occurs and
> second it take the next line!
> Now, I want to take the ERROR words (like yet) OR the Display words and the
> next line.
> As anyone a idea how can I make the sed script for ERROR OR Display?
> is it like : sed -n '/ERROR || Display/,/^/p' ??? but it doesn't running???
> Thanks a lot for your answers,
Hello,
I'm not sure if I understood what you want to achive?
I would use something like this:
awk '$0 ~ /ERROR/ || /Display/ {print $0}' <filename>
Michael Heiming
------------------------------
From: [EMAIL PROTECTED] (Steve Lamb)
Crossposted-To: alt.windows-me,alt.windows98,comp.os.ms-windows.misc
Subject: Re: Windows ME and Windows 98 and Linux comp.
Date: Fri, 30 Mar 2001 08:36:52 -0000
Reply-To: [EMAIL PROTECTED]
On Thu, 29 Mar 2001 20:39:40 -0800, Andrew DeFaria <[EMAIL PROTECTED]> wrote:
>> Gotta love people posting in anything other than ASCII.
>Looks like ASCII to me! :-)
Sorry, don't consider multi-part MIME "ascii" since it can include other
things like HTML, binaries, or in your case, a vcard. None of which is
considered scrictly ASCII.
>> I don't. If you looked at any given person's day you'd find that there is
>> a lot of time spent doing nothing.
>This is not the same as "most people rarely do anything productive".
Sure it is, worded slightly differently.
>Sure, for each single occurrence the amount of time is small. But it adds up.
Touch luck.
>Some people do not want to be bothered with the silly rules that others make
>up for their own convenience.
And? Their inconvenience somehow overrides social standards? Hey, I'm as
Libertarian as the next, well, Libertarian, but at least I understand that
when you enter a society you should learn and abide by that society's
standards or suffer the consiquences.
>Some people have better things to do than to scroll around and trim postings.
>Listen, for you and I, trimming postings is a snap. But for many, many others
>it does take a lot of time and effort.
This statement is based on the very suspect premise that their time is
somehow more valuable than the multitude of people who will waste timw
downloading & reading their crap and more than the cost to transmit and store
that crap. Sorry, no one's time is worth that much. That is why those "silly
rules" are in place. Don't like it, tough, suffer the consiquences. Just so
happens that those consiquences are just like in real life. You get people
telling you the proper way to behave and until you heed their advice you'll
continue to get it along with a load of shunning, insults and outright abuse.
All of which, IMHO, are justly deserved since, unlike many of the rules and
taboos in real world societies, there are concrete reasons why these rules are
in place that are easily explained and only one who is intentionally
attempting to be rude would ignore them.
>Everybody values things differently. Part of being polite is to recognize
>that while you may not value it, it may be very valuable to somebody else.
>Forcing your viewpoint of what is valuable or not on others, and lambasting
>them for their choices of what is valuable to them is by itself rude and
>inconsiderate.
Not when one positions can clearly be demonstrated to have a far larger
consiquence upon what is being measured. The top-poster is lazy and saves
maybe 1 minute of time on even a large post from not trimming. All the people
who transmit that message far outweigh that minute. All the people who then
go on to read it far outweigh that minute. All the people who then need to
puzzle over what the hell they were replying to outweight that minute. Hell,
just all the extra time propigating it to all the hosts that will carry it I
dare say will exceed that minute!
I'm sorry, but when someone comes in and flat out says, "My time is more
valuable then ALL of yours COMBINED" they are being rude and inconsiderate and
those who are pointing out their mistake are clearly in the right.
>No it is not relevant. People place more value on their time than to spend it
>painfully trimming things just to make you happy.
No, it is relevant. They are abiding by proper behavior. If they don't
have the time think of all the free time they'll have not reading newsgroups.
>Because it is easy for them. Have you ever watched a person who types with
>two fingers searching for where the next letter is? Hey, to me playing guitar
>is easy. But I've been doing it for a while. I do recognize that for most
>people playing guitar is very difficult. You think everybody types like you.
>Your wrong!
Irrelevant. Even a two-finger hunt-and-pecker (my father) can pick up the
mouse, mark text, hit del and continue on. Laziness and lack of trying is no
excuse for bad manners, period. Didn't your mother teach you that?
>Ah it's an "America, love it of leave it" attitude. You are the shining
>example of tolerance and understanding I see. You can continue to look at it
>as an excuse. I'm just trying to tell you what is. You can continue to ignore
>reality if you like.
It is you that can continue to ignore reality. You are arguing against
bad behavior as a whole. Surely if I were to come over to your house, open
the fridge, start eating a bowl of jello that you were wanting for later you'd
be put out. But, hey, I don't want to abide by your "silly rules", my time is
valuable. I'm hungry and that jello looked tasty. Oh, and the frozen pizza
would be nice and filling. I'll leave you with the week old chinese.
Go ahead, I dare you to try to tell me that is somehow different than
being rude online. Please. I'm begging you.
Nah, can't wait.
I don't think anyone would say that the above paragraph was anything but
rude. Why is it? Because I am presuming my time is worth more than something
of value to you. Namely your privacy, your property. IE, for no other reason
because I felt like it, I went and deprived you of something of worth.
Same applies here.
That is why we have guidelines on proper behavior here as in real life.
You break those guidelines at your own peril.
>It is an agreement by a bunch of people long ago. As such I would think that
>there are some who do not agree.
It is an agreement by many, many people developed over the years. In
fact, the RFC documenting those guidelines was published in 1995. Whether or
not people /now/ disagree with it has no bearing on the matter. I don't agree
with the idea of having a dress shirt and tie to wear to work. It is one of
those social guidelines that has come about. I can either abide by it, or I
can buck it. If I buck it I better be fully prepared for the consiquences.
That's the facts, Jack.
>The Internet is not a restaurant. Top posting is not the same as burping, etc.
Yes, top posting is the same as rude and inconsiderate behavior in any
other venue.
>Similar social conduct and conventions of behavior have been established in
>many social situations. And they are constantly changing and being challenged
>as society changes.
Yes, but there is a difference there and here.
>Be they long hair of the 60's, strange clothing, body piercing, work attire,
>school uniforms, etc. We have seen many times that many of the "rules" or
>conventions are not necessary and that people want to be free to express
>themselves. I mean don't you often here of the concept often mentioned with
>the internet of information freedom, etc. Why then do you hold so steadfastly
>to such restrictive and relatively arbitrary rules of conduct?
Because they have quantifiable reprecussions to others. All of the above
do not. Top-posting is rude BECAUSE... I've outlined those reasons. In each
case you're costing people time, space, or both far in excess in any saved
from being lazy and rude.
My ear being pierced doesn't have a negative impact on my job performace.
>Try being less sarcastic!
Try getting a clue.
>--------------D2E5EA8833C7A8176AD97065
>Content-Type: text/x-vcard; charset=us-ascii;
> name="Andrew.vcf"
>Content-Transfer-Encoding: 7bit
>Content-Description: Card for Andrew DeFaria
>Content-Disposition: attachment;
> filename="Andrew.vcf"
>
>begin:vcard
>n:DeFaria;Andrew
>tel;home:(408)-363-0562
>tel;work:(408)-447-0692
>x-mozilla-html:TRUE
>url:http://www.defaria.com
>org:Work Email: <a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
>adr:;;6187 Ellerbrook Way;San Jose;California;95123-5012;USA
>version:2.1
>email;internet:[EMAIL PROTECTED]
>title:Clearcase/Unix/NT Admin Consultant
>note;quoted-printable:<img
>src=3D"http://www.defaria.com/Images/AndyFace.jpg"><br>=0D=0AAuthor of <a
>href=3D"http://www.defaria.com/Quicken">The Unofficial Quicken 2000 Web
>Page</a><br>=0D=0AI am also a <a
>href=3D"http://www.defaria.com/music">Guitarist/Vocalist</a><br>=0D=0AWork ICQ #: <a
>href=3D"http://public.icq.com/public/panels/respondpanel/links/wwp.html?23552673">23552673</a><br>=0D=0AHome
> ICQ #: <a
>href=3D"http://public.icq.com/public/panels/respondpanel/links/wwp.html?25286737">25286737</a>
>fn:Andrew DeFaria
>end:vcard
>
>--------------D2E5EA8833C7A8176AD97065--
>
Reasons why vcards are stupid. We already got this. As I said, go to a
singles bar if you want to hand out personal information blindly to strangers.
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
ICQ: 5107343 | main connection to the switchboard of souls.
===============================+=============================================
------------------------------
From: [EMAIL PROTECTED] (Steve Lamb)
Crossposted-To: alt.windows-me,alt.windows98,comp.os.ms-windows.misc
Subject: Re: Windows ME and Windows 98 and Linux comp.
Date: Fri, 30 Mar 2001 08:41:25 -0000
Reply-To: [EMAIL PROTECTED]
On Fri, 30 Mar 2001 01:41:35 -0500, Plato <|@|.|> wrote:
>Please state exactly what you are paying for bandwidth???
Al depends. Since it takes him time to download the messages each day
clearly he values his time highly. Dare I say that the thousands of people
who don't want to read that tripe far exceed, in "time-value" the one person
who is being lazy and rude who doesn't want to trim it?
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
ICQ: 5107343 | main connection to the switchboard of souls.
===============================+=============================================
------------------------------
From: "MEYER" <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell,comp.lang.awk
Subject: Re: Shell script questions...
Date: Fri, 30 Mar 2001 11:11:53 +0200
Hi Michael,
Thank for your help!
I've tested:
It give me all line with ERROR and Display, that's right! But my file is
like:
...
ERROR at line 1:
ORA-230:Table or view doesn't exist
...
Display 'TS':
Display view not visible!
...
That's means I need to check all ERROR and Display line and print them +
print the second line!
With your solution I can print the line with ERROR and Display but not the
second line...
and I don't know how to program that!
Do you understood what I mean, yeahh my english isn't perfect, sorry!
Thanks,
Jerome
"Michael Heiming" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> MEYER wrote:
> >
> > Hi everyone
> >
> > I'm written a little script, like:
> > ...
> > while read line
> > do
> > sed -n '/ERROR/,/^/p'
> > done < $1
> > ...
> >
> > This loops take two lines, the first is where a ERROR words occurs and
> > second it take the next line!
> > Now, I want to take the ERROR words (like yet) OR the Display words and
the
> > next line.
> > As anyone a idea how can I make the sed script for ERROR OR Display?
> > is it like : sed -n '/ERROR || Display/,/^/p' ??? but it doesn't
running???
> > Thanks a lot for your answers,
>
> Hello,
>
> I'm not sure if I understood what you want to achive?
>
> I would use something like this:
>
> awk '$0 ~ /ERROR/ || /Display/ {print $0}' <filename>
>
> Michael Heiming
------------------------------
From: "Dennis" <[EMAIL PROTECTED]>
Subject: Re: LILO hangs (not in the usual way)
Date: Fri, 30 Mar 2001 13:22:40 +0400
Hi Joe
Do you have a large hdd? Boot with the rescue disk and modify your
/etc/lilo.conf
Try to add
lba32
Then rerun lilo
You should get something like:
Added linux *
Then try to boot from the disk
Hope this helps
Rgds
Dennis
"Joe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> I have two physical disks, one with linux (redhat 7) at /dev/hdc1 and
> one with NT at /dev/hda1. I can boot into linux fine with the rescue disk
> but LILO hangs (stops after the first L) when trying to boot from the
> hard drive. I checked the docs and it tells me that there should be an
> error code when it stops after the first L, like L<err number>. There is
> no error number, just a computer pretending to be a paperweight. Any
> ideas?
------------------------------
From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: Turbo Linux Lite
Date: Fri, 30 Mar 2001 12:08:52 +0200
Barry Manilow wrote:
>
> I have the
> opportunity to get a copy of Turbo Linux Lite from a friend of mine.
> I figured it was probably legal to have him burn a copy of it and give
> it to me but I wanted to check in here to see first. I have never
> used Linux before. I have only used DOS, WinDOS 3x, 95, 98, Win NT,
> Mac OS and OS/2. I also would have to figure out how to partition a
> drive on my hard drive to install it. I suppose I will have to use
> Lilo? The drive is already partitioned between OS/2 Warp 4.5 and
> WinDOS 98. Wondering what the Lite in the title of the distrib
> means? Also wondering where I can find any docs on TurboLinux. TIA
> to all answers. Also wondering whether my system will support Linux.
>
> Basic Quantum Hard drive.
> Creative Sound Blaster 16 PNP PCI card
> Epson ES-1200C scanner
> Canon BJC-6000 printer
> Adaptec AVA-1505 SCSI card
> Diamond Stealth III S540 video card
> Mitsumi CD-ROM
> Mitsumi CR-4804TE
> US Robotics 56K FAX EXT PnP external modem
> Asus motherboard
> Aladdin chipset
> --
> Bob
Bob,
I have used Turbo Linux, but I think it is targeted more for a server
market and probably is not the best distribution to start with. Take a
look at their web site www.turbolinux.com and you'll see what I mean. I
suggest RedHat, Mandrake, or SuSe for a beginner. Mandrake is probably
the easiest to install, and if your hardware is supported it will have a
good chance to get picked up. You can check your hardware out on the
sites of these distributions. One good thing is that your external modem
will work just fine.
It is a good idea to take some time planning your installation. There
are lots of good docs from the Linux Documentation Project
www.linuxdoc.org .The HOWTO on Installation Strategies would be a good
place to start.
TO get the distributions, I just go out and buy a linux mag. There are
usually some CDs included with a distribution. I have installed and
tested at least 15 different distributions and versions of linux over
the last couple of years that way. The amg usually has an accompaning
article to get you started.
Good Luck,
Chris
------------------------------
Date: Fri, 30 Mar 2001 12:14:47 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell,comp.lang.awk
Subject: Re: Shell script questions...
MEYER wrote:
>
> Hi Michael,
>
> Thank for your help!
> I've tested:
> It give me all line with ERROR and Display, that's right! But my file is
> like:
> ...
> ERROR at line 1:
> ORA-230:Table or view doesn't exist
> ...
> Display 'TS':
> Display view not visible!
> ...
> That's means I need to check all ERROR and Display line and print them +
> print the second line!
> With your solution I can print the line with ERROR and Display but not the
> second line...
> and I don't know how to program that!
> Do you understood what I mean, yeahh my english isn't perfect, sorry!
>
> Thanks,
> Jerome
>
> "Michael Heiming" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > MEYER wrote:
> > >
> > > Hi everyone
> > >
> > > I'm written a little script, like:
> > > ...
> > > while read line
> > > do
> > > sed -n '/ERROR/,/^/p'
> > > done < $1
> > > ...
> > >
> > > This loops take two lines, the first is where a ERROR words occurs and
> > > second it take the next line!
> > > Now, I want to take the ERROR words (like yet) OR the Display words and
> the
> > > next line.
> > > As anyone a idea how can I make the sed script for ERROR OR Display?
> > > is it like : sed -n '/ERROR || Display/,/^/p' ??? but it doesn't
> running???
> > > Thanks a lot for your answers,
> >
> > Hello,
> >
> > I'm not sure if I understood what you want to achive?
> >
> > I would use something like this:
> >
> > awk '$0 ~ /ERROR/ || /Display/ {print $0}' <filename>
> >
> > Michael Heiming
Try:
awk '$0 ~ /ERROR/ || /Display/ {if ((getline tmp) > 0) print $0; print tmp}'
data.test
Good luck
Michael Heiming
------------------------------
Date: Fri, 30 Mar 2001 12:21:52 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell,comp.lang.awk
Subject: Re: Shell script questions...
Michael Heiming wrote:
>
> MEYER wrote:
> >
> > Hi Michael,
> >
> > Thank for your help!
> > I've tested:
> > It give me all line with ERROR and Display, that's right! But my file is
> > like:
> > ...
> > ERROR at line 1:
> > ORA-230:Table or view doesn't exist
> > ...
> > Display 'TS':
> > Display view not visible!
> > ...
> > That's means I need to check all ERROR and Display line and print them +
> > print the second line!
> > With your solution I can print the line with ERROR and Display but not the
> > second line...
> > and I don't know how to program that!
> > Do you understood what I mean, yeahh my english isn't perfect, sorry!
> >
> > Thanks,
> > Jerome
> >
> > "Michael Heiming" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > MEYER wrote:
> > > >
> > > > Hi everyone
> > > >
> > > > I'm written a little script, like:
> > > > ...
> > > > while read line
> > > > do
> > > > sed -n '/ERROR/,/^/p'
> > > > done < $1
> > > > ...
> > > >
> > > > This loops take two lines, the first is where a ERROR words occurs and
> > > > second it take the next line!
> > > > Now, I want to take the ERROR words (like yet) OR the Display words and
> > the
> > > > next line.
> > > > As anyone a idea how can I make the sed script for ERROR OR Display?
> > > > is it like : sed -n '/ERROR || Display/,/^/p' ??? but it doesn't
> > running???
> > > > Thanks a lot for your answers,
> > >
> > > Hello,
> > >
> > > I'm not sure if I understood what you want to achive?
> > >
> > > I would use something like this:
> > >
> > > awk '$0 ~ /ERROR/ || /Display/ {print $0}' <filename>
> > >
> > > Michael Heiming
>
> Try:
>
> awk '$0 ~ /ERROR/ || /Display/ {if ((getline tmp) > 0) print $0; print tmp}'
> data.test
>
You may have to change,
awk '$1 ~ /ERROR/ || /Display/ {if ((getline tmp) > 0) print $0; print tmp}'
filename
Depending how your data looks, to avoid that you get even more lines....
Michael Heiming
------------------------------
From: "Michael" <[EMAIL PROTECTED]>
Subject: qmail and bSMTP
Date: Fri, 30 Mar 2001 12:25:14 +0200
Does anyone know why my mail from my ISP isn't delivered instantly at my
qmail-server?? Is it a known problem with qmail? My mail is sometimes
delivered hours later!
Thanx for helping.
--
Michael
--
2624 XX
http://bovendelft.xs4all.nl
http://bovendelft.xs4all.nl/linux_linkz.shtml
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: How I setup reiserfs (2.4.1 kernel)
Date: Fri, 30 Mar 2001 03:41:16 -0500
> # root is ext2 backup of reiserfs /;
> image=/boot/vmlinuz
> label=linux-bk
> read-only
> root=/dev/hda7
>
> -ran /sbin/lilo, re-booted to linux-bk, reformatted /dev/hda3 as
> reiserfs (phew!), backed up /dev/hda3 from /dev/hda7.
shouldn't that be 'restored from /dev/hda3 from /dev/hda7'?
thanks for posting this by teh way. I'm going ot save it and use it as a
guide for when I decide to switch to ReiserFS. Most likely I'll do it on
my laptop first since it is more prone to needing a fsck , whenever I
don't catch the battery running low in time before the whole thing
shutsdown.
thanks
brandon
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: message in shell
Date: Fri, 30 Mar 2001 03:49:19 -0500
In article <[EMAIL PROTECTED]>, "David Efflandt"
<[EMAIL PROTECTED]> wrote:
> On Fri, 30 Mar 2001 00:57:50 +0200, fabienne hadkova <[EMAIL PROTECTED]>
> wrote:
>>hi
>>there is something I have done before but I don't remember the (very
>>easy) syntax.
>>when I log in with telnet to another sever and use the command 'who', I
>>can see who else is on this server.
>>There is a way to send a message to somebody to his shell. I don't
>>remember how it's done, can somebody help? thanks
>>fabienne
>
> I have not used 'talk' lately, but a free shell I am on uses 'ytalk'
> which admin there says is better. 'ytalk username' to the other user
> that you want to talk and what they should do to connect. When you
> connect, it comes up in a split screen so you type in the top half and
> other user is bottom half.
>
'write' also works, similar to 'talk'
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: system.map
Date: Fri, 30 Mar 2001 03:59:43 -0500
In article <99v7t0$jiv$[EMAIL PROTECTED]>, "Eric" <[EMAIL PROTECTED]>
wrote:
>> what is the use of the file /boot/system.map?! after compiling a new
> kernel,
>> should i copy this file to /boot as well?! without this file, my system
>> still reboot with no problem.
>
> If you don't know what it's for, you don't need it. Don't bother with
> that file yet, just leave it where it is.
that is the stupidest tip i've heard yet. Before using Linux as much as
I've in the past few months I didn't know what a lot of stuff was for but
i sure wasn't going to delete it.
Would you delete all the dll files in your C:\windows\system directory if
you didn't know what they were for? I would hope not.
I tell people 'unless you put it there leave it there'. Essentially
saying that if they didn't put it there the installation must have and
therefore it is there for a reason.
For a Linux example of what your 'advice' can do:
I deleted a while back the boot.b file in my /boot directory. I didn't
think I needed it and I know I didn't put the file there. Of course the
next time I rebooted the system woudln't boot. I forget the error message
but it was b/c of the fact that the boot.b file was deleted.
I hope the user doesn't take your advice and delete something that they
actually do need on the basis they don't know what it is.
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: QT install problem
Date: Fri, 30 Mar 2001 04:42:47 -0500
In article <[EMAIL PROTECTED]>, "Collin E Borrlewyn"
<[EMAIL PROTECTED]> wrote:
> On Wed, 28 Mar 2001 13:17:44 GMT, Carl Lewis <[EMAIL PROTECTED]>
> wrote:
>
>>Collin Borrlewyn wrote:
>>
>>> I don't know if this is the appropriate place to ask (since this is a
>>> linux newsgroup, and not a QT newsgroup) but I don't know where else
>>> to look, so here I ask...
>>>
>>> In short, before installing QT I need to set some environment
>>> variables, but I don't know to what.
>>>
>>> In length:
>>> I have a copy of Red Hat 5.2, which I got from a book in my local
>>> library. This is currently all I can afford, since I haven't got the
>>> money to purchace a copy or the bandwidth to download something
>>> better. I installed RH5 on an old system, and have been having a grand
>>> old time. After a while I got a book titled Mastering Unix out of the
>>> library for help with some configuration (all of which has worked
>>> beautifully). This new book had a CD with it containing many things,
>>> including complete source for KDE (and QT) and Gnome. So, somewhere
>>> along I got the idea into my head that I'd install KDE. The process
>>> seemed fairly straightforward, and the book had instructions (of
>>> sorts) on what to do. But it assumed QT was already installed, so I
>>> was on my own for that. The trouble is that when I get to the 'make'
>>> step, it spits out errors amounting to needing environment variables
>>> LD_LIBRARY_PATH, LIBRARY_PATH, and CPLUS_INCLUDE_PATH to be set. And
>>> they are not. While the other item that needed to be set (MANPATH) I
>>> mannaged to figured out, I don't know where to begin on these others.
>>>
>>> So... what should such variables be set to? Why are they not set
>>> already? And, if this is not a good place, where do I ask?
>>>
>>> ~Collin
>>
>>LD_LIBRARY_PATH=/usr/X11R6/lib
>>
>>or wherever your X11 libraries are, it could vary
>>
>>also, say all the qt stuff is in /usr/local/qt, you might want to do:
>>$QTDIR=/usr/local/qt
>>
>>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib
>>
>>CPLUS_INCLUDE_PATH=$QTDIR/include
>>
>>LIBRARY_PATH could probably be set to the same as LD_LIBRARY_PATH, but
>>I'm not sure.
>>
>>Put all this stuff in your .bash_profile, log out then log back in
>>again.
>>
>>Check the variables are set to the correct values with
>>
>>echo $CPLUS_INCLUDE_PATH
>>
>>Frankly it is a bit wierd these are not set, did you run ./configure ?
>>
>>
>
> Oddly, there was no ./configure
>
> I also found it rather strange that such things weren't set on install.
> Perhaps a quirk of this particular version of the distro?
>
> Anyway, after setting the env vars as you suggested it now appears to be
> working. Goodbye FVWM, hello KDE.
>
the above variable settings are detailed in the README that comes with
the Qt package. Also, the environment variables aren't set on install b/c
of the simple fact that the install proces doesn't cover every
combination of instaled packages. IT is a general install process. Not to
mention the fact that your $QTDIR variable value may not necessarily be
/usr/local/qt. (u don't have to install it there if u don't want to)
------------------------------
From: "green" <[EMAIL PROTECTED]>
Subject: Re: system.map
Date: Fri, 30 Mar 2001 21:00:52 +1000
>
> that is the stupidest tip i've heard yet. Before using Linux as much as
> I've in the past few months I didn't know what a lot of stuff was for but
> i sure wasn't going to delete it.
>
> Would you delete all the dll files in your C:\windows\system directory if
> you didn't know what they were for? I would hope not.
yes to see what windows actually needs.
linux -> :) sometimes
but then I never leave valuable data on a computer or rely on them to be
stable anyway.
leaving thiongs because you don't understand them can be dangerouse to.
eg anon ftp or in windows or samba netbios port open to the internet.
the user dosn't know what it's used for so they leave it as it is.
best advice find out what it does and the consiquenses before taking action.
>
> I tell people 'unless you put it there leave it there'. Essentially
> saying that if they didn't put it there the installation must have and
> therefore it is there for a reason.
Like spy ware.
>
> For a Linux example of what your 'advice' can do:
>
> I deleted a while back the boot.b file in my /boot directory. I didn't
> think I needed it and I know I didn't put the file there. Of course the
> next time I rebooted the system woudln't boot. I forget the error message
> but it was b/c of the fact that the boot.b file was deleted.
shouldn't be running as root in the first place :)
>
> I hope the user doesn't take your advice and delete something that they
> actually do need on the basis they don't know what it is.
I hope they don't delete stuff they need to since linux doesn't generally
support undelete.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************