Linux-Misc Digest #363, Volume #27 Wed, 14 Mar 01 23:13:03 EST
Contents:
Re: RedHat RPM question (Sak Wathanasin)
serial mouse & 486 ("narmer")
Debian apt question (Gene Wilburn)
file restoration for lotus 1-2-3 (SCOTT)
Extending Filesystems
Re: compile error - gcc (Steve Martin)
usb cdrw almost works? (David Efflandt)
Re: Anybody get Netscape 6 Preview 3 to install? (Arctic Storm)
Re: Debian apt question (Carl Fink)
Re: help with compiling. (anthony stuckey)
Re: Why did kernel jump to 2.4? (Arctic Storm)
how to set font path
Re: insmod lp failed (MH)
Re: Extending Filesystems ([EMAIL PROTECTED])
Re: help with compiling. ("Stig S�rensen")
Re: Extending Filesystems ("Jeremy N. Surma")
Re: help with compiling. (Richard Thrippleton)
Re: help with compiling. (Anders Lund)
----------------------------------------------------------------------------
From: Sak Wathanasin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat
Subject: Re: RedHat RPM question
Date: Thu, 15 Mar 2001 00:08:27 +0000
In article <[EMAIL PROTECTED]>,
Christopher Albert <[EMAIL PROTECTED]> wrote:
> First have you tried just installing the rpms for php4 from the redhat
> site or the upgrade site( say
Yes, but I want a version built with/for Apache 1.3.17.
> I have had no problem building php on RH7. My guess is that somehow
> you're glibc upgrades got botched. First did you run ldconfig after
> upgrading; that might help.
Well that's good news; it means there's hope... ldconfig; yes did that
several times.
> The symbol you're looking for "__ns_name_unpack" occurs in several
> libraries, for example
> libresolv.so.2,libnss_dns.so
>
> On this RH7 box, which I update all the time
> if I do
>
> #rpm -qf /usr/lib/libnss_dns.so
> glibc-devel-2.2-12
I'm currently at 2.2.1-3 but I did also try glibc-2.2-12 previously.
> #nm /usr/lib/libnss_dns.so|grep __ns_name_unpack
> U __ns_name_unpack@@GLIBC_2.1
The "U" means the symbol is referenced but not defined, no? Isn't that
what the linker was moaning about? As far as I can tell that symbol is
not defined in any lib on my system. I can find definitions of
__ns_name_unpack in libbind.a and libresolv.a (both of which are
included in the link, by the way), but not the version specific to
GLIBC_2.1.
I don't understand where this explicit reference to glibc 2.1 comes from
anyway because I rebuilt, from scratch, glibc 2.2.-3 from the src RPM on
a system which had glibc-2.2-12 installed. Weird!
--
Sak Wathanasin
Network Analysis Limited
178 Wainbody Ave South, Coventry CV3 6BX, UK
Phone: (+44) 24 76 419996 Fax: (+44) 24 76 690690
------------------------------
From: "narmer" <[EMAIL PROTECTED]>
Subject: serial mouse & 486
Date: Wed, 14 Mar 2001 22:17:17 GMT
I just recently did a full install of "Linux Slackware 3.5" on my 486
computer. I tried to configure my system using the gpm and XFree86, but
the mouse don't work.
My system is:
-486DX4 100MHz;
-Linux kernel 2.0.34 on Slackware 3.5;
-3-buttons MouseSystems Serial mouse on ttyS0.
Moreover:
-with gpm in use with the "MouseSystems" protocol, mouse don't work;
-XFree86 don't work with "Mouse device" on /dev/ttyS0 in XF86Config,
even if gpm is killed;
-XFree86 crashes if selected mouse protocol 'Auto' in XF86Config;
-gpm and XFree86 don't works with the "Microsoft" and others protocols;
-Serial ports are know at boot system:
ttyS0 at 0x03f8, irq=4, UART 16550A
ttyS1 at 0x02f8, irq=3, UART 16550A;
-There isn't any modem installed on system;
-There isn't any /dev/modem or others linked to /dev/ttyS0;
-Mouse don't work even with Slackware 7.0 installed;
-In file /proc/interrupts appear IRQ 4 serial if gpm is in use and don't
have irq conflicts;
-In file /proc/ioports don't have conflicts;
-Same software configuration on Pentium 150 and Slackware 3.5 or 7.0 and
with same mouse don't have any problem, because mouse work fine;
-On Pentium 150 same mouse work with gpm and Xfree with "MouseSystems"
protocol;
-I have already consult man pages and howto's docs for gpm, XFree86,
serial ports, 3-buttons mouses, ..., without obtain solutions to my
problem.
Does anyone know how I can get Slackware to recognize that a mouse
is on my system?
Thanks, Narmer
------------------------------
From: [EMAIL PROTECTED] (Gene Wilburn)
Subject: Debian apt question
Reply-To: [EMAIL PROTECTED]
Date: Thu, 15 Mar 2001 02:16:39 GMT
Lately when I run apt-get update I get an "Ign" in front of some
of the feedback lines:
Hit http://http.us.debian.org potato/main Sources
Ign http://http.us.debian.org potato/main Release
Hit http://http.us.debian.org potato/non-free Sources
Ign http://http.us.debian.org potato/non-free Release
Hit http://http.us.debian.org potato/contrib Sources
Ign http://http.us.debian.org potato/contrib Release
I've been looking for an explanation and haven't found it yet.
What does "Ign" mean? Is it a problem?
Thanks,
Gene
------------------------------
From: SCOTT <[EMAIL PROTECTED]>
Subject: file restoration for lotus 1-2-3
Date: Thu, 15 Mar 2001 02:30:05 -0000
In lotus 1-2-3 release 5.0, I saved a blank worksheet as a very important
file and thus erased all the data in that file. Can I recover the "old"
version of this file. How? Thank you as it is a very critical data file.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Extending Filesystems
Date: Thu, 15 Mar 2001 02:30:31 -0000
How do you increase the size of a filesystem?
I am using Mandrake 7.2
Thanks.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: compile error - gcc
Date: Wed, 14 Mar 2001 21:46:59 -0500
Nick Traxler wrote:
>
> I am trying to replace the compiler packaged with redhat
> 7 (gcc 2.96) with the current stable release, 2.95.2.
> But, the compile dies with what appears to be incorrect
> code.
Don't know if this is a factor (I'm just guessing here),
but you might try using the "other" compiler shipped
with RH7, i.e. "kgcc". Go ahead and do the "configure"
step, then edit the generated top-level Makefile and replace
the line
CC = gcc
with
CC = kgcc
This should tell the Makefile to use the 2.91.66 compiler
that Red Hat put in the distro for kernel compilations.
(The only good thing I've ever heard about 2.96 was from
Red Hat's propaganda; the FSF says this version should
not be used for production code and that it shouldn't have
been included in any distros, as it is purely an internally-
used development branch of GCC.)
Hope this helps.
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: linux.apps.cdwrite
Subject: usb cdrw almost works?
Date: Thu, 15 Mar 2001 02:59:07 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
I have a VST portable cd writer in SuSE 7.1 kernel 2.4.0 that usb-storage
says is not quite according to its known configurations. 'lsusb'
identifies it as ID 07ab:fc01 Memorex BBQ Series 100 CD-R/RW.
/proc/scsi/scsi identifies it as:
Vendor: Model: CD-R/RW RW8040A Rev: 1.13
Type: CD-ROM ANSI SCSI revision: 02
And the file below /proc/scsi for this device shows it as:
Host scsi0: usb-storage
Vendor: Freecom
Product: USB-IDE
Serial Number: None
Protocol: QIC-157
Transport: Freecom
GUID: 07abfc010000000000000000
It sort of works for reading when the /dev/scd# is mounted as iso9660
cdrom, but sometimes hangs when accessing some files. From /dev/sg# (or
actual bus,id,lun), cdrdao can read 'disk-info' as generic-mmc, but
'read-toc' gets as far as reading the song list, then hangs attempting to
check the tracks.
When I set up my ATAPI dvd-cd with scsi emulation, I was able to read
everything from a music cd (cdrdao read-cd...) with that drive.
Attempting to write that same data to the cd writer (cdrdao simulate...)
did its preliminary steps up to filling the buffer, then locked up trying
to write.
Likewise cdrecord -dummy... recognized the drive and media, but locked up
attempting to write an iso image (same Linux iso file successfully written
to cd-r in Windows).
Details about what I tried so far, including usb-storage debug info,
is at http://www.de-srv.com/linux/vst-cd.html
One thing that puzzles me is the QIC-157 (tape) protocol. Makes me wonder
if I need to record like a tape drive.
Is anyone familiar with this drive or how to determine if the hangup is in
usb-storage or scsi support (it sometimes totally locks up Linux)? Or
what info can I provide about this drive to the module maintainers to
support this drive?
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: Arctic Storm <[EMAIL PROTECTED]>
Subject: Re: Anybody get Netscape 6 Preview 3 to install?
Date: Thu, 15 Mar 2001 03:09:43 GMT
> I've been trying to install Netscape 6.1 (my OS is Linux Mandrake
> 7.2)I do what the README files tell me but I don't get a response from my
> system.Maybe netscape should post a HOWTO install with Linux.I need the
> instructions for installing it ,beacause I'm trying to not give up.But my
> patience is running up.Maybe someone could help me.Please e-mail me or
> post it here.
There is no Netscape 6.1! There's Netscape 6.01, and the installation
instructions exists at the download site. You didn't look hard enough.
Look under "How to Install Software".
Download the necessary stuff, then issue the following command in root.
gzip -dc filename | tar -xvf -
Then cd into that the newly uncompressed directory and issue the following
command.
./netscape-installer
The dot & slash, "./", means "that which is in this directory".
Netscape 6.01 sucks. Stay with Netscape 4.7x. Trust me!
------------------------------
From: [EMAIL PROTECTED] (Carl Fink)
Subject: Re: Debian apt question
Date: 15 Mar 2001 02:34:01 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 15 Mar 2001 02:16:39 GMT Gene Wilburn <[EMAIL PROTECTED]> wrote:
>Lately when I run apt-get update I get an "Ign" in front of some
>of the feedback lines:
It means that apt-get has read a line in /etc/apt/sources.list that's
commented out. If it's happening "lately" you changed something in
that file.
--
Carl Fink [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum
<http://dm.net>
------------------------------
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: help with compiling.
From: [EMAIL PROTECTED] (anthony stuckey)
Date: Thu, 15 Mar 2001 03:14:25 GMT
Rick <[EMAIL PROTECTED]> writes:
>I have compile dmy first app. I stopped after make, before make install.
>I am very uneasy to install without know where all these files are
>going, and without know if I can uninstall the app and its files.
>So, how do I know where all these are going, and how do I uninstall it?
>I didnt see any makeuninstall directions.
Most programs have no form of make uninstall. This is one of the great
pains in the neck of the unix world.
make -n install
Will execute the install commands. This may or may not tell you
exactly where a program believes it will be installed.
Encap and similar package managers address this in one form, by
allowing programs to be installed in one place and referenced from another
by trees of symbolic links.
RPM and other package managers address this in another, by providing a
list of installed files which can be checked for integrity.
--
Anthony Stuckey [EMAIL PROTECTED]
System Administrator, students.uiuc.edu
------------------------------
From: Arctic Storm <[EMAIL PROTECTED]>
Subject: Re: Why did kernel jump to 2.4?
Date: Thu, 15 Mar 2001 03:16:22 GMT
> >I was just curious why we were all using 2.2.something and suddenly 2.4
> >came out? Was there a reason, like 2.3 is bad luck in Finland ;-)
>
> The standard in Linux is that odd minor numbers indicate developement
> kernels. Thus 2.3 has been out for a long time already ( up to version
> 36 or something). 2.4 is the stable kernel series into which all of the
> successful experiemnts tried out in the 2.3 series have been installed.
> 2.5 will be starting very soon (if it has not already) as the unstable
> test version building on the 2.4 series.
I was told that the works have not begun, because decisions have not been
made regarding goals for the next release.
------------------------------
From: <[EMAIL PROTECTED]>
Subject: how to set font path
Date: 15 Mar 2001 03:19:31 GMT
Hi,
Could anyone please help me on adding extra fonts to X?
I got the following errors in log
...
Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/chinese/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
I have add the following line in XF86Config:
...
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/chinese/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
...
and also in /etc/X11/fs/config
...
catalogue = /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
/usr/X11R6/lib/X11/fonts/chinese/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi
...
I have 'mkfontdir' and 'xset fp rehash' or even reboot
Can someone help me on this? Thanks!
---- Brittle
------------------------------
From: MH <[EMAIL PROTECTED]>
Subject: Re: insmod lp failed
Date: Wed, 14 Mar 2001 10:13:53 -0800
Tauno Voipio wrote:
>
> "MH" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Recently upgraded my kernel and now my printer isn't working. It
> > appears
> > to be a defective module. I tried recompiling and reinstalling, but
> > without success. I get a kernel error message on boot telling me that
> > no
> > (lp) device was found. The module DOES exist.
> >
> > When I run "modprobe lp" to manually install the parallel port
> > driver I get this:
> >
> > ....Device or resource busy
> >
> > /lib/modules/2.2.18/misc/lp.o: insmod /lib/modules/2.2.18/misc/lp.o
> > failed
> >
> > Any ideas on what this problem is, and how to fix it?
> >
>
> This is usually reported by incorrect / conflicting I/O addresses or
> interrupt requests. Check /proc/ioports and /proc/interrupts.
>
> You may be missing the parallel port driver pc_parport.o or equivalent.
>
OK. I checked again, and sure enough, although I compiled the parallel
port module, I failed to compile the "pc style hardware" module. Thanks
for the assistance!
--
I use GNU/Linux and support the Free Software Foundation. This message was
composed and transmitted using free software, licensed under the General
Public License.
--
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Extending Filesystems
Date: Thu, 15 Mar 2001 03:46:06 GMT
<[EMAIL PROTECTED]> writes:
> How do you increase the size of a filesystem?
> I am using Mandrake 7.2
You run fdisk, delete the partitions that are the wrong size, create
new ones of the appropriate size, mke2fs them, mount them, and then
recover the data that should go onto them from your system backup.
If the filesystems include /, /usr, or /var, you may need to pick up
one of the "Linux-on-a-floppy" distributions and do the work while
running a separate Linux install in order to ensure that you don't
fdisk components out from under yourself.
--
(reverse (concatenate 'string "gro.gultn@" "enworbbc"))
http://vip.hex.net/~cbbrowne/finances.html
"I still maintain the point that designing a monolithic kernel in 1991
is a fundamental error. Be thankful you are not my student. You
would not get a high grade for such a design :-)" -- Andrew Tanenbaum
to Linus Torvalds
------------------------------
From: "Stig S�rensen" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: help with compiling.
Date: Thu, 15 Mar 2001 04:51:33 +0100
He He, well i thought that MacOS users was used to lack of packetmanagement
;-)
/Stig
"anthony stuckey" <[EMAIL PROTECTED]> wrote in message
news:lsWr6.10520$[EMAIL PROTECTED]...
> Rick <[EMAIL PROTECTED]> writes:
> >I have compile dmy first app. I stopped after make, before make install.
> >I am very uneasy to install without know where all these files are
> >going, and without know if I can uninstall the app and its files.
>
> >So, how do I know where all these are going, and how do I uninstall it?
> >I didnt see any makeuninstall directions.
>
> Most programs have no form of make uninstall. This is one of the great
> pains in the neck of the unix world.
> make -n install
> Will execute the install commands. This may or may not tell you
> exactly where a program believes it will be installed.
>
> Encap and similar package managers address this in one form, by
> allowing programs to be installed in one place and referenced from another
> by trees of symbolic links.
> RPM and other package managers address this in another, by providing a
> list of installed files which can be checked for integrity.
> --
> Anthony Stuckey [EMAIL PROTECTED]
> System Administrator, students.uiuc.edu
------------------------------
From: "Jeremy N. Surma" <[EMAIL PROTECTED]>
Subject: Re: Extending Filesystems
Date: Wed, 14 Mar 2001 22:01:39 -0600
Try GNU Parted. I've used it before and it seems to work rather well. If
you want to use a GUIish tool then I'd suggest PQ Magic 4.0 or later.
> How do you increase the size of a filesystem?
> I am using Mandrake 7.2
>
> Thanks.
------------------------------
From: [EMAIL PROTECTED] (Richard Thrippleton)
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: help with compiling.
Date: Thu, 15 Mar 2001 03:14:01 +0000
In article <[EMAIL PROTECTED]>, Rick wrote:
>I have compile dmy first app. I stopped after make, before make install.
>I am very uneasy to install without know where all these files are
>going, and without know if I can uninstall the app and its files.
The best thing to do is to edit the 'configure' file beforehand, to
either view or change the directories where things get put. Variables are
set that determine both where the compiled app looks for its files, and
where make will put them. Something like this;
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share'
sysconfdir='${prefix}/etc'
Prefix and exec_prefix are usually defined further up. Be warned
that some source, though it uses this configure script, will ignore any
changes you make to these individual directories and just go by prefix.
These are in the minority though. Essentially these variables do exactly
what they say; define places where files go. You can either just look and be
happy with where things go, or you could change them to your own particular
tastes. Just be consistent.
In your case, kill the current source directory, unpack it again and
then do the configure editing, just to be sure. Also, I think that 'make
install -i' does a dry run, outputting all the usual guff but without
actually doing it.
>So, how do I know where all these are going, and how do I uninstall it?
>I didnt see any makeuninstall directions.
...which leads me to my next point. A consistent directory structure
for installation will allow you to simply whip through and delete everything
that got installed, as you will know where it is.
Richard
=====
:) - Smiles
:( - Sad
:D - Laughs
d8= - Your pet beaver is wearing a baseball cap and glasses
------------------------------
From: Anders Lund <[EMAIL PROTECTED]>
Subject: Re: help with compiling.
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Date: Thu, 15 Mar 2001 05:03:01 +0100
anthony stuckey wrote:
> Rick <[EMAIL PROTECTED]> writes:
> Most programs have no form of make uninstall. This is one of the great
> pains in the neck of the unix world.
> make -n install
> Will execute the install commands. This may or may not tell you
> exactly where a program believes it will be installed.
Actually, most of the packages I see theese days have a uninstall target in
the make file.
Try doing "make uninstall" before installing, if it says "no target to make
uninstall" there's no uninstall functionality, but most likely it will
either complaint that the files to be removed does not exist, or in best
cases say "nothing to be done..". Be careful with "make uninstall" if you
compile a newer version of a program you allready have installed, as it may
remove files from your current version then.
After compiling and installing a program, do "make clean" and if you have
space probs, just tar.bz2 the build directory and save it somewhere.
-anders
--
The web is full of <things>: this was sent to me by a friend;-)
http://user.tninet.se/~prv247p/hatt/hatten.swf
------------------------------
** 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
******************************