LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Kubuntu 6.06 problem (https://www.linuxquestions.org/questions/ubuntu-63/kubuntu-6-06-problem-461375/)

tidiman07 07-05-2006 11:11 PM

Kubuntu 6.06 problem
 
Hello, my problem is i installed Kubuntu and it works, but i cannot install anything.

for instance...

./setup

/bin/bash: bad interpertation


what does this mean, do i need to install other stuff, im trying to get my modem to work!

binary_y2k2 07-05-2006 11:35 PM

can you not run any script, or just that one?

tidiman07 07-06-2006 11:48 PM

I cannot seem to run any scripts, i tried others, same error!

binary_y2k2 07-06-2006 11:52 PM

try "sudo apt-get --reinstall install bash"

tidiman07 07-07-2006 01:34 PM

Yo binary_y2k2, thanks for your response.
It turns out that it could not run because the files were in a secondary hard drive- so i moved them to one with installed OS, it worked.
NOW its shows another problem;
tidiman07@tidiman07-desktop:~/Desktop/pctel-0.9.7-9-rht-5$ ./setup
checking for running kernel version...2.6.15
./configure: line 32: make: command not found
checking for ptserial...ptserial-2.6.c
checking for gcc..../configure: line 353: gcc: command not found
** error
no suitable gcc version could be found.
please install gcc.
./setup: line 8: make.log: Permission denied
** compilation error

I checked package manager and it show GCC installed.
[p.s im trying to install modem]

binary_y2k2 07-08-2006 02:11 AM

you need the build-essential package, which will install make, gcc and some other things you will need.

tidiman07 07-08-2006 07:34 AM

so i finally figured out how to get build-essentials from cd, and i though i was done, NOT! I even installed linux headers for good measure but i get error, i am going to contact discuss@linmodems.org

make -C /usr/src/linux-headers-2.6.15-23 M=/home/tidiman07/Desktop/pctel-0.9.7-9-rht-5/src
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-23'

WARNING: Symbol version dump /usr/src/linux-headers-2.6.15-23/Module.symvers
is missing; modules will have no dependencies and modversions.

LD /home/tidiman07/Desktop/pctel-0.9.7-9-rht-5/src/built-in.o
CC [M] /home/tidiman07/Desktop/pctel-0.9.7-9-rht-5/src/linmodem-2.6.o
/home/tidiman07/Desktop/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:1057: warning: initialization from incompatible pointer type
/home/tidiman07/Desktop/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:1058: warning: initialization from incompatible pointer type
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[2]: *** [/home/tidiman07/Desktop/pctel-0.9.7-9-rht-5/src/linmodem-2.6.o] Error 1
make[1]: *** [_module_/home/tidiman07/Desktop/pctel-0.9.7-9-rht-5/src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-23'
make: *** [all] Error 2

tidiman07 07-10-2006 11:53 AM

i have decided to try and install kernel 2.6.17.4, , you know any good guides?

helmut_hed 08-06-2006 02:29 PM

There are extensive directions for installing the pctel drivers on Ubuntu Dapper located here:

http://ubuntuforums.org/showthread.php?p=1321946

In addition to build-essential, you need "linux-headers-386". That's probably your current problem. Good luck.

IBall 08-06-2006 10:41 PM

I don't know if a new kernel will fix your problem, but Here is a guide to compiling a 2.6 kernel on Debian based distros.

Also, there should be a generic guide on www.tldp.org or search google.

I hope this helps
--Ian

tidiman07 08-07-2006 10:19 PM

oh, sorry already fixed! reinstalled ubuntu, not much for patience!


All times are GMT -5. The time now is 02:26 AM.