2002.02.24 12:05 "Lfs broken pipes", by Berni Elbourn

2002.02.24 12:05 "Lfs broken pipes", by Berni Elbourn

Hi,

Last ditch before I give up on tiff in my clean system. Foolish I know but I am building a "clean" linux based on the Linux from scratch procedure. Wonderfull for xfree, kde, but after spending several hours tweaking and looking at bug list...I am still stuck trying to get libtiff-3.5.7 to build.

Many thanks for any pointers,

Berni

Here's the first sign of trouble: -

root:/usr/src/tiff-v3.5.7# more config.log
Sun Feb 24 12:02:04 GMT 2002
Running ./configure with arguments:

This file contains information that is captured from running the configure script. Lines that begin with a "+" are command lines echoed by the shell. Other lines are the output of commands; usually the contents of test case files or the output from compilers. If configure does the wrong thing, you can use the information captured here to aid in debugging.

++. ./config.site
+++ JPEG=yes
+++ ZIP=yes
+++ HTML=yes
+++ NONINTERACTIVE=yes
+++ DIRS_LIBINC= /usr/local/include /usr/local/include /usr/local/include
+++ DIR_JPEGLIB=/usr/local/lib
+++ DIRS_LIBINC= /usr/local/include /usr/local/include /usr/local/include
/usr/local/include
+++ DIR_GZLIB=/usr/local/lib
+++ ENVOPTS=-ansi
++ cat dummy.c
main(int argc, char* argv) { exit(0); }
++ cat xgnu.c
#ifdef __GNUC__
yes;
#endif
++ gcc -E xgnu.c
++ egrep yes
egrep: loadlocale.c:220: _nl_load_locale: Assertion `idx % __alignof__
(u_int32_t) == 0' failed.
./configure: line -234: 29556 Done gcc -E xgnu.c 2>&5
     29557 Aborted | egrep yes
++ gcc -o dummy -ansi dummy.c
++ /usr/bin/gcc -ansi -g -c dummy.c
++ make -f confMakefile t
/usr/bin/gcc -ansi t.c
t.c:1: warning: conflicting types for built-in function `cos'
/tmp/ccFmIvOP.o: In function `main':
/tmp/ccFmIvOP.o(.text+0x7): undefined reference to `cos'
collect2: ld returned 1 exit status
make: *** [t] Error 1
++ make -f confMakefile t
/usr/bin/gcc -ansi -E t.c
# 1 "t.c"
# 1 "/usr/include/sys/types.h" 1 3

<snip

And make dies...root:/usr/src/tiff-v3.5.7# make
= libtiff
make[1]: Entering directory `/usr/src/tiff-v3.5.7/libtiff'
/usr/bin/gcc -o mkversion -ansi -fPIC -g -O -I. -I../libtiff
-I/usr/local/include -I/usr/local/include -DJPEG_SUPPORT -DZIP_SUPPORT
../libtiff/mkversion.c
rm -f ../libtiff/tiffvers.h
./mkversion -v .././VERSION ../libtiff/tiffvers.h
/usr/bin/gcc -c -ansi -fPIC -g -O -I. -I../libtiff -I/usr/local/include
-I/usr/local/include -DJPEG_SUPPORT -DZIP_SUPPORT ../libtiff/tif_aux.c
In file included from ../libtiff/tiffiop.h:38,
                 from ../libtiff/tif_aux.c:32:
../libtiff/port.h:15: warning: redefinition of `off_t'
/usr/include/sys/types.h:87: warning: `off_t' previously declared here
../libtiff/port.h:16: warning: redefinition of `size_t'
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stddef.h:170: warning:
`size_t' previously declared here
In file included from ../libtiff/tiffiop.h:38,
                 from ../libtiff/tif_aux.c:32:
../libtiff/port.h:39: parse error before `__extension__'
../libtiff/port.h:39: parse error before `__uint8_t'
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `}'
../libtiff/port.h:39: warning: initialization makes pointer from integer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: parse error before `;'
../libtiff/port.h:39: conflicting types for `__u'
../libtiff/port.h:39: previous declaration of `__u'
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `->'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: redefinition of `__u'
../libtiff/port.h:39: `__u' previously defined here
../libtiff/port.h:39: warning: initialization makes integer from pointer
without a cast
../libtiff/port.h:39: initializer element is not constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `case'
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `}'
../libtiff/port.h:39: parse error before character constant
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: warning: data definition has no type or storage class
../libtiff/port.h:39: parse error before `}'
../libtiff/port.h:44: conflicting types for `read'
/usr/include/unistd.h:310: previous declaration of `read'
make[1]: *** [tif_aux.o] Error 1
make[1]: Leaving directory `/usr/src/tiff-v3.5.7/libtiff'
make: *** [all] Error 2

Here's my config.site...