Linux-Misc Digest #557, Volume #24               Mon, 22 May 00 10:13:02 EDT

Contents:
  Re: GLIB 1.2.7 and GTK (Robie Basak)
  Re: swap-free error message??? what is this? (Robie Basak)
  Re: Help: Kernel Panic (Robie Basak)
  Re: Hard Disk Weirdness - suddenly disk full (Robie Basak)
  Re: add a second root-account (Robie Basak)
  Re: What is a good Setup Maker for Linux? (Robie Basak)
  Re: naive question on programming Linux applications (Robie Basak)
  Re: netscape cache (Robie Basak)
  Re: Need ideas for university funded project for linux (Donal K. Fellows)
  Re: Motif release to Open Source Community leads to Open Motif Everywhere (phil hunt)
  Re: How to find path to a shared module (Christian Stieber)
  Configuring SIS 6326 in Linux !! (Arun Mahajan)
  Re: how to enter a bug report against linux? ("Jhair Triana (Praktikant Atkinson)")
  Re: Need ideas for university funded project for linux (John Hasler)
  Re: Motif release to Open Source Community leads to Open Motif Everywhere (Jay 
Maynard)
  RE:distro-related supermount? problem (MrJack)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: GLIB 1.2.7 and GTK
Reply-To: [EMAIL PROTECTED]
Date: 18 May 2000 11:17:26 GMT

On Wed, 17 May 2000 16:34:06 GMT, Dieter Kedrowitsch said:
>Hello, I've been trying to install GTK+ 1.2.7, but when I run ./configure 
>in the directory I extracted the gtk+-1.2.7.tar.gz file too I get the 
>following error:
>
>checking for glib-config... /usr/local/bin/glib-config
>checking for GLIB - version >= 1.2.7... 
>*** 'glib-config --version' returned 1.2.7, but GLIB (1.2.6)
>*** was found! If glib-config was correct, then it is best
>*** to remove the old version of GLIB. You may also be able to fix the 
>error
>*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
>*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
>*** required on your system.
>*** If glib-config was wrong, set the environment variable GLIB_CONFIG
>*** to point to the correct copy of glib-config, and remove the file 
>config.cache
>*** before re-running configure
>no
>configure: error: 
>*** GLIB 1.2.7 or better is required. The latest version of GLIB
>*** is always available from ftp://ftp.gtk.org/.
>
>As far as I can tell, when I installed GLIB 1.2.7 everything went well.  
>Can anyone recommend where I should go from here to remove the old 1.2.6 
>version of GLIB?  The reason I'm doing all of this is to get XMMS to 
>install...
>
>Thanks all!!
>
>BTW: I'm using RedHat Linux 6.2

You can remove the old GLIB by typing:
        rpm --nodeps -e glib
HOWEVER this will break a large amount of rpm dependancies (so, for example,
if you later want to do anything with rpm where a package requries
(whether directly or not) glib, you'll also have to use --nodeps.

If you want to keep the rpm database sane, then get hold of an updated
glib rpm - Redhat should have one available for download, if not then
ask them to.

Robie.
-- 

------------------------------

From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: swap-free error message??? what is this?
Reply-To: [EMAIL PROTECTED]
Date: 18 May 2000 11:19:47 GMT

On Wed, 17 May 2000 17:20:31 +0100, David Taylor said:
>Came in in the morning and found this on the linux server:
>swap-free: swap-space map bad entry...  this was followed by what I
>presume to be sector references which were just constantly scrolled up
>the screen as they changed.
>What exactly does this mean??

Maybe hardware failure?

>is there a way in linux to perform a physical scan of the swap-space
>partition?????

Disable swap:
        swapoff -a
then recreate your swap partitions using
        mkswap -c /dev/yourpartition

Robie.
-- 

------------------------------

From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: Help: Kernel Panic
Reply-To: [EMAIL PROTECTED]
Date: 18 May 2000 11:26:47 GMT

On Wed, 17 May 2000 21:06:55 +1200, bear said:
>Hi,all
>
>I face a big trouble with my RedHat Linux 6.0.
>
>I try to install StarOffice in my Linux. The StarOffice Readme tell me I
>must upgrade my glibc libaries. So I follow the readme step:
>
>You can also install the glibc2 libraries manually. Go ahead in the
>following way:
>
>1) Unpack the glibc2 libraries required, i.e., in the /tmp directory:
>
>   cd /tmp
>   tar zxvf glibc207.tar.gz
>
>2) Remove a library loader (ld-linux.so.2) of a possibly still existing
>older
>   glibc2 version
>
>   NOTE: the warning mentioned above in the installation via Shell Script
>         applies also here!
>
>   rm -f /lib/ld-linux.so.2
>------------------------------
>3) Copy as root the runtime Linker in the /lib directory
>
>   cp /tmp/glibc2/ld-linux.so.2 /lib/ld-linux.so.2
>
>===================================================
>
>But after I do 'rm -f /lib/ld-linux.so.2', my god! I can not do anything
>again. No command I can use! It's impossible to do the command 'cp
>/tmp/glibc2/ld-linux.so.2 /lib/ld-linux.so.2

That's why it says cp, not rm! If this kind of thing ever happens to you,
try running sash (the standalone shell) which has no dependancies. It's
a bit weird but has many commands built in so you can repair the damage.

>'! So I have to turn off my PC. When the LILO runing, Linux display the
>follow error:
>
>Kernel panic: No init found   Try passing init = option to kernel
>
>Then the PC freezen in there.  I know it is lack of 'ld-linux.so.2', so how
>can I fix my Linux? I don't want to reinstall my Linux :(

Try init=/sbin/sash
Alternatively, download a fixing disk from www.toms.net/rb - you can make
the disk from Linux or That Other OS on another computer.

Robie.
-- 

------------------------------

From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: Hard Disk Weirdness - suddenly disk full
Reply-To: [EMAIL PROTECTED]
Date: 18 May 2000 11:32:01 GMT

Are you running utah-glx by any chance? I had constant space problems,
so I kept on removing stuff (I download a lot so I thought it was just
me). Then when I disabled the driver, I found almost a gig free!

What a brilliant way to free up space :-)

Robie.

On Tue, 16 May 2000 20:32:09 -0400, Frank J. Schmuck said:
>I was freeing up some space on my hard disk by deinstalling some RPMs.  I
>don't believe I removed anything of great importance, mainly games and
>stuff.  After doing so I appeared to have no problems.  I was able to free
>up space until I had about 20% of the disk free (1.2 gig drive) checking the
>disk using > df -m or > df -k.  I appeared to have no problems at that
>point.
>
>I then changed some permissions for StarOffice to allow a group (my non-root
>user account). But was never able to get it to run as my non-root user.  To
>do this I was switching back and forth between root and user to change
>permissions.
>
>I changed the clock to the correct time.
>
>Then I logged onto the Internet with Netscape for a short session (no
>downloads just looking about).
>
>At the end of the session I moved from an Gnome session back to command line
>as the non-root user and did one last check with df.  To my surprise the
>disk was now 100% used.
>
>At that point I could not log onto a Gnome session.  At shut down I get
>x-font server - failed with everything else "ok."
>
>At boot I received no error messages but after logging on as root I still
>have 100% disk full.  I am able to log onto a Gnome session.
>
>>> Anyone have an idea what I did and how to get out of this situation?
>
>Thanks
>Frank
>
>
>
>


-- 

------------------------------

From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: add a second root-account
Reply-To: [EMAIL PROTECTED]
Date: 18 May 2000 11:46:11 GMT

On Wed, 17 May 2000 11:35:16 GMT, Alexander K said:
>In article <[EMAIL PROTECTED]>,
>  Jaume Guasch <[EMAIL PROTECTED]> wrote:
>
>> unexpected behaviour, e.g. which would be the home?
>
>well the home is specified in /etc/passwd, no?

But there are two of them!

>> As I understand (of other articles in this thread) you are afraid of
>>messing
>> the /root directory.
>
>i took that as an example since that what happened last time.

If you had the two home directories different, then which one is to
be used (as Jaume said)? If they are the same, then neither account
will work.

>>Well ... there is nothing special with this directory,
>
>huh?

It's just another directory which is root's home.

>> just make a backup. The only things that could prevent you to login
>>are:
>>
>>  -Deleting the directory
>
>wouldnt that default to / ?

I don't think so; it simply won't let you login.

>>  -Messing the .login (or .profile or other initialization files)
>>
>
>yup. i screwed up the .inputrc file a few days ago.
>
>
>> But you can still win root access, loging in as a normal user and
>>making
>>
>> su
>>
>
>oh geez. feels like i said this a million times by now.
>what if i mess up the root account in such a fashion that it is
>-inacessable- ? perhaps i fooled around with /etc/shadow...
>
>> (instead of su -). This command does not read the initialization
>>files, so you
>> can gain root access. If you mess up you /etc/passwd file, and cannot
>>login as
>> root or normal user, neither will you be able to login as "root2". All
>
>not if i only touched the root line...

The two entries will have the same uid and hence Linux will only take
the first one when looking up stuff; so having two simply won't work.


If you really want emergency root access, make a copy of bash and place
it in your normal (user) home directory, make it owned by root, and a
group you belong to, and change the permissions to 4750 (I believe).

Of course, this won't need a password, so is slightly dangerous. You
could always write a program which checks a password :-)
(but then that's what su does)

Robie.
-- 

------------------------------

From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: What is a good Setup Maker for Linux?
Reply-To: [EMAIL PROTECTED]
Date: 18 May 2000 11:50:01 GMT

On Tue, 16 May 2000 22:14:29 +0100, Andy Piper said:
>[EMAIL PROTECTED] wrote:
>> 
>> I can't find any good one so far.  Can anyone recommend a good one.  It
>> doesn't have to be fancy like InstallShield, as long as it can ask the
>> user for options and copy the files to their appropriate locations.
>
>Loki's setup is possibly one of the better bets.

I don't like interactive setup programs; they mean that installing multiple
computers involve babysitting them for ages (The Windows Problem).

If you do make use of interactivity, make sure that there is a standard
way that hard-core Linux users or Linux admins can install it
non-interactively. Standard packages (rpm, deb etc) would be nice, but
it is a pain to make many of them for all the different formats.
Documenting exactly what files it places where and what changes to
configuration files would suffice, so the admin could write his/her
own script which installs a whole machine automatically.

Robie.
-- 

------------------------------

From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: naive question on programming Linux applications
Reply-To: [EMAIL PROTECTED]
Date: 18 May 2000 11:56:10 GMT

Please reply below the question!

On Tue, 16 May 2000 18:01:25 +0100, Jamie Webb said:
>Most Linux programs are written in C (C++ seems to be catching on rather
>slowly in the Linux community) so if you want to do anything clever, you'll
>probably need that (it's probably better to learn C++ first and then see
>which bits C can't do, because you will get into better programming habits).

KDE is in C++. That's kind of major, isn't it? Most of the GNU stuff
is in C though. UNIX-like systems are based on lots of small components,
so C++ is not such an advantage. KDE's much larger, so C++ is helpful.

GTK is written in C, although bindings are available in C++. However,
it does used a very object-based paradigm.

If you can't program, learn C first, it is much easier than C++ (just
make sure that you keep good programming habits; goto is a command
you should NEVER use, unless you need to optimize AFTER you've written
it properly)

>For simpler stuff, you could stick to Perl (possibly with a GUI module) if
>you don't want to spend to much time learning a new language. You could also
>look at moving up to Java.

I found Perk/GTK much easier than doing GTK in C.

Robie.

>Data structures, etc. will probably be more useful after you have decided on
>a language to apply them to.
>'Linux Unleashed' has a short chapter on each of a number of languages, but
>most books on programming will have a bit at the beginning telling you about
>the language and why you should use it. You could go to a bookshop or
>library and just read those.
>Ask for suggestions about books to buy after you have chosen a language.
>
>-- Jamie Webb
>
><[EMAIL PROTECTED]> wrote in message news:8fjnpc$of0$[EMAIL PROTECTED]...
>>
>>
>> I'm wondering what one needs to learn to be able to program applications
>> for Linux. I'm not very experienced as a programmer, but I can do all the
>> web-related programming I need (JS, Perl and PHP) and I do have the
>> opportunity to take some classes in the next couple of years. What should
>> I learn? C++? More advanced data-structures classes?
>>
>> Are there any good books on this subject?
>>
>> Thanks!
>>
>> Joshua
>> [EMAIL PROTECTED]
>>
>>
>> Sent via Deja.com http://www.deja.com/
>> Before you buy.
>
>


-- 

------------------------------

From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: netscape cache
Reply-To: [EMAIL PROTECTED]
Date: 18 May 2000 11:58:05 GMT

On Wed, 17 May 2000 07:08:03 GMT, Andreas Kahari said:
>[snip]

>I do an automatic 'rm -f' on my netscape cache dir upon logout and I
>also run a series of squid proxies to do my caching for me.

I use squid, and have disabled my browsers' caches completely. It's
slightly slower, but nothing compared to times on the net.

Robie.
-- 

------------------------------

From: [EMAIL PROTECTED] (Donal K. Fellows)
Crossposted-To: 
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: 22 May 2000 13:09:43 GMT

In article <[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:
> I much, much, much prefer being able to right-click on something and
> hit "Properties."  I also like being able to press F1 when the mouse
> is over a confusing field and get an explanation of it.  (The
> explanation often isn't a help, and I expect that would carry over
> to Linux, but at least there's no flipping around between screens.)

Agreed.  The right-button and F1 idioms are good ones, as are button
bars on apps and scrollwheels on mice.  Writing decent documentation
is a different skill to writing a decent GUI.  I have yet to meet
anyone at all who was good at both in the same application.

[attribution lost]
>> This is the problem though, they don't care enough to create
>> programs to help newbies install and use linux and so linux is
>> being held back.
> 
> I care enough.  I'm just no good at GUI programming.

It isn't that hard with something like Tcl/Tk, Perl/Tk or TkInter.
You just have to remember that users aren't necessarily going to work
through things the same way you do, that they want *both* mouse and
keyboard navigation, plenty of help and a chance to undo things where
possible (and a really hefty warning where you can't undo!)

If you're genuinely interested, try to read a copy of Alan Cooper's
_About Face_ (ISBN: 1-56884-322-4) which, for all its strong focus on
'Doze, is a really good book on GUI design.

Donal.
-- 
Donal K. Fellows    http://www.cs.man.ac.uk/~fellowsd/    [EMAIL PROTECTED]
-- I may seem more arrogant, but I think that's just because you didn't
   realize how arrogant I was before.  :^)
                                -- Jeffrey Hobbs <[EMAIL PROTECTED]>

------------------------------

From: [EMAIL PROTECTED] (phil hunt)
Crossposted-To: gnu.misc.discuss
Subject: Re: Motif release to Open Source Community leads to Open Motif Everywhere
Date: Mon, 22 May 2000 13:41:29 +0100
Reply-To: [EMAIL PROTECTED]

On 22 May 2000 08:29:57 +0200, Adams Klaus-Georg <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (phil hunt) writes:
>
>> On Thu, 18 May 2000 12:28:11 GMT, Jay Maynard <[EMAIL PROTECTED]> wrote:
>> >On Thu, 18 May 2000 11:12:38 +0100, phil hunt <[EMAIL PROTECTED]>
>> >wrote:
>> >>Of course, the distinction is rapidly becoming almost irrelevant: the only
>> >>closed-source Unix which is likely to remain around is Solaris. The others
>> >>(IRIX, AIX, HP-UX) are likely to be abandoned, and their best features 
>> >>subsumed into Linux.
>> >
>> >While this may be true for IRIX, I'm not so sure about HP-UX, and not at all
>> >sure about AIX,
>> 
>> Which Unix do IBM recommend for the S/390. Is it:
>> (a) Linux
>> (b) AIX 
>
>or (c) OS/390 (formerly called MVS)

Is this a Unix?

>> The answer is: Linux.
>
>No, the answer is it depends. Note: AIX doesn't run on S/390,

My point exactly.

Linux didn't use to run on S/390 either. Linux was ported to it. AIX wasn't.

> so its
>(a) or (c). If you don't have boatloads of Cobol programs to support,
>than Linux is an option. And OS/390 ain't going away anytime soon.

Never said it was.

>> Ditto for the Netfinity series. AIX is becoming a backwater for IBM. 
>
>I don' think so. They give you Linux on the low-end machines, but for
>the big boxes you take AIX and migrate over to Monterey later.

As you yourself point out, their biggest boxes don't run AIX. They do
run Linux.

>The
>difference is only in the administrative stuff anyways, Monterey will
>implement all Linux APIs according to IBM (whatever that means).
>
>Don't hold you breath until AIX is dead :-)

It isn't dead yet. But I don't think it has a log-term future.

Is AIX being ported to new platforms? No.
Is Linux being ported to new platforms? Yes.
Is the number of computers running AIX growing? No.
Is the number of computers running Linux growing? Yes.

-- 
***** Phil Hunt ***** send email to [EMAIL PROTECTED] *****
Moore's Law: hardware speed doubles every 18 months
Gates' Law: software speed halves every 18 months 

------------------------------

From: Christian Stieber <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,de.comp.os.unix.linux.misc,linux.dev.c-programming
Subject: Re: How to find path to a shared module
Date: 22 May 2000 13:22:17 GMT

In de.comp.os.unix.linux.misc Jeff Ostrin <[EMAIL PROTECTED]> wrote:

> Is there a system call I can make inside my module to get the path
> to my module?

No.

However, somebody does in fact know the path, since dlopen() needs
to find your module as well. So you can just pass the same "filename"
argument as a parameter to your module.

Christian


-- 
M�chten Sie Ihre Festplatten formatieren?
  [J]a
  [N]at�rlich

------------------------------

From: Arun Mahajan <[EMAIL PROTECTED]>
Subject: Configuring SIS 6326 in Linux !!
Date: Mon, 22 May 2000 13:30:10 GMT

Hi everybody,

i installed linux with DOs as dual booting. Now the problem is with 
starting Xwindows in linux. I have SIS 6326 AGP video card with 8mb ram on 
it and Hyundai Deluxscan 14S monitor. If I run Xconfigurator (these two are 
listed there) and ask to probe it it finds the card as SIS 6326 with 8 bit 
800x600 resolution but when testing it fails. 

Is there any special settings reqd.!! A detailed step by step instructions 
will be highly appreciated.

Thanks in advance for any help.

regards,
Arun

--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: "Jhair Triana (Praktikant Atkinson)" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: how to enter a bug report against linux?
Date: Mon, 22 May 2000 15:22:48 +0200

steve@howdy wrote:

> any one can give a link or have information on how can one
> enter a bug report if they find a problem in the linux OS?
>
> Is there an official site setup so one can do that? if not,
> how does one report a bug in linux? is it distro specific?
> I see rhat have a bug report page
>
> http://bugzilla.redhat.com/bugzilla/
>
> But if one has a bug in kernel, is that the place to
> report it? btw, I did not see such a thing on Suse web site.
>
> looking at http://www.kernel.org I did not see a place
> to report a bug.
>
> I think there should be one place to report bugs for linux. The
> way it is now seem confusing. How do people enter bug reports
> against other OS's such as windows? (not a window user so I do
> not know).
>
> regards,
> steve

Use the source, Luke.


------------------------------

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Need ideas for university funded project for linux
Date: Mon, 22 May 2000 12:07:54 GMT

Christopher Browne writes:
> The best vote is a functioning software package.  Whether that be:
> a) A source RPM, or
> b) A source .deb, or
> c) A Ports package.

And there is the Debian popularity contest, an optional package that keeps
track of what you install and anonymously reports it to a Web page where
totals are displayed.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

------------------------------

From: [EMAIL PROTECTED] (Jay Maynard)
Crossposted-To: gnu.misc.discuss
Subject: Re: Motif release to Open Source Community leads to Open Motif Everywhere
Reply-To: [EMAIL PROTECTED]
Date: Mon, 22 May 2000 13:54:02 GMT

On Mon, 22 May 2000 13:41:29 +0100, phil hunt <[EMAIL PROTECTED]>
wrote:
>Is AIX being ported to new platforms? No.

W#rong. Monterey is based on AIX.

------------------------------

From: MrJack <[EMAIL PROTECTED]>
Subject: RE:distro-related supermount? problem
Date: Mon, 22 May 2000 14:05:01 GMT


> MrJack <[EMAIL PROTECTED]> wrote:
> : I discovered that apparently one must NOT try to specifically
> : declare an /etc partition, or else the system will hang solidly
> : after declaring it can't find inittab or any other initialization
> <snip>

> Well, it sure would be hard to read /etc/fstab without /etc mounted!
> The usual is to have /etc on /. You _can_ do it as a separate mount,
> but it'll take a little work and preparation and I don't think you're
> at super-unix-guru level yet! So don't try.

> Peter

Damn, I'm still trying to decide if you're being sarcastic or not, Peter. 
You're good!

I've seen that people run out of space on their /etc, and came close once 
myself, so I wanted a real big partition.

Surely you know these multitudes of details are easy to miss when working 
one's way into Linux? I simply assumed, based on all I knew (precious 
little, but improving) that I could declare an /etc partition during 
partitioning, make it nice and big, and the install would take it from 
there. In fact, it seemed to work just fine till the initial reboot.

BTW, I also asked about Supermount and its failure to work under a lot of 
Mandrake install setups. How about that one? And the hang apparently 
caused by a modification of /fstab while trying to "fix" it? I put that 
line in fstab often and successfully before supermount became available. 

thanks for the help, fragmented or not-

James
[EMAIL PROTECTED]

------------------------------


** 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
******************************

Reply via email to