LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-04-2005, 02:57 PM   #1
ananya
LQ Newbie
 
Registered: Dec 2004
Location: India
Distribution: Slackware 13.1
Posts: 13

Rep: Reputation: 0
Failed dependencies! Please help!


Hi,

I downloaded a hsf modem driver package from linuxant.com.
Installing the package results in the following dependency fault:

error: failed dependencies
pciutils needed by <package>
gcc needed by <package>
perl needed by <package>
/bin/sh needed by <package>

I have installed slackware 10 fully. No packages were left out. Heck, how can it be that i am missing gcc when i can compile c programs without a hitch. "/bin/sh not found"...come on...am i missing shell? Not likely!!

Please instruct me about this dependeny fault. I use the default kernel 2.4.26.
If there is anyone out there using linuxant's hsf "14.4 kbps limited" modem driver on kernel 2.4.26, please tell me how you installed your driver.

Is there a problem with my kernel? Do i need to upgrade it? Please advice, I badly need internet.
Thanks for all the help.

Ananya.
 
Old 03-04-2005, 03:09 PM   #2
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
my guess is that you are trying to install an rpm package. well rpm is not native slackware format and there is no database of installed files for rpm, so youll always get deps. problems.
cenvert the rpm package to tgz and then install it:
Code:
$ rpm2tgz package.rpm
# installpkg package.tgz
 
Old 03-04-2005, 03:26 PM   #3
ananya
LQ Newbie
 
Registered: Dec 2004
Location: India
Distribution: Slackware 13.1
Posts: 13

Original Poster
Rep: Reputation: 0
Hi,
I converted to tgz format , but on installing it just says:

ananya@darkstar:~/Conexant$ su
Password:
root@darkstar:/home/ananya/Conexant# installpkg hsfmodem-7.18.00.02full-1.i386.tgz
Installing package hsfmodem-7.18.00.02full-1.i386...
PACKAGE DESCRIPTION:

root@darkstar:/home/ananya/Conexant#

Thats it. How do i know whether my package is installed or not.
Help!
 
Old 03-04-2005, 03:32 PM   #4
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
if there were no error, then its installed.
$ cat /var/log/packages/hsfmodem-7.18.00.02full-1.i386
will give you the list of files that were installed
 
Old 03-04-2005, 03:32 PM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you'll have to find out what was in the rpm ( use rpm --help and look for the explode pkg or something similar). Or alternatively, and easier, go to /var/log/packages, find the package you just installed and do:

cat package_name

to see what it installed and where.

if it was a driver, it probably will refuse to load anyway.
 
Old 03-04-2005, 04:32 PM   #6
ananya
LQ Newbie
 
Registered: Dec 2004
Location: India
Distribution: Slackware 13.1
Posts: 13

Original Poster
Rep: Reputation: 0
Hi,
In my last post, the shell output just says PACKAGE DESCRPN:
No prompts, no confirmations. Weird, when you are installing a modem driver!

I checked out $ cat /var/log/packages/<my package>. It says:

root@darkstar:/home/ananya# cat /var/log/packages/hsfmodem-7.18.00.02full-1.i386
PACKAGE NAME: hsfmodem-7.18.00.02full-1.i386
COMPRESSED PACKAGE SIZE: 1072 K
UNCOMPRESSED PACKAGE SIZE: 3170 K
PACKAGE LOCATION: hsfmodem-7.18.00.02full-1.i386.tgz
PACKAGE DESCRIPTION:
FILE LIST:
./
etc/
etc/hsfmodem/
etc/hsfmodem/nvm/
etc/hsfmodem/nvm.tar.gz
etc/hsfmodem/package
usr/
usr/lib/
usr/lib/hsfmodem/
usr/lib/hsfmodem/LICENSE
usr/lib/hsfmodem/config.mak
usr/lib/hsfmodem/modules/
usr/lib/hsfmodem/modules/GPL/
usr/lib/hsfmodem/modules/GPL/COPYING
usr/lib/hsfmodem/modules/GPL/oscompat.h
usr/lib/hsfmodem/modules/GPL/serial_cnxt.c
usr/lib/hsfmodem/modules/GPL/serial_cnxt.h
usr/lib/hsfmodem/modules/GPL/serial_core.c
usr/lib/hsfmodem/modules/GPL/serial_core.h
usr/lib/hsfmodem/modules/Makefile
usr/lib/hsfmodem/modules/binaries/
usr/lib/hsfmodem/modules/cdbgscr.c
usr/lib/hsfmodem/modules/cnxthw_common.c
usr/lib/hsfmodem/modules/cnxthwpci_common.c
usr/lib/hsfmodem/modules/cnxthwusb_common.c
usr/lib/hsfmodem/modules/imported/
usr/lib/hsfmodem/modules/imported/hsfengine-i386.O
usr/lib/hsfmodem/modules/imported/hsfmc97ali-i386.O
usr/lib/hsfmodem/modules/imported/hsfmc97ati-i386.O
usr/lib/hsfmodem/modules/imported/hsfmc97ich-i386.O
usr/lib/hsfmodem/modules/imported/hsfmc97sis-i386.O
usr/lib/hsfmodem/modules/imported/hsfmc97via-i386.O
usr/lib/hsfmodem/modules/imported/hsfpcibasic2-i386.O
usr/lib/hsfmodem/modules/imported/hsfsoar-i386.O
usr/lib/hsfmodem/modules/imported/hsfusbcd2-i386.O
usr/lib/hsfmodem/modules/imported/include/
usr/lib/hsfmodem/modules/imported/include/build_modules.h
usr/lib/hsfmodem/modules/imported/include/c2firmware.h
usr/lib/hsfmodem/modules/imported/include/cnxt_diag_codes_ex.h
usr/lib/hsfmodem/modules/imported/include/codesdeps.h
usr/lib/hsfmodem/modules/imported/include/comctrl_ex.h
usr/lib/hsfmodem/modules/imported/include/comtypes.h
usr/lib/hsfmodem/modules/imported/include/configcodes.h
usr/lib/hsfmodem/modules/imported/include/configtypes.h
usr/lib/hsfmodem/modules/imported/include/dbgfuncs.h
usr/lib/hsfmodem/modules/imported/include/dcp.h
usr/lib/hsfmodem/modules/imported/include/diagmgr_ex.h
usr/lib/hsfmodem/modules/imported/include/dpaloem.h
usr/lib/hsfmodem/modules/imported/include/framewrk.h
usr/lib/hsfmodem/modules/imported/include/intfctrl_ex.h
usr/lib/hsfmodem/modules/imported/include/memmgr_ex.h
usr/lib/hsfmodem/modules/imported/include/osdiag.h
usr/lib/hsfmodem/modules/imported/include/osmemory.h
usr/lib/hsfmodem/modules/imported/include/osmemory_ex.h
usr/lib/hsfmodem/modules/imported/include/osnvm.h
usr/lib/hsfmodem/modules/imported/include/osservices.h
usr/lib/hsfmodem/modules/imported/include/osstring_ex.h
usr/lib/hsfmodem/modules/imported/include/ossysenv.h
usr/lib/hsfmodem/modules/imported/include/ostime_ex.h
usr/lib/hsfmodem/modules/imported/include/osuniqredef.h
usr/lib/hsfmodem/modules/imported/include/rtmgr_ex.h
usr/lib/hsfmodem/modules/imported/include/std_defines.h
usr/lib/hsfmodem/modules/imported/include/sysenv.h
usr/lib/hsfmodem/modules/imported/include/targetconfigtypes.h
usr/lib/hsfmodem/modules/imported/include/testdebug.h
usr/lib/hsfmodem/modules/imported/include/tonetype.h
usr/lib/hsfmodem/modules/imported/include/typedefs.h
usr/lib/hsfmodem/modules/imported/include/usbhalos.h
usr/lib/hsfmodem/modules/imported/makeflags.mak
usr/lib/hsfmodem/modules/include/
usr/lib/hsfmodem/modules/include/cdbgscr_ex.h
usr/lib/hsfmodem/modules/include/linux_dbgscr.h
usr/lib/hsfmodem/modules/include/osdiag_dev.h
usr/lib/hsfmodem/modules/include/oslinux.h
usr/lib/hsfmodem/modules/include/osmodule.h
usr/lib/hsfmodem/modules/include/osresour_ex.h
usr/lib/hsfmodem/modules/include/osstdio.h
usr/lib/hsfmodem/modules/include/osusb.h
usr/lib/hsfmodem/modules/kernelcompiler.sh
usr/lib/hsfmodem/modules/mod_engine.c
usr/lib/hsfmodem/modules/mod_mc97ali.c
usr/lib/hsfmodem/modules/mod_mc97ati.c
usr/lib/hsfmodem/modules/mod_mc97ich.c
usr/lib/hsfmodem/modules/mod_mc97sis.c
usr/lib/hsfmodem/modules/mod_mc97via.c
usr/lib/hsfmodem/modules/mod_osspec.c
usr/lib/hsfmodem/modules/mod_pcibasic2.c
usr/lib/hsfmodem/modules/mod_soar.c
usr/lib/hsfmodem/modules/mod_usbcd2.c
usr/lib/hsfmodem/modules/osdcp.c
usr/lib/hsfmodem/modules/osdiag.c
usr/lib/hsfmodem/modules/osfloat.c
usr/lib/hsfmodem/modules/osmemory.c
usr/lib/hsfmodem/modules/osmodule.c
usr/lib/hsfmodem/modules/osnvm.c
usr/lib/hsfmodem/modules/osresour.c
usr/lib/hsfmodem/modules/osscr.c
usr/lib/hsfmodem/modules/osservices.c
usr/lib/hsfmodem/modules/osstdio.c
usr/lib/hsfmodem/modules/osstring.c
usr/lib/hsfmodem/modules/osusb.c
usr/sbin/
usr/sbin/hsfconfig
usr/sbin/hsfdcpd
usr/sbin/hsfmodconflicts
usr/sbin/hsfstop
usr/sbin/rchsf
usr/share/
usr/share/doc/
usr/share/doc/hsfmodem-7.18.00.02full/
usr/share/doc/hsfmodem-7.18.00.02full/BUGS
usr/share/doc/hsfmodem-7.18.00.02full/CHANGES
usr/share/doc/hsfmodem-7.18.00.02full/CREDITS
usr/share/doc/hsfmodem-7.18.00.02full/FAQ
usr/share/doc/hsfmodem-7.18.00.02full/INSTALL
usr/share/doc/hsfmodem-7.18.00.02full/LICENSE
usr/share/doc/hsfmodem-7.18.00.02full/README

What am i suppose to do now? My modem remains undetected.
Help!
 
Old 03-04-2005, 04:44 PM   #7
ananya
LQ Newbie
 
Registered: Dec 2004
Location: India
Distribution: Slackware 13.1
Posts: 13

Original Poster
Rep: Reputation: 0
Hi,

I also downloaded a tar package from linuxant to do away with package problems altogether. I untar the package, run "make install" and then "hsfconfig", to get another failure:

>>
sh-2.05b$ su
Password:
bash-2.05b# make install
make[1]: Entering directory `/home/ananya/Conexant/hsfmodem-7.18.00.02full.tar/hsfmodem-7.18.00.02full/nvm'
cd cvt && (find hsfpcibasic2 hsfpcibasic2smart hsfpcibasic2hsfi hsfmc97 hsfmc97ali hsfmc97ati hsfmc97ich hsfmc97sis hsfmc97via hsfcadmus2 hsfcadmus2smart | cpio -pdmu /etc/hsfmodem/nvm)
105 blocks
make[1]: Leaving directory `/home/ananya/Conexant/hsfmodem-7.18.00.02full.tar/hsfmodem-7.18.00.02full/nvm'
make[1]: Entering directory `/home/ananya/Conexant/hsfmodem-7.18.00.02full.tar/hsfmodem-7.18.00.02full/scripts'
install -m 700 hsfconfig hsfstop hsfmodconflicts rchsf hsfdcpd /usr/sbin
make[1]: Leaving directory `/home/ananya/Conexant/hsfmodem-7.18.00.02full.tar/hsfmodem-7.18.00.02full/scripts'
make[1]: Entering directory `/home/ananya/Conexant/hsfmodem-7.18.00.02full.tar/hsfmodem-7.18.00.02full/modules'
rm -rf "/usr/lib/hsfmodem/config.mak" "/usr/lib/hsfmodem/modules/imported" "/usr/lib/hsfmodem/modules"
mkdir -m 755 -p /usr/lib/hsfmodem/modules
(cd .. && find config.mak modules/imported -depth -print | cpio -pdmu /usr/lib/hsfmodem)
5083 blocks
find . \( -name COPYING -o -name '*.sh' -o -name '*.[ch]' -o -name '*.mak' -o -name '[Mm]akefile' \) -print | cpio -pdmu /usr/lib/hsfmodem/modules
1793 blocks
find binaries -depth -print | cpio -pdmu /usr/lib/hsfmodem/modules
0 blocks
make[1]: Leaving directory `/home/ananya/Conexant/hsfmodem-7.18.00.02full.tar/hsfmodem-7.18.00.02full/modules'
make[1]: Entering directory `/home/ananya/Conexant/hsfmodem-7.18.00.02full.tar/hsfmodem-7.18.00.02full/diag'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/ananya/Conexant/hsfmodem-7.18.00.02full.tar/hsfmodem-7.18.00.02full/diag'
install -m 444 LICENSE /usr/lib/hsfmodem

To complete the installation and configuration of your modem,
please run "hsfconfig" (or "/usr/sbin/hsfconfig")
bash-2.05b# hsfconfig
Conexant HSF softmodem driver, version 7.18.00.02full

If you need license keys, assistance or more information, please go to:
http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".

Warning: existing driver modules found under:
/lib/modules/2.4.26/
Would you like to keep using them? [no]

No pre-built modules for: Slackware-Slackware linux-2.4.26 i686

Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.4.26/build]

Building modules for kernel 2.4.26, using source directory
/lib/modules/2.4.26/build. Please wait...

ERROR: Module build failed!
Please examine the log file "/tmp/hsfconfig-buildlog.txt" to determine why.

<<

Please help! Other users who downloaded the same driver dont seem to have this problem. Others who were able to setup this driver please advice.

Thanks for all the help.

Ananya
 
Old 03-04-2005, 04:46 PM   #8
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
sorry. please ignore my post.

Last edited by kostian; 03-04-2005 at 04:48 PM.
 
Old 03-04-2005, 04:55 PM   #9
dockpunk
Member
 
Registered: Dec 2004
Distribution: slackware 12
Posts: 67

Rep: Reputation: 15
the PACKAGE DESCRIPTION field is blank because it was converted from an rpm so there is no slackware package description file for it to show.
try reading of /tmp/hsfconfig-buildlog.txt like the error message tells you and you can probably figure out your problem, if not post the message here and see what help you can get.
to start with though since its asking for the linux source directory shouldn't you be entering /usr/src/linux-2.4.26 instead of /lib/modules/2.4.26/build?
 
Old 03-04-2005, 10:40 PM   #10
hirakendu
LQ Newbie
 
Registered: Jun 2004
Location: India
Distribution: Gentoo
Posts: 18

Rep: Reputation: 0
You seem to have messed up the whole thing. All you have to do to install your pctel modem is the following -

(1) Get the driver package http://linmodems.technion.ac.il/pcte...l-0.9.6.tar.gz

(2) Untar it : $ tar -xvzf pctel-0.9~ and go to the extracted directory. Be root.

(3) And then routine - $ ./configure --with-hal=pct789
$ make
$ make install
Note- If there are cribs when you do ./configure, read the messages and install required dependencies accordingly. One of the greatest dependencies is to have the kernel-sources installed.
I guess slack installs kernel-source by default. (check out /usr/src/ for available kernels and see if it matches with output of $ uname -r)

(4) Then try out your new driver :
$ insmod -f pctel
$ insmod -f ptserial

(5) Thats it, use a dialing tool like kppp. Note that your /dev/modem is a link to /dev/ttys15. (preferably keep your ISP name as ppp0 ).

The above steps should work for any damn pctel winmodem on earth. If it does, then make it load automatically at startup.
 
Old 03-05-2005, 03:52 AM   #11
ananya
LQ Newbie
 
Registered: Dec 2004
Location: India
Distribution: Slackware 13.1
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks Hirakendu.

But i sold my pctel modem (lots of headaches) and bought a d-link hsf modem
instead. This modem has conexant chipset.

It is with this modem that i am having inst problems. Linuxnat drivers are not working in Slackware 10. I downloaded the tar file, and ran <make install> and <hsfconfig>.

During hsfconfig, the installer attempts to build driver modules for my present kernel 2.4.26. but fails. The dumped buildlog.txt error file has basically c program errors indicating "variables being defined and used elsewhere ... and redefined elsewhere". I cant make sense out of this log file, and its too big to post it in LQ.

If you have installed hsf drivers from linuxant successfully, please give me your kernel version. Maybe i need to upgrade mine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
failed dependencies koodoo Linux - Newbie 8 03-08-2005 01:14 PM
Failed Dependencies Johnburrell Linux - Newbie 3 03-03-2005 10:18 AM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM
Failed dependencies Umbrella Linux - Software 10 08-01-2003 06:11 PM
failed dependencies emanners Linux - Newbie 2 09-27-2001 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration