LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-29-2004, 12:28 PM   #1
PhuckFonix
Member
 
Registered: Mar 2004
Location: United States of Bush
Distribution: Knoppix 3.7, Debian Sarge
Posts: 297

Rep: Reputation: 30
Installing a program


Code:
[root@ fixdisktable-0.3]# ls
ChangeLog      config.sub*  configure.in  fixdisktable.c  llseek.c     printsector.c
config.guess*  configure*   fat_io.h      install-sh*     Makefile.in  printtable.c
I tried this:

Code:
[root@ fixdisktable-0.3]# ./install-sh
install:        no input file specified
How I install this program and then execute it? There is no INSTALL or README file. : (
 
Old 05-29-2004, 12:40 PM   #2
xlord
Member
 
Registered: Mar 2002
Posts: 75

Rep: Reputation: 15
type ./configure then make ( su to root ) then make install
 
Old 05-29-2004, 12:49 PM   #3
PhuckFonix
Member
 
Registered: Mar 2004
Location: United States of Bush
Distribution: Knoppix 3.7, Debian Sarge
Posts: 297

Original Poster
Rep: Reputation: 30
Code:
[root@ fixdisktable-0.3]# ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking host system type... i586-unknown-linuxoldld
checking for stdlib.h... yes
checking for unistd.h... yes
checking for stdarg.h... yes
checking for errno.h... yes
checking for mntent.h... yes
checking for dirent.h... yes
checking for getopt.h... yes
checking for linux/fd.h... yes
checking for linux/major.h... yes
checking for sys/disklabel.h... no
checking for sys/time.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking whether llseek declared in unistd.h... no
checking for llseek... yes
On linuxoldld systems, prefix defaults to /usr
updating cache ./config.cache
creating ./config.status
creating Makefile
[root@ fixdisktable-0.3]# make
gcc -Wall -g -O2  -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DHAVE_ERRNO_H=1 -DHAVE_MNTENT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_LINUX_FD_H=1 -DHAVE_LINUX_MAJOR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_LLSEEK=1    -c -o fixdisktable.o fixdisktable.c
gcc -Wall -g -O2  -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DHAVE_ERRNO_H=1 -DHAVE_MNTENT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_LINUX_FD_H=1 -DHAVE_LINUX_MAJOR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_LLSEEK=1    -c -o llseek.o llseek.c
gcc -static fixdisktable.o llseek.o  -o fixdisktable
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [fixdisktable] Error 1
[root@ fixdisktable-0.3]# make install
strip fixdisktable
strip: fixdisktable: No such file or directory
make: *** [install] Error 1
[root@ fixdisktable-0.3]# make
gcc -static fixdisktable.o llseek.o  -o fixdisktable
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [fixdisktable] Error 1
[root@ fixdisktable-0.3]#
Thank you for replying. There is a problem in the make process.
 
Old 05-29-2004, 01:25 PM   #4
xlord
Member
 
Registered: Mar 2002
Posts: 75

Rep: Reputation: 15
hmm i really cant say mutch cause i never tried to install that program .. but see if there is an option on the configure script that lets you disable that.. or you might be missing dependencies.. no entirely sure.. what distroy is this? make sure that ld is the correct path
 
Old 05-29-2004, 01:31 PM   #5
xlord
Member
 
Registered: Mar 2002
Posts: 75

Rep: Reputation: 15
Ok i tried it on my system and i got a successful install ( slackware )
 
Old 05-29-2004, 01:31 PM   #6
PhuckFonix
Member
 
Registered: Mar 2004
Location: United States of Bush
Distribution: Knoppix 3.7, Debian Sarge
Posts: 297

Original Poster
Rep: Reputation: 30
I'm running Mandrake 10.0 Official, I'm still running it from the same path. Maybe someone made an RPM format of this? It's not on RPM search. Any alternatives?
 
Old 05-29-2004, 01:36 PM   #7
xlord
Member
 
Registered: Mar 2002
Posts: 75

Rep: Reputation: 15
see if mandrake has targz2rpm this way you can convert it to rpm
 
  


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
Installing program? quaylet MEPIS 8 05-23-2005 08:36 PM
need help installing a program shadizzle Linux - Newbie 10 01-08-2005 01:54 PM
Using a program after installing it stab Linux - Newbie 3 09-17-2004 06:21 AM
Installing a Program? snoopyswiss Linux - Newbie 2 08-18-2004 07:23 AM
installing a program bricast Linux - Newbie 5 08-15-2002 10:00 AM

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

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