1. Offtopic; Linux; please help me

I have 2 Linux configuration questions:

1) I am trying to get Caldera's OpenLinux to allow me
to compile a FTP client program I d/l'd, SEUL's WXFTP
0.4.4.  When running "make depend," it says that it is
missing a /asm/socket.h.  I was able to look through
different libs on my Caldera CD and find the right
libs, but I can't find the one that will make a /asm
directory.  The /asm directory is actually a misnomer,
it would be a directory called "asm" wherever the
shared libraries (source form) like glib and glibc
would be put.

2) How would I get my dot-matrix Panasonic KX-P2123
printer set up?  I can get it set up to print as a raw
device, but then it looks like doing this in DOS:
        C:> TYPE FILENAME.TXT > LPT1

Which isn't bad, I'd just like it print nicer, more
like (dare I say) Windows.

Thanks to all who help,
Mike Hurley
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

new topic     » topic index » view message » categorize

2. Re: Offtopic; Linux; please help me

----- Original Message -----
From: "Mike Hurley" <mike_hurley_2 at YAHOO.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Monday, February 21, 2000 8:59 PM
Subject: Offtopic; Linux; please help me


> I have 2 Linux configuration questions:
>
> 1) I am trying to get Caldera's OpenLinux to allow me
> to compile a FTP client program I d/l'd, SEUL's WXFTP
> 0.4.4.  When running "make depend," it says that it is
> missing a /asm/socket.h.  I was able to look through
> different libs on my Caldera CD and find the right
> libs, but I can't find the one that will make a /asm
> directory.  The /asm directory is actually a misnomer,
> it would be a directory called "asm" wherever the
> shared libraries (source form) like glib and glibc
> would be put.
Sounds like the linux kernel source. Try downloading it, and installing it
in /usr/scr/linux.
Also, look for a configure script with the source. Many programs include
something like this which will automatically setup the makefile.
>
> 2) How would I get my dot-matrix Panasonic KX-P2123
> printer set up?  I can get it set up to print as a raw
> device, but then it looks like doing this in DOS:
>         C:> TYPE FILENAME.TXT > LPT1
>
> Which isn't bad, I'd just like it print nicer, more
> like (dare I say) Windows.
Try here:
http://www.linuxdoc.org/HOWTO/Printing-HOWTO.html
>
> Thanks to all who help,
> Mike Hurley
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: Offtopic; Linux; please help me

On Mon, 21 Feb 2000, you wrote:
> I have 2 Linux configuration questions:
>
> 1) I am trying to get Caldera's OpenLinux to allow me
> to compile a FTP client program I d/l'd, SEUL's WXFTP
> 0.4.4.  When running "make depend," it says that it is
> missing a /asm/socket.h.  I was able to look through
> different libs on my Caldera CD and find the right
> libs, but I can't find the one that will make a /asm
> directory.  The /asm directory is actually a misnomer,
> it would be a directory called "asm" wherever the
> shared libraries (source form) like glib and glibc
> would be put.

You almost certainly have a copy of socket.h somewhere, it's one
of the standard header files used in lots of C programs.
I found a copy in /usr/include/sys, as well as in the source directories
usr/src/linux-2.2.7.SuSe/include/linux.

Try typing locate socket.h to see if you have a copy.
If locate returns nothing, try updating your database of
programs: as root, run updatedb, then try locate again.

./configure will sometimes find the locations of these various files
automatically. If it doesn't, you can create a directory and copy the
needed files there. usr/include/asm should work.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu