LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-05-2006, 11:11 PM   #1
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Rep: Reputation: 15
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!

Last edited by tidiman07; 07-05-2006 at 11:12 PM.
 
Old 07-05-2006, 11:35 PM   #2
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
can you not run any script, or just that one?
 
Old 07-06-2006, 11:48 PM   #3
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Original Poster
Rep: Reputation: 15
I cannot seem to run any scripts, i tried others, same error!
 
Old 07-06-2006, 11:52 PM   #4
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
try "sudo apt-get --reinstall install bash"
 
Old 07-07-2006, 01:34 PM   #5
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Original Poster
Rep: Reputation: 15
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]
 
Old 07-08-2006, 02:11 AM   #6
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
you need the build-essential package, which will install make, gcc and some other things you will need.
 
Old 07-08-2006, 07:34 AM   #7
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Original Poster
Rep: Reputation: 15
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
 
Old 07-10-2006, 11:53 AM   #8
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Original Poster
Rep: Reputation: 15
i have decided to try and install kernel 2.6.17.4, , you know any good guides?
 
Old 08-06-2006, 02:29 PM   #9
helmut_hed
Member
 
Registered: Jul 2003
Location: San Francisco, CA, USA
Distribution: Kubuntu Hardy
Posts: 103

Rep: Reputation: 15
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.
 
Old 08-06-2006, 10:41 PM   #10
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
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
 
Old 08-07-2006, 10:19 PM   #11
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Original Poster
Rep: Reputation: 15
oh, sorry already fixed! reinstalled ubuntu, not much for patience!
 
  


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
kubuntu livecd problem AV215 Ubuntu 1 06-07-2006 01:27 PM
Kubuntu Timezone Problem SoCalNewbie Linux - Newbie 7 04-02-2006 09:07 PM
kubuntu apt problem spank Linux - Newbie 2 11-20-2005 10:23 AM
Kubuntu 5.04 problem Aurra Sing Ubuntu 7 07-15-2005 01:21 AM
kuser problem with kubuntu Heretic9 Ubuntu 0 04-28-2005 08:37 PM

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

All times are GMT -5. The time now is 09:17 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