LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2011, 08:11 AM   #1
ndaka123488
Member
 
Registered: Aug 2011
Posts: 63

Rep: Reputation: Disabled
Make clean;make install gives errors


Hi
Im trying to install Universal PCI
Powered RS-232
Communication Board drivers on
Fedora 15.

I succeeded with the following commands

# cp snx_Vx.x.x.x.tar.gz /temp
# cd /temp
# tar xvfz snx_Vx.x.x.x.tar.gz
# cd /temp/snx
# make clean ; make install

Im in the root account yes. When I make clean;
make install

It gives me errors such as:

make/; -C /lib/modules/2.6.38.6-26/build SubDiRS=/temp/snx/drier modules
make: entering an unknown directory
make ****[driver_install] Error 2

Thanks for any help
 
Old 09-07-2011, 08:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you need to actually "make" first, you have nothing to install yet.
 
Old 09-07-2011, 08:35 AM   #3
ndaka123488
Member
 
Registered: Aug 2011
Posts: 63

Original Poster
Rep: Reputation: Disabled
make is giving an error also
 
Old 09-07-2011, 08:48 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
So there's no point in running make install if make is failing with an error. And are you going to tell us what that error is? Also is there an executable configuration file? Did you run that first?
jdk
 
Old 09-07-2011, 09:02 AM   #5
ndaka123488
Member
 
Registered: Aug 2011
Posts: 63

Original Poster
Rep: Reputation: Disabled
It gives me errors such as:

make/; -C /lib/modules/2.6.38.6-26/build SubDiRS=/temp/snx/drier modules
make: entering an unknown directory
make ****[driver_install] Error 2

Thanks for any help
 
Old 09-07-2011, 09:13 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by ndaka123488 View Post
make/; -C /lib/modules/2.6.38.6-26/build SubDiRS=/temp/snx/drier modules
make: entering an unknown directory
It should be /temp/snx/driver, not /temp/snx/drier without v. You have to check where this word come from, e.g.
Code:
# cd /temp/snx
# grep -r drier *
 
1 members found this post helpful.
Old 09-07-2011, 09:17 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please translate snx_Vx.x.x.x.tar.gz to the real package name.

And a download link for the package, please.

Quote:
SubDiRS=/temp/snx/drier modules
Looks like a Makefile text that will fit only the package authors files.

..
 
Old 09-07-2011, 09:19 AM   #8
ndaka123488
Member
 
Registered: Aug 2011
Posts: 63

Original Poster
Rep: Reputation: Disabled
Ok
I typed it wrong, its driver actually. why cant I make?
 
Old 09-07-2011, 09:21 AM   #9
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,006

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Are you also sure you are not supposed to run the configure script first?
 
Old 09-07-2011, 09:21 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
errors "such as" as far less than useful. you don't give examples, you give ALL of it.
 
Old 09-07-2011, 09:23 AM   #11
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Have you installed the kernel-devel and the kernel-headers packages? They are required to build modules/drivers. Check using
Code:
rpm -qa kernel*
 
Old 09-07-2011, 09:30 AM   #12
ndaka123488
Member
 
Registered: Aug 2011
Posts: 63

Original Poster
Rep: Reputation: Disabled
knuduf

the package is a zip file downloaded from
http://www.sunix.com.tw/services/dri...l?k=SER5066A#1

Coluxix

When I ran the rpm -qa kernel*

It displays:

Kernel-2.6-26.rc1.fc15.i686

Grail
Im not sure wat u mean by configure script first?


Acid
How do I capture the whole file, without typing over?

Last edited by ndaka123488; 09-07-2011 at 09:32 AM.
 
Old 09-07-2011, 09:32 AM   #13
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Definitively your system lacks the kernel sources. Try to install them (as root) using:
Code:
yum install kernel-devel kernel-headers
 
Old 09-07-2011, 09:36 AM   #14
ndaka123488
Member
 
Registered: Aug 2011
Posts: 63

Original Poster
Rep: Reputation: Disabled
yum install kernel-devel kernel-headers

Gives the following errors

Loaded plugins: langpacks, presto, refresh-packagekit
Error:cannot retrieve repository metadata (repomd.xml) for repository: fedora. please verify its path and try again
 
Old 09-07-2011, 09:41 AM   #15
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Have you an active internet connection in Fedora? What if you try from 'Add/Remove Software' from the System Tools menu?

Last edited by colucix; 09-07-2011 at 09:44 AM.
 
  


Reply



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
installation errors with git during 'make' and 'make install' etheria Linux - Newbie 5 11-27-2009 11:38 AM
libogg not installing, make and make install don't give errors, but fail lilmike Linux - Newbie 6 11-14-2009 07:33 PM
Errors installing konqueror with ports make install clean sr_25 *BSD 2 08-04-2008 12:56 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:06 AM.

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