#12 File missing during install of Expat

closed-duplicate
Clark Cooper
None
5
2000-12-27
2000-11-03
Orbhost Sysadmin
No

Platform is Alpha Tru64 V5.1

CC="cc" MAKE="gmake" ./configure

creating cache ./config.cache
checking host system type... alphaev56-dec-osf5.1
checking build system type... alphaev56-dec-osf5.1
checking for ranlib... ranlib
checking for gcc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether we are using GNU C... no
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... none
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc static flag -non_shared works... -non_shared
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/local/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... osf5.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for gcc... (cached) cc
checking whether the C compiler (cc -g ) works... yes
checking whether the C compiler (cc -g ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... (cached) yes
checking for a BSD compatible install... /usr/local/bin/install -c
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for working const... yes
checking for off_t... yes
checking for size_t... yes
checking for 8-bit clean memcmp... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for memmove... yes
checking for bcopy... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating xmlwf/Makefile
creating examples/Makefile
creating config.h

gmake

cd lib; gmake
gmake[1]: Entering directory `/usr/users/dg/work/expat-1.95.1/lib'
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=expat_1.95.1 -I. -I.. -g -c xmlparse.c
mkdir .libs
cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.1\" -I. -I.. -g -Wp,-MD,.deps/xmlparse.pp -c xmlparse.c -DPIC -o .lib
s/xmlparse.lo
cc: Severe: No such file or directory
... file is '.deps/xmlparse.pp'
gmake[1]: *** [xmlparse.lo] Error 1
gmake[1]: Leaving directory `/usr/users/dg/work/expat-1.95.1/lib'
gmake: *** [lib] Error 2

Discussion

  • Clark Cooper
    Clark Cooper
    2000-12-21

    There's no file missing. Your cc doesn't recognize the flags for checking header dependencies. If it recognized

    -Wp,-MD,.deps/xmlparse.pp

    then your compiler would generate the file. This is a configuration and or Makefile problem.

     
  • Clark Cooper
    Clark Cooper
    2000-12-21

    • assigned_to: nobody --> coopercc
     
  • Clark Cooper
    Clark Cooper
    2000-12-27

    • status: open --> closed-duplicate
     
  • Logged In: NO

    Clark,

    It may indeed be a problem as you indicated in that
    scenario, however the problem remains:

    Checking if your kit is complete...
    Looks good
    Writing Makefile for XML::Parser::Expat
    Writing Makefile for XML::Parser
    cp Parser/Encodings/x-sjis-cp932.enc
    blib/lib/XML/Parser/Encodings/x-sjis-cp932.enc
    cp Parser/Encodings/iso-8859-7.enc
    blib/lib/XML/Parser/Encodings/iso-8859-7.enc
    cp Parser/Style/Tree.pm blib/lib/XML/Parser/Style/Tree.pm
    cp Parser/Encodings/iso-8859-9.enc
    blib/lib/XML/Parser/Encodings/iso-8859-9.enc
    cp Parser/Encodings/x-euc-jp-unicode.enc
    blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc
    cp Parser/Encodings/README blib/lib/XML/Parser/Encodings/README
    cp Parser/Encodings/euc-kr.enc
    blib/lib/XML/Parser/Encodings/euc-kr.enc
    cp Parser/Encodings/windows-1250.enc
    blib/lib/XML/Parser/Encodings/windows-1250.enc
    cp Parser/Encodings/windows-1252.enc
    blib/lib/XML/Parser/Encodings/windows-1252.enc
    cp Parser/Encodings/big5.enc
    blib/lib/XML/Parser/Encodings/big5.enc
    cp Parser/Encodings/iso-8859-3.enc
    blib/lib/XML/Parser/Encodings/iso-8859-3.enc
    cp Parser/Encodings/Japanese_Encodings.msg
    blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg
    cp Parser/Style/Subs.pm blib/lib/XML/Parser/Style/Subs.pm
    cp Parser/Encodings/x-euc-jp-jisx0221.enc
    blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc
    cp Parser/Encodings/iso-8859-8.enc
    blib/lib/XML/Parser/Encodings/iso-8859-8.enc
    cp Parser/Encodings/iso-8859-4.enc
    blib/lib/XML/Parser/Encodings/iso-8859-4.enc
    cp Parser/Encodings/iso-8859-2.enc
    blib/lib/XML/Parser/Encodings/iso-8859-2.enc
    cp Parser/Encodings/x-sjis-jdk117.enc
    blib/lib/XML/Parser/Encodings/x-sjis-jdk117.enc
    cp Parser/LWPExternEnt.pl blib/lib/XML/Parser/LWPExternEnt.pl
    cp Parser/Encodings/x-sjis-unicode.enc
    blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc
    cp Parser/Style/Objects.pm blib/lib/XML/Parser/Style/Objects.pm
    cp Parser/Style/Debug.pm blib/lib/XML/Parser/Style/Debug.pm
    cp Parser.pm blib/lib/XML/Parser.pm
    cp Parser/Encodings/x-sjis-jisx0221.enc
    blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc
    cp Parser/Style/Stream.pm blib/lib/XML/Parser/Style/Stream.pm
    cp Parser/Encodings/iso-8859-5.enc
    blib/lib/XML/Parser/Encodings/iso-8859-5.enc
    make[1]: Entering directory
    `/root/.cpan/build/XML-Parser-2.34/Expat'
    cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
    /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp
    -noprototypes -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap
    -typemap typemap Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
    gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686
    -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" -fpic
    "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" Expat.c
    Expat.xs:12:19: expat.h: No such file or directory

    This is from RedHat 8. A simple "find" under the directory
    /root/.cpan/sources/authors/id/M/MS/MSERGEANT/XML-Parser-2.34
    shows no expat.h file anywhere.