LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2003, 06:19 PM   #1
link1305
Member
 
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53

Rep: Reputation: 15
ncompress installation


I am having trouble installing ncompress-4.2.4. I have it untarred, etc. When I run "build" , the select option "i" to install, then press enter to use the default user I get this
Code:
+ cd /usr/src/redhat/SOURCES/ncompress-4.2.4
+ '[' -f /usr/local/bin/compress ']'
+ rm -f /usr/local/bin/uncompress /usr/local/bin/zcat
+ cp compress /usr/local/bin/compress
cp: cannot stat `compress': No such file or directory
+ exit 1
 
Press return to continue
When I try to compile it I get this
Code:
 
Compiling compress 4.2.4
cc -O -Ml -o compress -DDIRENT=1 -DSYSDIR=1 -DUTIME_H=1 -DUSERMEM=0 -DREGISTERS=2 -DIBUFSIZ=2048 -DOBUFSIZ=2048 -DBYTEORDER=0000 -DDEF_ERRNO=1 -DCOMPILE_DATE="Tue Dec  2 19:17:13 EST 2003" compress42.c
cc: unrecognized option `-Ml'
compress42.c: In function `main':
compress42.c:698: warning: return type of `main' is not `int'
/usr/bin/ld: cannot open output file compress: Permission denied
collect2: ld returned 1 exit status
 
Error(s) in compilation
 
Press return to continue
Anyone know whats wrong? In the readme it says If I have trouble with "build" I can install it with Makefile.def....How would I go about doing that?

Thanks
 
Old 12-02-2003, 06:27 PM   #2
link1305
Member
 
Registered: Oct 2003
Location: Cleveland, Ohio
Distribution: Gentoo
Posts: 53

Original Poster
Rep: Reputation: 15
Nevermind, I solved the problem by compiling in root. It's amazing how fast one fixes their mistakes my reading the error messages a second time

"/usr/bin/ld: cannot open output file compress: Permission denied"
 
  


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
FC3 installation freezes at package installation tmussche Fedora - Installation 1 04-19-2005 07:56 PM
Mandrake 10.1 Installation hangs at Installation of Bootloader dnl Linux - Software 12 01-08-2005 06:48 AM
Installation doesn't recognize Red Hat Enterprise Linux ES installation cd bizkut Red Hat 2 08-15-2004 08:57 AM
Mandrake 9.2 installation program crashes in the final step of the installation iqbala Mandriva 0 12-03-2003 01:59 PM
GENTOO 1.4; Stage1 Installation: Installation freezes arthur1968 Linux - Hardware 1 08-28-2003 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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