[ilugc]problem in installing

  • From: arpit04@xxxxxxxxx (Arpit Sud)
  • Date: Tue Mar 22 22:01:55 2005

hi,
i tried to install the program qprint from tar.gz source. It asked for
another program ctangle to be installed.
i tried installed ctangle from tar.gz source , the make was ok but
make install gave the following error

mkdir /usr/local/bin/
mkdir: cannot create directory `/usr/local/bin/': File exists
make: [install] Error 1 (ignored)
/bin/cp cweave /usr/local/bin/cweave
chmod 755 /usr/local/bin/cweave
/bin/cp ctangle /usr/local/bin/ctangle
chmod 755 /usr/local/bin/ctangle
mkdir /usr/man/manl
mkdir: cannot create directory `/usr/man/manl': File exists
make: [install] Error 1 (ignored)
/bin/cp cweb.1 /usr/man/manl/cweb.l
chmod 644 /usr/man/manl/cweb.l
mkdir /usr/local/texmf/tex/generic
mkdir: cannot create directory `/usr/local/texmf/tex/generic': No such
file or directory
make: [install] Error 1 (ignored)
/bin/cp cwebmac.tex /usr/local/texmf/tex/generic
/bin/cp: cannot create regular file `/usr/local/texmf/tex/generic': No
such file or directory
make: *** [install] Error 1

inspite of this error, the ctangle program works.
next i tried to install the qprint, here is the output of each step

# make  
ctangle qprint.w
This is CTANGLE (Version 3.64)

! No program text was specified.
(Did you see the warning message above?)
gcc -c qprint.c -g -O2
gcc -c getopt.c -g -O2
gcc qprint.o getopt.o -o qprint -g -O2
/usr/lib/gcc-lib/i486-linux/3.3.4/../../../crt1.o(.text+0x18): In
function `_start':
../sysdeps/i386/elf/start.S:98: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [qprint] Error 1

#make check
gcc qprint.o getopt.o -o qprint -g -O2
/usr/lib/gcc-lib/i486-linux/3.3.4/../../../crt1.o(.text+0x18): In
function `_start':
../sysdeps/i386/elf/start.S:98: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [qprint] Error 1

#make wringer
gcc qprint.o getopt.o -o qprint -g -O2
/usr/lib/gcc-lib/i486-linux/3.3.4/../../../crt1.o(.text+0x18): In
function `_start':
../sysdeps/i386/elf/start.S:98: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [qprint] Error 1

#make -n install
gcc qprint.o getopt.o -o qprint -g -O2
/usr/lib/gcc-lib/i486-linux/3.3.4/../../../crt1.o(.text+0x18): In
function `_start':
../sysdeps/i386/elf/start.S:98: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [qprint] Error 1

#make install
gcc qprint.o getopt.o -o qprint -g -O2
/usr/lib/gcc-lib/i486-linux/3.3.4/../../../crt1.o(.text+0x18): In
function `_start':
../sysdeps/i386/elf/start.S:98: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [qprint] Error 1

[every step shows the same error, but i put in here all o/p just in
case, someone can infer something from it]

installation fails, whatz the remedy? 

                                             - Arpit

Other related posts: