Linux-Misc Digest #156, Volume #20 Tue, 11 May 99 18:13:11 EDT
Contents:
Xfig can't fit!! (Kenny Zhu)
Re: How can use Mathematica? ("P.J. Hinton")
Re: Can't open COM1 unless root - how to fix? (Bill Unruh)
Re: XF86Setup and SiS6326 (Len Cuff)
Re: 16bpp vs 8bpp (ron cole)
Re: A Simple Question (Jon Skeet)
Re: How to uninstall packages? (Colin Watson)
Re: Text based interface and escape codes? ("D. Vrabel")
Re: XFree86 settings for Sony Trinitron Multiscan200ES monitor? (Mick Costa)
Re: sticky shift keys in linux (John Moran)
Re: I am on a quest... (Steve Lamb)
Re: Text based interface and escape codes? (brian moore)
Re: Display X on TV? (Ray)
Re: Debian and 2.2.5 (Ray)
wmf2eps (Daniel Kollar)
Re: Can you have groups of groups? (Brian)
Locate creates page fault + core dump (Henri Brady)
RedHat 6 & StarOffice (Thomas B. Quillinan)
Redhat 6.0 broken? (XuYifeng)
Re: glib compiling&pthreads (pces)
Can't compile kernel! Help! (David Murray)
Re: I have to save my system (Darren Greer)
Re: New user needing help (hellraiser)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Kenny Zhu)
Subject: Xfig can't fit!!
Date: 11 May 1999 13:56:53 GMT
Hi, I need some help. I'm working on a laptop the screen is 800x600. I
have a problem with xfig. I just can't see the bottom tool bars and some
of the side bars below as well. Any remedies? Thanks.
Kenny
--
__--------__
/ | \
/ | \
_[/----------------- \]_
/ _ |\ 0 /| _ \
| (_)| \ / |(_) |
|____|__\_____!______/__|____|
[________| KENNY |_________]
|__| ~~~~~~~~~ |__|
___ _________ ___ ___ ___ __ _______ __
/ _ )/ _/ ___/ / _ )/ _ | / _ \ / //_/ __/ |/ /
/ _ |/ // (_ / / _ / __ |/ // / / ,< / _// /
/____/___/\___/ /____/_/ |_/____/ /_/|_/___/_/|_/
"The most important thing is be true to yourself."
$$$$ http://www.chebucto.ns.ca/~ah190/Profile.html $$$$
------------------------------
From: "P.J. Hinton" <[EMAIL PROTECTED]>
Subject: Re: How can use Mathematica?
Date: Tue, 11 May 1999 15:45:06 -0500
On 11 May 1999, John Girash wrote:
> This, combined with the site-licence-renewal system, is probably at least
> part of what created my confusion. When inquiring with Wolfram about
> purchasing a personal copy of "Mathematica for Students", I received
> the following reply:
>
> "Mathematica for Students version 3.0.1 is sold to full-time students only at
> the cost of $139.95. It is available on the Mac, Windows, and Linux
> platforms. With Mathematica version 3.0, the software included in the
> student edition is the same as that included in the professional edition."
>
> So instead of making a (possibly incorrect) statement, I'll ask a question:
> why would one, having legally purchased a copy of Mathematica whilst a
> student, have any reason to pay Wolfram more $$$ for the exact same software?
> I guess I (incorrectly) inferred that there was a licence-renewal scheme in
> place to enforce the double payment.
Few students would probably want or need to upgrade to the professional
license during their years at school. The license to the professional
version would provide the additional benefits.
1) The distribution medium for the domestic (U.S.) professional CD-ROM
uses a password that is not based on the machine-specific MathID.
2) Notebooks printed by the professional version of the Mathematica front
end do not mark their hardcopy with a "printed by Mathematica for
Students" line in the footer.
3) The professional CD-ROM contains the MathLink Developer's Kit, a
collection of libraries, header files, and source code needed to create
interfaces between external applications and the Mathematica kernel.
4) You can purchase service program contracts (annual renewal) that
provide greater access to live technical support. A licensee of the
student version may contact Wolfram Research Technical Support directly
for systems and installation problems as well as bug reports. "How do I
do this?" types of questions from student licensees must be posted to a
web-based forum at Wolfram Research's website.
> Part of my confusion also arises out of the occasional "do not buy
> Mathematica b/c of the registration process" complaints that show up
> on usenet; a deja.com search on (past) "mathematica register" will
> give some of them if you can wade through all the "LEO-Archiv" hits.
> My concern is largely due to the following anecdote:
>
> 1. User legally purchases Mathematica, installs/registers it, it works fine.
> 2. User's harddrive crashes; manufacturer sends a larger one as replacment.
> 3. User restores system from backup.
> 4. Mathematica no longer accepts the old registration key.
> 5. User contacts Wolfram and is told that the registration key is hardware-
> dependent, and pretty much any system upgrade will require a new key.
>
> Please note that the above is pure heresay, I do not know it to be true.
> But given this opportunity I will ask Mr Hinton if it is _accurate_.
> I would love to receive the answer "no it is not". But if it is, I will
> ask the followup question: should the above situation occur to someone who
> purchased Mathematica for Students as a student several years prior, would
> WR refuse to issue a new key unless the Professional Upgrade was purchased?
>
> If "yes", it pretty much amounts to the same thing that I originally warned.
> Even if "no", the _first_ "yes" prooduces a highly-undesirable dependency.
The password of the student version is based on a number called the
MathID. This number is supposed to be machine dependent, but it should
remain fairly constant over the lifetime of a system. The exact
parameters on which the MathID is dependent are not made public. That may
account for some representatives' guarded statements about the sensitivity
to system upgrades. I should mention that upgrading your Linux kernel
will not change the MathID and that addition of peripherals will not
affect it, either. The only instance where you may see some volatility in
the MathID is if your Linux machine is occasionally connected to a network
through an ethernet card (not a modem). Laptop users run into this
problem, and if you are one of those unlucky souls, by all means contact
Technical Support <[EMAIL PROTECTED]>. They will work with you to get
things straightened out.
Some students have had the unfortunate experience of going through the
scenario described in (1) - (4). However, just because your MathID has
changed does not mean that your license has been lost. All you need to do
is to contact the Customer Service department <[EMAIL PROTECTED]>.
Provide them with your Mathematica license number (LXXXX-XXXX), the new
MathID, and some sort of indication of what catastophic event happened
(e.g. "My roommate spilled a beer on the machine and it fried my
motherboard, and had to get a new computer." or "Did a major reshuffle of
file system table as part of upgrade.") in your correspondence. They
should be able to generate a new password for you with minimal red tape.
There is _no fee_ (renewal or otherwise) for obtaining the new password.
However, customer service representatives have been known to get
suspicious that a user has had to rebuild his or her machine from the
ground-up for the 23rd time in a given week. ;-)
--
P.J. Hinton
Mathematica Programming Group [EMAIL PROTECTED]
Wolfram Research, Inc. http://www.wolfram.com/~paulh/
Disclaimer: Opinions expressed herein are those of the author alone.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Can't open COM1 unless root - how to fix?
Date: 6 May 1999 23:28:32 GMT
In <[EMAIL PROTECTED]> Michael Wolf <[EMAIL PROTECTED]> writes:
>When I try to open the COM ports I get permission denied unless I am
>running as root.
chmod a_rw /dev/ttyS?
chmod a+rw /dev/cua?
However if you run mgetty, then mgetty will reset the serial port.
------------------------------
From: Len Cuff <[EMAIL PROTECTED]>
Subject: Re: XF86Setup and SiS6326
Date: Tue, 11 May 1999 15:07:48 +0100
Reply-To: Len Cuff <[EMAIL PROTECTED]>
In article <7h7sfq$jjm$[EMAIL PROTECTED]>, Erik Akkermans <sein@REMOVE_
CAPITALS_FOR_REPLYfuckyou.co.uk> writes
>
>Len Cuff heeft geschreven in bericht
><$ZL1$[EMAIL PROTECTED]>...
>>Does anyone know of a version of XF86Setup which will work with this
>>chipset ?
>
>There isn't (I'm not fully 100% sure though). XF86Setup uses the
>VGA16-server, because this is supposed to work with all videocards. However,
>SiS 6326 is one of the few cards that doesn't. SiS6326 only works with the
>SVGA-server (3.3.3.1). Why don't you use Xconfigurator? It's also menubased,
>just not graphical.
>
>Regards,
> Erik
>
>
Erik,
Many thanks for the info. I didn't even know Xconfigurator
existed ! Next obvious question -- where can I get it from ?
Cheers,
Len
------------------------------
From: ron cole <[EMAIL PROTECTED]>
Subject: Re: 16bpp vs 8bpp
Date: Tue, 11 May 1999 09:46:04 -0700
However i don't think u can set the screen for virtual desktops using
XF86Setup!!
On Sun, 9 May 1999, Chris Dahler wrote:
> > I have just changed mobo and have a SiS 6326 installed. Question is, it
> > always defaults to 8bpp when I want 16bpp. As I can't user XF86config
> > (it hangs the machine), I've had to go back to XF86Config. Got it
> > working again but I need to find out where the default bpp is being set.
> > All is fine if I enter startx -- -bpp 16.
>
> I'm kind of a newbie myself, but using XF86Setup works much better than
> XF86Config for me. XF86Setup is a GUI rather than the text-based XF86Config
> program. When you run XF86Setup, you can set which mode you want to be the
> default (i.e., 8bpp or 16bpp, etc.), and you can't seem to do that using
> XF86Config.
>
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Jon Skeet)
Subject: Re: A Simple Question
Date: Tue, 11 May 1999 15:16:01 +0100
[EMAIL PROTECTED] wrote:
> In article <[EMAIL PROTECTED]>, Elchonon Edelson wrote:
> >James Youngman wrote:
> >> find / -name '*.sql' -print0 | xargs -0 grep crdb /dev/null
>
> > Why do three commands when you can do two?
> > find / -name "*.sql" -exec grep -l {} \;
> > will do it, and doesn't need xargs.
>
> Because this will run "grep" once for each file found;
> the "xargs" version will run "grep" many times fewer.
What's wrong with my normal version:
grep crdb `find / -name '*.sql'`
?
True, if the find command returns too many arguments you'll have a
problem, but I rarely run into this...
--
Jon Skeet - [EMAIL PROTECTED]
http://www.pobox.com/~skeet/
------------------------------
From: [EMAIL PROTECTED] (Colin Watson)
Crossposted-To: comp.os.linux.setup
Subject: Re: How to uninstall packages?
Date: 11 May 1999 15:22:34 +0100
In article <[EMAIL PROTECTED]>,
Rob Rogers <[EMAIL PROTECTED]> wrote:
> The first thing you need to do is find out the name of the rpm for the
> program that you want to uninstall. You can run a query of all installed
> packages with the -q option. For instance if I wanted to uninstall the
> XFree86 SVGA server I'd try running "rpm -q XFree86*" to look for all
> the installed rpm's that started with XFree86.
Just a brief piece of pedantry in an otherwise sensible post:
"rpm -q XFree86*" won't work, as without the quotes the * wildcard
will be expanded by the shell into whatever filenames in the current
directory match that.
Even with quotes round the *, rpm doesn't seem to accept wildcards in
this context; you should use "rpm -qa | grep ^XFree86" (again, without
the quotes) instead.
Colin
--
"Go not to Usenet for counsel, for they will say both
'No' and 'Yes' and 'Try another newsgroup'." - Usenet Rule #17
------------------------------
From: "D. Vrabel" <[EMAIL PROTECTED]>
Subject: Re: Text based interface and escape codes?
Date: Tue, 11 May 1999 22:02:54 +0100
On Tue, 11 May 1999, Mats Pettersson wrote:
> I'm planning on doing a small utility program and want people to be able
> to acess it through telnet.
>
> The users are novice of computers, so i want to do a simple text
> interface (sort of like redhats install interface).
>
> I want the user to be able to jump between fields with arrow or tab
> keys.
>
> The telnet client use vt100 emulation.
>
> I planned programming in perl. Can anybody guide me to some examples of
> similar code or to information on escapecodes and such for vt100
> terminals?
I think it would be better to use something like ncurses. As it takes
care of all that stuff already. It will also produce more portable code.
David
--
David Vrabel
Engineering Undergraduate at University of Cambridge, UK.
------------------------------
From: Mick Costa <[EMAIL PROTECTED]>
Subject: Re: XFree86 settings for Sony Trinitron Multiscan200ES monitor?
Date: Tue, 11 May 1999 09:26:50 -0400
I usually use (I think) xf86config to set things up first. You should
of course use the correct values for your monitor, which are found at:
http://www.ita.sel.sony.com/products/displays/es/cpd200es.html
This also let me specify color depth (default + others) and screen size
(default + others). I only have a 15" Sony, so I set my default color
depth to 32 and my screen size to 1024x768 (I think).
Then I used xvidtune to make minor corrections.
Jim McIntyre wrote:
>
> Michael Wolf wrote:
>
> > Does anyone have the XFre86 entry I need to properly run my SOny
> > Trinitron Multiscan 200ES 17" monitor?
> >
------------------------------
From: John Moran <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: sticky shift keys in linux
Date: Tue, 11 May 1999 15:44:58 -0500
Look for the LINUX Access HOWTO, Keyboard HOWTO, and the XKB extensions
to the X server.
Charles Sullivan wrote:
>
> This will probably require a driver of some sort. One such driver for the
> IBM-PC
> under MS-DOS was written in 8086 assembly language quite a few years ago
> and distributed free as source + binary by C-CAD, the Center for Computer
> Assistance
> to the Disabled. I don't see it on their website (http://www.c-cad.org).
> They may
> have discontinued distribution once they convinced Microsoft and Apple to
> implement
> sticky keys as a built-in feature in their OSs.
>
> I could probably dig up a copy if anyone wants to use it as a guide for
> writing
> a Linux module.
>
> Regards,
> Charles Sullivan
>
> [EMAIL PROTECTED] wrote in message <7h9hc3$4l4$[EMAIL PROTECTED]>...
> > How do I make the Shift-keys (and preferably Control, Alt) sticky, as
> >you can under Windows NT? Sticky means that pressing Shift, releasing it
> >and pressing "a" gives you "A", etc.
> >
> >This should work under X (maybe on console too, but I don't care so
> >much), at least under KDE.
> >
> >--
> >please cc email: [EMAIL PROTECTED]
> >no spam please
> >
> >
> >--== Sent via Deja.com http://www.deja.com/ ==--
> >---Share what you know. Learn what you don't.---
--
+-----------------------------------+------------------------+
| John Moran | [EMAIL PROTECTED] |
| Siemens Power Transmission | (612) 536-4404 |
| and Distribution, LLC. | |
| 7725 Northland Dr. | |
| Brooklyn Park, Mn 55428-1540 | |
+-----------------------------------+------------------------+
------------------------------
From: [EMAIL PROTECTED] (Steve Lamb)
Crossposted-To: comp.os.linux.x,alt.os.slackware.linux
Subject: Re: I am on a quest...
Date: 11 May 1999 17:10:35 GMT
Reply-To: [EMAIL PROTECTED]
On 10 May 1999 17:44:09 GMT, brian moore <[EMAIL PROTECTED]> wrote:
>I wouldn't want to use any "real" MUA that insisted on dumping mail from
>a variety of mailboxes all together.
Neither would I. That is why every time someone tells me about mutt I
point out that it does not treat each account as a seperate entity. Neither
does fetchmail.
Let's compare.
Eudora: Pull all the mail from multiple sources, dump into a single
inbox where filters move it out from there. IMAP is good in that the remote
folders are still there. Single outbox.
Outlook Express: Pull all the mail from multiple sources, dump into a
single inbox where filters move it out from there. IMAP is excellent in that
remote folders are still there. Single outbox.
Mutt/Fetchmail/Procmail: Pull all the mail from multiple servers, dump
into a single inbox where filters move it out from there. IMAP is treated as
a glorified POP, single outbox (Unless you really *LIKE* FCCs).
PMMail98: Pull all the mail from multiple servers. Each account has its
own inbox, filters, outbox, signatures, preferences, canned replies, PGP
options. No need to filter them out from a common inbox, there *IS* no common
inbox. Unfortunately, no IMAP, yet.
>If you want it to automatically change your froms, you'll have to add a
>folder hook for that:
^^^^
s/hook/hack/;
>it would be wrong for Mutt to just guess and would lead to wrong address like
>Eudora often does, leaving your address as [EMAIL PROTECTED], instead
>of [EMAIL PROTECTED], or even, perhaps, [EMAIL PROTECTED]
Which is why I dislike Eudora, Outlook Express, Mutt, etc when it comes to
multiple accounts. They assume that an individual wants everything to be
lumped together, filtered out from there, and then have to fight the MUA to
get the right address.
That is why I use PMMail98. Each account is unique. Mail in to
[EMAIL PROTECTED] is never mixed with mail to [EMAIL PROTECTED] When I reply to mail in
the [EMAIL PROTECTED] account, that is the address used because that is the account
I'm in. If I want to to reply from [EMAIL PROTECTED], drag it to that account,
reply.
If I want mail to be clumped together, I'll use the MANY tools available
to me to do so (forwards galore).
>There isn't a one-to-one relationship between mailboxes and return addresses.
>Any mail client that forces such a thing is broken.
But there is a one to one relationship between accounts and, well,
accounts. Something that most MUAs haven't grasped yet, mutt being no
exception.
--
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] (brian moore)
Subject: Re: Text based interface and escape codes?
Date: 11 May 1999 21:47:16 GMT
On Tue, 11 May 1999 22:02:54 +0100,
D. Vrabel <[EMAIL PROTECTED]> wrote:
> On Tue, 11 May 1999, Mats Pettersson wrote:
> >
> > I planned programming in perl. Can anybody guide me to some examples of
> > similar code or to information on escapecodes and such for vt100
> > terminals?
>
> I think it would be better to use something like ncurses. As it takes
> care of all that stuff already. It will also produce more portable code.
...and there's a perl module for it.
http://www.perl.com/CPAN/modules/by-module/Curses as well as the Curses
Development Kit at http://www.perl.com/CPAN/modules/by-module/Cdk
(And, yes, even though they say 'curses', the above support ncurses as
well, especially since ncurses is more common and better supported that
the original curses. :))
--
Brian Moore | "The Zen nature of a spammer resembles
Sysadmin, C/Perl Hacker | a cockroach, except that the cockroach
Usenet Vandal | is higher up on the evolutionary chain."
Netscum, Bane of Elves. Peter Olson, Delphi Postmaster
------------------------------
From: [EMAIL PROTECTED] (Ray)
Subject: Re: Display X on TV?
Date: Tue, 11 May 1999 21:48:20 GMT
On Mon, 10 May 1999 14:09:44 +0200, Oliver D. Bedford <[EMAIL PROTECTED]> wrote:
>>
>> Get a graphic card for your computer with a video output.
>
> Any recommendations?
>
> The only affordable card I�ve found so far is the Hercules Stingray
>128 3D (+TV)
>(around 70 US-$, 120 Deutsch Marks). Remarks?
Check to see if it enables the tv-output automatically or if it requires a
special utility to turn it on. I've used both the Canopus and Elsa cards
based on the same chipset (riva 128) as the Stingray. The Canopus enables
the video output automatically and does 800x600 while the Elsa needs a
utility and only does 640x480. That said, 800x600 on my tv is pretty fuzzy
anyway so maybe it doesn't matter.
--
Ray
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Ray)
Subject: Re: Debian and 2.2.5
Date: Tue, 11 May 1999 21:41:53 GMT
On Sun, 9 May 1999 18:11:12 -0700, Kevin <[EMAIL PROTECTED]> wrote:
>
>Also, what would be the easiest way to compile in a driver (module) for an
>ethernet card if I do not have the kernel source on disk and only have floppies
>to work with? Incidentally this is the whole reason why I am compiling a kernel
>in another machine and transporting it.
Have a look at man make-kpkg if it is installed on your system. If you use
make-kpkg you will get a deb containing both the kernel and modules that you
can put on a floppy and install on the target using dpkg. I have a little 4
line script that I put in my /usr/src and run whenever I make a kernel for
any of the machines here.:
cd /usr/src/linux
make-kpkg clean
make-kpkg --revision lisa.2 kernel_image
cd /usr/src
Of course I change "lisa" to the host name of the target machine but it
works quite well.
--
Ray
[EMAIL PROTECTED]
------------------------------
From: Daniel Kollar <[EMAIL PROTECTED]>
Subject: wmf2eps
Date: Tue, 11 May 1999 22:44:10 +0200
Hi there,
I'm looking for a windows-meta-file to unix-format converter,
because I got 2 CDs with 40.000 clip arts.
--
Daniel Kollar mailto:[EMAIL PROTECTED]
Homepage http://www.riednet.wh.tu-darmstadt.de/~kollar
Student at University of Technology, Darmstadt, Germany
Studying electrical engineering, solid state electronics
=====BEGIN GEEK CODE BLOCK=====
Version: 3.12
GE/CS d-(+) s-:->-: a- C++ UL++++ P>++ L++>+++ E- W++ N+ o-- K- w--- O-
M- V- !PS !PE Y+ PGP>++ t-@ 5- X-@ R++ tv- b+ DI D+ G>+++ e++>+++ h r++
y?
======END GEEK CODE BLOCK======
------------------------------
From: Brian <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.misc
Subject: Re: Can you have groups of groups?
Date: Tue, 11 May 1999 14:46:01 -0700
Look into Access Control Lists (ACL's) if they exist on your o/s.
[EMAIL PROTECTED] wrote:
>
> I want to make it so that any addition/change to a directory created by
> group "Mac" is also changeable by groups "Manager" or "Administrator"
> (assume that the owner/group is Mac). I mean, I guess I can change the
> Mac line to read:
> Mac:x:516:MacUser_A,MacUser_B,MacUser_C,Tom, Dick, Harry, Steve,
> Roberto, John
>
> but that seems inelegant to me. Is there a way to put say:
> Mac:x:516:MacUser_A,MacUser_B,MacUser_C, {all members of group
> 'Managers'},{all members of group 'Administrator'}
>
> I guess what I am trying to see is: is there a way for one group to
> also be a member of several groups?
--
======================================
Brian Galloway
Hewlett-Packard
------------------------------
From: Henri Brady <[EMAIL PROTECTED]>
Subject: Locate creates page fault + core dump
Date: Tue, 11 May 1999 09:23:54 -0400
We have a RedHat Linux 5.1 server (p450, 256MB Ram, Raid 5). This
server has been a great performer; however, a nasty little thing
happened this AM that I have never seen before.
I can run updatedb; however, every time I use the locate command I get
"Page Fault, Core Dumped" I suspected the database was corrupt so I
moved the updatedb database file to updatedb.old and re-ran updatedb.
This did not fix the problem. I still get "Page Fault, Core Dump".
The only thing that has recently changed is I now have an NFS mount
pointing to an NFS share on another server.
Any ideas ? I have not tried the Windows solution model (reboot)
because I pride myself on "Uptime" :-)
Thanks in advance for the help.
-Henri Brady
------------------------------
From: [EMAIL PROTECTED] (Thomas B. Quillinan)
Subject: RedHat 6 & StarOffice
Date: Tue, 11 May 1999 22:27:03 GMT
Has anyone managed to run StarOffice on RedHat 6?
If so how did you do it....
I've tried pointing the Library path to the glibc 2.0 dir but this doesn't
work ( I have the old libs installed as well...just not on the normal lib
path). At this stage I've had to get to like WP8....nice but it keeps dying
on some docs...
Anyway All suggestions appreciated...
tom.
--
Thomas B. Quillinan " Faced with the prospect of rereading this book, I would
aka [EMAIL PROTECTED] rather have my brains ripped out by a plastic fork."
-- C. Cooper, ZDNet review of B. Gate's Business @ the speed of
light
------------------------------
From: XuYifeng <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.system
Subject: Redhat 6.0 broken?
Date: Thu, 06 May 1999 20:07:06 +0800
Is Redhat6.0 broken and refuse to install new kernel?
I have installed kernel source file 2.2.7 and make a kernel, the kernel
is only 470K,
but when I run lilo, it always complains that "Kernel /boot/zImage is
too big",
why?!
any help will be appreciated,
XuYifeng
------------------------------
From: pces <[EMAIL PROTECTED]>
Subject: Re: glib compiling&pthreads
Date: Tue, 11 May 1999 23:02:41 +0800
Reply-To: [EMAIL PROTECTED]
David E. Kahana wrote:
> I just finished installing glib/gtk 1.2.2, and even though I have pthreads installed,
> the glib/gtk compilation choked on them. I just disabled the threads in configure.
> Maybe you don't have them installed at all? If so, you want to re-install glibc,
> and include the linuxthreads package. To disable them you use:
Ack.. I forgot to mention that I'm using libc5 and not glibc.. (side note: I'm
_REALLY_ tempted in buying the RH5.2 package...I'm using Slackware96
upgraded to 2.0.36. )
> ./configure -with-threads=none
Do I really need to use pthreads? ie. what happens if I put
./configure -disable-threads (or -with-threads=none..or whatever)?
Thanks
------------------------------
From: David Murray <[EMAIL PROTECTED]>
Subject: Can't compile kernel! Help!
Date: Tue, 11 May 1999 15:07:16 GMT
I just installed RedHat 5.2 on this system and when I try to compile the
kernel I get an error (see below) I have recompiled kernels many, many
times.. but this is strange. I have tried both the 2.0.36 kernel that
comes with redhat and the new 2.2.6 which, oddly enough, I compiled
without trouble on my other redhat system. This only happens on this
system and i don't know why.. Here is what happens everytime when I run
zlilo:
[root@mars /linux]# make zlilo
gcc -D__KERNEL__ -I/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o init/main.o
init/main.c
dnsdomainname: Host name lookup failure
gcc -D__KERNEL__ -I/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -DUTS_MACHINE='"i386"' -c
-o
init/version.o init/version.c
make -C kernel
make[1]: Entering directory /linux/kernel'
make all_targets
make[2]: Entering directory /linux/kernel'
gcc -D__KERNEL__ -I/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -DEXPORT_SYMTAB -c
signal.c
gcc: Internal compiler error: program cc1 got fatal signal 11
make[2]: *** [signal.o] Error 1
make[2]: Leaving directory /linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory /linux/kernel'
make: *** [_dir_kernel] Error 2
[root@mars /linux]#
------------------------------
Subject: Re: I have to save my system
From: [EMAIL PROTECTED] (Darren Greer)
Date: Fri, 30 Apr 1999 00:51:57 GMT
-->How can I copy all files and directories without losing symbolic
-->links, etc.?
You could tar the directory tree like so:
tar -cvf directory.tar /directory
Or you could just copy them like so:
cp -pR /directory /newdirectory
Although the latter may put directory like so:
/newdirectory/directory
Tar will probably be easier for you. You could also give tar the
-cvhf call which will treat symlinks as the actuall files, thus
changing them from symlinks to files.
Do a man on tar/cp and see what best fits your situation,
Darren
------------------------------
From: hellraiser <[EMAIL PROTECTED]>
Subject: Re: New user needing help
Date: Tue, 11 May 1999 16:02:19 -0400
look in the man pages. for example, if you need help on 'ls', type 'man
ls'. also goto www.orielly.com for a good selection on computer books,
including many on linux (linux.orielly.com).
as for ls scrolling by very fast, try piping the ouput of ls to the
'more' command: 'ls | more'. you might also want to do 'ls -a -l |
more' to list all of the files, and all of the info for each one.
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************