Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 11:45:44 +0200
From:      Jens Rehsack <rehsack@liwing.de>
To:        skv@FreeBSD.org
Cc:        ports@freebsd.org
Subject:   Sablot-0.90_1 build error
Message-ID:  <3D411A48.7AD1F491@liwing.de>

next in thread | raw e-mail | index | archive | help
When using gcc31 Sablot didn't use g++31 -E for preprocessing :-(

>>>>>>>> Output
Script started on Fri Jul 26 01:03:25 2002
bash-2.05a# USE_GCC=3.1 make install clean
===>  Extracting for Sablot-0.90_1
>> Checksum OK for Sablot-0.90.tar.gz.
>> Checksum OK for sablot-docs-0.81.tar.gz.
===>   Sablot-0.90_1 depends on executable: automake14 - found
===>   Sablot-0.90_1 depends on executable: autoconf213 - found
===>   Sablot-0.90_1 depends on executable: libtool - found
===>   Sablot-0.90_1 depends on executable: gcc31 - found
===>   Sablot-0.90_1 depends on shared library: iconv.3 - found
===>   Sablot-0.90_1 depends on shared library: expat.3 - found
===>  Patching for Sablot-0.90_1
===>  Configuring for Sablot-0.90_1
automake: Makefile.am: required file `./NEWS' not found
automake: Makefile.am: installing `./COPYING'
automake: Makefile.am: required file `./AUTHORS' not found
automake: Makefile.am: required file `./ChangeLog' not found
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc31 -E -traditional-cpp
checking host system type... i386-portbld-freebsd4.6
checking build system type... i386-portbld-freebsd4.6
checking for gcc... gcc31
checking whether the C compiler (gcc31 -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentium2 -L/usr/local/lib) works... yes
checking whether the C compiler (gcc31 -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentium2 -L/usr/local/lib) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc31 accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc31 option to produce PIC... -fPIC
checking if gcc31 PIC flag -fPIC works... yes
checking if gcc31 static flag -static works... yes
checking if gcc31 supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc31 supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd4.6 ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for c++... g++31
checking whether the C++ compiler (g++31  -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentium2 -L/usr/local/lib) works... yes
checking whether the C++ compiler (g++31  -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentium2 -L/usr/local/lib) is a
cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++31 accepts -g... yes
checking how to run the C++ preprocessor... /lib/cpp
checking where to find xml parser... expat (new)
checking for expat.h... no
configure: error: Couldn't find the expat header file(s)
===>  Script "configure" failed unexpectedly.
      Please report the problem to skv@FreeBSD.org [maintainer] and attach the
      "/usr/ports/textproc/sablotron/work/Sablot-0.90/config.log" including the
      output of the failure of your make command. Also, it might be a good idea
      to provide an overview of all packages installed on your system (e.g. an
      `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/textproc/sablotron.
bash-2.05a# exit

Script done on Fri Jul 26 01:03:58 2002
<<<<<<<< Output

>>>>>>>> config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:756: checking for a BSD compatible install
configure:809: checking whether build environment is sane
configure:866: checking whether make sets ${MAKE}
configure:905: checking for working aclocal
configure:918: checking for working autoconf
configure:931: checking for working automake
configure:944: checking for working autoheader
configure:957: checking for working makeinfo
configure:975: checking for Cygwin environment
configure:991: gcc31 -c -O3 -pipe -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
-fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: In function `main':
configure:987: `__CYGWIN32__' undeclared (first use in this function)
configure:987: (Each undeclared identifier is reported only once
configure:987: for each function it appears in.)
configure: failed program was:
#line 980 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1008: checking for mingw32 environment
configure:1020: gcc31 -c -O3 -pipe -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
-fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: In function `main':
configure:1016: `__MINGW32__' undeclared (first use in this function)
configure:1016: (Each undeclared identifier is reported only once
configure:1016: for each function it appears in.)
configure: failed program was:
#line 1013 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1037: checking how to run the C preprocessor
configure:1058: gcc31 -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 1052 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
configure:1075: gcc31 -E -traditional-cpp -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:1192: checking host system type
configure:1213: checking build system type
configure:1233: checking for gcc
configure:1346: checking whether the C compiler (gcc31 -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -L/usr/local/lib) works
configure:1362: gcc31 -o conftest -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -I/usr/local/include
-L/usr/local/lib conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:1388: checking whether the C compiler (gcc31 -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -L/usr/local/lib) is a
cross-compiler
configure:1393: checking whether we are using GNU C
configure:1402: gcc31 -E conftest.c
configure:1421: checking whether gcc31 accepts -g
configure:1464: checking for ld used by GCC
configure:1532: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD])
configure:1549: checking for /usr/bin/ld option to reload object files
configure:1561: checking for BSD-compatible nm
configure:1599: checking whether ln -s works
configure:1620: checking how to recognise dependant libraries
configure:1793: checking for object suffix
configure:1799: gcc31 -c -O3 -pipe -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
-fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:1819: checking for executable suffix
configure:1829: gcc31 -o conftest -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -I/usr/local/include
-L/usr/local/lib conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:1860: checking command to parse /usr/bin/nm -B output
configure:1936: gcc31 -c -O3 -pipe -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
-fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:1939: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][
]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
configure:1990: gcc31 -o conftest -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -I/usr/local/include
-L/usr/local/lib conftest.c conftstm.o 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:2036: checking for dlfcn.h
configure:2046: gcc31 -E -traditional-cpp -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2214: checking for ranlib
configure:2281: checking for strip
configure:2517: checking for objdir
configure:2544: checking for gcc31 option to produce PIC
configure:2696: checking if gcc31 PIC flag -fPIC works
configure:2710: gcc31 -c -O3 -pipe -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
-fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -fPIC -DPIC -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:2762: checking if gcc31 static flag -static works
configure:2777: gcc31 -o conftest -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -I/usr/local/include
-L/usr/local/lib -static conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:2804: checking if gcc31 supports -c -o file.o
configure:2823: gcc31 -c -O3 -pipe -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
-fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -o out/conftest2.o -I/usr/local/include conftest.c
1>&5
configure:2898: checking if we can lock with hard links
configure:2917: checking if gcc31 supports -fno-rtti -fno-exceptions
configure:2930: gcc31 -c -O3 -pipe -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
-fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -fno-rtti -fno-exceptions -c conftest.c
-I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:2957: checking whether the linker (/usr/bin/ld) supports shared libraries
configure:3573: checking how to hardcode library paths into programs
configure:3601: checking whether stripping libraries is possible
configure:3615: checking dynamic linker characteristics
configure:4001: checking if libtool supports shared libraries
configure:4494: checking whether -lc should be explicitly linked in
configure:4501: gcc31 -c -O3 -pipe -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop
-fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -I/usr/local/include conftest.c 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:4514: gcc31 -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep  -lc
>/dev/null 2>&1
configure:5104: checking for c++
configure:5136: checking whether the C++ compiler (g++31  -O3 -pipe -fexpensive-optimizations
-fstrength-reduce -frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro
-L/usr/local/lib) works
configure:5152: g++31 -o conftest  -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -I/usr/local/include
-L/usr/local/lib conftest.C  1>&5
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system directory
configure:5178: checking whether the C++ compiler (g++31  -O3 -pipe -fexpensive-optimizations
-fstrength-reduce -frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro
-L/usr/local/lib) is a cross-compiler
configure:5183: checking whether we are using GNU C++
configure:5192: g++31 -E conftest.C
configure:5211: checking whether g++31 accepts -g
configure:5243: checking how to run the C++ preprocessor
configure:5261: g++31 -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 5256 "configure"
#include "confdefs.h"
#include <stdlib.h>
configure:5365: checking where to find xml parser
configure:5369: checking for XML_Parse in -lexpat
configure:5391: g++31 -o conftest  -O3 -pipe -fexpensive-optimizations -fstrength-reduce
-frerun-cse-after-loop -fcse-follow-jumps -fcse-skip-blocks -march=pentiumpro -I/usr/local/include
-L/usr/local/lib conftest.C -lexpat   1>&5
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system directory
configure:5484: checking for expat.h
configure:5494: /lib/cpp -I/usr/local/include conftest.C >/dev/null 2>conftest.out
eval: /lib/cpp: not found
configure: failed program was:
#line 5489 "configure"
#include "confdefs.h"
#include <expat.h>
<<<<<<<< config.log


-- 
L     i  W     W     W  i                 Jens Rehsack
L        W     W     W
L     i   W   W W   W   i  nnn    gggg    LiWing IT-Services
L     i    W W   W W    i  n  n  g   g
LLLL  i     W     W     i  n  n  g   g    Friesenstraße 2
                                  gggg    06112 Halle
                                     g
                                 g   g
Tel.:  +49 - 3 45 - 5 17 05 91    ggg     e-Mail: <rehsack@liwing.de>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D411A48.7AD1F491>