LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-20-2006, 07:34 PM   #1
meknb
LQ Newbie
 
Registered: Dec 2005
Location: UK
Distribution: slackware,suse 10.2
Posts: 20

Rep: Reputation: 0
checkinstall help


Hi im trying to build a slackware package of ipw2200 modules and ieee80211 with checkinstall and keep getting errors like

pwd: cannot get current directory: Invalid argument
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Invalid argument
gcc: scripts/mod/modpost.o: No such file or directory
gcc: scripts/mod/file2alias.o: No such file or directory
gcc: scripts/mod/sumversion.o: No such file or directory
gcc: no input files
make[3]: *** [scripts/mod/modpost] Error 1
make[2]: *** [scripts/mod] Error 2
make[1]: *** [scripts] Error 2

These build ok with make + make install but i want to create packages with them.

Any help much appreciated

Thanks

ps running slackware 10.2.0
kernel 2.6.15.6
 
Old 10-20-2006, 09:50 PM   #2
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
Hope you are running checkinstall as root ?
 
Old 10-21-2006, 04:09 AM   #3
meknb
LQ Newbie
 
Registered: Dec 2005
Location: UK
Distribution: slackware,suse 10.2
Posts: 20

Original Poster
Rep: Reputation: 0
yer running as root plus tried diferent versions of checkinstall same error.Checkinstall packages other apps fine but not these?? I've searched everywhere just cant find how to do it??
 
Old 10-21-2006, 08:14 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
This may sound a little redundant, but what happens if your run make install and then checkinstall? I have occaisionally run into situations where that works.
 
Old 10-21-2006, 12:29 PM   #5
meknb
LQ Newbie
 
Registered: Dec 2005
Location: UK
Distribution: slackware,suse 10.2
Posts: 20

Original Poster
Rep: Reputation: 0
just tried same old errors.they all install ok though
thanks any how
 
Old 10-21-2006, 12:44 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by meknb
Hi im trying to build a slackware package of ipw2200 modules and ieee80211 with checkinstall and keep getting errors like

pwd: cannot get current directory: Invalid argument
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Invalid argument
gcc: scripts/mod/modpost.o: No such file or directory
gcc: scripts/mod/file2alias.o: No such file or directory
gcc: scripts/mod/sumversion.o: No such file or directory
gcc: no input files
make[3]: *** [scripts/mod/modpost] Error 1
make[2]: *** [scripts/mod] Error 2
make[1]: *** [scripts] Error 2

These build ok with make + make install but i want to create packages with them.

Any help much appreciated

Thanks

ps running slackware 10.2.0
kernel 2.6.15.6
A quick search here on my Debian install says you need the kernel headers installed for your kernel.

Code:
>$ apt-file search scripts/mod/modpost.o
linux-headers-2.6.15-1-amd64-generic: usr/src/linux-headers-2.6.15-1-amd64-generic/scripts/mod/modpost.o
linux-headers-2.6.15-1-amd64-k8: usr/src/linux-headers-2.6.15-1-amd64-k8/scripts/mod/modpost.o
linux-headers-2.6.15-1-amd64-k8-smp: usr/src/linux-headers-2.6.15-1-amd64-k8-smp/scripts/mod/modpost.o
linux-headers-2.6.15-1-em64t-p4: usr/src/linux-headers-2.6.15-1-em64t-p4/scripts/mod/modpost.o
linux-headers-2.6.15-1-em64t-p4-smp: usr/src/linux-headers-2.6.15-1-em64t-p4-smp/scripts/mod/modpost.o
 
Old 10-21-2006, 03:22 PM   #7
meknb
LQ Newbie
 
Registered: Dec 2005
Location: UK
Distribution: slackware,suse 10.2
Posts: 20

Original Poster
Rep: Reputation: 0
I got the kernel headers installed and kernel source.Make + make install work fine.After hours of searching im still no closer to figuring this out
 
Old 10-21-2006, 03:28 PM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by meknb
I got the kernel headers installed and kernel source.Make + make install work fine.After hours of searching im still no closer to figuring this out
Other than upgrading checkinstall to a newer version to see if that will fix it I'm out of ideas then.
 
Old 10-22-2006, 10:19 AM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I'm with HappyTux here, checkinstall is acting goofy. Is the the Slackware package of checkinstall or did you compile it yourself? Also, has checkinstall ever worked properly?
 
Old 10-22-2006, 12:27 PM   #10
meknb
LQ Newbie
 
Registered: Dec 2005
Location: UK
Distribution: slackware,suse 10.2
Posts: 20

Original Poster
Rep: Reputation: 0
i compiled checkinstall ver 1.6.0 beta myself compiled fine no errors ?? It packages other programs no prob I'll try a slackware package i guess ?? maybe its something broken in checkinstall or my system * more likely my system *
 
Old 10-22-2006, 04:45 PM   #11
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Try the checkinstall package that comes with Slackware. I believe it is in the extras directory. I've been using that one for quite some time and it works well.
 
  


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
Does anyone have checkinstall?? Synt4x_3rr0r Linux - Software 3 01-15-2006 01:08 PM
Checkinstall in 5.1.1 Kroenecker Linux From Scratch 5 07-13-2004 11:37 AM
checkinstall... marsques Linux - Software 3 05-25-2004 12:56 PM
Using 'checkinstall' gonzalo76 Slackware 20 05-20-2004 06:09 PM
Checkinstall ... durden2.0 Linux - Software 1 07-02-2003 02:01 PM

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

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