tct install question

tct install question

Post by drell » Wed, 02 Jul 2003 00:23:19



Below is a copy of my install log for TCT - Could anyone help me trouble
shoot it?

Thanks in advance

drelle

Script started on Mon 30 Jun 2003 09:57:43 AM CDT

checking to make sure all the target(s) are here... Ok, trying to find
perl5 now... hang on a bit...

Perl5 is in /usr/bin/perl5.8.0

changing the source in: bin/mactime bin/grave-robber lazarus/lazarus
bin/strip_tct_home extras/bdf extras/ils2mac extras/realpath

So far so good...
Looking for all the commands now...

Hmmm... can't find acctcom... moving on...

Hmmm... can't find devinfo... moving on...

Hmmm... can't find eeprom... moving on...

Hmmm... can't find format... moving on...

Hmmm... can't find modstat... moving on...

Hmmm... can't find pkginfo... moving on...

Hmmm... can't find pstat... moving on...

Hmmm... can't find rusers... moving on...

Hmmm... can't find showrev... moving on...

Hmmm... can't find swap... moving on...

Hmmm... can't find uudecode... moving on...

Ok, now doing substitutions on the shell scripts... Changing paths in
conf/paths.pl...
Putting in $TCT_HOME into lazarus/lazarus Putting in $TCT_HOME into
conf/coroner.cf Putting in $TCT_HOME into conf/grave-robber.cf Putting in
$TCT_HOME into bin/grave-robber Putting in $TCT_HOME into bin/mactime
Putting in $TCT_HOME into extras/bdf
Putting in $TCT_HOME into extras/ils2mac Putting in $TCT_HOME into
extras/realpath chmod 700 .
cd src/aux; make "CC=gcc" MAKELEVEL=
gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -g   -c -o
mymalloc.o mymalloc.c gcc -DLINUX2 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -g   -c -o error.o error.c gcc -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -g   -c -o strerror.o
strerror.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -g  
-c -o split_at.o split_at.c ar rv aux_lib.a mymalloc.o error.o strerror.o
split_at.o a - mymalloc.o
a - error.o
a - strerror.o
a - split_at.o
ranlib aux_lib.a
cd src/misc; make "CC=gcc" MAKELEVEL= gcc -O -g -I.  -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -c -o md5.o md5.c gcc -O -g
-I.  -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -c -o md5c.o
md5c.c gcc -O -g -I.  -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-o ../../bin/md5 md5.o md5c.o gcc -O -g -I.  -DLINUX2 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64   -c -o timeout.o timeout.c gcc -O -g -I.  -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ../../bin/timeout timeout.o
cd src/fstools; make "CC=gcc" MAKELEVEL= gcc -DLINUX2 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I../aux -O -g   -c -o fs_buf.o fs_buf.c gcc
-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g   -c -o
fs_inode.o fs_inode.c gcc -DLINUX2 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I../aux -O -g   -c -o fs_io.o fs_io.c gcc -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g   -c -o
fs_copy_file.o fs_copy_file.c gcc -DLINUX2 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I../aux -O -g   -c -o fs_open.o fs_open.c gcc
-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g   -c -o
ffs.o ffs.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I../aux -O -g   -c -o ext2fs.o ext2fs.c gcc -DLINUX2 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I../aux -O -g   -c -o mylseek.o mylseek.c ar rv
fs_lib.a fs_buf.o fs_inode.o fs_io.o fs_copy_file.o fs_open.o ffs.o
ext2fs.o mylseek.o a - fs_buf.o
a - fs_inode.o
a - fs_io.o
a - fs_copy_file.o
a - fs_open.o
a - ffs.o
a - ext2fs.o
a - mylseek.o
ranlib fs_lib.a
gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g  
-c -o ils.o ils.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I../aux -O -g -o ../../bin/ils ils.o fs_lib.a ../aux/aux_lib.a gcc
-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g   -c -o
unrm.o unrm.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I../aux -O -g -o ../../bin/unrm unrm.o fs_lib.a ../aux/aux_lib.a gcc
-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g   -c -o
icat.o icat.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I../aux -O -g -o ../../bin/icat icat.o fs_lib.a ../aux/aux_lib.a cd
src/pcat; make "CC=gcc" MAKELEVEL= gcc -I../aux -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -g   -c -o pcat.o pcat.c gcc
-I../aux -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -g -o
../../bin/pcat pcat.o ../aux/aux_lib.a cd src/file; make "CC=gcc"
MAKELEVEL= gcc -O -g -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DMAGIC="\"`cd ../../etc; pwd`/magic\""   -c -o file.o file.c gcc -O -g
-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd
../../etc; pwd`/magic\""   -c -o apprentice.o apprentice.c gcc -O -g
-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd
../../etc; pwd`/magic\""   -c -o fsmagic.o fsmagic.c gcc -O -g -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc;
pwd`/magic\""   -c -o softmagic.o softmagic.c gcc -O -g -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc;
pwd`/magic\""   -c -o ascmagic.o ascmagic.c gcc -O -g -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc;
pwd`/magic\""   -c -o compress.o compress.c gcc -O -g -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc;
pwd`/magic\""   -c -o is_tar.o is_tar.c gcc -O -g -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc;
pwd`/magic\""   -c -o print.o print.c gcc -O -g -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc;
pwd`/magic\""   -c -o international.o international.c gcc -O -g -DLINUX2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc;
pwd`/magic\"" -o ../../bin/file file.o apprentice.o fsmagic.o softmagic.o
ascmagic.o compress.o is_tar.o  print.o international.o
file.o(.text+0x232): In function `unwrap':
/home/ray/bin/tct-1.11/src/file/file.c:184: undefined reference to `errno'
file.o(.text+0x354): In function `process':
/home/ray/bin/tct-1.11/src/file/file.c:223: undefined reference to `errno'
file.o(.text+0x42b):/home/ray/bin/tct-1.11/src/file/file.c:247: undefined
reference to `errno'
file.o(.text+0x477):/home/ray/bin/tct-1.11/src/file/file.c:258: undefined
reference to `errno'
file.o(.text+0x572):/home/ray/bin/tct-1.11/src/file/file.c:300: undefined
reference to `errno'
file.o(.text+0x5bf):/home/ray/bin/tct-1.11/src/file/file.c:304: more
undefined references to `errno' follow collect2: ld returned 1 exit status
make: *** [../../bin/file] Error 1
make: *** [what] Error 2
make: *** [compile] Error 2

Script done on Mon 30 Jun 2003 09:58:00 AM CDT

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

 
 
 

tct install question

Post by Guid » Wed, 16 Jul 2003 18:34:24


Hello,


> Below is a copy of my install log for TCT - Could anyone help me trouble
> shoot it?

> Thanks in advance

> drelle

> Script started on Mon 30 Jun 2003 09:57:43 AM CDT

> checking to make sure all the target(s) are here... Ok, trying to find
> perl5 now... hang on a bit...

> Perl5 is in /usr/bin/perl5.8.0

> changing the source in: bin/mactime bin/grave-robber lazarus/lazarus
> bin/strip_tct_home extras/bdf extras/ils2mac extras/realpath

> So far so good...
> Looking for all the commands now...

> Hmmm... can't find acctcom... moving on...

> Hmmm... can't find devinfo... moving on...

> Hmmm... can't find eeprom... moving on...

> Hmmm... can't find format... moving on...

> Hmmm... can't find modstat... moving on...

> Hmmm... can't find pkginfo... moving on...

> Hmmm... can't find pstat... moving on...

> Hmmm... can't find rusers... moving on...

> Hmmm... can't find showrev... moving on...

> Hmmm... can't find swap... moving on...

> Hmmm... can't find uudecode... moving on...

Most of the utilities above are for Solaris (BSD?)

... text omitted ...

- Show quoted text -

Quote:> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc;
> pwd`/magic\"" -o ../../bin/file file.o apprentice.o fsmagic.o softmagic.o
> ascmagic.o compress.o is_tar.o  print.o international.o
> file.o(.text+0x232): In function `unwrap':
> /home/ray/bin/tct-1.11/src/file/file.c:184: undefined reference to `errno'
> file.o(.text+0x354): In function `process':
> /home/ray/bin/tct-1.11/src/file/file.c:223: undefined reference to `errno'
> file.o(.text+0x42b):/home/ray/bin/tct-1.11/src/file/file.c:247: undefined
> reference to `errno'
> file.o(.text+0x477):/home/ray/bin/tct-1.11/src/file/file.c:258: undefined
> reference to `errno'
> file.o(.text+0x572):/home/ray/bin/tct-1.11/src/file/file.c:300: undefined
> reference to `errno'
> file.o(.text+0x5bf):/home/ray/bin/tct-1.11/src/file/file.c:304: more
> undefined references to `errno' follow collect2: ld returned 1 exit status
> make: *** [../../bin/file] Error 1
> make: *** [what] Error 2
> make: *** [compile] Error 2

This is a well known problem (also with other software)
with newer gcc and wrong coding.

Just patch src/file/file.h:

---- START PATCH file.patch ----
--- tct-1.11/src/file/file.h    2000-07-31 01:39:20.000000000 +0200

 };

 #include <stdio.h>     /* Include that here, to make sure __P gets defined */
+#include <errno.h>

 #ifndef __P

 extern unsigned long signextend        __P((struct magic *, unsigned long));

-
+#ifndef errno
 extern int errno;              /* Some unixes don't define this..      */
+#endif

 extern char *progname;         /* the program name                     */
 extern char *magicfile;                /* name of the magic file               */
---- END PATCH file.patch ----

Copy the content between the --- START .... and --- END to a file 'file.patch'.
(The line '--- tct-1.11/src/file/file.h' is part of the patch
Change to tct-1.11/src/file and issue the command
patch < /path/to/file.patch

Then you can compile tct.

If you don't have patch:
- get it ;-)

  lines starting with '-' mean line deleted
  and lines starting '+' means line added

--  Guido

 
 
 

1. install db before installing php? 3 questions

I want to install php with support for various databases. (in order of
need, postgresql, mysql and oracle).

I've compiled php successfully from source before with mysql support.
(I'm on linux by the way). The directions I've read has led me to
believe that it's necessary to install the database first before
installing php support for it.

1. But can't I just install php with postgresql support and then give
a path I know will be the future path for postgresql? Is it merely a
matter of setting the path  Does the php install check for the
presence of these databases before it installs support?

2. I've installed mysql, and I want to install oracle next and then
postgresql. Does installing this module or libraries add to the cpu
overhead on apache regardless of whether they are being used? I'm
using this server as a learning tool more than as a production tool,
but I don't want to put too much drag on it. If the drag is
significant, can you deinstall support? How?

3. If I install php with only mysql support, how risky is it to
compile with database support later on? (If I sound paranoid, it's
because I've had this kind of thing happen fairly often).

Robert Nagle, Austin Texas

2. Processes swapped out?

3. Install Probs (yet another install question)

4. Subject: fvwm-ewmh-0.5 - Extended WM Hints for FVWM

5. First Install question: can I install to secondary drive?

6. Weird SIGSEGV

7. Question about installing LINUX on my Hard Drive

8. Upgrade to OpenOffice 1.0.1 Redhat 8

9. Dumb OpenOffice.org1.0 install question.

10. x86 install question

11. Install Questions

12. Slackware Install Question

13. outputting installed rpm packages question